22301009 | 24e5c0f | 2025-04-15 21:31:12 +0800 | [diff] [blame] | 1 | .user-center { |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 2 | max-width: 100%; |
| 3 | padding: 3%; |
22301009 | 24e5c0f | 2025-04-15 21:31:12 +0800 | [diff] [blame] | 4 | font-family: Arial, sans-serif; |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 5 | display: flex; |
| 6 | gap: 10%; |
22301009 | 1e2aea7 | 2025-06-08 16:35:54 +0800 | [diff] [blame] | 7 | background: #f8f3ef; |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 8 | } |
| 9 | |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 10 | .right-content { |
| 11 | flex: 3; |
22301009 | 24e5c0f | 2025-04-15 21:31:12 +0800 | [diff] [blame] | 12 | } |
| 13 | |
| 14 | .profile-header { |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 15 | margin-top: -20%; |
22301009 | 24e5c0f | 2025-04-15 21:31:12 +0800 | [diff] [blame] | 16 | text-align: center; |
22301009 | 24e5c0f | 2025-04-15 21:31:12 +0800 | [diff] [blame] | 17 | } |
| 18 | |
| 19 | .avatar { |
| 20 | width: 100px; |
| 21 | height: 100px; |
| 22 | border-radius: 50%; |
| 23 | object-fit: cover; |
| 24 | } |
| 25 | |
| 26 | h1 { |
| 27 | font-size: 2em; |
| 28 | margin-top: 10px; |
| 29 | } |
| 30 | |
| 31 | .profile-details { |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 32 | margin-top: 20%; |
22301009 | 24e5c0f | 2025-04-15 21:31:12 +0800 | [diff] [blame] | 33 | font-size: 1.2em; |
| 34 | } |
| 35 | |
| 36 | .profile-details p { |
| 37 | margin: 10px 0; |
| 38 | } |
| 39 | |
| 40 | .profile-details strong { |
| 41 | color: #333; |
| 42 | } |
| 43 | |
| 44 | .error { |
| 45 | color: red; |
| 46 | text-align: center; |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 47 | } |
| 48 | |
| 49 | .common-card { |
22301009 | 1e2aea7 | 2025-06-08 16:35:54 +0800 | [diff] [blame] | 50 | background-color: #fffaf7; |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 51 | border-radius: 16px; |
| 52 | margin: 0 auto; |
| 53 | margin-top: 40px; |
Krishya | 6bf199c | 2025-06-06 21:14:23 +0800 | [diff] [blame] | 54 | width: 80%; |
| 55 | padding-top: 10%; |
Krishya | 73cd882 | 2025-06-07 15:48:41 +0800 | [diff] [blame] | 56 | padding-right: 10%; |
Krishya | 6bf199c | 2025-06-06 21:14:23 +0800 | [diff] [blame] | 57 | padding-bottom: 10%; |
| 58 | padding-left: 10%; |
Krishya | 73cd882 | 2025-06-07 15:48:41 +0800 | [diff] [blame] | 59 | margin-left: 3%; |
| 60 | margin-right: 5%; |
| 61 | |
| 62 | /* padding: 10% 20%; */ |
22301009 | df48f96 | 2025-06-05 13:40:44 +0800 | [diff] [blame] | 63 | } |
Krishya | 73cd882 | 2025-06-07 15:48:41 +0800 | [diff] [blame] | 64 | |
Krishya | 73cd882 | 2025-06-07 15:48:41 +0800 | [diff] [blame] | 65 | |
22301009 | df48f96 | 2025-06-05 13:40:44 +0800 | [diff] [blame] | 66 | .avatar-wrapper { |
| 67 | position: relative; |
| 68 | display: inline-block; |
| 69 | } |
| 70 | |
| 71 | .avatar-upload-label { |
| 72 | position: absolute; |
| 73 | bottom: 0; |
| 74 | right: 0; |
22301009 | 1e2aea7 | 2025-06-08 16:35:54 +0800 | [diff] [blame] | 75 | background: #4b3325; |
22301009 | df48f96 | 2025-06-05 13:40:44 +0800 | [diff] [blame] | 76 | color: white; |
| 77 | padding: 4px 8px; |
| 78 | font-size: 12px; |
| 79 | cursor: pointer; |
| 80 | border-radius: 4px; |
| 81 | opacity: 0.85; |
| 82 | } |
| 83 | |
| 84 | .avatar-upload-label:hover { |
| 85 | opacity: 1; |
| 86 | } |
Krishya | c6b2483 | 2025-06-05 20:13:20 +0800 | [diff] [blame] | 87 | |
| 88 | .right-content { |
| 89 | flex: 3; |
| 90 | } |
| 91 | |
| 92 | .profile-header { |
| 93 | margin-top: -20%; |
| 94 | text-align: center; |
| 95 | } |
| 96 | |
| 97 | .avatar { |
| 98 | width: 100px; |
| 99 | height: 100px; |
| 100 | border-radius: 50%; |
| 101 | object-fit: cover; |
| 102 | } |
| 103 | |
| 104 | h1 { |
| 105 | font-size: 2em; |
| 106 | margin-top: 10px; |
| 107 | } |
| 108 | |
| 109 | .profile-details { |
| 110 | margin-top: 20%; |
| 111 | font-size: 1.2em; |
| 112 | } |
| 113 | |
| 114 | .profile-details p { |
| 115 | margin: 10px 0; |
| 116 | } |
| 117 | |
| 118 | .profile-details strong { |
| 119 | color: #333; |
| 120 | } |
| 121 | |
| 122 | .error { |
| 123 | color: red; |
| 124 | text-align: center; |
| 125 | } |
| 126 | |
Krishya | 73cd882 | 2025-06-07 15:48:41 +0800 | [diff] [blame] | 127 | |
Krishya | c6b2483 | 2025-06-05 20:13:20 +0800 | [diff] [blame] | 128 | |
| 129 | .avatar-wrapper { |
| 130 | position: relative; |
| 131 | display: inline-block; |
| 132 | } |
| 133 | |
| 134 | .avatar-upload-label { |
| 135 | position: absolute; |
| 136 | bottom: 0; |
| 137 | right: 0; |
22301009 | 1e2aea7 | 2025-06-08 16:35:54 +0800 | [diff] [blame] | 138 | background: #4b3325; |
Krishya | c6b2483 | 2025-06-05 20:13:20 +0800 | [diff] [blame] | 139 | color: white; |
| 140 | padding: 4px 8px; |
| 141 | font-size: 12px; |
| 142 | cursor: pointer; |
| 143 | border-radius: 4px; |
| 144 | opacity: 0.85; |
| 145 | } |
| 146 | |
| 147 | .avatar-upload-label:hover { |
| 148 | opacity: 1; |
| 149 | } |
| 150 | |
| 151 | |
| 152 | .collection-list { |
| 153 | display: flex; |
| 154 | flex-direction: column; |
| 155 | gap: 20px; |
| 156 | } |
| 157 | |
| 158 | .collection-item { |
| 159 | cursor: pointer; |
| 160 | background-color: #f9f9f9; |
| 161 | padding: 16px; |
| 162 | border-radius: 12px; |
| 163 | transition: box-shadow 0.2s ease; |
| 164 | } |
| 165 | |
| 166 | .collection-item:hover { |
| 167 | box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); |
| 168 | } |
| 169 | |
| 170 | .collection-item h3 { |
| 171 | font-size: 1.2em; |
| 172 | margin-bottom: 8px; |
| 173 | color: #333; |
| 174 | } |
| 175 | |
| 176 | .collection-item .content-preview { |
| 177 | color: #555; |
| 178 | font-size: 0.95em; |
| 179 | margin-bottom: 6px; |
| 180 | } |
| 181 | |
| 182 | .collection-item .meta { |
| 183 | font-size: 0.8em; |
| 184 | color: #888; |
| 185 | } |
| 186 | |
| 187 | .error-text { |
| 188 | color: red; |
| 189 | font-weight: bold; |
| 190 | padding: 10px; |
| 191 | } |
| 192 | |
| 193 | .loading { |
| 194 | text-align: center; |
| 195 | font-size: 18px; |
| 196 | color: #333; |
| 197 | } |
| 198 | |
| 199 | .task-btn { |
| 200 | margin-right: 8px; |
| 201 | padding: 6px 12px; |
| 202 | border: none; |
| 203 | border-radius: 6px; |
22301009 | 1e2aea7 | 2025-06-08 16:35:54 +0800 | [diff] [blame] | 204 | background-color: #4b3325; |
Krishya | c6b2483 | 2025-06-05 20:13:20 +0800 | [diff] [blame] | 205 | color: white; |
| 206 | cursor: pointer; |
| 207 | } |
| 208 | |
| 209 | .task-btn:hover { |
Krishya | 6bf199c | 2025-06-06 21:14:23 +0800 | [diff] [blame] | 210 | background-color: #bd7035; |
Krishya | c6b2483 | 2025-06-05 20:13:20 +0800 | [diff] [blame] | 211 | } |
| 212 | |
| 213 | .task-btn-group { |
| 214 | margin-top: 10px; |
| 215 | display: flex; |
| 216 | flex-wrap: wrap; |
| 217 | gap: 8px; |
| 218 | } |
| 219 | |
Krishya | 6bf199c | 2025-06-06 21:14:23 +0800 | [diff] [blame] | 220 | |
| 221 | .exp-bar-wrapper { |
| 222 | width: 100%; |
| 223 | height: 14px; |
| 224 | background-color: #fbfafa; |
| 225 | border-radius: 8px; |
| 226 | margin: 10px 0; |
| 227 | overflow: hidden; |
Krishya | c6b2483 | 2025-06-05 20:13:20 +0800 | [diff] [blame] | 228 | } |
| 229 | |
Krishya | 6bf199c | 2025-06-06 21:14:23 +0800 | [diff] [blame] | 230 | .exp-bar { |
| 231 | height: 100%; |
| 232 | background-color: #0eb813; |
| 233 | transition: width 0.3s ease; |
| 234 | } |
Krishya | c6b2483 | 2025-06-05 20:13:20 +0800 | [diff] [blame] | 235 | |
Krishya | 6bf199c | 2025-06-06 21:14:23 +0800 | [diff] [blame] | 236 | .exp-progress-text { |
| 237 | font-size: 0.9em; |
| 238 | color: #555; |
| 239 | margin-bottom: 10px; |
| 240 | } |
| 241 | |
| 242 | .profile-actions { |
| 243 | margin-top: 1em; |
| 244 | } |
| 245 | |
| 246 | .profile-actions button { |
| 247 | padding: 8px 16px; |
22301009 | 1e2aea7 | 2025-06-08 16:35:54 +0800 | [diff] [blame] | 248 | background-color: #4b3325; |
Krishya | 6bf199c | 2025-06-06 21:14:23 +0800 | [diff] [blame] | 249 | color: white; |
| 250 | border: none; |
| 251 | border-radius: 6px; |
| 252 | cursor: pointer; |
| 253 | } |
| 254 | |
22301009 | 1e2aea7 | 2025-06-08 16:35:54 +0800 | [diff] [blame] | 255 | .user-modal { |
Krishya | 6bf199c | 2025-06-06 21:14:23 +0800 | [diff] [blame] | 256 | position: fixed; |
| 257 | top: 0; |
| 258 | left: 0; |
| 259 | right: 0; |
| 260 | bottom: 0; |
| 261 | background-color: rgba(0, 0, 0, 0.4); |
| 262 | display: flex; |
| 263 | justify-content: center; |
| 264 | align-items: center; |
| 265 | z-index: 99; |
| 266 | } |
| 267 | |
22301009 | 1e2aea7 | 2025-06-08 16:35:54 +0800 | [diff] [blame] | 268 | .user-modal-content { |
Krishya | 6bf199c | 2025-06-06 21:14:23 +0800 | [diff] [blame] | 269 | background-color: white; |
| 270 | padding: 20px; |
| 271 | border-radius: 8px; |
| 272 | width: 300px; |
| 273 | } |
| 274 | |
22301009 | 1e2aea7 | 2025-06-08 16:35:54 +0800 | [diff] [blame] | 275 | .user-modal-content input { |
Krishya | 6bf199c | 2025-06-06 21:14:23 +0800 | [diff] [blame] | 276 | display: block; |
| 277 | width: 100%; |
| 278 | margin: 10px 0; |
| 279 | padding: 8px; |
| 280 | } |
| 281 | |
22301009 | 1e2aea7 | 2025-06-08 16:35:54 +0800 | [diff] [blame] | 282 | .user-modal-buttons { |
Krishya | 6bf199c | 2025-06-06 21:14:23 +0800 | [diff] [blame] | 283 | display: flex; |
| 284 | justify-content: space-between; |
| 285 | } |