lisekarimi commited on
Commit
e7ca7a7
·
1 Parent(s): ffa80b4

Deploy version 0.2.0

Browse files
Files changed (1) hide show
  1. assets/styles.css +288 -61
assets/styles.css CHANGED
@@ -1,25 +1,51 @@
 
 
 
1
 
2
- html, body, #app, body > div, .gradio-container {
3
- background-color: #0b0e18 !important; /* dark blue */
4
- height: 100%;
5
- margin: 0;
6
- padding: 0;
7
- font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
8
- display: flex;
9
- justify-content: center;
10
- align-items: center;
11
  }
12
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  #app-container {
14
  background-color: #1d3451 !important;
15
- padding: 40px;
16
- border-radius: 12px;
17
- box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
18
- max-width: 800px;
19
- width: 100%;
20
- color: white;
 
21
  }
22
 
 
 
 
 
23
  #app-container h4,
24
  #app-container p,
25
  #app-container ol,
@@ -59,6 +85,10 @@ html, body, #app, body > div, .gradio-container {
59
  line-height: 1.6;
60
  }
61
 
 
 
 
 
62
  #learn-more-button {
63
  display: flex;
64
  justify-content: center;
@@ -79,6 +109,25 @@ html, body, #app, body > div, .gradio-container {
79
  opacity: 0.85;
80
  }
81
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
  #input-container {
83
  background-color: #1f2937;
84
  padding: 20px;
@@ -114,14 +163,19 @@ html, body, #app, body > div, .gradio-container {
114
  padding: 10px !important;
115
  margin: 0 !important;
116
  }
 
117
  .row-spacer {
118
  margin-top: 24px !important;
119
  }
120
 
121
  .column-gap {
122
- gap: 16px;
123
  }
124
 
 
 
 
 
125
  textarea, input[type="text"] {
126
  background-color: #374151 !important;
127
  color: white !important;
@@ -136,12 +190,13 @@ input[role="listbox"] {
136
  color: white !important;
137
  background-color: #374151 !important;
138
  }
 
139
  .dropdown-arrow {
140
  color: white !important;
141
  }
142
 
143
  ul[role="listbox"] {
144
- background-color: #111827 !important; /* dark navy */
145
  color: white !important;
146
  border-radius: 6px;
147
  padding: 4px 0;
@@ -153,11 +208,11 @@ ul[role="listbox"] li {
153
  }
154
 
155
  ul[role="listbox"] li:hover {
156
- background-color: #1f2937 !important; /* slightly lighter hover */
157
  }
158
 
159
  ul[role="listbox"] li[aria-selected="true"] {
160
- background-color: #111827 !important; /* same dark as others */
161
  color: white !important;
162
  }
163
 
@@ -175,24 +230,12 @@ input[type="number"] {
175
  }
176
 
177
  #business-problem-box textarea::placeholder {
178
- color: #9ca3af !important; /* Tailwind's "gray-400" */
179
  }
180
 
181
-
182
- #run-btn {
183
- background: linear-gradient(to left, #ff416c, #ff4b2b);
184
- color: white !important;
185
- font-weight: bold;
186
- border: none;
187
- padding: 10px 20px;
188
- border-radius: 8px;
189
- cursor: pointer;
190
- transition: background 0.3s ease;
191
- }
192
-
193
- #run-btn:hover {
194
- filter: brightness(1.1);
195
- }
196
 
197
  #download-box {
198
  background-color: #1f2937;
@@ -208,6 +251,7 @@ input[type="number"] {
208
  text-decoration: underline;
209
  font-weight: bold;
210
  }
 
211
  #download-box td.filename {
212
  color: rgb(255, 255, 255) !important;
213
  }
@@ -220,23 +264,24 @@ input[type="number"] {
220
  background-color: #1f2937 !important;
221
  }
222
 
223
- /* #download-box label {
224
- background-color: #1f2937 !important;
225
- color: white !important;
226
- font-weight: bold;
227
- } */
228
  #download-box > label {
229
  display: none !important;
230
  }
231
 
 
 
 
232
 
