Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -306,6 +306,35 @@ class GradioInterface:
|
|
| 306 |
#max-width: 800px !important;
|
| 307 |
margin: 0 auto !important;
|
| 308 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 309 |
"""
|
| 310 |
|
| 311 |
with gr.Blocks(css=custom_css, theme=gr.themes.Default()) as self.interface:
|
|
|
|
| 306 |
#max-width: 800px !important;
|
| 307 |
margin: 0 auto !important;
|
| 308 |
}
|
| 309 |
+
/* Button styling - updated */
|
| 310 |
+
.gradio-button {
|
| 311 |
+
background-color: white !important;
|
| 312 |
+
color: #2196F3 !important;
|
| 313 |
+
border: 2px solid #2196F3 !important;
|
| 314 |
+
border-radius: 4px !important;
|
| 315 |
+
padding: 8px 16px !important;
|
| 316 |
+
margin: 10px 0 !important;
|
| 317 |
+
font-weight: bold !important;
|
| 318 |
+
transition: all 0.3s ease !important;
|
| 319 |
+
}
|
| 320 |
+
|
| 321 |
+
.gradio-button:hover {
|
| 322 |
+
background-color: #2196F3 !important;
|
| 323 |
+
color: white !important;
|
| 324 |
+
box-shadow: 0 2px 5px rgba(33, 150, 243, 0.3) !important;
|
| 325 |
+
}
|
| 326 |
+
|
| 327 |
+
/* Specific button styling if needed */
|
| 328 |
+
#refine-button, #apply-button {
|
| 329 |
+
background-color: white !important;
|
| 330 |
+
color: #2196F3 !important;
|
| 331 |
+
border: 2px solid #2196F3 !important;
|
| 332 |
+
}
|
| 333 |
+
|
| 334 |
+
#refine-button:hover, #apply-button:hover {
|
| 335 |
+
background-color: #2196F3 !important;
|
| 336 |
+
color: white !important;
|
| 337 |
+
}
|
| 338 |
"""
|
| 339 |
|
| 340 |
with gr.Blocks(css=custom_css, theme=gr.themes.Default()) as self.interface:
|