Spaces:
Running on Zero
Running on Zero
UI: full CSS rewrite — data-testid selectors, fix dropdown z-clipping, compact cards
Browse files
app.py
CHANGED
|
@@ -699,7 +699,7 @@ CSS = """
|
|
| 699 |
font-family: 'Segoe UI', system-ui, -apple-system, sans-serif !important;
|
| 700 |
}
|
| 701 |
|
| 702 |
-
/* Subtle
|
| 703 |
.gradio-container::before {
|
| 704 |
content: '' !important;
|
| 705 |
position: fixed !important;
|
|
@@ -712,16 +712,11 @@ CSS = """
|
|
| 712 |
z-index: 0 !important;
|
| 713 |
}
|
| 714 |
|
| 715 |
-
.gradio-container > *
|
| 716 |
-
position: relative !important;
|
| 717 |
-
z-index: 1 !important;
|
| 718 |
-
}
|
| 719 |
|
| 720 |
/* ── HEADER / TITLE — gradient text on markdown headings ── */
|
| 721 |
.gradio-container .prose h1,
|
| 722 |
-
.gradio-container .prose h2
|
| 723 |
-
.gradio-container h1,
|
| 724 |
-
.gradio-container h2 {
|
| 725 |
background: linear-gradient(90deg, #00e5c8, #6c5ce7, #a855f7) !important;
|
| 726 |
-webkit-background-clip: text !important;
|
| 727 |
-webkit-text-fill-color: transparent !important;
|
|
@@ -743,84 +738,62 @@ CSS = """
|
|
| 743 |
border: 1px solid rgba(255, 255, 255, 0.1) !important;
|
| 744 |
border-radius: 14px !important;
|
| 745 |
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3) !important;
|
| 746 |
-
margin-bottom: 4px !important;
|
| 747 |
-
padding: 6px 10px !important;
|
| 748 |
-
}
|
| 749 |
-
/* Override Gradio's high-specificity scoped card rules */
|
| 750 |
-
.gradio-container .contain .block,
|
| 751 |
-
.gradio-container .gr-block,
|
| 752 |
-
.gradio-container .panel,
|
| 753 |
-
.gradio-container > div > div > div > div {
|
| 754 |
-
border-radius: 14px !important;
|
| 755 |
}
|
| 756 |
|
| 757 |
-
/*
|
| 758 |
-
.gradio-container
|
| 759 |
-
.gradio-container .
|
| 760 |
-
.gradio-container .upload-container,
|
| 761 |
-
.gradio-container [data-testid="image"] {
|
| 762 |
background: rgba(255, 255, 255, 0.04) !important;
|
| 763 |
border: 2px dashed rgba(100, 200, 255, 0.3) !important;
|
| 764 |
-
border-radius:
|
| 765 |
transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
|
| 766 |
-
padding: 16px !important;
|
| 767 |
}
|
| 768 |
-
.gradio-container
|
| 769 |
-
.gradio-container .
|
| 770 |
-
.gradio-container .upload-container:hover,
|
| 771 |
-
.gradio-container [data-testid="image"]:hover {
|
| 772 |
border-color: rgba(0, 229, 200, 0.6) !important;
|
| 773 |
box-shadow: 0 0 24px rgba(0, 229, 200, 0.12) !important;
|
| 774 |
}
|
| 775 |
|
| 776 |
-
/* ── SPACING
|
| 777 |
.gradio-container .row {
|
| 778 |
-
gap:
|
| 779 |
}
|
| 780 |
.gradio-container .column {
|
| 781 |
-
gap:
|
| 782 |
}
|
| 783 |
|
| 784 |
-
/* ── LABELS
|
| 785 |
.gradio-container label {
|
| 786 |
color: #d6e4f0 !important;
|
| 787 |
font-weight: 600 !important;
|
| 788 |
-
text-shadow: 0 0 8px rgba(100, 180, 255, 0.15) !important;
|
| 789 |
}
|
| 790 |
|
| 791 |
-
/* ──
|
| 792 |
-
.gradio-container
|
| 793 |
-
|
| 794 |
-
background: rgba(12, 18, 50, 0.75) !important;
|
| 795 |
border: 1px solid rgba(100, 180, 255, 0.3) !important;
|
| 796 |
border-radius: 10px !important;
|
| 797 |
color: #e8ecf4 !important;
|
| 798 |
box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3) !important;
|
| 799 |
transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
|
| 800 |
-
padding: 10px 12px !important;
|
| 801 |
-
font-size: 14px !important;
|
| 802 |
}
|
| 803 |
-
.gradio-container
|
| 804 |
-
.gradio-container input[type="text"]:focus {
|
| 805 |
border-color: rgba(108, 92, 231, 0.7) !important;
|
| 806 |
-
box-shadow:
|
| 807 |
-
inset 0 2px 8px rgba(0, 0, 0, 0.3),
|
| 808 |
-
0 0 16px rgba(108, 92, 231, 0.25) !important;
|
| 809 |
outline: none !important;
|
| 810 |
}
|
| 811 |
|
| 812 |
-
/* ──
|
| 813 |
-
.gradio-container
|
| 814 |
accent-color: #00d4aa !important;
|
| 815 |
cursor: pointer !important;
|
| 816 |
}
|
| 817 |
-
|
| 818 |
-
.gradio-container input[type="range"]::-webkit-slider-runnable-track {
|
| 819 |
background: linear-gradient(90deg, #00d4aa, #6c5ce7) !important;
|
| 820 |
height: 6px !important;
|
| 821 |
border-radius: 3px !important;
|
| 822 |
}
|
| 823 |
-
.gradio-container
|
| 824 |
-webkit-appearance: none !important;
|
| 825 |
appearance: none !important;
|
| 826 |
width: 18px !important;
|
|
@@ -833,16 +806,16 @@ CSS = """
|
|
| 833 |
margin-top: -6px !important;
|
| 834 |
transition: transform 0.2s ease, box-shadow 0.2s ease !important;
|
| 835 |
}
|
| 836 |
-
.gradio-container
|
| 837 |
transform: scale(1.15) !important;
|
| 838 |
box-shadow: 0 0 18px rgba(0, 229, 200, 0.7), 0 2px 8px rgba(0, 0, 0, 0.4) !important;
|
| 839 |
}
|
| 840 |
-
.gradio-container
|
| 841 |
background: linear-gradient(90deg, #00d4aa, #6c5ce7) !important;
|
| 842 |
height: 6px !important;
|
| 843 |
border-radius: 3px !important;
|
| 844 |
}
|
| 845 |
-
.gradio-container
|
| 846 |
width: 18px !important;
|
| 847 |
height: 18px !important;
|
| 848 |
border-radius: 50% !important;
|
|
@@ -851,56 +824,44 @@ CSS = """
|
|
| 851 |
box-shadow: 0 0 10px rgba(0, 229, 200, 0.5), 0 2px 6px rgba(0, 0, 0, 0.3) !important;
|
| 852 |
cursor: pointer !important;
|
| 853 |
}
|
| 854 |
-
.gradio-container input[type="range"]::-moz-range-thumb:hover {
|
| 855 |
-
box-shadow: 0 0 18px rgba(0, 229, 200, 0.7), 0 2px 8px rgba(0, 0, 0, 0.4) !important;
|
| 856 |
-
}
|
| 857 |
|
| 858 |
-
/*
|
| 859 |
-
.gradio-container input[type="number"]
|
| 860 |
-
|
| 861 |
-
|
| 862 |
-
border: 1px solid rgba(100, 180, 255, 0.25) !important;
|
| 863 |
border-radius: 8px !important;
|
| 864 |
color: #e8ecf4 !important;
|
| 865 |
box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3) !important;
|
| 866 |
padding: 8px 10px !important;
|
| 867 |
-
font-size: 14px !important;
|
| 868 |
transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
|
| 869 |
}
|
| 870 |
-
.gradio-container input[type="number"]:focus
|
| 871 |
-
.gradio-container .wrap input[type="number"]:focus {
|
| 872 |
border-color: rgba(108, 92, 231, 0.7) !important;
|
| 873 |
-
box-shadow:
|
| 874 |
-
inset 0 2px 8px rgba(0, 0, 0, 0.3),
|
| 875 |
-
0 0 16px rgba(108, 92, 231, 0.25) !important;
|
| 876 |
outline: none !important;
|
| 877 |
}
|
| 878 |
|
| 879 |
-
/* ──
|
| 880 |
-
|
| 881 |
-
/* ── CHECKBOXES — teal accent (overrides Gradio's default orange) ── */
|
| 882 |
-
.gradio-container input[type="checkbox"],
|
| 883 |
-
.gradio-container .block label input[type="checkbox"] {
|
| 884 |
accent-color: #00d4aa !important;
|
| 885 |
width: 18px !important;
|
| 886 |
height: 18px !important;
|
| 887 |
cursor: pointer !important;
|
| 888 |
}
|
| 889 |
-
.gradio-container
|
| 890 |
-
.gradio-container .block label input[type="checkbox"]:checked {
|
| 891 |
accent-color: #00e5c8 !important;
|
| 892 |
}
|
| 893 |
|
| 894 |
-
/* ── ACCORDION
|
| 895 |
.gradio-container .label-wrap {
|
| 896 |
background: rgba(255, 255, 255, 0.03) !important;
|
| 897 |
border: 1px solid rgba(100, 180, 255, 0.1) !important;
|
| 898 |
border-radius: 12px !important;
|
| 899 |
color: #c8d8e8 !important;
|
| 900 |
font-weight: 600 !important;
|
| 901 |
-
padding:
|
| 902 |
cursor: pointer !important;
|
| 903 |
-
transition: color 0.2s ease
|
| 904 |
}
|
| 905 |
.gradio-container .label-wrap:hover {
|
| 906 |
color: #00e5c8 !important;
|
|
@@ -920,7 +881,6 @@ CSS = """
|
|
| 920 |
|
| 921 |
/* ── GENERATE BUTTON — vibrant gradient with glow ── */
|
| 922 |
.gradio-container button.primary,
|
| 923 |
-
.gradio-container button.lg.primary,
|
| 924 |
.gradio-container button[data-variant="primary"] {
|
| 925 |
background: linear-gradient(135deg, #00b894, #0984e3, #6c5ce7) !important;
|
| 926 |
background-size: 200% 200% !important;
|
|
@@ -932,29 +892,18 @@ CSS = """
|
|
| 932 |
border: none !important;
|
| 933 |
border-radius: 12px !important;
|
| 934 |
padding: 14px 32px !important;
|
| 935 |
-
box-shadow:
|
| 936 |
-
0 4px 20px rgba(0, 184, 148, 0.35),
|
| 937 |
-
0 0 40px rgba(108, 92, 231, 0.15),
|
| 938 |
-
inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
|
| 939 |
transition: transform 0.25s ease, box-shadow 0.3s ease !important;
|
| 940 |
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
|
| 941 |
cursor: pointer !important;
|
| 942 |
}
|
| 943 |
.gradio-container button.primary:hover,
|
| 944 |
-
.gradio-container button.lg.primary:hover,
|
| 945 |
.gradio-container button[data-variant="primary"]:hover {
|
| 946 |
transform: translateY(-2px) !important;
|
| 947 |
-
box-shadow:
|
| 948 |
-
0 8px 32px rgba(0, 184, 148, 0.5),
|
| 949 |
-
0 0 60px rgba(108, 92, 231, 0.25),
|
| 950 |
-
inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
|
| 951 |
}
|
| 952 |
-
.gradio-container button.primary:active
|
| 953 |
-
.gradio-container button.lg.primary:active {
|
| 954 |
transform: translateY(0px) !important;
|
| 955 |
-
box-shadow:
|
| 956 |
-
0 2px 12px rgba(0, 184, 148, 0.3),
|
| 957 |
-
inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
|
| 958 |
}
|
| 959 |
|
| 960 |
@keyframes btn-shimmer {
|
|
@@ -964,7 +913,6 @@ CSS = """
|
|
| 964 |
|
| 965 |
/* ── SECONDARY BUTTONS ── */
|
| 966 |
.gradio-container button.secondary,
|
| 967 |
-
.gradio-container button.lg.secondary,
|
| 968 |
.gradio-container button[data-variant="secondary"] {
|
| 969 |
background: rgba(255, 255, 255, 0.06) !important;
|
| 970 |
backdrop-filter: blur(8px) !important;
|
|
@@ -975,18 +923,15 @@ CSS = """
|
|
| 975 |
transition: all 0.25s ease !important;
|
| 976 |
}
|
| 977 |
.gradio-container button.secondary:hover,
|
| 978 |
-
.gradio-container button.lg.secondary:hover,
|
| 979 |
.gradio-container button[data-variant="secondary"]:hover {
|
| 980 |
background: rgba(108, 92, 231, 0.15) !important;
|
| 981 |
border-color: rgba(108, 92, 231, 0.4) !important;
|
| 982 |
color: #e0e8f8 !important;
|
| 983 |
-
box-shadow: 0 0 20px rgba(108, 92, 231, 0.15) !important;
|
| 984 |
}
|
| 985 |
|
| 986 |
/* ── FILE / VIDEO OUTPUT ── */
|
| 987 |
.gradio-container [data-testid="file"],
|
| 988 |
-
.gradio-container [data-testid="video"]
|
| 989 |
-
.gradio-container .file-preview {
|
| 990 |
background: rgba(10, 15, 40, 0.5) !important;
|
| 991 |
border: 1px solid rgba(100, 180, 255, 0.1) !important;
|
| 992 |
border-radius: 10px !important;
|
|
@@ -1011,9 +956,6 @@ CSS = """
|
|
| 1011 |
background: linear-gradient(180deg, #00b894, #6c5ce7) !important;
|
| 1012 |
border-radius: 4px !important;
|
| 1013 |
}
|
| 1014 |
-
.gradio-container ::-webkit-scrollbar-thumb:hover {
|
| 1015 |
-
background: linear-gradient(180deg, #00d4aa, #a855f7) !important;
|
| 1016 |
-
}
|
| 1017 |
|
| 1018 |
/* ── AUTO-DETECTED LORA PREVIEW ── */
|
| 1019 |
#auto-lora-preview {
|
|
@@ -1022,12 +964,6 @@ CSS = """
|
|
| 1022 |
#auto-lora-preview b {
|
| 1023 |
color: #00e5c8 !important;
|
| 1024 |
}
|
| 1025 |
-
|
| 1026 |
-
/* ── COLUMN SEPARATOR — subtle glow line ── */
|
| 1027 |
-
.gradio-container .gr-row > div,
|
| 1028 |
-
.gradio-container .gr-row > .block {
|
| 1029 |
-
border-left: 1px solid rgba(108, 92, 231, 0.08) !important;
|
| 1030 |
-
}
|
| 1031 |
"""
|
| 1032 |
|
| 1033 |
|
|
|
|
| 699 |
font-family: 'Segoe UI', system-ui, -apple-system, sans-serif !important;
|
| 700 |
}
|
| 701 |
|
| 702 |
+
/* Subtle atmosphere overlay */
|
| 703 |
.gradio-container::before {
|
| 704 |
content: '' !important;
|
| 705 |
position: fixed !important;
|
|
|
|
| 712 |
z-index: 0 !important;
|
| 713 |
}
|
| 714 |
|
| 715 |
+
/* NOTE: Do NOT force z-index on .gradio-container > * — it clips dropdown popups */
|
|
|
|
|
|
|
|
|
|
| 716 |
|
| 717 |
/* ── HEADER / TITLE — gradient text on markdown headings ── */
|
| 718 |
.gradio-container .prose h1,
|
| 719 |
+
.gradio-container .prose h2 {
|
|
|
|
|
|
|
| 720 |
background: linear-gradient(90deg, #00e5c8, #6c5ce7, #a855f7) !important;
|
| 721 |
-webkit-background-clip: text !important;
|
| 722 |
-webkit-text-fill-color: transparent !important;
|
|
|
|
| 738 |
border: 1px solid rgba(255, 255, 255, 0.1) !important;
|
| 739 |
border-radius: 14px !important;
|
| 740 |
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3) !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 741 |
}
|
| 742 |
|
| 743 |
+
/* ── UPLOAD DROP ZONES — dashed borders inside image blocks ── */
|
| 744 |
+
.gradio-container [data-testid="image"],
|
| 745 |
+
.gradio-container .upload-container {
|
|
|
|
|
|
|
| 746 |
background: rgba(255, 255, 255, 0.04) !important;
|
| 747 |
border: 2px dashed rgba(100, 200, 255, 0.3) !important;
|
| 748 |
+
border-radius: 12px !important;
|
| 749 |
transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
|
|
|
|
| 750 |
}
|
| 751 |
+
.gradio-container [data-testid="image"]:hover,
|
| 752 |
+
.gradio-container .upload-container:hover {
|
|
|
|
|
|
|
| 753 |
border-color: rgba(0, 229, 200, 0.6) !important;
|
| 754 |
box-shadow: 0 0 24px rgba(0, 229, 200, 0.12) !important;
|
| 755 |
}
|
| 756 |
|
| 757 |
+
/* ── LAYOUT SPACING ── */
|
| 758 |
.gradio-container .row {
|
| 759 |
+
gap: 12px !important;
|
| 760 |
}
|
| 761 |
.gradio-container .column {
|
| 762 |
+
gap: 8px !important;
|
| 763 |
}
|
| 764 |
|
| 765 |
+
/* ── LABELS ── */
|
| 766 |
.gradio-container label {
|
| 767 |
color: #d6e4f0 !important;
|
| 768 |
font-weight: 600 !important;
|
|
|
|
| 769 |
}
|
| 770 |
|
| 771 |
+
/* ── TEXTBOX — use data-testid (stable in Gradio 6) ── */
|
| 772 |
+
.gradio-container [data-testid="textbox"] {
|
| 773 |
+
background: rgba(12, 18, 50, 0.8) !important;
|
|
|
|
| 774 |
border: 1px solid rgba(100, 180, 255, 0.3) !important;
|
| 775 |
border-radius: 10px !important;
|
| 776 |
color: #e8ecf4 !important;
|
| 777 |
box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3) !important;
|
| 778 |
transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
|
|
|
|
|
|
|
| 779 |
}
|
| 780 |
+
.gradio-container [data-testid="textbox"]:focus {
|
|
|
|
| 781 |
border-color: rgba(108, 92, 231, 0.7) !important;
|
| 782 |
+
box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 16px rgba(108, 92, 231, 0.25) !important;
|
|
|
|
|
|
|
| 783 |
outline: none !important;
|
| 784 |
}
|
| 785 |
|
| 786 |
+
/* ── SLIDER — use data-testid ── */
|
| 787 |
+
.gradio-container [data-testid="range-input"] {
|
| 788 |
accent-color: #00d4aa !important;
|
| 789 |
cursor: pointer !important;
|
| 790 |
}
|
| 791 |
+
.gradio-container [data-testid="range-input"]::-webkit-slider-runnable-track {
|
|
|
|
| 792 |
background: linear-gradient(90deg, #00d4aa, #6c5ce7) !important;
|
| 793 |
height: 6px !important;
|
| 794 |
border-radius: 3px !important;
|
| 795 |
}
|
| 796 |
+
.gradio-container [data-testid="range-input"]::-webkit-slider-thumb {
|
| 797 |
-webkit-appearance: none !important;
|
| 798 |
appearance: none !important;
|
| 799 |
width: 18px !important;
|
|
|
|
| 806 |
margin-top: -6px !important;
|
| 807 |
transition: transform 0.2s ease, box-shadow 0.2s ease !important;
|
| 808 |
}
|
| 809 |
+
.gradio-container [data-testid="range-input"]::-webkit-slider-thumb:hover {
|
| 810 |
transform: scale(1.15) !important;
|
| 811 |
box-shadow: 0 0 18px rgba(0, 229, 200, 0.7), 0 2px 8px rgba(0, 0, 0, 0.4) !important;
|
| 812 |
}
|
| 813 |
+
.gradio-container [data-testid="range-input"]::-moz-range-track {
|
| 814 |
background: linear-gradient(90deg, #00d4aa, #6c5ce7) !important;
|
| 815 |
height: 6px !important;
|
| 816 |
border-radius: 3px !important;
|
| 817 |
}
|
| 818 |
+
.gradio-container [data-testid="range-input"]::-moz-range-thumb {
|
| 819 |
width: 18px !important;
|
| 820 |
height: 18px !important;
|
| 821 |
border-radius: 50% !important;
|
|
|
|
| 824 |
box-shadow: 0 0 10px rgba(0, 229, 200, 0.5), 0 2px 6px rgba(0, 0, 0, 0.3) !important;
|
| 825 |
cursor: pointer !important;
|
| 826 |
}
|
|
|
|
|
|
|
|
|
|
| 827 |
|
| 828 |
+
/* ── NUMBER INPUT — use data-testid or direct element ── */
|
| 829 |
+
.gradio-container input[type="number"] {
|
| 830 |
+
background: rgba(12, 18, 50, 0.8) !important;
|
| 831 |
+
border: 1px solid rgba(100, 180, 255, 0.3) !important;
|
|
|
|
| 832 |
border-radius: 8px !important;
|
| 833 |
color: #e8ecf4 !important;
|
| 834 |
box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3) !important;
|
| 835 |
padding: 8px 10px !important;
|
|
|
|
| 836 |
transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
|
| 837 |
}
|
| 838 |
+
.gradio-container input[type="number"]:focus {
|
|
|
|
| 839 |
border-color: rgba(108, 92, 231, 0.7) !important;
|
| 840 |
+
box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 16px rgba(108, 92, 231, 0.25) !important;
|
|
|
|
|
|
|
| 841 |
outline: none !important;
|
| 842 |
}
|
| 843 |
|
| 844 |
+
/* ── CHECKBOX — use data-testid (stable) ── */
|
| 845 |
+
.gradio-container [data-testid="checkbox"] {
|
|
|
|
|
|
|
|
|
|
| 846 |
accent-color: #00d4aa !important;
|
| 847 |
width: 18px !important;
|
| 848 |
height: 18px !important;
|
| 849 |
cursor: pointer !important;
|
| 850 |
}
|
| 851 |
+
.gradio-container [data-testid="checkbox"]:checked {
|
|
|
|
| 852 |
accent-color: #00e5c8 !important;
|
| 853 |
}
|
| 854 |
|
| 855 |
+
/* ── ACCORDION — .label-wrap header, data-testid for content ── */
|
| 856 |
.gradio-container .label-wrap {
|
| 857 |
background: rgba(255, 255, 255, 0.03) !important;
|
| 858 |
border: 1px solid rgba(100, 180, 255, 0.1) !important;
|
| 859 |
border-radius: 12px !important;
|
| 860 |
color: #c8d8e8 !important;
|
| 861 |
font-weight: 600 !important;
|
| 862 |
+
padding: 10px 14px !important;
|
| 863 |
cursor: pointer !important;
|
| 864 |
+
transition: color 0.2s ease !important;
|
| 865 |
}
|
| 866 |
.gradio-container .label-wrap:hover {
|
| 867 |
color: #00e5c8 !important;
|
|
|
|
| 881 |
|
| 882 |
/* ── GENERATE BUTTON — vibrant gradient with glow ── */
|
| 883 |
.gradio-container button.primary,
|
|
|
|
| 884 |
.gradio-container button[data-variant="primary"] {
|
| 885 |
background: linear-gradient(135deg, #00b894, #0984e3, #6c5ce7) !important;
|
| 886 |
background-size: 200% 200% !important;
|
|
|
|
| 892 |
border: none !important;
|
| 893 |
border-radius: 12px !important;
|
| 894 |
padding: 14px 32px !important;
|
| 895 |
+
box-shadow: 0 4px 20px rgba(0, 184, 148, 0.35), 0 0 40px rgba(108, 92, 231, 0.15) !important;
|
|
|
|
|
|
|
|
|
|
| 896 |
transition: transform 0.25s ease, box-shadow 0.3s ease !important;
|
| 897 |
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
|
| 898 |
cursor: pointer !important;
|
| 899 |
}
|
| 900 |
.gradio-container button.primary:hover,
|
|
|
|
| 901 |
.gradio-container button[data-variant="primary"]:hover {
|
| 902 |
transform: translateY(-2px) !important;
|
| 903 |
+
box-shadow: 0 8px 32px rgba(0, 184, 148, 0.5), 0 0 60px rgba(108, 92, 231, 0.25) !important;
|
|
|
|
|
|
|
|
|
|
| 904 |
}
|
| 905 |
+
.gradio-container button.primary:active {
|
|
|
|
| 906 |
transform: translateY(0px) !important;
|
|
|
|
|
|
|
|
|
|
| 907 |
}
|
| 908 |
|
| 909 |
@keyframes btn-shimmer {
|
|
|
|
| 913 |
|
| 914 |
/* ── SECONDARY BUTTONS ── */
|
| 915 |
.gradio-container button.secondary,
|
|
|
|
| 916 |
.gradio-container button[data-variant="secondary"] {
|
| 917 |
background: rgba(255, 255, 255, 0.06) !important;
|
| 918 |
backdrop-filter: blur(8px) !important;
|
|
|
|
| 923 |
transition: all 0.25s ease !important;
|
| 924 |
}
|
| 925 |
.gradio-container button.secondary:hover,
|
|
|
|
| 926 |
.gradio-container button[data-variant="secondary"]:hover {
|
| 927 |
background: rgba(108, 92, 231, 0.15) !important;
|
| 928 |
border-color: rgba(108, 92, 231, 0.4) !important;
|
| 929 |
color: #e0e8f8 !important;
|
|
|
|
| 930 |
}
|
| 931 |
|
| 932 |
/* ── FILE / VIDEO OUTPUT ── */
|
| 933 |
.gradio-container [data-testid="file"],
|
| 934 |
+
.gradio-container [data-testid="video"] {
|
|
|
|
| 935 |
background: rgba(10, 15, 40, 0.5) !important;
|
| 936 |
border: 1px solid rgba(100, 180, 255, 0.1) !important;
|
| 937 |
border-radius: 10px !important;
|
|
|
|
| 956 |
background: linear-gradient(180deg, #00b894, #6c5ce7) !important;
|
| 957 |
border-radius: 4px !important;
|
| 958 |
}
|
|
|
|
|
|
|
|
|
|
| 959 |
|
| 960 |
/* ── AUTO-DETECTED LORA PREVIEW ── */
|
| 961 |
#auto-lora-preview {
|
|
|
|
| 964 |
#auto-lora-preview b {
|
| 965 |
color: #00e5c8 !important;
|
| 966 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 967 |
"""
|
| 968 |
|
| 969 |
|