Nischal Subedi
commited on
Commit
·
1d8fc5e
1
Parent(s):
6c9ad73
UI update
Browse files
app.py
CHANGED
|
@@ -311,7 +311,7 @@ Answer:"""
|
|
| 311 |
--primary-color: #FF8C00; /* Darker Orange for buttons/accents */
|
| 312 |
--primary-hover: #E07B00; /* Slightly darker orange for hover */
|
| 313 |
--background-primary: #FFFFFF; /* Pure White for main cards, inputs, output area - NO GREY */
|
| 314 |
-
--background-secondary: #
|
| 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: #DDC6AF; /* Light, desaturated orange-brown for borders */
|
|
@@ -378,15 +378,15 @@ Answer:"""
|
|
| 378 |
left: 0;
|
| 379 |
width: 100%;
|
| 380 |
height: 100%;
|
| 381 |
-
background: radial-gradient(circle at top left, rgba(255,140,0,0.
|
| 382 |
-
radial-gradient(circle at bottom right, rgba(255,140,0,0.
|
| 383 |
z-index: 0;
|
| 384 |
opacity: 0.8;
|
| 385 |
pointer-events: none;
|
| 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 */
|
|
@@ -489,7 +489,7 @@ Answer:"""
|
|
| 489 |
}
|
| 490 |
.gradio-textbox textarea,
|
| 491 |
.gradio-textbox input {
|
| 492 |
-
background-color: var(--background-primary) !important; /* Explicitly set background to primary
|
| 493 |
border: 2px solid var(--border-color) !important; /* Clear border */
|
| 494 |
border-radius: 8px !important;
|
| 495 |
padding: 0.85rem 1rem !important; /* Slightly more padding */
|
|
@@ -525,7 +525,7 @@ Answer:"""
|
|
| 525 |
padding: 0.75rem 1rem !important;
|
| 526 |
border: 2px solid var(--border-color) !important;
|
| 527 |
border-radius: 8px !important;
|
| 528 |
-
background-color: var(--background-primary) !important; /* Matches card background */
|
| 529 |
color: var(--text-primary) !important;
|
| 530 |
font-weight: 500 !important;
|
| 531 |
cursor: pointer !important;
|
|
@@ -888,8 +888,8 @@ Answer:"""
|
|
| 888 |
query_input = gr.Textbox(
|
| 889 |
label="Your Question",
|
| 890 |
placeholder="E.g., What are the rules for security deposit returns in my state?",
|
| 891 |
-
lines=
|
| 892 |
-
max_lines=
|
| 893 |
elem_classes=["input-field-group"]
|
| 894 |
)
|
| 895 |
with gr.Column(elem_classes="input-field", scale=1): # State radio buttons take less space
|
|
|
|
| 311 |
--primary-color: #FF8C00; /* Darker Orange for buttons/accents */
|
| 312 |
--primary-hover: #E07B00; /* Slightly darker orange for hover */
|
| 313 |
--background-primary: #FFFFFF; /* Pure White for main cards, inputs, output area - NO GREY */
|
| 314 |
+
--background-secondary: #FFFBF5; /* Very light, warm cream for overall app background, table headers, placeholder */
|
| 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: #DDC6AF; /* Light, desaturated orange-brown for borders */
|
|
|
|
| 378 |
left: 0;
|
| 379 |
width: 100%;
|
| 380 |
height: 100%;
|
| 381 |
+
background: radial-gradient(circle at top left, rgba(255,140,0,0.15) 0%, transparent 50%), /* More vibrant orange tint */
|
| 382 |
+
radial-gradient(circle at bottom right, rgba(255,140,0,0.15) 0%, transparent 50%);
|
| 383 |
z-index: 0;
|
| 384 |
opacity: 0.8;
|
| 385 |
pointer-events: none;
|
| 386 |
}
|
| 387 |
|
| 388 |
.app-header-logo {
|
| 389 |
+
font-size: 6.5rem !important; /* Significantly larger icon */
|
| 390 |
margin-bottom: 0.75rem !important;
|
| 391 |
display: block !important;
|
| 392 |
color: var(--primary-color) !important; /* Theme color */
|
|
|
|
| 489 |
}
|
| 490 |
.gradio-textbox textarea,
|
| 491 |
.gradio-textbox input {
|
| 492 |
+
background-color: var(--background-primary) !important; /* Explicitly set background to primary white */
|
| 493 |
border: 2px solid var(--border-color) !important; /* Clear border */
|
| 494 |
border-radius: 8px !important;
|
| 495 |
padding: 0.85rem 1rem !important; /* Slightly more padding */
|
|
|
|
| 525 |
padding: 0.75rem 1rem !important;
|
| 526 |
border: 2px solid var(--border-color) !important;
|
| 527 |
border-radius: 8px !important;
|
| 528 |
+
background-color: var(--background-primary) !important; /* Matches card background (white) */
|
| 529 |
color: var(--text-primary) !important;
|
| 530 |
font-weight: 500 !important;
|
| 531 |
cursor: pointer !important;
|
|
|
|
| 888 |
query_input = gr.Textbox(
|
| 889 |
label="Your Question",
|
| 890 |
placeholder="E.g., What are the rules for security deposit returns in my state?",
|
| 891 |
+
lines=8, # Increased default height
|
| 892 |
+
max_lines=15, # Increased max height
|
| 893 |
elem_classes=["input-field-group"]
|
| 894 |
)
|
| 895 |
with gr.Column(elem_classes="input-field", scale=1): # State radio buttons take less space
|