style theme
Browse files- src/display/css_html_js.py +17 -0
src/display/css_html_js.py
CHANGED
@@ -69,4 +69,21 @@ custom_css = """
|
|
69 |
position: relative;
|
70 |
top: -5px;
|
71 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
"""
|
|
|
69 |
position: relative;
|
70 |
top: -5px;
|
71 |
}
|
72 |
+
|
73 |
+
/* Force background/border for common layout containers */
|
74 |
+
.gradio-row > .block,
|
75 |
+
.gradio-column > .block,
|
76 |
+
.form,
|
77 |
+
.panel {
|
78 |
+
background: #18181b !important;
|
79 |
+
border-color: #27272a !important;
|
80 |
+
border-width: 1px !important; /* Ensure border is visible */
|
81 |
+
border-style: solid !important;
|
82 |
+
}
|
83 |
+
|
84 |
+
/* Target the specific file upload component area */
|
85 |
+
.gradio-file .wrap {
|
86 |
+
background: #18181b !important;
|
87 |
+
border-color: #27272a !important;
|
88 |
+
}
|
89 |
"""
|