observantdistressed commited on
Commit
06d05dd
Β·
verified Β·
1 Parent(s): 173c05d

UI: add gradient generate button + teal checkboxes + gradient header text

Browse files
Files changed (1) hide show
  1. app.py +38 -0
app.py CHANGED
@@ -692,6 +692,44 @@ CSS = """
692
  min-height: 100vh !important;
693
  }
694
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
695
  /* ── GLASS CARDS β€” frosted panels over gradient ── */
696
  .gradio-container .block {
697
  background: rgba(10, 14, 40, 0.55) !important;
 
692
  min-height: 100vh !important;
693
  }
694
 
695
+ /* ── HEADER β€” gradient text ── */
696
+ .gradio-container .prose h1,
697
+ .gradio-container .prose h2 {
698
+ background: linear-gradient(90deg, #00e5c8, #6c5ce7, #a855f7) !important;
699
+ -webkit-background-clip: text !important;
700
+ -webkit-text-fill-color: transparent !important;
701
+ background-clip: text !important;
702
+ font-weight: 800 !important;
703
+ }
704
+
705
+ /* ── GENERATE BUTTON β€” gradient ── */
706
+ button.primary {
707
+ background: linear-gradient(135deg, #00b894, #0984e3, #6c5ce7) !important;
708
+ background-size: 200% 200% !important;
709
+ animation: btn-shimmer 4s ease-in-out infinite !important;
710
+ color: #ffffff !important;
711
+ font-weight: 700 !important;
712
+ border: none !important;
713
+ border-radius: 12px !important;
714
+ box-shadow: 0 4px 20px rgba(0, 184, 148, 0.35), 0 0 40px rgba(108, 92, 231, 0.15) !important;
715
+ transition: transform 0.25s ease, box-shadow 0.3s ease !important;
716
+ cursor: pointer !important;
717
+ }
718
+ button.primary:hover {
719
+ transform: translateY(-2px) !important;
720
+ box-shadow: 0 8px 32px rgba(0, 184, 148, 0.5), 0 0 60px rgba(108, 92, 231, 0.25) !important;
721
+ }
722
+
723
+ @keyframes btn-shimmer {
724
+ 0%, 100% { background-position: 0% 50%; }
725
+ 50% { background-position: 100% 50%; }
726
+ }
727
+
728
+ /* ── CHECKBOXES β€” teal accent ── */
729
+ input[type="checkbox"] {
730
+ accent-color: #00d4aa !important;
731
+ }
732
+
733
  /* ── GLASS CARDS β€” frosted panels over gradient ── */
734
  .gradio-container .block {
735
  background: rgba(10, 14, 40, 0.55) !important;