233
- /* ==== Version ==== */
234
  .version-banner {
235
  text-align: center;
236
  font-size: 0.9em;
 
237
  }
238
 
239
- /* ==== Floating chat button for Gradio ==== */
 
 
 
240
  .floating-chat-btn {
241
  position: fixed !important;
242
  bottom: 30px !important;
@@ -255,35 +300,217 @@ input[type="number"] {
255
  z-index: 9999 !important;
256
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
257
  white-space: nowrap !important;
258
- }
259
 
260
- .floating-chat-btn:hover {
261
  transform: translateY(-3px) scale(1.02) !important;
262
  box-shadow: 0 8px 24px rgba(255, 65, 108, 0.7) !important;
263
  text-decoration: none !important;
264
  color: white !important;
265
- }
266
 
267
- .floating-chat-btn:active {
268
  transform: translateY(-1px) scale(0.98) !important;
269
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
270
 
271
- /* Tablet and smaller desktop */
272
- @media (max-width: 1024px) {
273
  .floating-chat-btn {
274
- bottom: 25px !important;
275
- right: 25px !important;
276
- font-size: 0.95rem !important;
277
- padding: 0.875rem 1.5rem !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
278
  }
279
- }
280
 
281
- /* Mobile */
282
- @media (max-width: 768px) {
283
  .floating-chat-btn {
284
- bottom: 20px !important;
285
- right: 20px !important;
286
- font-size: 0.9rem !important;
287
- padding: 0.875rem 1.25rem !important;
 
 
 
 
 
 
 
 
 
288
  }
289
- }
 
1
+ /* ========================================
2
+ RESET & BASE STYLES
3
+ ======================================== */
4
 
5
+ * {
6
+ box-sizing: border-box;
 
 
 
 
 
 
 
7
  }
8
 
9
+ html {
10
+ scroll-behavior: smooth;
11
+ }
12
+
13
+ body, html, #app, body > div, .gradio-container {
14
+ background-color: #0b0e18 !important;
15
+ margin: 0 !important;
16
+ padding: 0 !important;
17
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
18
+ width: 100% !important;
19
+ min-height: 100vh !important;
20
+ overflow-x: hidden !important;
21
+ }
22
+
23
+ /* Remove Gradio's default flexbox centering */
24
+ #app, body > div, .gradio-container {
25
+ display: block !important;
26
+ align-items: unset !important;
27
+ justify-content: unset !important;
28
+ }
29
+
30
+ /* ========================================
31
+ MAIN CONTAINER
32
+ ======================================== */
33
+
34
  #app-container {
35
  background-color: #1d3451 !important;
36
+ padding: 40px !important;
37
+ border-radius: 12px !important;
38
+ box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4) !important;
39
+ max-width: 800px !important;
40
+ width: calc(100% - 40px) !important;
41
+ margin: 20px auto !important;
42
+ color: white !important;
43
  }
44
 
45
+ /* ========================================
46
+ TYPOGRAPHY
47
+ ======================================== */
48
+
49
  #app-container h4,
50
  #app-container p,
51
  #app-container ol,
 
85
  line-height: 1.6;
86
  }
87
 
88
+ /* ========================================
89
+ BUTTONS & LINKS
90
+ ======================================== */
91
+
92
  #learn-more-button {
93
  display: flex;
94
  justify-content: center;
 
109
  opacity: 0.85;
110
  }
111
 
112
+ #run-btn {
113
+ background: linear-gradient(to left, #ff416c, #ff4b2b);
114
+ color: white !important;
115
+ font-weight: bold;
116
+ border: none;
117
+ padding: 10px 20px;
118
+ border-radius: 8px;
119
+ cursor: pointer;
120
+ transition: background 0.3s ease;
121
+ }
122
+
123
+ #run-btn:hover {
124
+ filter: brightness(1.1);
125
+ }
126
+
127
+ /* ========================================
128
+ INPUT CONTAINER & FORMS
129
+ ======================================== */
130
+
131
  #input-container {
132
  background-color: #1f2937;
133
  padding: 20px;
 
163
  padding: 10px !important;
164
  margin: 0 !important;
165
  }
166
+
167
  .row-spacer {
168
  margin-top: 24px !important;
169
  }
