|
5 | 5 | color: #000000; |
6 | 6 | } |
7 | 7 |
|
8 | | -/* Dashboard Banner - Small and Clean */ |
| 8 | +/* Header Banner System - Consistent Design Language */ |
| 9 | + |
| 10 | +/* Level 1: Dashboard Banner - Top-level app identifier */ |
9 | 11 | .dashboard-banner { |
10 | | - background: #f8fafc; |
11 | | - border-bottom: 1px solid #e2e8f0; |
12 | | - padding: 0.5rem 2rem; |
| 12 | + background: #f1f5f9; |
| 13 | + border-bottom: 1px solid #cbd5e1; |
| 14 | + padding: 0.75rem 2rem; |
13 | 15 | position: sticky; |
14 | 16 | top: 0; |
15 | 17 | z-index: 50; |
|
20 | 22 | margin: 0 auto; |
21 | 23 | display: flex; |
22 | 24 | align-items: center; |
23 | | - gap: 0.5rem; |
| 25 | + gap: 0.625rem; |
24 | 26 | font-size: 0.875rem; |
25 | 27 | font-weight: 600; |
26 | | - color: #64748b; |
| 28 | + color: #475569; |
| 29 | + letter-spacing: -0.025em; |
27 | 30 | } |
28 | 31 |
|
| 32 | +/* Level 2: Page Header - Main page identification */ |
29 | 33 | .dashboard-header { |
30 | | - background: #1e293b; |
31 | | - border-bottom: 1px solid #e2e8f0; |
| 34 | + background: #334155; |
| 35 | + border-bottom: 1px solid #475569; |
32 | 36 | color: white; |
33 | | - padding: 1.5rem 2rem; |
| 37 | + padding: 1.25rem 2rem; |
34 | 38 | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); |
35 | 39 | } |
36 | 40 |
|
37 | | - |
38 | | - |
39 | 41 | .header-content { |
40 | 42 | max-width: 1200px; |
41 | 43 | margin: 0 auto; |
42 | 44 | display: flex; |
43 | 45 | align-items: center; |
44 | | - justify-content: space-between; |
| 46 | + justify-content: flex-start; |
| 47 | + gap: 1.5rem; |
45 | 48 | } |
46 | 49 |
|
47 | 50 | .logo { |
|
52 | 55 |
|
53 | 56 | .logo h1 { |
54 | 57 | margin: 0; |
55 | | - font-size: 1.75rem; |
56 | | - font-weight: 700; |
| 58 | + font-size: 1.5rem; |
| 59 | + font-weight: 600; |
57 | 60 | color: white; |
58 | 61 | letter-spacing: -0.025em; |
59 | 62 | } |
60 | 63 |
|
61 | 64 | .header-subtitle { |
62 | 65 | margin: 0; |
63 | | - opacity: 0.9; |
64 | | - font-size: 1rem; |
| 66 | + font-size: 0.875rem; |
65 | 67 | font-weight: 400; |
66 | 68 | color: #cbd5e1; |
67 | | - display: block; |
68 | 69 | letter-spacing: 0.025em; |
69 | 70 | } |
70 | 71 |
|
71 | 72 | @media (min-width: 768px) { |
72 | | - .header-subtitle { |
73 | | - display: block; |
74 | | - } |
75 | | - |
76 | 73 | .header-content { |
77 | | - justify-content: flex-start; |
78 | 74 | gap: 2rem; |
79 | 75 | } |
80 | 76 |
|
81 | 77 | .logo h1 { |
82 | | - font-size: 1.75rem; |
| 78 | + font-size: 1.5rem; |
83 | 79 | } |
84 | 80 | } |
85 | 81 |
|
86 | | -/* Page Navigation */ |
| 82 | +/* Level 3: Page Navigation - Inter-page navigation */ |
87 | 83 | .page-nav { |
88 | | - background: transparent; |
| 84 | + background: #f8fafc; |
| 85 | + border-bottom: 1px solid #e2e8f0; |
89 | 86 | padding: 1rem 2rem; |
90 | 87 | display: flex; |
91 | 88 | gap: 0.5rem; |
92 | 89 | max-width: 1200px; |
93 | 90 | margin: 0 auto; |
94 | | - border-radius: 0.75rem; |
95 | | - margin-top: -0.5rem; |
96 | | - position: relative; |
97 | | - z-index: 10; |
98 | 91 | } |
99 | 92 |
|
100 | 93 | .page-button { |
101 | 94 | display: flex; |
102 | 95 | align-items: center; |
103 | | - gap: 0.625rem; |
104 | | - padding: 0.875rem 1.5rem; |
105 | | - border: 2px solid #e2e8f0; |
| 96 | + gap: 0.5rem; |
| 97 | + padding: 0.75rem 1.25rem; |
| 98 | + border: 1px solid #cbd5e1; |
106 | 99 | background: #ffffff; |
107 | | - border-radius: 0.75rem; |
| 100 | + border-radius: 0.5rem; |
108 | 101 | cursor: pointer; |
109 | | - font-weight: 600; |
110 | | - font-size: 1rem; |
| 102 | + font-weight: 500; |
| 103 | + font-size: 0.875rem; |
111 | 104 | transition: all 0.2s ease; |
112 | 105 | color: #475569; |
113 | | - text-transform: capitalize; |
114 | 106 | letter-spacing: -0.025em; |
115 | | - position: relative; |
116 | | - overflow: hidden; |
117 | | - min-width: 160px; |
118 | | - justify-content: center; |
119 | 107 | text-decoration: none; |
120 | | -} |
121 | | - |
122 | | -.page-button::before { |
123 | | - content: ''; |
124 | | - position: absolute; |
125 | | - top: 0; |
126 | | - left: -100%; |
127 | | - width: 100%; |
128 | | - height: 100%; |
129 | | - background: rgba(59, 130, 246, 0.1); |
130 | | - transition: left 0.3s ease; |
| 108 | + min-width: 140px; |
| 109 | + justify-content: center; |
131 | 110 | } |
132 | 111 |
|
133 | 112 | .page-button:hover { |
134 | | - background: rgba(59, 130, 246, 0.05); |
135 | | - border-color: #3b82f6; |
136 | | - color: #1d4ed8; |
137 | | - transform: translateY(-1px); |
138 | | - box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2); |
139 | | -} |
140 | | - |
141 | | -.page-button:hover::before { |
142 | | - left: 100%; |
| 113 | + background: #f1f5f9; |
| 114 | + border-color: #94a3b8; |
| 115 | + color: #334155; |
143 | 116 | } |
144 | 117 |
|
145 | 118 | .page-button.active { |
146 | | - background: #3b82f6; |
147 | | - border-color: #3b82f6; |
| 119 | + background: #475569; |
| 120 | + border-color: #475569; |
148 | 121 | color: #ffffff; |
149 | | - box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3); |
150 | | - transform: translateY(-1px); |
151 | | -} |
152 | | - |
153 | | -.page-button.active::before { |
154 | | - background: rgba(255, 255, 255, 0.1); |
155 | 122 | } |
156 | 123 |
|
157 | 124 | .page-button.active:hover { |
158 | | - background: #2563eb; |
159 | | - transform: translateY(-2px); |
160 | | - box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4); |
| 125 | + background: #334155; |
| 126 | + border-color: #334155; |
161 | 127 | } |
162 | 128 |
|
163 | | -/* Metric Navigation */ |
| 129 | +/* Level 4: Metric Navigation - Metric selection within pages */ |
164 | 130 | .dashboard-nav { |
165 | | - background: transparent; |
166 | | - padding: 1.25rem 2rem; |
| 131 | + background: #f8fafc; |
| 132 | + border-bottom: 1px solid #e2e8f0; |
| 133 | + padding: 1rem 2rem; |
167 | 134 | display: flex; |
168 | 135 | gap: 0.5rem; |
169 | 136 | max-width: 1200px; |
170 | 137 | margin: 0 auto; |
171 | | - border-radius: 0.75rem; |
172 | | - margin-top: -0.5rem; |
173 | | - position: relative; |
174 | | - z-index: 10; |
175 | 138 | } |
176 | 139 |
|
177 | 140 | .nav-button { |
178 | 141 | display: flex; |
179 | 142 | align-items: center; |
180 | | - gap: 0.625rem; |
181 | | - padding: 0.875rem 1.5rem; |
182 | | - border: 2px solid #e2e8f0; |
| 143 | + gap: 0.5rem; |
| 144 | + padding: 0.75rem 1.25rem; |
| 145 | + border: 1px solid #cbd5e1; |
183 | 146 | background: #ffffff; |
184 | | - border-radius: 0.75rem; |
| 147 | + border-radius: 0.5rem; |
185 | 148 | cursor: pointer; |
186 | | - font-weight: 600; |
187 | | - font-size: 1rem; |
| 149 | + font-weight: 500; |
| 150 | + font-size: 0.875rem; |
188 | 151 | transition: all 0.2s ease; |
189 | 152 | color: #475569; |
190 | | - text-transform: capitalize; |
191 | 153 | letter-spacing: -0.025em; |
192 | | - position: relative; |
193 | | - overflow: hidden; |
194 | | - min-width: 140px; |
| 154 | + min-width: 120px; |
195 | 155 | justify-content: center; |
196 | 156 | } |
197 | 157 |
|
198 | | -.nav-button::before { |
199 | | - content: ''; |
200 | | - position: absolute; |
201 | | - top: 0; |
202 | | - left: -100%; |
203 | | - width: 100%; |
204 | | - height: 100%; |
205 | | - background: rgba(59, 130, 246, 0.1); |
206 | | - transition: left 0.3s ease; |
207 | | -} |
208 | | - |
209 | 158 | .nav-button:hover { |
210 | | - background: rgba(59, 130, 246, 0.05); |
211 | | - border-color: #3b82f6; |
212 | | - color: #1d4ed8; |
213 | | - transform: translateY(-1px); |
214 | | - box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15); |
215 | | -} |
216 | | - |
217 | | -.nav-button:hover::before { |
218 | | - left: 100%; |
| 159 | + background: #f1f5f9; |
| 160 | + border-color: #94a3b8; |
| 161 | + color: #334155; |
219 | 162 | } |
220 | 163 |
|
221 | 164 | .nav-button.active { |
222 | | - background: #3b82f6; |
223 | | - border-color: #3b82f6; |
| 165 | + background: #475569; |
| 166 | + border-color: #475569; |
224 | 167 | color: #ffffff; |
225 | | - box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3); |
226 | | - transform: translateY(-1px); |
227 | | -} |
228 | | - |
229 | | -.nav-button.active::before { |
230 | | - background: rgba(255, 255, 255, 0.1); |
231 | 168 | } |
232 | 169 |
|
233 | 170 | .nav-button.active:hover { |
234 | | - background: #2563eb; |
235 | | - transform: translateY(-2px); |
236 | | - box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4); |
| 171 | + background: #334155; |
| 172 | + border-color: #334155; |
237 | 173 | } |
238 | 174 |
|
239 | 175 | /* Main Content */ |
|
0 commit comments