style.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. body {
  7. font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  8. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  9. min-height: 100vh;
  10. padding: 20px;
  11. }
  12. .container {
  13. max-width: 800px;
  14. margin: 0 auto;
  15. background: white;
  16. border-radius: 10px;
  17. padding: 30px;
  18. box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  19. }
  20. h1 {
  21. text-align: center;
  22. color: #333;
  23. margin-bottom: 30px;
  24. font-size: 2.5em;
  25. }
  26. .form-group {
  27. margin-bottom: 20px;
  28. }
  29. label {
  30. display: block;
  31. margin-bottom: 5px;
  32. font-weight: 600;
  33. color: #555;
  34. }
  35. input[type="text"],
  36. input[type="url"],
  37. .proxy-select {
  38. width: 100%;
  39. padding: 12px;
  40. border: 2px solid #ddd;
  41. border-radius: 5px;
  42. font-size: 16px;
  43. transition: border-color 0.3s;
  44. }
  45. input[type="text"]:focus,
  46. input[type="url"]:focus,
  47. .proxy-select:focus {
  48. outline: none;
  49. border-color: #667eea;
  50. }
  51. /* URL列表文本框 */
  52. .url-list {
  53. width: 100%;
  54. height: 120px;
  55. padding: 12px;
  56. border: 2px solid #ddd;
  57. border-radius: 5px;
  58. font-size: 12px;
  59. font-family: 'Courier New', monospace;
  60. background-color: #f8f9fa;
  61. resize: vertical;
  62. color: #555;
  63. }
  64. .url-list:focus {
  65. outline: none;
  66. border-color: #667eea;
  67. }
  68. .button-group {
  69. display: flex;
  70. gap: 10px;
  71. margin-bottom: 30px;
  72. flex-wrap: wrap;
  73. }
  74. .btn {
  75. padding: 12px 24px;
  76. border: none;
  77. border-radius: 5px;
  78. font-size: 16px;
  79. cursor: pointer;
  80. transition: all 0.3s;
  81. font-weight: 600;
  82. }
  83. .btn-primary {
  84. background: #667eea;
  85. color: white;
  86. }
  87. .btn-primary:hover {
  88. background: #5a6fd8;
  89. transform: translateY(-2px);
  90. }
  91. .btn-secondary {
  92. background: #764ba2;
  93. color: white;
  94. }
  95. .btn-secondary:hover {
  96. background: #6a4190;
  97. transform: translateY(-2px);
  98. }
  99. .btn-danger {
  100. background: #e74c3c;
  101. color: white;
  102. }
  103. .btn-danger:hover {
  104. background: #c0392b;
  105. transform: translateY(-2px);
  106. }
  107. .btn-info {
  108. background: #17a2b8;
  109. color: white;
  110. }
  111. .btn-info:hover {
  112. background: #138496;
  113. transform: translateY(-2px);
  114. }
  115. .btn-warning {
  116. background: #ffc107;
  117. color: #212529;
  118. }
  119. .btn-warning:hover {
  120. background: #e0a800;
  121. transform: translateY(-2px);
  122. }
  123. .btn-success {
  124. background: #28a745;
  125. color: white;
  126. }
  127. .btn-success:hover {
  128. background: #218838;
  129. transform: translateY(-2px);
  130. }
  131. .output-section h3 {
  132. color: #333;
  133. margin-bottom: 10px;
  134. }
  135. .output-area {
  136. background: #f8f9fa;
  137. border: 1px solid #e9ecef;
  138. border-radius: 5px;
  139. padding: 15px;
  140. min-height: 150px;
  141. max-height: 400px;
  142. overflow-y: auto;
  143. font-family: 'Courier New', monospace;
  144. white-space: pre-wrap;
  145. word-wrap: break-word;
  146. }
  147. .output-area.success {
  148. border-left: 4px solid #28a745;
  149. }
  150. .output-area.error {
  151. border-left: 4px solid #dc3545;
  152. }
  153. .loading {
  154. opacity: 0.7;
  155. pointer-events: none;
  156. }
  157. @media (max-width: 600px) {
  158. .container {
  159. padding: 20px;
  160. }
  161. .button-group {
  162. flex-direction: column;
  163. }
  164. .btn {
  165. width: 100%;
  166. }
  167. }
  168. .form-row {
  169. display: flex;
  170. gap: 15px;
  171. }
  172. .form-row .form-group {
  173. flex: 1;
  174. }
  175. /* 下拉框样式 */
  176. .proxy-select {
  177. background-color: white;
  178. cursor: pointer;
  179. }
  180. .proxy-select option {
  181. padding: 8px;
  182. }