170
 
171
  .column-gap {
172
+ gap: 16px;
173
  }
174
 
175
+ /* ========================================
176
+ FORM INPUTS
177
+ ======================================== */
178
+
179
  textarea, input[type="text"] {
180
  background-color: #374151 !important;
181
  color: white !important;
 
190
  color: white !important;
191
  background-color: #374151 !important;
192
  }
193
+
194
  .dropdown-arrow {
195
  color: white !important;
196
  }
197
 
198
  ul[role="listbox"] {
199
+ background-color: #111827 !important;
200
  color: white !important;
201
  border-radius: 6px;
202
  padding: 4px 0;
 
208
  }
209
 
210
  ul[role="listbox"] li:hover {
211
+ background-color: #1f2937 !important;
212
  }
213
 
214
  ul[role="listbox"] li[aria-selected="true"] {
215
+ background-color: #111827 !important;
216
  color: white !important;
217
  }
218
 
 
230
  }
231
 
232
  #business-problem-box textarea::placeholder {
233
+ color: #9ca3af !important;
234
  }
235
 
236
+ /* ========================================
237
+ DOWNLOAD BOX
238
+ ======================================== */
 
 
 
 
 
 
 
 
 
 
 
 
239
 
240
  #download-box {
241
  background-color: #1f2937;
 
251
  text-decoration: underline;
252
  font-weight: bold;
253
  }
254
+
255
  #download-box td.filename {
256
  color: rgb(255, 255, 255) !important;
257
  }
 
264
  background-color: #1f2937 !important;
265
  }
266
 
 
 
 
 
 
267
  #download-box > label {
268
  display: none !important;
269
  }
270
 
271
+ /* ========================================
272
+ VERSION & FOOTER
273
+ ======================================== */
274
 
 
275
  .version-banner {
276
  text-align: center;
277
  font-size: 0.9em;
278
+ margin-top: 20px;
279
  }
280
 
281
+ /* ========================================
282
+ FLOATING CHAT BUTTON
283
+ ======================================== */
284
+
285
  .floating-chat-btn {
286
  position: fixed !important;
287
  bottom: 30px !important;
 
300
  z-index: 9999 !important;
301
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
302
  white-space: nowrap !important;
303
+ }
304
 
305
+ .floating-chat-btn:hover {
306
  transform: translateY(-3px) scale(1.02) !important;
307
  box-shadow: 0 8px 24px rgba(255, 65, 108, 0.7) !important;
308
  text-decoration: none !important;
309
  color: white !important;
310
+ }
311
 
