lighteternal commited on
Commit
2bb3b76
·
verified ·
1 Parent(s): e329b09

Polish selected tab state in redesigned Space

Browse files
Files changed (2) hide show
  1. __pycache__/app.cpython-310.pyc +0 -0
  2. app.py +6 -1
__pycache__/app.cpython-310.pyc CHANGED
Binary files a/__pycache__/app.cpython-310.pyc and b/__pycache__/app.cpython-310.pyc differ
 
app.py CHANGED
@@ -353,12 +353,17 @@ CSS = """
353
  font-weight: 600 !important;
354
  border-radius: 999px !important;
355
  padding: 0.55rem 1rem !important;
 
 
356
  }
357
 
358
- .gradio-container .tab-nav button.selected {
 
 
359
  background: linear-gradient(180deg, #d9ece8, #cde4de) !important;
360
  color: #0d3d38 !important;
361
  box-shadow: 0 6px 16px rgba(22,91,85,0.12);
 
362
  }
363
 
364
  .gradio-container .gradio-dataframe table,
 
353
  font-weight: 600 !important;
354
  border-radius: 999px !important;
355
  padding: 0.55rem 1rem !important;
356
+ background: rgba(255,255,255,0.62) !important;
357
+ border: 1px solid rgba(198,205,191,0.7) !important;
358
  }
359
 
360
+ .gradio-container .tab-nav button.selected,
361
+ .gradio-container button[role="tab"][aria-selected="true"],
362
+ .gradio-container [role="tab"][aria-selected="true"] {
363
  background: linear-gradient(180deg, #d9ece8, #cde4de) !important;
364
  color: #0d3d38 !important;
365
  box-shadow: 0 6px 16px rgba(22,91,85,0.12);
366
+ border-color: rgba(22,91,85,0.18) !important;
367
  }
368
 
369
  .gradio-container .gradio-dataframe table,