Spaces:
Running
on
Zero
Running
on
Zero
Improved UI (#11)
Browse files- Improved UI (432a11f92a430945ec0bb641a49b9bbbddedbc2a)
Co-authored-by: Kai <kai-aizip@users.noreply.huggingface.co>
- static/styles.css +22 -5
static/styles.css
CHANGED
|
@@ -501,20 +501,23 @@ body, .gradio-container {
|
|
| 501 |
}
|
| 502 |
|
| 503 |
.model-reveal {
|
| 504 |
-
font-size: 1em !important;
|
| 505 |
text-align: center !important;
|
| 506 |
font-weight: 600 !important;
|
| 507 |
background-color: transparent !important;
|
| 508 |
padding: 0 !important;
|
| 509 |
-
margin: 0 !important;
|
| 510 |
border: none !important;
|
| 511 |
}
|
| 512 |
|
| 513 |
.model-reveal span {
|
| 514 |
-
font-size: 1.
|
| 515 |
display: block !important;
|
| 516 |
width: 100% !important;
|
| 517 |
-
padding:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 518 |
}
|
| 519 |
|
| 520 |
.model-a-reveal span {
|
|
@@ -618,15 +621,29 @@ hr {
|
|
| 618 |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12) !important;
|
| 619 |
}
|
| 620 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 621 |
#try-another-btn {
|
| 622 |
background-color: var(--primary) !important;
|
| 623 |
color: white !important;
|
| 624 |
-
padding:
|
| 625 |
border-radius: 6px !important;
|
| 626 |
font-weight: 600 !important;
|
|
|
|
| 627 |
transition: all 0.2s ease !important;
|
| 628 |
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08) !important;
|
| 629 |
border: none !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 630 |
}
|
| 631 |
|
| 632 |
#try-another-btn:hover {
|
|
|
|
| 501 |
}
|
| 502 |
|
| 503 |
.model-reveal {
|
| 504 |
+
font-size: 1.1em !important;
|
| 505 |
text-align: center !important;
|
| 506 |
font-weight: 600 !important;
|
| 507 |
background-color: transparent !important;
|
| 508 |
padding: 0 !important;
|
|
|
|
| 509 |
border: none !important;
|
| 510 |
}
|
| 511 |
|
| 512 |
.model-reveal span {
|
| 513 |
+
font-size: 1.3em !important;
|
| 514 |
display: block !important;
|
| 515 |
width: 100% !important;
|
| 516 |
+
padding: 25px 15px !important;
|
| 517 |
+
min-height: 50px !important;
|
| 518 |
+
display: flex !important;
|
| 519 |
+
align-items: center !important;
|
| 520 |
+
justify-content: center !important;
|
| 521 |
}
|
| 522 |
|
| 523 |
.model-a-reveal span {
|
|
|
|
| 621 |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12) !important;
|
| 622 |
}
|
| 623 |
|
| 624 |
+
.results-reveal-area hr {
|
| 625 |
+
margin: 25px 0 20px 0 !important;
|
| 626 |
+
border: none !important;
|
| 627 |
+
height: 1px !important;
|
| 628 |
+
background-color: var(--border-light) !important;
|
| 629 |
+
width: 100% !important;
|
| 630 |
+
}
|
| 631 |
+
|
| 632 |
+
/* Make Try Another button match submit button width */
|
| 633 |
#try-another-btn {
|
| 634 |
background-color: var(--primary) !important;
|
| 635 |
color: white !important;
|
| 636 |
+
padding: 12px 30px !important;
|
| 637 |
border-radius: 6px !important;
|
| 638 |
font-weight: 600 !important;
|
| 639 |
+
font-size: 1.2em !important;
|
| 640 |
transition: all 0.2s ease !important;
|
| 641 |
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08) !important;
|
| 642 |
border: none !important;
|
| 643 |
+
width: 100% !important; /* Make it full width */
|
| 644 |
+
max-width: 100% !important;
|
| 645 |
+
margin: 10px auto !important; /* Center it and add spacing */
|
| 646 |
+
display: block !important;
|
| 647 |
}
|
| 648 |
|
| 649 |
#try-another-btn:hover {
|