刘嘉昕 | 07fee5f | 2025-06-09 17:18:47 +0800 | [diff] [blame] | 1 | /* UploadTorrent.css */ |
| 2 | .container { |
| 3 | min-height: 100vh; |
| 4 | display: flex; |
| 5 | align-items: center; |
| 6 | justify-content: center; |
| 7 | padding: 10px; |
| 8 | } |
| 9 | |
| 10 | .card { |
| 11 | width: 100%; |
| 12 | max-width: 1000px;; |
| 13 | min-width: 800px; /* 最小宽度 800px(确保不会太窄) */ |
| 14 | margin: 0 auto; |
| 15 | padding: 20px; |
| 16 | background-color: #fff; |
| 17 | box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); |
| 18 | border-radius: 8px; |
| 19 | } |
| 20 | |
| 21 | .title { |
| 22 | text-align: center; |
| 23 | font-size: 1.5rem; |
| 24 | font-weight: bold; |
| 25 | color: #ff8c00; |
| 26 | margin-bottom: 20px; |
| 27 | padding-bottom: 10px; |
| 28 | border-bottom: 2px solid #ffe0b2; |
| 29 | } |
| 30 | |
| 31 | .form { |
| 32 | display: flex; |
| 33 | flex-direction: column; |
| 34 | gap: 15px; |
| 35 | } |
| 36 | |
| 37 | .uploadArea { |
| 38 | text-align: center; |
| 39 | padding: 20px; |
| 40 | border: 2px dashed #ffe0b2; |
| 41 | border-radius: 8px; |
| 42 | cursor: pointer; |
| 43 | transition: border-color 0.3s; |
| 44 | } |
| 45 | |
| 46 | .uploadArea:hover { |
| 47 | border-color: #ff8c00; |
| 48 | } |
| 49 | |
| 50 | .uploadIcon { |
| 51 | color: #ffe0b2; |
| 52 | font-size: 2rem; |
| 53 | } |
| 54 | |
| 55 | .uploadText { |
| 56 | margin-top: 10px; |
| 57 | font-size: 0.8rem; |
| 58 | color: #666; |
| 59 | } |
| 60 | |
| 61 | .hiddenInput { |
| 62 | display: none; |
| 63 | } |
| 64 | |
| 65 | .input { |
| 66 | width: 100%; |
| 67 | text-align: center; |
| 68 | } |
| 69 | |
| 70 | .textArea { |
| 71 | width: 100%; |
| 72 | text-align: center; |
| 73 | } |
| 74 | |
| 75 | .select { |
| 76 | width: 100%; |
| 77 | } |
| 78 | |
| 79 | .submitButton { |
| 80 | width: 100%; |
| 81 | background-color: #ff8c00; |
| 82 | border-color: #ff8c00; |
| 83 | } |
| 84 | |
| 85 | .submitButton:hover { |
| 86 | background-color: #ff7f00; |
| 87 | border-color: #ff7f00; |
| 88 | } |
| 89 | |
| 90 | .successMessage { |
| 91 | text-align: center; |
| 92 | color: green; |
| 93 | font-weight: bold; |
| 94 | margin-top: 10px; |
| 95 | } |