blob: c087ac69185735f70a7c2a42281a9330d47ba9a0 [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;
162 }