debugger.css 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. html, body {
  7. width: 100%;
  8. height: 100%;
  9. overflow: hidden;
  10. }
  11. .container {
  12. width: 100%;
  13. height: 100%;
  14. position: relative;
  15. }
  16. .list-page, #detail-page {
  17. width: 100%;
  18. height: 100%;
  19. padding: 10px 8px;
  20. background-color: ghostwhite;
  21. position: absolute;
  22. top: 0;
  23. left: 0;
  24. }
  25. #detail-page {
  26. left: 100%;
  27. top: 0;
  28. --duration: 400ms;
  29. }
  30. @keyframes slide-in {
  31. from {
  32. left: 100%;
  33. }
  34. to {
  35. left: 0;
  36. }
  37. }
  38. @keyframes slide-out {
  39. from {
  40. left: 0;
  41. }
  42. to {
  43. left: 100%;
  44. }
  45. }
  46. .slide-in {
  47. animation: slide-in var(--duration) forwards;
  48. }
  49. .slide-out {
  50. animation: slide-out var(--duration) forwards;
  51. }
  52. .search-box {
  53. width: 100%;
  54. height: 30px;
  55. display: flex;
  56. justify-content: center;
  57. padding: 2px;
  58. border-radius: 50px;
  59. border: 1px solid lightgray;
  60. }
  61. .search-box:has(:focus) {
  62. border-color: lightblue;
  63. }
  64. #seq-input {
  65. width: calc(100% - 40px);
  66. height: 100%;
  67. outline: none;
  68. border: none;
  69. }
  70. input, textarea {
  71. background-color: transparent;
  72. }
  73. #search-icon, #back-icon, .holder {
  74. width: 22px;
  75. height: 22px;
  76. }
  77. #devices {
  78. width: 100%;
  79. height: calc(100vh - 60px);
  80. margin-top: 10px;
  81. overflow-y: scroll;
  82. padding: 5px 4px;
  83. }
  84. .device {
  85. width: 100%;
  86. height: 40px;
  87. border-radius: 4px;
  88. margin-bottom: 5px;
  89. padding: 2px 4px;
  90. display: flex;
  91. align-items: center;
  92. }
  93. .seq {
  94. width: calc(100% - 80px);
  95. text-align: center;
  96. }
  97. .status {
  98. width: 80px;
  99. text-align: center;
  100. }
  101. .device.online {
  102. background-color: lightgreen;
  103. }
  104. .device.offline {
  105. background-color: lightgray;
  106. }
  107. .online > .status {
  108. color: #007BFF;
  109. }
  110. .offline > .status {
  111. color: black;
  112. }
  113. .line {
  114. margin-bottom: 15px;
  115. width: 100%;
  116. display: flex;
  117. justify-content: space-between;
  118. align-items: center;
  119. }
  120. #seq-text {
  121. font-weight: bold;
  122. }
  123. #update-loc, .ppv-btn {
  124. width: 50px;
  125. line-height: 24px;
  126. text-align: center;
  127. border: 1px solid black;
  128. border-radius: 4px;
  129. cursor: pointer;
  130. }
  131. .update-loc:active, .ppv-btn:active, .btn-in-two:active {
  132. transform: scale(0.99);
  133. box-shadow: 0 0 2px dimgray;
  134. }
  135. #location {
  136. width: 100%;
  137. height: 70px;
  138. resize: none;
  139. outline: none;
  140. margin-top: -10px;
  141. margin-bottom: 15px;
  142. border: 1px solid lightgray;
  143. border-radius: 2px;
  144. padding: 2px;
  145. }
  146. #location:focus {
  147. border-color: lightblue;
  148. }
  149. .ppv-input {
  150. width: 50%;
  151. line-height: 24px;
  152. outline: none;
  153. border: 1px solid lightgray;
  154. text-align: center;
  155. }
  156. .ppv-input:focus {
  157. border-color: lightblue;
  158. }
  159. .btn-in-two {
  160. width: 40%;
  161. line-height: 34px;
  162. text-align: center;
  163. border: 1px solid black;
  164. border-radius: 6px;
  165. cursor: pointer;
  166. }