阳菜,放晴! | 7e1e3a5 | 2025-06-05 23:00:51 +0800 | [diff] [blame] | 1 | .container { |
| 2 | background-color: var(--card-bg); |
San3yuan | 30e245f | 2025-06-07 20:04:23 +0800 | [diff] [blame] | 3 | box-sizing: border-box; |
阳菜,放晴! | 7e1e3a5 | 2025-06-05 23:00:51 +0800 | [diff] [blame] | 4 | padding: 32px; |
| 5 | border-radius: 12px; |
San3yuan | 30e245f | 2025-06-07 20:04:23 +0800 | [diff] [blame] | 6 | width:100%; |
阳菜,放晴! | 7e1e3a5 | 2025-06-05 23:00:51 +0800 | [diff] [blame] | 7 | height: 100%; |
| 8 | margin: auto; |
| 9 | border: 1px solid var(--border-color); |
| 10 | color: var(--text-color); |
| 11 | } |
| 12 | |
| 13 | .formGroup { |
| 14 | margin-bottom: 20px; |
| 15 | } |
| 16 | |
| 17 | .input, |
| 18 | .select, |
| 19 | .textarea { |
San3yuan | 30e245f | 2025-06-07 20:04:23 +0800 | [diff] [blame] | 20 | width: 80%; |
阳菜,放晴! | 7e1e3a5 | 2025-06-05 23:00:51 +0800 | [diff] [blame] | 21 | padding: 8px 12px; |
| 22 | margin-top: 4px; |
| 23 | border: 1px solid var(--border-color); |
| 24 | border-radius: 8px; |
| 25 | background-color: var(--bg-color); |
| 26 | color: var(--text-color); |
| 27 | } |
| 28 | |
| 29 | .upload { |
| 30 | margin-top: 8px; |
| 31 | } |
| 32 | |
| 33 | .textarea { |
| 34 | height: 100px; |
| 35 | resize: none; |
| 36 | } |
| 37 | |
| 38 | .charCount { |
San3yuan | 30e245f | 2025-06-07 20:04:23 +0800 | [diff] [blame] | 39 | width: calc(80px + 80%); |
阳菜,放晴! | 7e1e3a5 | 2025-06-05 23:00:51 +0800 | [diff] [blame] | 40 | text-align: right; |
| 41 | font-size: 12px; |
| 42 | color: var(--text-color); |
| 43 | } |
| 44 | |
| 45 | .requirement { |
| 46 | font-size: 14px; |
| 47 | color: var(--primary-color); |
| 48 | margin-bottom: 12px; |
| 49 | } |
| 50 | |
| 51 | .checkbox { |
| 52 | display: flex; |
| 53 | align-items: center; |
| 54 | gap: 8px; |
| 55 | margin-bottom: 20px; |
| 56 | } |
| 57 | |
| 58 | .submitBtn { |
| 59 | background-color: var(--primary-color); |
| 60 | color: white; |
| 61 | border: none; |
| 62 | padding: 10px 20px; |
| 63 | border-radius: 8px; |
| 64 | cursor: pointer; |
| 65 | transition: background-color 0.3s ease; |
| 66 | } |
| 67 | |
San3yuan | 30e245f | 2025-06-07 20:04:23 +0800 | [diff] [blame] | 68 | .submitBtn:disabled { |
| 69 | background-color: #999; |
| 70 | } |
| 71 | |
| 72 | .submitBtn:hover :not(:disabled) { |
阳菜,放晴! | 7e1e3a5 | 2025-06-05 23:00:51 +0800 | [diff] [blame] | 73 | background-color: var(--primary-hover); |
| 74 | } |
| 75 | |
| 76 | |
| 77 | .wrapper { |
| 78 | display: flex; |
| 79 | justify-content: center; |
| 80 | margin-top: 50px; |
| 81 | } |
| 82 | |
| 83 | .form { |
| 84 | width: 400px; |
| 85 | background: #ffffff; |
| 86 | border: 1px solid #ddd; |
| 87 | border-radius: 12px; |
| 88 | padding: 24px; |
| 89 | box-shadow: 0 4px 12px rgba(0,0,0,0.1); |
| 90 | } |
| 91 | |
| 92 | .title { |
| 93 | font-size: 22px; |
| 94 | margin-bottom: 20px; |
| 95 | text-align: center; |
| 96 | } |
| 97 | |
| 98 | .input, |
| 99 | .textarea { |
San3yuan | 30e245f | 2025-06-07 20:04:23 +0800 | [diff] [blame] | 100 | width: 80%; |
阳菜,放晴! | 7e1e3a5 | 2025-06-05 23:00:51 +0800 | [diff] [blame] | 101 | padding: 10px; |
| 102 | margin-bottom: 16px; |
| 103 | border-radius: 6px; |
| 104 | border: 1px solid #ccc; |
| 105 | font-size: 14px; |
| 106 | } |
| 107 | |
| 108 | .textarea { |
| 109 | resize: vertical; |
| 110 | height: 100px; |
| 111 | } |
| 112 | |
| 113 | .uploadArea { |
| 114 | padding: 12px; |
| 115 | border: 2px dashed #999; |
| 116 | border-radius: 8px; |
| 117 | text-align: center; |
| 118 | cursor: pointer; |
| 119 | background: #f9f9f9; |
| 120 | margin-bottom: 16px; |
| 121 | transition: all 0.2s; |
| 122 | } |
| 123 | |
| 124 | .uploadArea:hover { |
| 125 | background: #f0f0f0; |
| 126 | border-color: #666; |
| 127 | } |
| 128 | |
| 129 | .fileName { |
| 130 | margin-top: 8px; |
| 131 | font-size: 14px; |
| 132 | color: #333; |
| 133 | } |
| 134 | |
| 135 | .error { |
| 136 | color: red; |
| 137 | margin-bottom: 10px; |
| 138 | font-size: 14px; |
| 139 | text-align: center; |
| 140 | } |
| 141 | |
| 142 | .uploadButton { |
| 143 | width: 100%; |
| 144 | padding: 10px; |
| 145 | background-color: #409eff; |
| 146 | color: white; |
| 147 | border: none; |
| 148 | border-radius: 6px; |
| 149 | font-size: 16px; |
| 150 | cursor: pointer; |
| 151 | transition: background-color 0.3s; |
| 152 | } |
| 153 | |
San3yuan | 30e245f | 2025-06-07 20:04:23 +0800 | [diff] [blame] | 154 | .uploadButton :disabled { |
| 155 | background-color: #999; |
| 156 | } |
| 157 | |
阳菜,放晴! | 7e1e3a5 | 2025-06-05 23:00:51 +0800 | [diff] [blame] | 158 | .uploadButton:hover { |
| 159 | background-color: #317ee7; |
| 160 | } |