Spaces:
Build error
Build error
Upload src/app.css with huggingface_hub
Browse files- src/app.css +88 -55
src/app.css
CHANGED
@@ -1,79 +1,112 @@
|
|
|
|
1 |
:root {
|
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 |
margin: 0;
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
min-height: 100vh;
|
31 |
}
|
32 |
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
}
|
37 |
|
38 |
-
.
|
39 |
-
|
|
|
|
|
|
|
40 |
}
|
41 |
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
}
|
48 |
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
padding: 0.6em 1.2em;
|
53 |
-
font-size: 1em;
|
54 |
-
font-weight: 500;
|
55 |
-
font-family: inherit;
|
56 |
-
background-color: #1a1a1a;
|
57 |
-
cursor: pointer;
|
58 |
-
transition: border-color 0.25s;
|
59 |
}
|
60 |
-
|
61 |
-
|
|
|
62 |
}
|
63 |
-
|
64 |
-
|
65 |
-
|
|
|
|
|
|
|
66 |
}
|
67 |
|
68 |
-
|
69 |
-
:
|
70 |
-
|
71 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
}
|
73 |
-
|
74 |
-
|
|
|
75 |
}
|
76 |
-
|
77 |
-
|
|
|
78 |
}
|
79 |
-
}
|
|
|
1 |
+
/* src/app.css */
|
2 |
:root {
|
3 |
+
--primary: #3b82f6;
|
4 |
+
--success: #10b981;
|
5 |
+
--danger: #ef4444;
|
6 |
+
--gray-50: #f9fafb;
|
7 |
+
--gray-100: #f3f4f6;
|
8 |
+
--gray-200: #e5e7eb;
|
9 |
+
--gray-300: #d1d5db;
|
10 |
+
--gray-400: #9ca3af;
|
11 |
+
--gray-500: #6b7280;
|
12 |
+
--gray-600: #4b5563;
|
13 |
+
--gray-700: #374151;
|
14 |
+
--gray-800: #1f2937;
|
15 |
+
--gray-900: #111827;
|
16 |
+
}
|
17 |
|
18 |
+
* {
|
19 |
+
box-sizing: border-box;
|
20 |
+
}
|
21 |
|
22 |
+
body {
|
23 |
+
margin: 0;
|
24 |
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
25 |
+
background-color: var(--gray-50);
|
26 |
+
color: var(--gray-900);
|
27 |
+
line-height: 1.5;
|
28 |
}
|
29 |
|
30 |
+
.container {
|
31 |
+
max-width: 1200px;
|
32 |
+
margin: 0 auto;
|
33 |
+
padding: 2rem 1rem;
|
34 |
}
|
35 |
+
|
36 |
+
header {
|
37 |
+
margin-bottom: 2rem;
|
38 |
}
|
39 |
|
40 |
+
h1 {
|
41 |
margin: 0;
|
42 |
+
font-size: 2rem;
|
43 |
+
font-weight: 700;
|
44 |
+
color: var(--gray-900);
|
|
|
45 |
}
|
46 |
|
47 |
+
.subtitle {
|
48 |
+
margin: 0.25rem 0 0;
|
49 |
+
color: var(--gray-600);
|
50 |
}
|
51 |
|
52 |
+
.grid {
|
53 |
+
display: grid;
|
54 |
+
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
55 |
+
gap: 1.5rem;
|
56 |
+
margin-bottom: 2rem;
|
57 |
}
|
58 |
|
59 |
+
.loading, .error {
|
60 |
+
display: flex;
|
61 |
+
flex-direction: column;
|
62 |
+
align-items: center;
|
63 |
+
justify-content: center;
|
64 |
+
min-height: 400px;
|
65 |
+
color: var(--gray-500);
|
66 |
+
}
|
67 |
+
|
68 |
+
.spinner {
|
69 |
+
width: 40px;
|
70 |
+
height: 40px;
|
71 |
+
border: 4px solid var(--gray-200);
|
72 |
+
border-top: 4px solid var(--primary);
|
73 |
+
border-radius: 50%;
|
74 |
+
animation: spin 1s linear infinite;
|
75 |
}
|
76 |
|
77 |
+
@keyframes spin {
|
78 |
+
0% { transform: rotate(0deg); }
|
79 |
+
100% { transform: rotate(360deg); }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
}
|
81 |
+
|
82 |
+
.error {
|
83 |
+
color: var(--danger);
|
84 |
}
|
85 |
+
|
86 |
+
.chart-section {
|
87 |
+
background: white;
|
88 |
+
border-radius: 0.5rem;
|
89 |
+
padding: 1.5rem;
|
90 |
+
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
|
91 |
}
|
92 |
|
93 |
+
.chart-section h2 {
|
94 |
+
margin: 0 0 1rem;
|
95 |
+
font-size: 1.25rem;
|
96 |
+
font-weight: 600;
|
97 |
+
color: var(--gray-900);
|
98 |
+
}
|
99 |
+
|
100 |
+
@media (max-width: 640px) {
|
101 |
+
.container {
|
102 |
+
padding: 1rem;
|
103 |
}
|
104 |
+
|
105 |
+
h1 {
|
106 |
+
font-size: 1.5rem;
|
107 |
}
|
108 |
+
|
109 |
+
.grid {
|
110 |
+
grid-template-columns: 1fr;
|
111 |
}
|
112 |
+
}
|