Nischal Subedi
commited on
Commit
·
28bc2fc
1
Parent(s):
91f08a3
UI update
Browse files
app.py
CHANGED
@@ -308,11 +308,11 @@ Answer:"""
|
|
308 |
body {
|
309 |
--primary-color: #FFA500;
|
310 |
--primary-hover: #CC8400;
|
311 |
-
--background-primary: #
|
312 |
-
--background-secondary: #
|
313 |
-
--text-primary: #
|
314 |
-
--text-secondary: #
|
315 |
-
--border-color: #
|
316 |
--border-focus: #FFA500;
|
317 |
--shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
|
318 |
--shadow-md: 0 4px 10px rgba(0,0,0,0.4);
|
@@ -327,6 +327,7 @@ Answer:"""
|
|
327 |
background-color: var(--background-secondary) !important;
|
328 |
color: var(--text-primary) !important;
|
329 |
transition: background-color 0.3s, color 0.3s;
|
|
|
330 |
}
|
331 |
|
332 |
.gradio-container {
|
@@ -507,6 +508,11 @@ Answer:"""
|
|
507 |
.placeholder {
|
508 |
background-color: var(--background-primary) !important;
|
509 |
color: var(--text-primary) !important;
|
|
|
|
|
|
|
|
|
|
|
510 |
}
|
511 |
|
512 |
.gradio-textbox {
|
@@ -515,20 +521,10 @@ Answer:"""
|
|
515 |
|
516 |
.gradio-textbox textarea,
|
517 |
.gradio-textbox input {
|
518 |
-
border: 2px solid var(--border-color) !important;
|
519 |
-
border-radius: 8px !important;
|
520 |
-
padding: 0.85rem 1rem !important;
|
521 |
-
font-size: 0.98rem !important;
|
522 |
-
font-family: 'Inter', sans-serif !important;
|
523 |
-
color: var(--text-primary) !important;
|
524 |
transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
|
525 |
box-shadow: var(--shadow-sm) !important;
|
526 |
}
|
527 |
|
528 |
-
.gradio-textbox .scroll-hide {
|
529 |
-
background-color: var(--background-primary) !important;
|
530 |
-
}
|
531 |
-
|
532 |
.gradio-textbox textarea:focus,
|
533 |
.gradio-textbox input:focus {
|
534 |
outline: none !important;
|
@@ -550,7 +546,6 @@ Answer:"""
|
|
550 |
justify-content: center !important;
|
551 |
align-items: center !important;
|
552 |
padding: 0.75rem 1rem !important;
|
553 |
-
border: 2px solid var(--border-color) !important;
|
554 |
border-radius: 8px !important;
|
555 |
color: var(--text-primary) !important;
|
556 |
font-weight: 500 !important;
|
@@ -558,14 +553,14 @@ Answer:"""
|
|
558 |
transition: all 0.2s ease-out !important;
|
559 |
box-shadow: var(--shadow-sm) !important;
|
560 |
margin: 0.2rem 0 !important;
|
561 |
-
width: 100 !important;
|
562 |
box-sizing: border-box !important;
|
563 |
}
|
564 |
|
565 |
.gradio-radio label span.text-lg {
|
566 |
font-weight: 600 !important;
|
567 |
color: var(--text-primary) !important;
|
568 |
-
font-size:
|
569 |
}
|
570 |
|
571 |
.gradio-radio label:hover {
|
@@ -577,14 +572,14 @@ Answer:"""
|
|
577 |
|
578 |
.gradio-radio input[type="radio"]:checked + label {
|
579 |
background-color: var(--primary-color) !important;
|
580 |
-
color:
|
581 |
border-color: var(--primary-hover) !important;
|
582 |
box-shadow: var(--shadow-md) !important;
|
583 |
transform: translateY(-1px) !important;
|
584 |
}
|
585 |
|
586 |
.gradio-radio input[type="radio"]:checked + label span.text-lg {
|
587 |
-
color:
|
588 |
}
|
589 |
|
590 |
.gradio-radio .gr-form {
|
@@ -595,14 +590,14 @@ Answer:"""
|
|
595 |
.gradio-radio > label {
|
596 |
font-weight: 600 !important;
|
597 |
color: var(--text-primary) !important;
|
598 |
-
font-size: 1rem !important;
|
599 |
margin-bottom: 0.6rem !important;
|
600 |
display: block !important;
|
601 |
text-align: left !important;
|
602 |
}
|
603 |
|
604 |
.gr-prose {
|
605 |
-
font-size:
|
606 |
color: var(--text-secondary) !important;
|
607 |
margin-top: 0.4rem !important;
|
608 |
text-align: left !important;
|
@@ -786,7 +781,7 @@ Answer:"""
|
|
786 |
.examples-section .gr-samples-table td {
|
787 |
padding: 0.9rem !important;
|
788 |
border: none !important;
|
789 |
-
font-size:
|
790 |
text-align: left !important;
|
791 |
color: var(--text-primary) !important;
|
792 |
}
|
@@ -830,7 +825,7 @@ Answer:"""
|
|
830 |
.app-footer p {
|
831 |
margin: 0 !important;
|
832 |
max-width: 90% !important;
|
833 |
-
font-size:
|
834 |
color: var(--text-secondary) !important;
|
835 |
line-height: 1.6 !important;
|
836 |
background-color: transparent !important;
|
|
|
308 |
body {
|
309 |
--primary-color: #FFA500;
|
310 |
--primary-hover: #CC8400;
|
311 |
+
--background-primary: #333333;
|
312 |
+
--background-secondary: #222222;
|
313 |
+
--text-primary: #E0E0E0;
|
314 |
+
--text-secondary: #A0A0A0;
|
315 |
+
--border-color: #444444;
|
316 |
--border-focus: #FFA500;
|
317 |
--shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
|
318 |
--shadow-md: 0 4px 10px rgba(0,0,0,0.4);
|
|
|
327 |
background-color: var(--background-secondary) !important;
|
328 |
color: var(--text-primary) !important;
|
329 |
transition: background-color 0.3s, color 0.3s;
|
330 |
+
font-size: 16px !important;
|
331 |
}
|
332 |
|
333 |
.gradio-container {
|
|
|
508 |
.placeholder {
|
509 |
background-color: var(--background-primary) !important;
|
510 |
color: var(--text-primary) !important;
|
511 |
+
border: 2px solid var(--border-color) !important;
|
512 |
+
border-radius: 8px !important;
|
513 |
+
padding: 1rem !important;
|
514 |
+
font-size: 1rem !important;
|
515 |
+
font-family: 'Inter', sans-serif !important;
|
516 |
}
|
517 |
|
518 |
.gradio-textbox {
|
|
|
521 |
|
522 |
.gradio-textbox textarea,
|
523 |
.gradio-textbox input {
|
|
|
|
|
|
|
|
|
|
|
|
|
524 |
transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
|
525 |
box-shadow: var(--shadow-sm) !important;
|
526 |
}
|
527 |
|
|
|
|
|
|
|
|
|
528 |
.gradio-textbox textarea:focus,
|
529 |
.gradio-textbox input:focus {
|
530 |
outline: none !important;
|
|
|
546 |
justify-content: center !important;
|
547 |
align-items: center !important;
|
548 |
padding: 0.75rem 1rem !important;
|
|
|
549 |
border-radius: 8px !important;
|
550 |
color: var(--text-primary) !important;
|
551 |
font-weight: 500 !important;
|
|
|
553 |
transition: all 0.2s ease-out !important;
|
554 |
box-shadow: var(--shadow-sm) !important;
|
555 |
margin: 0.2rem 0 !important;
|
556 |
+
width: 100% !important;
|
557 |
box-sizing: border-box !important;
|
558 |
}
|
559 |
|
560 |
.gradio-radio label span.text-lg {
|
561 |
font-weight: 600 !important;
|
562 |
color: var(--text-primary) !important;
|
563 |
+
font-size: 1rem !important;
|
564 |
}
|
565 |
|
566 |
.gradio-radio label:hover {
|
|
|
572 |
|
573 |
.gradio-radio input[type="radio"]:checked + label {
|
574 |
background-color: var(--primary-color) !important;
|
575 |
+
color: #FFFFFF !important;
|
576 |
border-color: var(--primary-hover) !important;
|
577 |
box-shadow: var(--shadow-md) !important;
|
578 |
transform: translateY(-1px) !important;
|
579 |
}
|
580 |
|
581 |
.gradio-radio input[type="radio"]:checked + label span.text-lg {
|
582 |
+
color: #FFFFFF !important;
|
583 |
}
|
584 |
|
585 |
.gradio-radio .gr-form {
|
|
|
590 |
.gradio-radio > label {
|
591 |
font-weight: 600 !important;
|
592 |
color: var(--text-primary) !important;
|
593 |
+
font-size: 1.1rem !important;
|
594 |
margin-bottom: 0.6rem !important;
|
595 |
display: block !important;
|
596 |
text-align: left !important;
|
597 |
}
|
598 |
|
599 |
.gr-prose {
|
600 |
+
font-size: 1rem !important;
|
601 |
color: var(--text-secondary) !important;
|
602 |
margin-top: 0.4rem !important;
|
603 |
text-align: left !important;
|
|
|
781 |
.examples-section .gr-samples-table td {
|
782 |
padding: 0.9rem !important;
|
783 |
border: none !important;
|
784 |
+
font-size: 1rem !important;
|
785 |
text-align: left !important;
|
786 |
color: var(--text-primary) !important;
|
787 |
}
|
|
|
825 |
.app-footer p {
|
826 |
margin: 0 !important;
|
827 |
max-width: 90% !important;
|
828 |
+
font-size: 1rem !important;
|
829 |
color: var(--text-secondary) !important;
|
830 |
line-height: 1.6 !important;
|
831 |
background-color: transparent !important;
|