source: CSS/Profile.css

main
Last change on this file was 75f74d9, checked in by Vlado 222039 <vlado.popovski@…>, 6 weeks ago

Initial commit: Adding Book Tracker code

  • Property mode set to 100644
File size: 4.7 KB
Line 
1* {
2 margin: 0;
3 padding: 0;
4 box-sizing: border-box;
5 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
6 }
7
8 body {
9 background-color: #f5f5f5;
10 }
11
12 .container {
13 max-width: 1200px;
14 margin: 0 auto;
15 padding: 24px;
16 }
17
18 .page-header {
19 margin-bottom: 24px;
20 }
21
22 .page-title {
23 font-size: 28px;
24 color: #333;
25 margin-bottom: 8px;
26 }
27
28 .welcome-text {
29 color: #666;
30 font-size: 16px;
31 }
32
33 .account-summary {
34 display: grid;
35 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
36 gap: 24px;
37 margin-bottom: 32px;
38 }
39
40 .summary-card {
41 background: white;
42 border-radius: 8px;
43 padding: 24px;
44 box-shadow: 0 2px 4px rgba(0,0,0,0.05);
45 }
46
47 .summary-card.alert {
48 border-left: 4px solid #dc3545;
49 }
50
51 .card-header {
52 display: flex;
53 align-items: center;
54 margin-bottom: 16px;
55 }
56
57 .card-icon {
58 width: 24px;
59 height: 24px;
60 margin-right: 12px;
61 color: #2c5282;
62 }
63
64 .card-title {
65 font-size: 18px;
66 font-weight: 600;
67 color: #333;
68 }
69
70 .card-content {
71 color: #666;
72 font-size: 14px;
73 line-height: 1.5;
74 }
75
76 .stat-grid {
77 display: grid;
78 grid-template-columns: repeat(2, 1fr);
79 gap: 16px;
80 margin-top: 12px;
81 }
82
83 .stat-item {
84 text-align: center;
85 padding: 12px;
86 background: #f8fafc;
87 border-radius: 6px;
88 }
89
90 .stat-value {
91 font-size: 24px;
92 font-weight: 600;
93 color: #2c5282;
94 margin-bottom: 4px;
95 }
96
97 .stat-label {
98 font-size: 12px;
99 color: #666;
100 }
101
102 .action-link {
103 display: inline-block;
104 margin-top: 16px;
105 color: #2c5282;
106 text-decoration: none;
107 font-weight: 500;
108 font-size: 14px;
109 }
110
111 .action-link:hover {
112 text-decoration: underline;
113 }
114
115 .action-link-pay {
116 display: inline-block;
117 margin-top: 16px;
118 color: #2c5282;
119 text-decoration: none;
120 font-weight: 500;
121 font-size: 14px;
122 }
123
124 .action-link-pay:hover {
125 text-decoration: underline;
126 }
127
128 .section-card {
129 background: white;
130 border-radius: 8px;
131 padding: 24px;
132 margin-bottom: 24px;
133 box-shadow: 0 2px 4px rgba(0,0,0,0.05);
134 }
135
136 .section-title {
137 font-size: 20px;
138 color: #333;
139 margin-bottom: 16px;
140 }
141
142 .loan-table {
143 width: 100%;
144 border-collapse: collapse;
145 }
146
147 .loan-table th,
148 .loan-table td {
149 padding: 12px;
150 text-align: left;
151 border-bottom: 1px solid #eee;
152 }
153
154 .loan-table th {
155 font-weight: 600;
156 color: #666;
157 font-size: 14px;
158 }
159
160 .loan-table td {
161 color: #333;
162 font-size: 14px;
163 }
164
165 .status-badge {
166 display: inline-block;
167 padding: 4px 8px;
168 border-radius: 12px;
169 font-size: 12px;
170 font-weight: 500;
171 }
172
173 .status-ontime {
174 background-color: #e6f4ea;
175 color: #1e7e34;
176 }
177
178 .status-due-soon {
179 background-color: #fff3e0;
180 color: #e65100;
181 }
182
183 .status-overdue {
184 background-color: #fde8e8;
185 color: #c81e1e;
186 }
187
188 .fine-amount {
189 color: #dc3545;
190 font-weight: 600;
191 }
192
193 .fine-paid {
194 color: #1e7e34;
195 font-weight: 600;
196 }
197
198 .renewal-btn {
199 padding: 4px 8px;
200 background-color: #2c5282;
201 color: white;
202 border: none;
203 border-radius: 4px;
204 cursor: pointer;
205 font-size: 12px;
206 }
207
208 .renewal-btn:hover {
209 background-color: #2d3748;
210 }
211
212 .renewal-btn:disabled {
213 background-color: #cbd5e0;
214 cursor: not-allowed;
215 }
216
217 @media (max-width: 768px) {
218 .container {
219 padding: 16px;
220 }
221
222 .page-title {
223 font-size: 24px;
224 }
225
226 .loan-table {
227 display: block;
228 overflow-x: auto;
229 }
230 }
231
232 .account-grid {
233 display: grid;
234 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
235 gap: 24px;
236 margin-bottom: 32px;
237 }
238
239 .account-card {
240 background: white;
241 border-radius: 8px;
242 padding: 24px;
243 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
244 }
245
246 .card-header {
247 display: flex;
248 align-items: center;
249 margin-bottom: 16px;
250 }
251
252 .card-icon {
253 width: 24px;
254 height: 24px;
255 margin-right: 12px;
256 color: #2c5282;
257 }
258
259 .card-title {
260 font-size: 18px;
261 font-weight: 600;
262 color: #333;
263 }
264
265 .card-content {
266 color: #666;
267 font-size: 14px;
268 line-height: 1.5;
269 }
270
271 .card-content a.action-link {
272 display: inline-block;
273 margin-top: 8px;
274 color: #2c5282;
275 text-decoration: none;
276 font-weight: 500;
277 font-size: 14px;
278 }
279
280 .card-content a.action-link:hover {
281 text-decoration: underline;
282 }
283
284 @media (max-width: 768px) {
285 .account-grid {
286 padding: 16px;
287 }
288
289 .card-title {
290 font-size: 16px;
291 }
292
293 .card-content p {
294 font-size: 13px;
295 }
296 }
297
298 a.disabled {
299 color: rgb(53, 52, 52);
300 pointer-events: none;
301 cursor: not-allowed;
302}
303
Note: See TracBrowser for help on using the repository browser.