sidepanel.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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. #btn-reset {
  23. padding: 4px 10px;
  24. font-size: 12px;
  25. background: #dc3545;
  26. color: #fff;
  27. border: none;
  28. border-radius: 4px;
  29. cursor: pointer;
  30. }
  31. #btn-reset:hover { background: #c82333; }
  32. /* Data Section */
  33. #data-section {
  34. background: #fff;
  35. border: 1px solid #dee2e6;
  36. border-radius: 6px;
  37. padding: 10px;
  38. margin-bottom: 12px;
  39. }
  40. .data-row {
  41. display: flex;
  42. align-items: center;
  43. margin-bottom: 6px;
  44. }
  45. .data-row:last-child { margin-bottom: 0; }
  46. .data-row label {
  47. width: 80px;
  48. font-weight: 600;
  49. font-size: 12px;
  50. color: #666;
  51. flex-shrink: 0;
  52. }
  53. .data-value {
  54. font-size: 12px;
  55. color: #999;
  56. word-break: break-all;
  57. }
  58. .data-value.has-value {
  59. color: #333;
  60. }
  61. #input-email {
  62. flex: 1;
  63. padding: 4px 8px;
  64. border: 1px solid #ced4da;
  65. border-radius: 4px;
  66. font-size: 12px;
  67. }
  68. /* Steps Section */
  69. #steps-section {
  70. margin-bottom: 12px;
  71. }
  72. .step-row {
  73. display: flex;
  74. align-items: center;
  75. gap: 8px;
  76. margin-bottom: 4px;
  77. }
  78. .step-num {
  79. width: 20px;
  80. text-align: center;
  81. font-weight: 600;
  82. font-size: 12px;
  83. color: #666;
  84. }
  85. .step-btn {
  86. flex: 1;
  87. padding: 6px 10px;
  88. font-size: 12px;
  89. background: #007bff;
  90. color: #fff;
  91. border: none;
  92. border-radius: 4px;
  93. cursor: pointer;
  94. text-align: left;
  95. }
  96. .step-btn:hover:not(:disabled) { background: #0069d9; }
  97. .step-btn:disabled {
  98. background: #ccc;
  99. cursor: not-allowed;
  100. }
  101. .step-status {
  102. width: 24px;
  103. text-align: center;
  104. font-size: 14px;
  105. }
  106. /* Log Section */
  107. #log-section h2 {
  108. font-size: 13px;
  109. font-weight: 600;
  110. margin-bottom: 6px;
  111. }
  112. #log-area {
  113. background: #1e1e1e;
  114. color: #d4d4d4;
  115. font-family: 'Consolas', 'Courier New', monospace;
  116. font-size: 11px;
  117. line-height: 1.5;
  118. padding: 8px;
  119. border-radius: 6px;
  120. height: 250px;
  121. overflow-y: auto;
  122. white-space: pre-wrap;
  123. word-break: break-all;
  124. }
  125. .log-info { color: #d4d4d4; }
  126. .log-ok { color: #4ec9b0; }
  127. .log-warn { color: #dcdcaa; }
  128. .log-error { color: #f44747; }