-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
303 lines (239 loc) · 7.04 KB
/
index.css
File metadata and controls
303 lines (239 loc) · 7.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600&display=swap");
@tailwind base;
@tailwind components;
@tailwind utilities;
/* Media Intel Design System - Klein Blue Theme */
@layer base {
:root {
/* Core palette - Light mode (clean, professional) */
--background: 30 10% 97%;
--foreground: 0 0% 10%;
--card: 0 0% 100%;
--card-foreground: 0 0% 10%;
--popover: 0 0% 100%;
--popover-foreground: 0 0% 10%;
/* Primary - Deep slate */
--primary: 220 14% 18%;
--primary-foreground: 0 0% 98%;
/* Secondary - Subtle gray */
--secondary: 220 13% 95%;
--secondary-foreground: 220 14% 18%;
/* Muted */
--muted: 220 13% 95%;
--muted-foreground: 220 9% 46%;
/* Accent - International Klein Blue */
--accent: 223 100% 33%;
--accent-foreground: 0 0% 100%;
--accent-hover: 223 100% 28%;
--accent-light: 223 100% 95%;
/* Destructive */
--destructive: 0 84% 60%;
--destructive-foreground: 0 0% 100%;
/* Success */
--success: 160 84% 39%;
--success-foreground: 0 0% 100%;
--success-light: 160 76% 94%;
/* Warning */
--warning: 38 92% 50%;
--warning-foreground: 0 0% 10%;
--warning-light: 48 96% 89%;
/* Info */
--info: 199 89% 48%;
--info-foreground: 0 0% 100%;
--info-light: 199 89% 94%;
/* Borders and inputs */
--border: 220 13% 89%;
--input: 220 13% 89%;
--ring: 223 100% 33%;
--radius: 0.5rem;
/* Sidebar */
--sidebar-background: 220 14% 18%;
--sidebar-foreground: 220 13% 82%;
--sidebar-primary: 0 0% 100%;
--sidebar-primary-foreground: 220 14% 18%;
--sidebar-accent: 223 100% 33%;
--sidebar-accent-foreground: 0 0% 100%;
--sidebar-border: 220 13% 26%;
--sidebar-ring: 223 100% 33%;
/* Chart colors */
--chart-1: 223 100% 33%;
--chart-2: 220 70% 50%;
--chart-3: 160 84% 39%;
--chart-4: 38 92% 50%;
--chart-5: 280 65% 60%;
/* Fonts */
--font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
--font-heading: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
--font-farsi: 'Vazirmatn', sans-serif;
--font-mono: ui-monospace, 'SF Mono', Menlo, Monaco, monospace;
/* Shadows */
--shadow-xs: 0 1px 2px 0 hsl(0 0% 0% / 0.05);
--shadow-sm: 0 1px 3px 0 hsl(0 0% 0% / 0.1), 0 1px 2px -1px hsl(0 0% 0% / 0.1);
--shadow: 0 4px 6px -1px hsl(0 0% 0% / 0.1), 0 2px 4px -2px hsl(0 0% 0% / 0.1);
--shadow-md: 0 10px 15px -3px hsl(0 0% 0% / 0.1), 0 4px 6px -4px hsl(0 0% 0% / 0.1);
--shadow-lg: 0 20px 25px -5px hsl(0 0% 0% / 0.1), 0 8px 10px -6px hsl(0 0% 0% / 0.1);
--shadow-glow: 0 0 20px hsl(223 100% 33% / 0.15);
/* Political leaning colors */
--leaning-state: 220 9% 46%;
--leaning-principlist: 223 100% 33%;
--leaning-reformist: 220 70% 50%;
--leaning-moderate: 280 65% 60%;
--leaning-economic: 160 84% 39%;
}
.dark {
--background: 220 16% 8%;
--foreground: 220 13% 91%;
--card: 220 16% 12%;
--card-foreground: 220 13% 91%;
--popover: 220 16% 14%;
--popover-foreground: 220 13% 91%;
--primary: 220 13% 91%;
--primary-foreground: 220 16% 8%;
--secondary: 220 14% 18%;
--secondary-foreground: 220 13% 82%;
--muted: 220 14% 18%;
--muted-foreground: 220 9% 60%;
--accent: 223 100% 45%;
--accent-foreground: 0 0% 100%;
--accent-hover: 223 100% 55%;
--accent-light: 223 100% 20%;
--destructive: 0 84% 60%;
--destructive-foreground: 0 0% 100%;
--success: 160 84% 45%;
--success-foreground: 0 0% 100%;
--success-light: 160 50% 15%;
--warning: 38 92% 55%;
--warning-foreground: 0 0% 10%;
--warning-light: 38 50% 15%;
--info: 199 89% 55%;
--info-foreground: 0 0% 100%;
--info-light: 199 50% 15%;
--border: 220 14% 22%;
--input: 220 14% 22%;
--ring: 223 100% 45%;
--sidebar-background: 220 16% 6%;
--sidebar-foreground: 220 13% 72%;
--sidebar-primary: 0 0% 100%;
--sidebar-primary-foreground: 220 16% 8%;
--sidebar-accent: 223 100% 45%;
--sidebar-accent-foreground: 0 0% 100%;
--sidebar-border: 220 14% 18%;
--sidebar-ring: 223 100% 45%;
--chart-1: 223 100% 45%;
--chart-2: 220 70% 55%;
--chart-3: 160 84% 45%;
--chart-4: 38 92% 55%;
--chart-5: 280 65% 65%;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground font-sans antialiased;
}
/* Custom scrollbar */
::-webkit-scrollbar {
@apply w-2 h-2;
}
::-webkit-scrollbar-track {
@apply bg-muted/30;
}
::-webkit-scrollbar-thumb {
@apply bg-border rounded-full hover:bg-muted-foreground/30;
}
}
@layer utilities {
.font-farsi {
font-family: var(--font-farsi);
}
/* Legacy utilities for existing components */
.bg-surface-secondary {
@apply bg-muted;
}
.text-accent {
color: hsl(var(--accent));
}
.bg-accent {
background-color: hsl(var(--accent));
}
.bg-accent-light {
background-color: hsl(var(--accent-light));
}
.border-accent {
border-color: hsl(var(--accent));
}
.hover\:bg-accent-hover:hover {
background-color: hsl(var(--accent-hover));
}
.bg-success {
background-color: hsl(var(--success));
}
.bg-success-light {
background-color: hsl(var(--success-light));
}
.text-success {
color: hsl(var(--success));
}
.bg-warning-light {
background-color: hsl(var(--warning-light));
}
.text-warning {
color: hsl(var(--warning));
}
.bg-info-light {
background-color: hsl(var(--info-light));
}
.text-info {
color: hsl(var(--info));
}
/* Shadow utilities */
.shadow-glow {
box-shadow: var(--shadow-glow);
}
/* Glass effect */
.glass {
@apply bg-card/80 backdrop-blur-sm;
}
/* Gradient text */
.gradient-text {
@apply bg-gradient-to-r from-foreground to-muted-foreground bg-clip-text text-transparent;
}
/* Leaning badge utilities */
.badge-state {
@apply bg-muted text-muted-foreground border-border;
}
.badge-principlist {
background-color: hsl(var(--accent-light));
color: hsl(var(--accent));
border-color: hsl(var(--accent) / 0.3);
}
.badge-reformist {
@apply bg-blue-50 text-blue-700 border-blue-200 dark:bg-blue-950 dark:text-blue-300 dark:border-blue-800;
}
.badge-moderate {
@apply bg-purple-50 text-purple-700 border-purple-200 dark:bg-purple-950 dark:text-purple-300 dark:border-purple-800;
}
.badge-economic {
background-color: hsl(var(--success-light));
color: hsl(var(--success));
border-color: hsl(var(--success) / 0.3);
}
/* Animate utilities */
.animate-in {
animation: fadeIn 0.2s ease-out;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(-4px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-pulse-subtle {
animation: pulse-subtle 2s ease-in-out infinite;
}
@keyframes pulse-subtle {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
}