sidepanel.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. /* sidepanel/sidepanel.css */
  2. * { margin: 0; padding: 0; box-sizing: border-box; }
  3. body {
  4. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  5. font-size: 13px;
  6. color: #333;
  7. background: #f8f9fa;
  8. padding: 12px;
  9. width: 100%;
  10. min-height: 100vh;
  11. }
  12. header {
  13. display: flex;
  14. justify-content: space-between;
  15. align-items: center;
  16. margin-bottom: 12px;
  17. }
  18. header h1 {
  19. font-size: 15px;
  20. font-weight: 600;
  21. }
  22. .header-btns {
  23. display: flex;
  24. gap: 6px;
  25. }
  26. #btn-reset {
  27. padding: 4px 10px;
  28. font-size: 12px;
  29. background: #dc3545;
  30. color: #fff;
  31. border: none;
  32. border-radius: 4px;
  33. cursor: pointer;
  34. }
  35. #btn-reset:hover { background: #c82333; }
  36. .btn-auto {
  37. padding: 4px 10px;
  38. font-size: 12px;
  39. background: #28a745;
  40. color: #fff;
  41. border: none;
  42. border-radius: 4px;
  43. cursor: pointer;
  44. font-weight: 600;
  45. }
  46. .btn-auto:hover { background: #218838; }
  47. .btn-auto:disabled { background: #6c757d; cursor: not-allowed; }
  48. .auto-continue-bar {
  49. margin-top: 8px;
  50. padding: 8px;
  51. background: #fff3cd;
  52. border: 1px solid #ffc107;
  53. border-radius: 4px;
  54. display: flex;
  55. align-items: center;
  56. gap: 8px;
  57. }
  58. .auto-hint {
  59. font-size: 11px;
  60. color: #856404;
  61. flex: 1;
  62. }
  63. .btn-continue {
  64. padding: 4px 12px;
  65. font-size: 12px;
  66. background: #007bff;
  67. color: #fff;
  68. border: none;
  69. border-radius: 4px;
  70. cursor: pointer;
  71. font-weight: 600;
  72. white-space: nowrap;
  73. }
  74. .btn-continue:hover { background: #0069d9; }
  75. /* Data Section */
  76. #data-section {
  77. background: #fff;
  78. border: 1px solid #dee2e6;
  79. border-radius: 6px;
  80. padding: 10px;
  81. margin-bottom: 12px;
  82. }
  83. .data-row {
  84. display: flex;
  85. align-items: center;
  86. margin-bottom: 6px;
  87. }
  88. .data-row:last-child { margin-bottom: 0; }
  89. .data-row label {
  90. width: 80px;
  91. font-weight: 600;
  92. font-size: 12px;
  93. color: #666;
  94. flex-shrink: 0;
  95. }
  96. .data-value {
  97. font-size: 12px;
  98. color: #999;
  99. word-break: break-all;
  100. }
  101. .data-value.has-value {
  102. color: #333;
  103. }
  104. #input-email {
  105. flex: 1;
  106. padding: 4px 8px;
  107. border: 1px solid #ced4da;
  108. border-radius: 4px;
  109. font-size: 12px;
  110. }
  111. /* Steps Section */
  112. #steps-section {
  113. margin-bottom: 12px;
  114. }
  115. .step-row {
  116. display: flex;
  117. align-items: center;
  118. gap: 8px;
  119. margin-bottom: 4px;
  120. }
  121. .step-num {
  122. width: 20px;
  123. text-align: center;
  124. font-weight: 600;
  125. font-size: 12px;
  126. color: #666;
  127. }
  128. .step-btn {
  129. flex: 1;
  130. padding: 6px 10px;
  131. font-size: 12px;
  132. background: #007bff;
  133. color: #fff;
  134. border: none;
  135. border-radius: 4px;
  136. cursor: pointer;
  137. text-align: left;
  138. }
  139. .step-btn:hover:not(:disabled) { background: #0069d9; }
  140. .step-btn:disabled {
  141. background: #ccc;
  142. cursor: not-allowed;
  143. }
  144. .step-status {
  145. width: 24px;
  146. text-align: center;
  147. font-size: 14px;
  148. }
  149. /* Log Section */
  150. #log-section h2 {
  151. font-size: 13px;
  152. font-weight: 600;
  153. margin-bottom: 6px;
  154. }
  155. #log-area {
  156. background: #1e1e1e;
  157. color: #d4d4d4;
  158. font-family: 'Consolas', 'Courier New', monospace;
  159. font-size: 11px;
  160. line-height: 1.5;
  161. padding: 8px;
  162. border-radius: 6px;
  163. height: 250px;
  164. overflow-y: auto;
  165. white-space: pre-wrap;
  166. word-break: break-all;
  167. }
  168. .log-info { color: #d4d4d4; }
  169. .log-ok { color: #4ec9b0; font-weight: bold; }
  170. .log-warn { color: #dcdcaa; }
  171. .log-error { color: #f44747; font-weight: bold; }
  172. .log-step-tag {
  173. display: inline-block;
  174. background: #3a3d41;
  175. color: #569cd6;
  176. border-radius: 3px;
  177. padding: 0 4px;
  178. margin-right: 4px;
  179. font-weight: bold;
  180. font-size: 10px;
  181. }
  182. .log-step-tag.step-1 { color: #4fc1ff; }
  183. .log-step-tag.step-2 { color: #c586c0; }
  184. .log-step-tag.step-3 { color: #dcdcaa; }
  185. .log-step-tag.step-4 { color: #ce9178; }
  186. .log-step-tag.step-5 { color: #b5cea8; }
  187. .log-step-tag.step-6 { color: #4fc1ff; }
  188. .log-step-tag.step-7 { color: #ce9178; }
  189. .log-step-tag.step-8 { color: #c586c0; }
  190. .log-step-tag.step-9 { color: #b5cea8; }
  191. .log-time { color: #6a9955; }
  192. .log-level { font-weight: bold; }
  193. .log-level-info { color: #569cd6; }
  194. .log-level-ok { color: #4ec9b0; }
  195. .log-level-warn { color: #dcdcaa; }
  196. .log-level-error { color: #f44747; }