|
5 | 5 | color: #000000; |
6 | 6 | } |
7 | 7 |
|
8 | | -.dashboard-header { |
9 | | - background: #000000; |
10 | | - border-bottom: 1px solid #e5e5e5; |
11 | | - color: white; |
12 | | - padding: 1rem 2rem; |
13 | | - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); |
| 8 | +/* Header Banner System - Consistent Design Language */ |
| 9 | + |
| 10 | +/* Level 1: Dashboard Banner - Top-level app identifier */ |
| 11 | +.dashboard-banner { |
| 12 | + background: #f1f5f9; |
| 13 | + border-bottom: 1px solid #cbd5e1; |
| 14 | + padding: 0.75rem 2rem; |
| 15 | + position: sticky; |
| 16 | + top: 0; |
| 17 | + z-index: 50; |
14 | 18 | } |
15 | 19 |
|
| 20 | +.banner-content { |
| 21 | + max-width: 1200px; |
| 22 | + margin: 0 auto; |
| 23 | + display: flex; |
| 24 | + align-items: center; |
| 25 | + gap: 0.625rem; |
| 26 | + font-size: 0.875rem; |
| 27 | + font-weight: 600; |
| 28 | + color: #475569; |
| 29 | + letter-spacing: -0.025em; |
| 30 | +} |
16 | 31 |
|
| 32 | +/* Level 2: Page Header - Main page identification */ |
| 33 | +.dashboard-header { |
| 34 | + background: #334155; |
| 35 | + border-bottom: 1px solid #475569; |
| 36 | + color: white; |
| 37 | + padding: 1.25rem 2rem; |
| 38 | + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); |
| 39 | +} |
17 | 40 |
|
18 | 41 | .header-content { |
19 | 42 | max-width: 1200px; |
20 | 43 | margin: 0 auto; |
21 | 44 | display: flex; |
22 | 45 | align-items: center; |
23 | | - justify-content: space-between; |
| 46 | + justify-content: flex-start; |
| 47 | + gap: 1.5rem; |
24 | 48 | } |
25 | 49 |
|
26 | 50 | .logo { |
|
32 | 56 | .logo h1 { |
33 | 57 | margin: 0; |
34 | 58 | font-size: 1.5rem; |
35 | | - font-weight: 700; |
| 59 | + font-weight: 600; |
36 | 60 | color: white; |
37 | 61 | letter-spacing: -0.025em; |
38 | 62 | } |
39 | 63 |
|
40 | 64 | .header-subtitle { |
41 | 65 | margin: 0; |
42 | | - opacity: 0.85; |
43 | 66 | font-size: 0.875rem; |
44 | | - font-weight: 500; |
45 | | - color: #cccccc; |
46 | | - display: none; |
| 67 | + font-weight: 400; |
| 68 | + color: #cbd5e1; |
47 | 69 | letter-spacing: 0.025em; |
48 | 70 | } |
49 | 71 |
|
50 | 72 | @media (min-width: 768px) { |
51 | | - .header-subtitle { |
52 | | - display: block; |
53 | | - } |
54 | | - |
55 | 73 | .header-content { |
56 | | - justify-content: flex-start; |
57 | 74 | gap: 2rem; |
58 | 75 | } |
59 | 76 |
|
60 | 77 | .logo h1 { |
61 | | - font-size: 1.75rem; |
| 78 | + font-size: 1.5rem; |
62 | 79 | } |
63 | 80 | } |
64 | 81 |
|
65 | | -/* Page Navigation */ |
| 82 | +/* Level 3: Page Navigation - Inter-page navigation */ |
66 | 83 | .page-nav { |
67 | | - background: transparent; |
| 84 | + background: #f8fafc; |
| 85 | + border-bottom: 1px solid #e2e8f0; |
68 | 86 | padding: 1rem 2rem; |
69 | 87 | display: flex; |
70 | 88 | gap: 0.5rem; |
71 | 89 | max-width: 1200px; |
72 | 90 | margin: 0 auto; |
73 | | - border-radius: 0.75rem; |
74 | | - margin-top: -0.5rem; |
75 | | - position: relative; |
76 | | - z-index: 10; |
77 | 91 | } |
78 | 92 |
|
79 | 93 | .page-button { |
80 | 94 | display: flex; |
81 | 95 | align-items: center; |
82 | | - gap: 0.625rem; |
83 | | - padding: 1rem 1.5rem; |
84 | | - border: 2px solid transparent; |
85 | | - background: transparent; |
86 | | - border-radius: 0.75rem; |
| 96 | + gap: 0.5rem; |
| 97 | + padding: 0.75rem 1.25rem; |
| 98 | + border: 1px solid #cbd5e1; |
| 99 | + background: #ffffff; |
| 100 | + border-radius: 0.5rem; |
87 | 101 | cursor: pointer; |
88 | | - font-weight: 600; |
89 | | - font-size: 0.95rem; |
90 | | - transition: all 0.3s ease; |
91 | | - color: #64748b; |
92 | | - text-transform: capitalize; |
| 102 | + font-weight: 500; |
| 103 | + font-size: 0.875rem; |
| 104 | + transition: all 0.2s ease; |
| 105 | + color: #475569; |
93 | 106 | letter-spacing: -0.025em; |
94 | | - position: relative; |
95 | | - overflow: hidden; |
96 | | - min-width: 160px; |
| 107 | + text-decoration: none; |
| 108 | + min-width: 140px; |
97 | 109 | justify-content: center; |
98 | 110 | } |
99 | 111 |
|
100 | | -.page-button::before { |
101 | | - content: ''; |
102 | | - position: absolute; |
103 | | - top: 0; |
104 | | - left: -100%; |
105 | | - width: 100%; |
106 | | - height: 100%; |
107 | | - background: linear-gradient(90deg, |
108 | | - transparent, |
109 | | - rgba(16, 185, 129, 0.3), |
110 | | - transparent); |
111 | | - transition: left 0.5s ease; |
112 | | -} |
113 | | - |
114 | 112 | .page-button:hover { |
115 | | - background: transparent; |
116 | | - border-color: #10b981; |
117 | | - color: #059669; |
118 | | - transform: translateY(-2px); |
119 | | - box-shadow: 0 8px 16px rgba(16, 185, 129, 0.2); |
120 | | -} |
121 | | - |
122 | | -.page-button:hover::before { |
123 | | - left: 100%; |
| 113 | + background: #f1f5f9; |
| 114 | + border-color: #94a3b8; |
| 115 | + color: #334155; |
124 | 116 | } |
125 | 117 |
|
126 | 118 | .page-button.active { |
127 | | - background: transparent; |
128 | | - border-color: #10b981; |
129 | | - color: #059669; |
130 | | - box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3); |
131 | | - transform: translateY(-1px); |
132 | | -} |
133 | | - |
134 | | -.page-button.active::before { |
135 | | - background: linear-gradient(90deg, |
136 | | - transparent, |
137 | | - rgba(16, 185, 129, 0.2), |
138 | | - transparent); |
| 119 | + background: #475569; |
| 120 | + border-color: #475569; |
| 121 | + color: #ffffff; |
139 | 122 | } |
140 | 123 |
|
141 | 124 | .page-button.active:hover { |
142 | | - transform: translateY(-3px); |
143 | | - box-shadow: 0 12px 24px rgba(16, 185, 129, 0.4); |
| 125 | + background: #334155; |
| 126 | + border-color: #334155; |
144 | 127 | } |
145 | 128 |
|
146 | | -/* Metric Navigation */ |
| 129 | +/* Level 4: Metric Navigation - Metric selection within pages */ |
147 | 130 | .dashboard-nav { |
148 | | - background: transparent; |
149 | | - padding: 1.25rem 2rem; |
| 131 | + background: #f8fafc; |
| 132 | + border-bottom: 1px solid #e2e8f0; |
| 133 | + padding: 1rem 2rem; |
150 | 134 | display: flex; |
151 | 135 | gap: 0.5rem; |
152 | 136 | max-width: 1200px; |
153 | 137 | margin: 0 auto; |
154 | | - border-radius: 0.75rem; |
155 | | - margin-top: -0.5rem; |
156 | | - position: relative; |
157 | | - z-index: 10; |
158 | 138 | } |
159 | 139 |
|
160 | 140 | .nav-button { |
161 | 141 | display: flex; |
162 | 142 | align-items: center; |
163 | | - gap: 0.625rem; |
164 | | - padding: 1rem 2rem; |
165 | | - border: 2px solid transparent; |
166 | | - background: transparent; |
167 | | - border-radius: 0.75rem; |
| 143 | + gap: 0.5rem; |
| 144 | + padding: 0.75rem 1.25rem; |
| 145 | + border: 1px solid #cbd5e1; |
| 146 | + background: #ffffff; |
| 147 | + border-radius: 0.5rem; |
168 | 148 | cursor: pointer; |
169 | | - font-weight: 600; |
170 | | - font-size: 0.95rem; |
171 | | - transition: all 0.3s ease; |
172 | | - color: #64748b; |
173 | | - text-transform: capitalize; |
| 149 | + font-weight: 500; |
| 150 | + font-size: 0.875rem; |
| 151 | + transition: all 0.2s ease; |
| 152 | + color: #475569; |
174 | 153 | letter-spacing: -0.025em; |
175 | | - position: relative; |
176 | | - overflow: hidden; |
177 | | - min-width: 140px; |
| 154 | + min-width: 120px; |
178 | 155 | justify-content: center; |
179 | 156 | } |
180 | 157 |
|
181 | | -.nav-button::before { |
182 | | - content: ''; |
183 | | - position: absolute; |
184 | | - top: 0; |
185 | | - left: -100%; |
186 | | - width: 100%; |
187 | | - height: 100%; |
188 | | - background: linear-gradient(90deg, |
189 | | - transparent, |
190 | | - rgba(255, 255, 255, 0.6), |
191 | | - transparent); |
192 | | - transition: left 0.5s ease; |
193 | | -} |
194 | | - |
195 | 158 | .nav-button:hover { |
196 | | - background: transparent; |
| 159 | + background: #f1f5f9; |
197 | 160 | border-color: #94a3b8; |
198 | | - color: #475569; |
199 | | - transform: translateY(-2px); |
200 | | - box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); |
201 | | -} |
202 | | - |
203 | | -.nav-button:hover::before { |
204 | | - left: 100%; |
| 161 | + color: #334155; |
205 | 162 | } |
206 | 163 |
|
207 | 164 | .nav-button.active { |
208 | | - background: transparent; |
209 | | - border-color: #000000; |
210 | | - color: #000000; |
211 | | - box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); |
212 | | - transform: translateY(-1px); |
213 | | -} |
214 | | - |
215 | | -.nav-button.active::before { |
216 | | - background: linear-gradient(90deg, |
217 | | - transparent, |
218 | | - rgba(255, 255, 255, 0.2), |
219 | | - transparent); |
| 165 | + background: #475569; |
| 166 | + border-color: #475569; |
| 167 | + color: #ffffff; |
220 | 168 | } |
221 | 169 |
|
222 | 170 | .nav-button.active:hover { |
223 | | - transform: translateY(-3px); |
224 | | - box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4); |
| 171 | + background: #334155; |
| 172 | + border-color: #334155; |
225 | 173 | } |
226 | 174 |
|
227 | 175 | /* Main Content */ |
|
237 | 185 | /* Chart Container */ |
238 | 186 | .chart-container { |
239 | 187 | background: white; |
240 | | - border: 1px solid #e5e5e5; |
| 188 | + border: 1px solid #e2e8f0; |
241 | 189 | padding: 2rem; |
242 | | - border-radius: 0.5rem; |
243 | | - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); |
| 190 | + border-radius: 0.75rem; |
| 191 | + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); |
244 | 192 | } |
245 | 193 |
|
246 | 194 |
|
247 | 195 |
|
248 | 196 | .chart-container h2 { |
249 | 197 | margin: 0 0 1.5rem 0; |
250 | | - color: #111827; |
251 | | - font-size: 1.5rem; |
252 | | - font-weight: 600; |
| 198 | + color: #1e293b; |
| 199 | + font-size: 1.75rem; |
| 200 | + font-weight: 700; |
253 | 201 | letter-spacing: -0.025em; |
254 | 202 | } |
255 | 203 |
|
|
262 | 210 |
|
263 | 211 | .stat-card { |
264 | 212 | background: white; |
265 | | - border: 1px solid #e5e5e5; |
| 213 | + border: 1px solid #e2e8f0; |
266 | 214 | padding: 1.75rem; |
267 | | - border-radius: 0.5rem; |
268 | | - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); |
269 | | - border-left: 4px solid #000000; |
| 215 | + border-radius: 0.75rem; |
| 216 | + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); |
| 217 | + border-left: 4px solid #3b82f6; |
270 | 218 | transition: all 0.2s ease; |
271 | 219 | } |
272 | 220 |
|
|
279 | 227 |
|
280 | 228 | .stat-card h3 { |
281 | 229 | margin: 0 0 0.75rem 0; |
282 | | - color: #6b7280; |
| 230 | + color: #64748b; |
283 | 231 | font-size: 0.875rem; |
284 | 232 | font-weight: 600; |
285 | 233 | text-transform: uppercase; |
|
290 | 238 | margin: 0 0 0.75rem 0; |
291 | 239 | font-size: 2.25rem; |
292 | 240 | font-weight: 700; |
293 | | - color: #111827; |
| 241 | + color: #1e293b; |
294 | 242 | letter-spacing: -0.025em; |
295 | 243 | line-height: 1.1; |
296 | 244 | } |
|
366 | 314 |
|
367 | 315 | .library-title { |
368 | 316 | margin: 0 0 1rem 0; |
369 | | - font-size: 1.125rem; |
370 | | - font-weight: 600; |
371 | | - color: #111827; |
| 317 | + font-size: 1.25rem; |
| 318 | + font-weight: 700; |
| 319 | + color: #1e293b; |
372 | 320 | text-transform: capitalize; |
373 | 321 | text-align: center; |
374 | 322 | padding-bottom: 0.5rem; |
375 | | - border-bottom: 2px solid #e5e7eb; |
| 323 | + border-bottom: 2px solid #e2e8f0; |
376 | 324 | } |
377 | 325 |
|
378 | 326 | /* Responsive Design */ |
|
0 commit comments