jamnif commited on
Commit
25d0a3c
·
verified ·
1 Parent(s): 3bd01f6

Upload static/style.css with huggingface_hub

Browse files
Files changed (1) hide show
  1. static/style.css +305 -0
static/style.css ADDED
@@ -0,0 +1,305 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ * {
2
+ box-sizing: border-box;
3
+ }
4
+
5
+ body {
6
+ margin: 0;
7
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
8
+ background: #f8fafc;
9
+ color: #1e293b;
10
+ line-height: 1.5;
11
+ }
12
+
13
+ .container {
14
+ max-width: 900px;
15
+ margin: 0 auto;
16
+ padding: 2rem;
17
+ }
18
+
19
+ header {
20
+ margin-bottom: 1.5rem;
21
+ }
22
+
23
+ header h1 {
24
+ margin: 0 0 0.25rem;
25
+ font-size: 1.75rem;
26
+ font-weight: 700;
27
+ }
28
+
29
+ .tagline {
30
+ margin: 0;
31
+ font-size: 0.95rem;
32
+ color: #64748b;
33
+ }
34
+
35
+ .desc {
36
+ margin: 0.5rem 0 0;
37
+ font-size: 0.9rem;
38
+ color: #475569;
39
+ }
40
+
41
+ /* Tabs */
42
+ .tabs {
43
+ display: flex;
44
+ gap: 0;
45
+ margin-bottom: 1rem;
46
+ border-bottom: 1px solid #e2e8f0;
47
+ }
48
+
49
+ .tab-btn {
50
+ padding: 0.6rem 1.2rem;
51
+ font-size: 0.95rem;
52
+ font-weight: 500;
53
+ background: none;
54
+ border: none;
55
+ border-bottom: 2px solid transparent;
56
+ color: #64748b;
57
+ cursor: pointer;
58
+ margin-bottom: -1px;
59
+ }
60
+
61
+ .tab-btn:hover {
62
+ color: #334155;
63
+ }
64
+
65
+ .tab-btn.active {
66
+ color: #3b82f6;
67
+ border-bottom-color: #3b82f6;
68
+ }
69
+
70
+ .tab-content {
71
+ display: none;
72
+ }
73
+
74
+ .tab-content.active {
75
+ display: block;
76
+ }
77
+
78
+ main {
79
+ display: flex;
80
+ flex-direction: column;
81
+ gap: 1.5rem;
82
+ }
83
+
84
+ .input-section {
85
+ background: #fff;
86
+ border-radius: 8px;
87
+ padding: 1rem;
88
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
89
+ }
90
+
91
+ .input-header {
92
+ display: flex;
93
+ flex-wrap: wrap;
94
+ justify-content: space-between;
95
+ align-items: center;
96
+ gap: 0.75rem;
97
+ margin-bottom: 0.5rem;
98
+ }
99
+
100
+ .input-header label {
101
+ font-weight: 500;
102
+ font-size: 0.9rem;
103
+ }
104
+
105
+ .input-actions {
106
+ display: flex;
107
+ align-items: center;
108
+ gap: 0.75rem;
109
+ }
110
+
111
+ #sample-select {
112
+ padding: 0.35rem 0.5rem;
113
+ font-size: 0.85rem;
114
+ border: 1px solid #cbd5e1;
115
+ border-radius: 4px;
116
+ background: #fff;
117
+ }
118
+
119
+ .pred-steps {
120
+ display: flex;
121
+ align-items: center;
122
+ gap: 0.35rem;
123
+ font-size: 0.85rem;
124
+ }
125
+
126
+ #pred-steps {
127
+ width: 3.5rem;
128
+ padding: 0.35rem;
129
+ font-size: 0.9rem;
130
+ border: 1px solid #cbd5e1;
131
+ border-radius: 4px;
132
+ }
133
+
134
+ #ts-input {
135
+ width: 100%;
136
+ padding: 0.75rem;
137
+ font-size: 0.9rem;
138
+ font-family: inherit;
139
+ border: 1px solid #e2e8f0;
140
+ border-radius: 6px;
141
+ resize: vertical;
142
+ min-height: 80px;
143
+ }
144
+
145
+ #ts-input:focus {
146
+ outline: none;
147
+ border-color: #3b82f6;
148
+ box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
149
+ }
150
+
151
+ .output-section {
152
+ background: #fff;
153
+ border-radius: 8px;
154
+ padding: 1rem;
155
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
156
+ }
157
+
158
+ .forecast-display {
159
+ margin-bottom: 1rem;
160
+ font-size: 1rem;
161
+ }
162
+
163
+ .forecast-display .label {
164
+ color: #64748b;
165
+ }
166
+
167
+ .forecast-display .value {
168
+ font-weight: 600;
169
+ color: #1e293b;
170
+ }
171
+
172
+ .forecast-display .range {
173
+ font-size: 0.85rem;
174
+ color: #64748b;
175
+ margin-left: 0.25rem;
176
+ }
177
+
178
+ .loading {
179
+ padding: 0.5rem 0;
180
+ color: #3b82f6;
181
+ font-size: 0.9rem;
182
+ }
183
+
184
+ .error {
185
+ padding: 0.5rem 0;
186
+ color: #dc2626;
187
+ font-size: 0.9rem;
188
+ }
189
+
190
+ .chart-container {
191
+ position: relative;
192
+ height: 300px;
193
+ margin: 1rem 0;
194
+ }
195
+
196
+ .download-row {
197
+ margin-top: 1rem;
198
+ }
199
+
200
+ #download-csv {
201
+ padding: 0.5rem 1rem;
202
+ font-size: 0.9rem;
203
+ background: #3b82f6;
204
+ color: #fff;
205
+ border: none;
206
+ border-radius: 6px;
207
+ cursor: pointer;
208
+ }
209
+
210
+ #download-csv:hover {
211
+ background: #2563eb;
212
+ }
213
+
214
+ #download-csv:disabled {
215
+ background: #94a3b8;
216
+ cursor: not-allowed;
217
+ }
218
+
219
+ /* Compare tab */
220
+ .compare-section {
221
+ background: #fff;
222
+ border-radius: 8px;
223
+ padding: 1.5rem;
224
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
225
+ }
226
+
227
+ .compare-section h2 {
228
+ margin: 0 0 0.75rem;
229
+ font-size: 1.25rem;
230
+ }
231
+
232
+ .compare-intro {
233
+ margin: 0 0 1.5rem;
234
+ color: #475569;
235
+ font-size: 0.95rem;
236
+ }
237
+
238
+ .pipeline-row {
239
+ display: flex;
240
+ flex-direction: column;
241
+ gap: 2rem;
242
+ }
243
+
244
+ .pipeline-block {
245
+ display: flex;
246
+ flex-direction: column;
247
+ gap: 0.75rem;
248
+ }
249
+
250
+ .pipeline-label {
251
+ margin: 0;
252
+ font-size: 1rem;
253
+ font-weight: 600;
254
+ color: #334155;
255
+ }
256
+
257
+ .pipeline {
258
+ display: flex;
259
+ flex-wrap: wrap;
260
+ align-items: center;
261
+ gap: 0.25rem 0;
262
+ }
263
+
264
+ .pipeline.ml-pipeline {
265
+ font-size: 0.8rem;
266
+ }
267
+
268
+ .pipeline.chronos-pipeline {
269
+ font-size: 1rem;
270
+ }
271
+
272
+ .pipeline .step {
273
+ padding: 0.4rem 0.6rem;
274
+ border: 1px solid #e2e8f0;
275
+ border-radius: 4px;
276
+ background: #f8fafc;
277
+ white-space: nowrap;
278
+ }
279
+
280
+ .pipeline .step.highlight {
281
+ background: #ecfdf5;
282
+ border-color: #059669;
283
+ color: #047857;
284
+ font-weight: 600;
285
+ }
286
+
287
+ .pipeline .arrow {
288
+ color: #94a3b8;
289
+ font-size: 0.9em;
290
+ padding: 0 0.2rem;
291
+ }
292
+
293
+ .pipeline.chronos-pipeline .arrow {
294
+ font-size: 1.1em;
295
+ }
296
+
297
+ .compare-cta {
298
+ margin: 1.5rem 0 0;
299
+ font-size: 0.95rem;
300
+ color: #475569;
301
+ }
302
+
303
+ .compare-cta strong {
304
+ color: #059669;
305
+ }