Spaces:
Sleeping
Sleeping
neerajkalyank
commited on
Commit
•
f1270ee
1
Parent(s):
774a801
Update app.py
Browse files
app.py
CHANGED
@@ -161,7 +161,7 @@ body {
|
|
161 |
}
|
162 |
|
163 |
/* Form Field Styles */
|
164 |
-
input,
|
165 |
max-width: 700px !important;
|
166 |
border: 1px solid #7fffd4 !important;
|
167 |
border-radius: 8px !important;
|
@@ -174,6 +174,21 @@ input, textarea, select {
|
|
174 |
box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.15) !important;
|
175 |
}
|
176 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
/* Form Field Hover and Focus */
|
178 |
input:focus, textarea:focus, select:focus {
|
179 |
border-color: #00ffcc !important; /* Light Cyan border on focus */
|
@@ -264,12 +279,6 @@ label {
|
|
264 |
margin-bottom: 5px !important;
|
265 |
}
|
266 |
|
267 |
-
/* Text Area Styling */
|
268 |
-
textarea {
|
269 |
-
resize: vertical !important;
|
270 |
-
height: 80px !important;
|
271 |
-
}
|
272 |
-
|
273 |
/* Responsive Design for Mobile Devices */
|
274 |
@media (max-width: 768px) {
|
275 |
.gradio-container {
|
@@ -286,8 +295,6 @@ textarea {
|
|
286 |
}
|
287 |
}
|
288 |
|
289 |
-
|
290 |
"""
|
291 |
|
292 |
-
|
293 |
app.launch()
|
|
|
161 |
}
|
162 |
|
163 |
/* Form Field Styles */
|
164 |
+
input, select {
|
165 |
max-width: 700px !important;
|
166 |
border: 1px solid #7fffd4 !important;
|
167 |
border-radius: 8px !important;
|
|
|
174 |
box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.15) !important;
|
175 |
}
|
176 |
|
177 |
+
/* Text Area Styling */
|
178 |
+
textarea {
|
179 |
+
width: 100% !important;
|
180 |
+
height: 50px !important; /* Set initial height */
|
181 |
+
resize: none !important; /* Disable resizing */
|
182 |
+
padding: 10px !important;
|
183 |
+
border-radius: 8px !important;
|
184 |
+
border: 1px solid #7fffd4 !important;
|
185 |
+
background: rgba(245, 245, 245, 0.95) !important;
|
186 |
+
color: #2d2d2d !important;
|
187 |
+
font-size: 15px !important;
|
188 |
+
transition: all 0.3s ease !important;
|
189 |
+
box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.15) !important;
|
190 |
+
}
|
191 |
+
|
192 |
/* Form Field Hover and Focus */
|
193 |
input:focus, textarea:focus, select:focus {
|
194 |
border-color: #00ffcc !important; /* Light Cyan border on focus */
|
|
|
279 |
margin-bottom: 5px !important;
|
280 |
}
|
281 |
|
|
|
|
|
|
|
|
|
|
|
|
|
282 |
/* Responsive Design for Mobile Devices */
|
283 |
@media (max-width: 768px) {
|
284 |
.gradio-container {
|
|
|
295 |
}
|
296 |
}
|
297 |
|
|
|
298 |
"""
|
299 |
|
|
|
300 |
app.launch()
|