312
+ .floating-chat-btn:active {
313
  transform: translateY(-1px) scale(0.98) !important;
314
+ }
315
+
316
+ /* ========================================
317
+ TABLET RESPONSIVE (max-width: 768px)
318
+ ======================================== */
319
+
320
+ @media (max-width: 768px) {
321
+ #app-container {
322
+ width: calc(100% - 20px) !important;
323
+ padding: 20px !important;
324
+ margin: 10px auto !important;
325
+ border-radius: 8px !important;
326
+ }
327
+
328
+ #app-title {
329
+ font-size: 32px !important;
330
+ margin-bottom: 8px !important;
331
+ }
332
+
333
+ #app-subtitle {
334
+ font-size: 18px !important;
335
+ margin-bottom: 15px !important;
336
+ }
337
+
338
+ #intro-text {
339
+ font-size: 14px !important;
340
+ margin-top: 15px !important;
341
+ }
342
+
343
+ #intro-text h4 {
344
+ font-size: 16px !important;
345
+ margin-top: 12px !important;
346
+ margin-bottom: 8px !important;
347
+ }
348
+
349
+ #intro-text p,
350
+ #app-container p,
351
+ #app-container li {
352
+ font-size: 14px !important;
353
+ }
354
+
355
+ #learn-more-button {
356
+ margin-top: 15px !important;
357
+ margin-bottom: 15px !important;
358
+ }
359
+
360
+ .button-link {
361
+ padding: 12px 24px !important;
362
+ font-size: 14px !important;
363
+ width: 100% !important;
364
+ text-align: center !important;
365
+ display: block !important;
366
+ }
367
+
368
+ #input-container {
369
+ padding: 15px !important;
370
+ margin-top: 15px !important;
371
+ }
372
+
373
+ .label-box label,
374
+ .label-box span {
375
+ font-size: 14px !important;
376
+ }
377
+
378
+ /* Make rows stack vertically */
379
+ .column-gap {
380
+ flex-direction: column !important;
381
+ gap: 12px !important;
382
+ }
383
+
384
+ .row-spacer {
385
+ margin-top: 12px !important;
386
+ }
387
+
388
+ /* Full width columns */
389
+ #input-container .column {
390
+ width: 100% !important;
391
+ min-width: 100% !important;
392
+ }
393
+
394
+ textarea, input[type="text"] {
395
+ font-size: 16px !important;
396
+ padding: 12px !important;
397
+ }
398
+
399
+ #business-problem-box textarea {
400
+ min-height: 100px !important;
401
+ }
402
+
403
+ #custom-dropdown .wrap {
404
+ padding: 10px !important;
405
+ }
406
+
407
+ input[role="listbox"] {
408
+ font-size: 16px !important;
409
+ padding: 12px !important;
410
+ }
411
+
412
+ input[type="range"] {
413
+ width: 100% !important;
414
+ }
415
+
416
+ #run-btn {
417
+ width: 100% !important;
418
+ padding: 14px 20px !important;
419
+ font-size: 16px !important;
420
+ margin-top: 15px !important;
421
+ }
422
+
423
+ #download-box {
424
+ margin-top: 15px !important;
425
+ padding: 12px !important;
426
+ }
427
+
428
+ .version-banner {
429
+ font-size: 0.8em !important;
430
+ padding: 10px !important;
431
+ margin-top: 20px !important;
432
+ }
433
 
 
 
434
  .floating-chat-btn {
435
+ bottom: 20px !important;
436
+ right: 20px !important;
437
+ padding: 12px 20px !important;
438
+ font-size: 14px !important;
439
+ border-radius: 40px !important;
440
+ }
441
+ }
442
+
443
+ /* ========================================
444
+ PHONE RESPONSIVE (max-width: 480px)
445
+ ======================================== */
446
+
447
+ @media (max-width: 480px) {
448
+ #app-container {
449
+ width: calc(100% - 10px) !important;
450
+ padding: 15px !important;
451
+ margin: 5px auto !important;
452
+ }
453
+
454
+ #app-title {
455
+ font-size: 28px !important;
456
+ margin-bottom: 5px !important;
457
+ }
458
+
459
+ #app-subtitle {
460
+ font-size: 16px !important;
461
+ }
462
+
463
+ #intro-text {
464
+ font-size: 13px !important;
465
+ }
466
+
467
+ #intro-text h4 {
468
+ font-size: 15px !important;
469
+ }
470
+
471
+ #intro-text p,
472
+ #app-container p,
473
+ #app-container li {
474
+ font-size: 13px !important;
475
+ }
476
+
477
+ .button-link {
478
+ padding: 10px 20px !important;
479
+ font-size: 13px !important;
480
+ }
481
+
482
+ #input-container {
483
+ padding: 12px !important;
484
+ }
485
+
486
+ .label-box label,
487
+ .label-box span {
488
+ font-size: 13px !important;
489
+ }
490
+
491
+ textarea, input[type="text"], input[role="listbox"] {
492
+ font-size: 15px !important;
493
+ padding: 10px !important;
494
+ }
495
+
496
+ #run-btn {
497
+ padding: 12px 18px !important;
498
+ font-size: 15px !important;
499
  }
 
500
 
 
 
501
  .floating-chat-btn {
502
+ bottom: 15px !important;
503
+ right: 15px !important;
504
+ padding: 10px 16px !important;
505
+ font-size: 13px !important;
506
+ border-radius: 35px !important;
507
+ }
508
+
509
+ #app-container ul {
510
+ padding-left: 20px !important;
511
+ }
512
+
513
+ #app-container ul li {
514
+ margin-bottom: 6px !important;
515
  }
516
+ }