Nischal Subedi
commited on
Commit
·
cccb1ef
1
Parent(s):
1896fde
UI update
Browse files
app.py
CHANGED
|
@@ -310,11 +310,11 @@ Answer:"""
|
|
| 310 |
:root {
|
| 311 |
--primary-color: #FF8C00; /* Darker Orange for buttons/accents */
|
| 312 |
--primary-hover: #E07B00; /* Slightly darker orange for hover */
|
| 313 |
-
--background-primary: hsl(30, 100%, 99
|
| 314 |
-
--background-secondary: hsl(30, 100%,
|
| 315 |
--text-primary: #4A3C32; /* Dark warm brown/charcoal for main text */
|
| 316 |
--text-secondary: #8C7B6F; /* Muted warm gray/brown for secondary text */
|
| 317 |
-
--border-color: hsl(30, 70%,
|
| 318 |
--border-focus: #FF8C00; /* Focus color matches primary */
|
| 319 |
--shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
|
| 320 |
--shadow-md: 0 4px 10px rgba(0,0,0,0.1);
|
|
@@ -353,9 +353,9 @@ Answer:"""
|
|
| 353 |
background-color: var(--background-secondary) !important; /* Overall background of the container */
|
| 354 |
box-shadow: none !important; /* Remove default gradio container shadow */
|
| 355 |
}
|
| 356 |
-
/* Ensure all main content sections
|
| 357 |
.main-dashboard-container > * {
|
| 358 |
-
|
| 359 |
}
|
| 360 |
|
| 361 |
/* Header styling - centered and prominent */
|
|
@@ -386,7 +386,7 @@ Answer:"""
|
|
| 386 |
}
|
| 387 |
|
| 388 |
.app-header-logo {
|
| 389 |
-
font-size:
|
| 390 |
margin-bottom: 0.75rem !important;
|
| 391 |
display: block !important;
|
| 392 |
color: var(--primary-color) !important; /* Theme color */
|
|
@@ -433,7 +433,7 @@ Answer:"""
|
|
| 433 |
}
|
| 434 |
/* Card sections with clear boundaries and subtle dynamic effects */
|
| 435 |
.dashboard-card-section {
|
| 436 |
-
|
| 437 |
border: 2px solid var(--border-color) !important; /* Distinct border */
|
| 438 |
border-radius: 12px !important;
|
| 439 |
padding: 1.75rem !important; /* Consistent padding */
|
|
@@ -726,7 +726,7 @@ Answer:"""
|
|
| 726 |
}
|
| 727 |
/* Placeholder styling for empty output */
|
| 728 |
.placeholder {
|
| 729 |
-
background-color: var(--background-
|
| 730 |
border: 2px dashed var(--border-color) !important;
|
| 731 |
border-radius: 8px !important;
|
| 732 |
padding: 2.5rem 1.5rem !important;
|
|
@@ -777,7 +777,7 @@ Answer:"""
|
|
| 777 |
|
| 778 |
/* Footer styling - centered text */
|
| 779 |
.app-footer-wrapper {
|
| 780 |
-
background
|
| 781 |
border: 2px solid var(--border-color) !important;
|
| 782 |
border-radius: 12px !important;
|
| 783 |
padding: 1.75rem !important;
|
|
|
|
| 310 |
:root {
|
| 311 |
--primary-color: #FF8C00; /* Darker Orange for buttons/accents */
|
| 312 |
--primary-hover: #E07B00; /* Slightly darker orange for hover */
|
| 313 |
+
--background-primary: hsl(30, 100%, 99%); /* Very bright, almost white, but distinctly warm cream */
|
| 314 |
+
--background-secondary: hsl(30, 100%, 96%); /* Slightly deeper, yet still very light, warm peach */
|
| 315 |
--text-primary: #4A3C32; /* Dark warm brown/charcoal for main text */
|
| 316 |
--text-secondary: #8C7B6F; /* Muted warm gray/brown for secondary text */
|
| 317 |
+
--border-color: hsl(30, 70%, 85%); /* Light, warm orange-brown for borders */
|
| 318 |
--border-focus: #FF8C00; /* Focus color matches primary */
|
| 319 |
--shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
|
| 320 |
--shadow-md: 0 4px 10px rgba(0,0,0,0.1);
|
|
|
|
| 353 |
background-color: var(--background-secondary) !important; /* Overall background of the container */
|
| 354 |
box-shadow: none !important; /* Remove default gradio container shadow */
|
| 355 |
}
|
| 356 |
+
/* Ensure all main content sections use the gradient background */
|
| 357 |
.main-dashboard-container > * {
|
| 358 |
+
background: linear-gradient(145deg, var(--background-primary) 0%, var(--background-secondary) 100%) !important;
|
| 359 |
}
|
| 360 |
|
| 361 |
/* Header styling - centered and prominent */
|
|
|
|
| 386 |
}
|
| 387 |
|
| 388 |
.app-header-logo {
|
| 389 |
+
font-size: 7.5rem !important; /* Significantly larger icon */
|
| 390 |
margin-bottom: 0.75rem !important;
|
| 391 |
display: block !important;
|
| 392 |
color: var(--primary-color) !important; /* Theme color */
|
|
|
|
| 433 |
}
|
| 434 |
/* Card sections with clear boundaries and subtle dynamic effects */
|
| 435 |
.dashboard-card-section {
|
| 436 |
+
/* Background already set by .main-dashboard-container > * */
|
| 437 |
border: 2px solid var(--border-color) !important; /* Distinct border */
|
| 438 |
border-radius: 12px !important;
|
| 439 |
padding: 1.75rem !important; /* Consistent padding */
|
|
|
|
| 726 |
}
|
| 727 |
/* Placeholder styling for empty output */
|
| 728 |
.placeholder {
|
| 729 |
+
background-color: var(--background-primary) !important; /* Explicitly set background to primary white */
|
| 730 |
border: 2px dashed var(--border-color) !important;
|
| 731 |
border-radius: 8px !important;
|
| 732 |
padding: 2.5rem 1.5rem !important;
|
|
|
|
| 777 |
|
| 778 |
/* Footer styling - centered text */
|
| 779 |
.app-footer-wrapper {
|
| 780 |
+
background: linear-gradient(145deg, var(--background-primary) 0%, var(--background-secondary) 100%) !important; /* Gradient background */
|
| 781 |
border: 2px solid var(--border-color) !important;
|
| 782 |
border-radius: 12px !important;
|
| 783 |
padding: 1.75rem !important;
|