Nischal Subedi
commited on
Commit
·
aad2854
1
Parent(s):
badac92
UI v32
Browse files
app.py
CHANGED
@@ -301,36 +301,37 @@ Answer:"""
|
|
301 |
/* Import legible fonts from Google Fonts */
|
302 |
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@600;700;800&display=swap');
|
303 |
|
304 |
-
/* Root variables for consistent theming - adjusted for
|
305 |
:root {
|
306 |
-
--primary-color: #
|
307 |
-
--primary-hover: #
|
308 |
-
--background-primary:
|
309 |
-
--background-secondary:
|
310 |
-
--text-primary:
|
311 |
-
--text-secondary:
|
312 |
-
--border-color:
|
313 |
-
--border-focus: #
|
314 |
--shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
|
315 |
--shadow-md: 0 4px 10px rgba(0,0,0,0.1);
|
316 |
--shadow-lg: 0 10px 20px rgba(0,0,0,0.15);
|
317 |
-
--error-bg: #
|
318 |
-
--error-border: #
|
319 |
-
--error-text: #
|
320 |
}
|
321 |
|
322 |
/* Dark mode variables - for consistency if a dark mode toggle were present */
|
323 |
body.dark {
|
324 |
-
--
|
325 |
-
--
|
326 |
-
--
|
327 |
-
--
|
328 |
-
--
|
329 |
-
--
|
330 |
-
--
|
331 |
-
--
|
332 |
-
--error-
|
333 |
-
--error-
|
|
|
334 |
}
|
335 |
|
336 |
/* Base container improvements */
|
@@ -366,8 +367,8 @@ Answer:"""
|
|
366 |
left: 0;
|
367 |
width: 100%;
|
368 |
height: 100%;
|
369 |
-
background: radial-gradient(circle at top left, rgba(
|
370 |
-
radial-gradient(circle at bottom right, rgba(
|
371 |
z-index: 0;
|
372 |
opacity: 0.8;
|
373 |
pointer-events: none;
|
@@ -484,7 +485,7 @@ Answer:"""
|
|
484 |
.gradio-dropdown .primary-wrap.focused { /* Apply focus style to dropdown wrap */
|
485 |
outline: none !important;
|
486 |
border-color: var(--border-focus) !important; /* Distinct border on focus */
|
487 |
-
box-shadow: 0 0 0 4px rgba(
|
488 |
}
|
489 |
|
490 |
/* Label styling for better readability */
|
|
|
301 |
/* Import legible fonts from Google Fonts */
|
302 |
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@600;700;800&display=swap');
|
303 |
|
304 |
+
/* Root variables for consistent theming - adjusted for an inviting orange palette */
|
305 |
:root {
|
306 |
+
--primary-color: #FF8000; /* Vibrant Orange */
|
307 |
+
--primary-hover: #E67300; /* Slightly darker orange */
|
308 |
+
--background-primary: #FFF5E0; /* Very light cream/off-white for cards */
|
309 |
+
--background-secondary: #FAEBD7; /* Slightly darker cream for overall app background */
|
310 |
+
--text-primary: #4A3C32; /* Dark warm brown/charcoal for main text */
|
311 |
+
--text-secondary: #8C7B6F; /* Muted warm gray/brown for secondary text */
|
312 |
+
--border-color: #DDC6AF; /* Light, desaturated orange-brown for borders */
|
313 |
+
--border-focus: #FF8000; /* Focus color matches primary */
|
314 |
--shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
|
315 |
--shadow-md: 0 4px 10px rgba(0,0,0,0.1);
|
316 |
--shadow-lg: 0 10px 20px rgba(0,0,0,0.15);
|
317 |
+
--error-bg: #FFF0E0; /* Light orange-pink for errors */
|
318 |
+
--error-border: #FFD2B2; /* Medium orange-pink for error borders */
|
319 |
+
--error-text: #E05C00; /* Darker, strong orange-red for error text */
|
320 |
}
|
321 |
|
322 |
/* Dark mode variables - for consistency if a dark mode toggle were present */
|
323 |
body.dark {
|
324 |
+
--primary-color: #FFA500; /* Bright orange for dark mode */
|
325 |
+
--primary-hover: #CC8400;
|
326 |
+
--background-primary: #2C2C2C; /* Dark charcoal */
|
327 |
+
--background-secondary: #1F1F1F; /* Even darker charcoal */
|
328 |
+
--text-primary: #F0F0F0;
|
329 |
+
--text-secondary: #B0B0B0;
|
330 |
+
--border-color: #555555;
|
331 |
+
--border-focus: #FFA500;
|
332 |
+
--error-bg: #400000;
|
333 |
+
--error-border: #800000;
|
334 |
+
--error-text: #FF6666;
|
335 |
}
|
336 |
|
337 |
/* Base container improvements */
|
|
|
367 |
left: 0;
|
368 |
width: 100%;
|
369 |
height: 100%;
|
370 |
+
background: radial-gradient(circle at top left, rgba(255,128,0,0.05) 0%, transparent 40%),
|
371 |
+
radial-gradient(circle at bottom right, rgba(255,128,0,0.05) 0%, transparent 40%);
|
372 |
z-index: 0;
|
373 |
opacity: 0.8;
|
374 |
pointer-events: none;
|
|
|
485 |
.gradio-dropdown .primary-wrap.focused { /* Apply focus style to dropdown wrap */
|
486 |
outline: none !important;
|
487 |
border-color: var(--border-focus) !important; /* Distinct border on focus */
|
488 |
+
box-shadow: 0 0 0 4px rgba(255, 128, 0, 0.2) !important; /* Broader, softer glow on focus */
|
489 |
}
|
490 |
|
491 |
/* Label styling for better readability */
|