blob: edc04e10765e0e45d4ae702299dff02c33282efb [file] [log] [blame]
2230100924e5c0f2025-04-15 21:31:12 +08001.user-center {
Krishyac0f7e9b2025-04-22 15:28:28 +08002 max-width: 100%;
3 padding: 3%;
2230100924e5c0f2025-04-15 21:31:12 +08004 font-family: Arial, sans-serif;
Krishyac0f7e9b2025-04-22 15:28:28 +08005 display: flex;
6 gap: 10%;
Krishya57cc17b2025-05-26 16:43:34 +08007 background: #333;
Krishyac0f7e9b2025-04-22 15:28:28 +08008}
9
Krishyac0f7e9b2025-04-22 15:28:28 +080010.right-content {
11 flex: 3;
2230100924e5c0f2025-04-15 21:31:12 +080012}
13
14.profile-header {
Krishyac0f7e9b2025-04-22 15:28:28 +080015 margin-top: -20%;
2230100924e5c0f2025-04-15 21:31:12 +080016 text-align: center;
2230100924e5c0f2025-04-15 21:31:12 +080017}
18
19.avatar {
20 width: 100px;
21 height: 100px;
22 border-radius: 50%;
23 object-fit: cover;
24}
25
26h1 {
27 font-size: 2em;
28 margin-top: 10px;
29}
30
31.profile-details {
Krishyac0f7e9b2025-04-22 15:28:28 +080032 margin-top: 20%;
2230100924e5c0f2025-04-15 21:31:12 +080033 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;
Krishyac0f7e9b2025-04-22 15:28:28 +080047}
48
49.common-card {
50 background-color: #e9ded2;
51 border-radius: 16px;
52 margin: 0 auto;
53 margin-top: 40px;
Krishya6bf199c2025-06-06 21:14:23 +080054 width: 80%;
55 padding-top: 10%;
Krishya73cd8822025-06-07 15:48:41 +080056 padding-right: 10%;
Krishya6bf199c2025-06-06 21:14:23 +080057 padding-bottom: 10%;
58 padding-left: 10%;
Krishya73cd8822025-06-07 15:48:41 +080059 margin-left: 3%;
60 margin-right: 5%;
61
62 /* padding: 10% 20%; */
22301009df48f962025-06-05 13:40:44 +080063}
Krishya73cd8822025-06-07 15:48:41 +080064
Krishya73cd8822025-06-07 15:48:41 +080065
22301009df48f962025-06-05 13:40:44 +080066.avatar-wrapper {
67 position: relative;
68 display: inline-block;
69}
70
71.avatar-upload-label {
72 position: absolute;
73 bottom: 0;
74 right: 0;
75 background: #3498db;
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}
Krishyac6b24832025-06-05 20:13:20 +080087
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
104h1 {
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
Krishya73cd8822025-06-07 15:48:41 +0800127
Krishyac6b24832025-06-05 20:13:20 +0800128
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;
138 background: #3498db;
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;
204 background-color: #4a90e2;
205 color: white;
206 cursor: pointer;
207}
208
209.task-btn:hover {
Krishya6bf199c2025-06-06 21:14:23 +0800210 background-color: #bd7035;
Krishyac6b24832025-06-05 20:13:20 +0800211}
212
213.task-btn-group {
214 margin-top: 10px;
215 display: flex;
216 flex-wrap: wrap;
217 gap: 8px;
218}
219
Krishya6bf199c2025-06-06 21:14:23 +0800220
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;
Krishyac6b24832025-06-05 20:13:20 +0800228}
229
Krishya6bf199c2025-06-06 21:14:23 +0800230.exp-bar {
231 height: 100%;
232 background-color: #0eb813;
233 transition: width 0.3s ease;
234}
Krishyac6b24832025-06-05 20:13:20 +0800235
Krishya6bf199c2025-06-06 21:14:23 +0800236.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;
248 background-color: #4677f5;
249 color: white;
250 border: none;
251 border-radius: 6px;
252 cursor: pointer;
253}
254
255.modal {
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
268.modal-content {
269 background-color: white;
270 padding: 20px;
271 border-radius: 8px;
272 width: 300px;
273}
274
275.modal-content input {
276 display: block;
277 width: 100%;
278 margin: 10px 0;
279 padding: 8px;
280}
281
282.modal-buttons {
283 display: flex;
284 justify-content: space-between;
285}