AppleSwing commited on
Commit
0c1bd90
·
verified ·
1 Parent(s): 380021e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -7
app.py CHANGED
@@ -330,13 +330,21 @@ def build_app() -> gr.Blocks:
330
  border-radius: 8px !important;
331
  padding: 16px !important;
332
  box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
 
333
  }
334
 
335
- .filter-section * {
336
- background-color: transparent !important;
337
- color: #24292e !important;
 
 
 
 
 
 
338
  }
339
 
 
340
  /* Re-apply white background to inputs specifically */
341
  .filter-section input,
342
  .filter-section textarea,
@@ -385,7 +393,7 @@ def build_app() -> gr.Blocks:
385
  opacity: 1 !important;
386
  }
387
 
388
- /* 4. SEARCH BOX */
389
  .search-box {
390
  background: white !important;
391
  padding: 16px !important;
@@ -394,7 +402,7 @@ def build_app() -> gr.Blocks:
394
  margin-bottom: 16px;
395
  }
396
 
397
- /* 5. TABLE STYLING */
398
  .table-container {
399
  overflow-x: auto;
400
  max-height: 75vh;
@@ -416,10 +424,10 @@ def build_app() -> gr.Blocks:
416
  background-color: #f0f0f0 !important; text-align: center;
417
  }
418
 
419
- /* 6. PLOT CONTAINER */
420
  .plot-container { width: 100% !important; background: white !important; }
421
 
422
- /* 7. LINKS */
423
  a { color: #0366d6 !important; text-decoration: none; }
424
  a:hover { text-decoration: underline; }
425
  """
 
330
  border-radius: 8px !important;
331
  padding: 16px !important;
332
  box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
333
+ color: #24292e !important; /* Set default text color for the section */
334
  }
335
 
336
+ /* 4. BUTTON FIXES */
337
+ /* Restore the Primary Button Color */
338
+ .filter-section button.primary {
339
+ background-color: #0366d6 !important;
340
+ color: white !important;
341
+ border: none !important;
342
+ }
343
+ .filter-section button:hover {
344
+ opacity: 0.9;
345
  }
346
 
347
+ /* 5. INPUTS & CHECKBOXES */
348
  /* Re-apply white background to inputs specifically */
349
  .filter-section input,
350
  .filter-section textarea,
 
393
  opacity: 1 !important;
394
  }
395
 
396
+ /* 6. SEARCH BOX */
397
  .search-box {
398
  background: white !important;
399
  padding: 16px !important;
 
402
  margin-bottom: 16px;
403
  }
404
 
405
+ /* 7. TABLE STYLING */
406
  .table-container {
407
  overflow-x: auto;
408
  max-height: 75vh;
 
424
  background-color: #f0f0f0 !important; text-align: center;
425
  }
426
 
427
+ /* 8. PLOT CONTAINER */
428
  .plot-container { width: 100% !important; background: white !important; }
429
 
430
+ /* 9. LINKS */
431
  a { color: #0366d6 !important; text-decoration: none; }
432
  a:hover { text-decoration: underline; }
433
  """