Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -103,21 +103,21 @@ class GradioInterface:
|
|
103 |
self.prompt_refiner = prompt_refiner
|
104 |
custom_css = """
|
105 |
.container {
|
106 |
-
border: 2px solid #
|
107 |
border-radius: 10px;
|
108 |
-
padding: 20px
|
109 |
-
margin: 15px
|
110 |
background: white;
|
111 |
position: relative;
|
112 |
}
|
113 |
|
114 |
.container::before {
|
115 |
position: absolute;
|
116 |
-
top: -
|
117 |
left: 20px;
|
118 |
background: white;
|
119 |
padding: 0 10px;
|
120 |
-
color: #
|
121 |
font-weight: bold;
|
122 |
font-size: 1.2em;
|
123 |
}
|
@@ -137,16 +137,13 @@ class GradioInterface:
|
|
137 |
|
138 |
.radio-group {
|
139 |
display: flex;
|
140 |
-
gap:
|
141 |
-
margin:
|
142 |
}
|
143 |
|
144 |
-
/* Remove
|
145 |
-
|
146 |
-
.gradio-container textarea:focus,
|
147 |
-
.gradio-container select:focus {
|
148 |
outline: none !important;
|
149 |
-
border: none !important;
|
150 |
box-shadow: none !important;
|
151 |
}
|
152 |
"""
|
|
|
103 |
self.prompt_refiner = prompt_refiner
|
104 |
custom_css = """
|
105 |
.container {
|
106 |
+
border: 2px solid #2196F3; /* Back to blue */
|
107 |
border-radius: 10px;
|
108 |
+
padding: 12px; /* Reduced from 20px */
|
109 |
+
margin: 6px; /* Reduced from 15px */
|
110 |
background: white;
|
111 |
position: relative;
|
112 |
}
|
113 |
|
114 |
.container::before {
|
115 |
position: absolute;
|
116 |
+
top: -10px;
|
117 |
left: 20px;
|
118 |
background: white;
|
119 |
padding: 0 10px;
|
120 |
+
color: #2196F3; /* Back to blue */
|
121 |
font-weight: bold;
|
122 |
font-size: 1.2em;
|
123 |
}
|
|
|
137 |
|
138 |
.radio-group {
|
139 |
display: flex;
|
140 |
+
gap: 8px;
|
141 |
+
margin: 6px 0;
|
142 |
}
|
143 |
|
144 |
+
/* Remove focus outlines */
|
145 |
+
*:focus {
|
|
|
|
|
146 |
outline: none !important;
|
|
|
147 |
box-shadow: none !important;
|
148 |
}
|
149 |
"""
|