davidberenstein1957 HF staff commited on
Commit
6e87332
1 Parent(s): f1f92f7

feat: Add blackened tabs

Browse files
Files changed (1) hide show
  1. app.py +9 -2
app.py CHANGED
@@ -54,9 +54,16 @@ demo = gr.TabbedInterface(
54
  margin-bottom: 20px;
55
  }
56
  }
57
- button[role="tab"].selected {
58
- color: black;
 
 
 
 
 
59
  font-weight: bold;
 
 
60
  }
61
  </style>
62
  <div class="header-container">
 
54
  margin-bottom: 20px;
55
  }
56
  }
57
+ button[role="tab"].selected,
58
+ button[role="tab"][aria-selected="true"],
59
+ button[role="tab"][data-tab-id][aria-selected="true"] {
60
+ background-color: #000000;
61
+ color: white;
62
+ border: none;
63
+ font-size: 16px;
64
  font-weight: bold;
65
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
66
+ transition: background-color 0.3s ease, color 0.3s ease;
67
  }
68
  </style>
69
  <div class="header-container">