ZhouChuYue
commited on
Commit
·
7e3a93a
1
Parent(s):
4365232
fix: override primary button text color with higher specificity
Browse files
app.py
CHANGED
|
@@ -346,6 +346,19 @@ ul.options, .gr-dropdown-options {
|
|
| 346 |
-webkit-text-fill-color: #ffffff !important;
|
| 347 |
fill: #ffffff !important;
|
| 348 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 349 |
|
| 350 |
.gr-button-secondary {
|
| 351 |
background: #e2e8f0 !important;
|
|
|
|
| 346 |
-webkit-text-fill-color: #ffffff !important;
|
| 347 |
fill: #ffffff !important;
|
| 348 |
}
|
| 349 |
+
.gr-button-primary,
|
| 350 |
+
.gr-button-primary * {
|
| 351 |
+
--button-primary-text-color: #ffffff !important;
|
| 352 |
+
--button-primary-text-color-hover: #ffffff !important;
|
| 353 |
+
--button-primary-text-color-active: #ffffff !important;
|
| 354 |
+
}
|
| 355 |
+
.gradio-container button.gr-button-primary,
|
| 356 |
+
.gradio-container button.gr-button-primary span,
|
| 357 |
+
.gradio-container button.primary,
|
| 358 |
+
.gradio-container button.primary span {
|
| 359 |
+
color: #ffffff !important;
|
| 360 |
+
-webkit-text-fill-color: #ffffff !important;
|
| 361 |
+
}
|
| 362 |
|
| 363 |
.gr-button-secondary {
|
| 364 |
background: #e2e8f0 !important;
|