MrInvincible96 commited on
Commit
ebcf662
·
verified ·
1 Parent(s): 82af292

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +33 -23
app.py CHANGED
@@ -177,7 +177,7 @@ button.secondary:hover {
177
  border-color: #b8c7d4 !important;
178
  }
179
 
180
- /* Tab styling */
181
  .tab-nav {
182
  gap: 8px !important;
183
  padding: 14px 22px 0 22px !important;
@@ -191,12 +191,17 @@ button.secondary:hover {
191
  font-weight: 700 !important;
192
  transition: all 0.2s ease !important;
193
  }
194
- .tab-nav button:hover {
 
 
 
 
195
  background: #edf3f8 !important;
196
  color: #173954 !important;
197
  border-color: #bfd0dd !important;
198
  }
199
- .tab-nav button.selected {
 
200
  background: #173a59 !important;
201
  color: #ffffff !important;
202
  border-color: #173a59 !important;
@@ -229,32 +234,37 @@ button.secondary:hover {
229
  }
230
 
231
  /* Examples Visibility Fixes */
232
- .examples,
233
- .examples *,
234
  .examples label,
235
- .examples .dataset-header {
236
- color: #27272A !important;
237
- }
238
- .examples label {
239
  font-weight: 700 !important;
 
240
  }
241
 
242
- /* Target Example Table Rows safely */
243
- .examples table tr td,
244
- .examples table tr th {
245
- color: #27272A !important;
246
  }
247
- .examples table tbody tr:hover,
248
- .examples table tbody tr:hover td {
249
- background: #E9EEF5 !important;
250
- color: #27272A !important;
 
 
 
 
 
 
251
  }
252
- .examples table tbody tr.selected,
253
- .examples table tbody tr.selected td,
254
- .examples table tbody tr[aria-selected="true"],
255
- .examples table tbody tr[aria-selected="true"] td {
256
- background: #DCE6F2 !important;
257
- color: #27272A !important;
258
  }
259
 
260
  /* Keep hero text white no matter what */
 
177
  border-color: #b8c7d4 !important;
178
  }
179
 
180
+ /* Tab styling & Fix for invisible unselected tabs */
181
  .tab-nav {
182
  gap: 8px !important;
183
  padding: 14px 22px 0 22px !important;
 
191
  font-weight: 700 !important;
192
  transition: all 0.2s ease !important;
193
  }
194
+ .tab-nav button span {
195
+ color: #41586b !important; /* Force text color on inner span */
196
+ }
197
+ .tab-nav button:hover,
198
+ .tab-nav button:hover span {
199
  background: #edf3f8 !important;
200
  color: #173954 !important;
201
  border-color: #bfd0dd !important;
202
  }
203
+ .tab-nav button.selected,
204
+ .tab-nav button.selected span {
205
  background: #173a59 !important;
206
  color: #ffffff !important;
207
  border-color: #173a59 !important;
 
234
  }
235
 
236
  /* Examples Visibility Fixes */
 
 
237
  .examples label,
238
+ .examples label span,
239
+ .examples .label-wrap,
240
+ .examples .label-wrap span {
241
+ color: #000000 !important; /* Force Sample Business Scenarios label to be black */
242
  font-weight: 700 !important;
243
+ opacity: 1 !important;
244
  }
245
 
246
+ .examples button,
247
+ .examples [role="button"],
248
+ .examples .gallery-item {
249
+ color: #000000 !important;
250
  }
251
+
252
+ /* Fix for dark hover states */
253
+ .examples button:hover,
254
+ .examples [role="button"]:hover,
255
+ .examples .gallery-item:hover,
256
+ .examples [aria-selected="true"],
257
+ .examples .selected {
258
+ background: #eef4f8 !important;
259
+ color: #000000 !important;
260
+ border-color: #b8c7d4 !important;
261
  }
262
+
263
+ .examples button:hover *,
264
+ .examples [role="button"]:hover *,
265
+ .examples .gallery-item:hover *,
266
+ .examples [aria-selected="true"] * {
267
+ color: #000000 !important; /* Ensure text remains black on hover */
268
  }
269
 
270
  /* Keep hero text white no matter what */