Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
|
| 239 |
font-weight: 700 !important;
|
|
|
|
| 240 |
}
|
| 241 |
|
| 242 |
-
|
| 243 |
-
.examples
|
| 244 |
-
.examples
|
| 245 |
-
color: #
|
| 246 |
}
|
| 247 |
-
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 251 |
}
|
| 252 |
-
|
| 253 |
-
.examples
|
| 254 |
-
.examples
|
| 255 |
-
.examples
|
| 256 |
-
|
| 257 |
-
color: #
|
| 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 */
|