Upload app.py
Browse files
app.py
CHANGED
|
@@ -94,46 +94,34 @@ button.primary {
|
|
| 94 |
color: white !important;
|
| 95 |
}
|
| 96 |
|
| 97 |
-
/*
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
|
|
|
| 101 |
background: #374151 !important;
|
| 102 |
color: white !important;
|
| 103 |
border: 1px solid #4B5563 !important;
|
| 104 |
border-radius: 8px !important;
|
| 105 |
}
|
| 106 |
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
|
|
|
| 110 |
background: #4B5563 !important;
|
| 111 |
color: white !important;
|
| 112 |
-
border-color: #6B7280 !important;
|
| 113 |
-
transform: translateY(-1px) !important;
|
| 114 |
}
|
| 115 |
|
| 116 |
-
/*
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
.examples .gr-button * {
|
| 120 |
-
color: white !important;
|
| 121 |
-
}
|
| 122 |
-
|
| 123 |
-
/* Target any nested elements that might contain the text */
|
| 124 |
-
.examples button span,
|
| 125 |
-
.examples .btn span,
|
| 126 |
-
.examples .gr-button span,
|
| 127 |
-
.examples button div,
|
| 128 |
-
.examples .btn div,
|
| 129 |
-
.examples .gr-button div {
|
| 130 |
color: white !important;
|
|
|
|
| 131 |
}
|
| 132 |
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
[data-testid*="example"] * {
|
| 136 |
-
color: white !important;
|
| 137 |
}
|
| 138 |
|
| 139 |
/* Clear/secondary buttons */
|
|
|
|
| 94 |
color: white !important;
|
| 95 |
}
|
| 96 |
|
| 97 |
+
/* NUCLEAR OPTION: Override ALL buttons in the examples section */
|
| 98 |
+
div:has(> *:contains("Examples")) ~ * button,
|
| 99 |
+
div:has(> *:contains("Examples")) button,
|
| 100 |
+
*[class*="example"] button,
|
| 101 |
+
*[class*="Example"] button {
|
| 102 |
background: #374151 !important;
|
| 103 |
color: white !important;
|
| 104 |
border: 1px solid #4B5563 !important;
|
| 105 |
border-radius: 8px !important;
|
| 106 |
}
|
| 107 |
|
| 108 |
+
div:has(> *:contains("Examples")) ~ * button:hover,
|
| 109 |
+
div:has(> *:contains("Examples")) button:hover,
|
| 110 |
+
*[class*="example"] button:hover,
|
| 111 |
+
*[class*="Example"] button:hover {
|
| 112 |
background: #4B5563 !important;
|
| 113 |
color: white !important;
|
|
|
|
|
|
|
| 114 |
}
|
| 115 |
|
| 116 |
+
/* Universal override for anything that might be an example */
|
| 117 |
+
button:nth-of-type(n+3) {
|
| 118 |
+
background: #374151 !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 119 |
color: white !important;
|
| 120 |
+
border: 1px solid #4B5563 !important;
|
| 121 |
}
|
| 122 |
|
| 123 |
+
button:nth-of-type(n+3):hover {
|
| 124 |
+
background: #4B5563 !important;
|
|
|
|
|
|
|
| 125 |
}
|
| 126 |
|
| 127 |
/* Clear/secondary buttons */
|