blob: 28a1adbb81038e8b238b3c380a1ba2f2b1de9ac9 [file] [log] [blame]
Akane121765b61a72025-05-17 13:52:25 +08001/* Personal.css */
2.personal-container {
3 max-width: 800px;
4 margin: 0 auto;
5 padding: 20px;
6 }
7
8 .back-button {
9 background: none;
10 border: none;
11 color: #1890ff;
12 cursor: pointer;
13 font-size: 16px;
14 margin-bottom: 20px;
15 padding: 5px 0;
16 }
17
18 .profile-card {
19 background: #fff;
20 border-radius: 8px;
21 padding: 20px;
22 margin-bottom: 20px;
23 box-shadow: 0 1px 3px rgba(0,0,0,0.1);
24 }
25
26 .profile-header {
27 display: flex;
28 align-items: center;
29 margin-bottom: 20px;
30 }
31
32 .profile-avatar {
33 width: 80px;
34 height: 80px;
35 border-radius: 50%;
36 margin-right: 20px;
37 object-fit: cover;
38 }
39
40 .profile-info {
41 flex-grow: 1;
42 }
43
44 .username {
45 font-size: 24px;
46 margin: 0 0 5px;
47 }
48
49 .user-meta {
50 display: flex;
51 gap: 15px;
52 color: #666;
53 font-size: 14px;
54 }
55
56 .stats-grid {
57 display: grid;
58 grid-template-columns: repeat(4, 1fr);
59 gap: 15px;
60 }
61
62 .stat-item {
63 background: #f5f5f5;
64 border-radius: 6px;
65 padding: 15px;
66 text-align: center;
67 }
68
69 .stat-label {
70 font-size: 14px;
71 color: #666;
72 margin-bottom: 5px;
73 }
74
75 .stat-value {
76 font-size: 18px;
77 font-weight: bold;
78 }
79
80 .quota-card {
81 background: #fff;
82 border-radius: 8px;
83 padding: 20px;
84 margin-bottom: 20px;
85 box-shadow: 0 1px 3px rgba(0,0,0,0.1);
86 }
87
88 .quota-card h3 {
89 margin-top: 0;
90 margin-bottom: 15px;
91 }
92
93 .quota-info {
94 display: flex;
95 justify-content: space-between;
96 margin-bottom: 10px;
97 }
98
99 .quota-used {
100 color: #1890ff;
101 }
102
103 .quota-remaining {
104 color: #52c41a;
105 }
106
107 .progress-bar {
108 height: 10px;
109 background: #f0f0f0;
110 border-radius: 5px;
111 margin-bottom: 10px;
112 overflow: hidden;
113 }
114
115 .progress-fill {
116 height: 100%;
117 background: #1890ff;
118 border-radius: 5px;
119 transition: width 0.3s ease;
120 }
121
122 .quota-total {
123 text-align: right;
124 color: #666;
125 font-size: 14px;
126 }
127
128 .action-cards {
129 display: grid;
130 grid-template-columns: repeat(2, 1fr);
131 gap: 15px;
132 }
133
134 .action-card {
135 background: #fff;
136 border-radius: 8px;
137 padding: 20px;
138 box-shadow: 0 1px 3px rgba(0,0,0,0.1);
139 cursor: pointer;
140 transition: transform 0.2s ease;
141 }
142
143 .action-card:hover {
144 transform: translateY(-3px);
145 box-shadow: 0 4px 8px rgba(0,0,0,0.1);
146 }
147
148 .action-card h3 {
149 margin-top: 0;
150 color: #1890ff;
151 }
152
153 .action-card p {
154 color: #666;
155 margin-bottom: 0;
156 }
157
158 .subpage-container {
159 margin-top: 20px;
160 border-top: 1px solid #f0f0f0;
161 padding-top: 20px;
Akane12173a7bb972025-06-01 01:05:27 +0800162 }
163
164
165 /* Personal.css */
166/* ... 其他已有样式 ... */
167
168/* 下载进度卡片样式 */
169.progress-card {
170 background: #fff;
171 border-radius: 8px;
172 padding: 20px;
173 margin-bottom: 20px;
174 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
175}
176
177.download-task {
178 margin-bottom: 15px;
179}
180
181.task-info {
182 display: flex;
183 justify-content: space-between;
184 margin-bottom: 5px;
185}
186
187.task-id {
188 font-size: 14px;
189 color: #666;
190}
191
192.task-progress {
193 font-size: 14px;
194 font-weight: bold;
195 color: #1890ff;
196}
197
198.progress-bar {
199 height: 8px;
200 background: #f0f0f0;
201 border-radius: 4px;
202 overflow: hidden;
203}
204
205.progress-fill {
206 height: 100%;
207 background: #1890ff;
208 border-radius: 4px;
209 transition: width 0.3s ease;
210}
211
212
213.user-meta span {
214 margin-right: 15px;
215 color: #666;
216}
217
218.user-meta span:last-child {
219 color: #ff9800;
220 font-weight: bold;
221}