Update app.py
Browse files
app.py
CHANGED
|
@@ -210,56 +210,6 @@ custom_css = \
|
|
| 210 |
.sort-button {
|
| 211 |
display: none !important;
|
| 212 |
}
|
| 213 |
-
#login-group {
|
| 214 |
-
background-color: white !important;
|
| 215 |
-
}
|
| 216 |
-
#login-group > * {
|
| 217 |
-
background-color: white !important;
|
| 218 |
-
}
|
| 219 |
-
#login-group .gr-group {
|
| 220 |
-
background-color: white !important;
|
| 221 |
-
}
|
| 222 |
-
#login-group .gr-form {
|
| 223 |
-
background-color: white !important;
|
| 224 |
-
}
|
| 225 |
-
.light-shadow {
|
| 226 |
-
box-shadow: 0 1px 4px 0 rgb(0 0 0 / 0.1) !important;
|
| 227 |
-
}
|
| 228 |
-
/* Target the textbox container */
|
| 229 |
-
.no-style-textbox {
|
| 230 |
-
border: none !important;
|
| 231 |
-
box-shadow: none !important;
|
| 232 |
-
}
|
| 233 |
-
|
| 234 |
-
/* Target both input and textarea elements */
|
| 235 |
-
.no-style-textbox input,
|
| 236 |
-
.no-style-textbox textarea {
|
| 237 |
-
border: none !important;
|
| 238 |
-
box-shadow: none !important;
|
| 239 |
-
padding: 0 !important;
|
| 240 |
-
outline: none !important;
|
| 241 |
-
}
|
| 242 |
-
|
| 243 |
-
/* Target the Gradio textbox wrapper */
|
| 244 |
-
.no-style-textbox .gr-textbox {
|
| 245 |
-
border: none !important;
|
| 246 |
-
box-shadow: none !important;
|
| 247 |
-
}
|
| 248 |
-
|
| 249 |
-
/* Target focus states */
|
| 250 |
-
.no-style-textbox input:focus,
|
| 251 |
-
.no-style-textbox textarea:focus {
|
| 252 |
-
border: none !important;
|
| 253 |
-
box-shadow: none !important;
|
| 254 |
-
outline: none !important;
|
| 255 |
-
}
|
| 256 |
-
|
| 257 |
-
/* Additional targeting for stubborn Gradio elements */
|
| 258 |
-
.no-style-textbox .gr-form,
|
| 259 |
-
.no-style-textbox .gr-input {
|
| 260 |
-
border: none !important;
|
| 261 |
-
box-shadow: none !important;
|
| 262 |
-
}
|
| 263 |
"""
|
| 264 |
with gr.Blocks(theme=Soft(), css=custom_css) as demo:
|
| 265 |
gr.HTML(description)
|
|
|
|
| 210 |
.sort-button {
|
| 211 |
display: none !important;
|
| 212 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 213 |
"""
|
| 214 |
with gr.Blocks(theme=Soft(), css=custom_css) as demo:
|
| 215 |
gr.HTML(description)
|