shayekh commited on
Commit
489394f
Β·
verified Β·
1 Parent(s): 21ee7bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -4
app.py CHANGED
@@ -1727,6 +1727,16 @@ def create_demo():
1727
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
1728
  }
1729
 
 
 
 
 
 
 
 
 
 
 
1730
  /* ── GLOBAL BACKGROUND OVERRIDES (Dark Theme) ── */
1731
  /* Force label pills to be transparent so white text isn't invisible */
1732
  .gradio-container label,
@@ -2074,10 +2084,12 @@ def create_demo():
2074
  value="Indo-European - English"
2075
  )
2076
 
2077
- with gr.Row():
2078
- submit_btn = gr.Button("✨ Generate Flashcards ✨", variant="primary")
2079
- stop_thinking_btn = gr.Button("⚑ Stop thinking, Generate now", variant="secondary")
2080
- stop_btn = gr.Button("πŸ›‘ Stop Generation", variant="stop")
 
 
2081
 
2082
  with gr.Column(scale=2):
2083
  with gr.Tabs() as output_tabs:
 
1727
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
1728
  }
1729
 
1730
+ /* ── SELECTION / HIGHLIGHT COLOR ── */
1731
+ ::selection {
1732
+ background: rgba(139, 92, 246, 0.5) !important;
1733
+ color: #ffffff !important;
1734
+ }
1735
+ ::-moz-selection {
1736
+ background: rgba(139, 92, 246, 0.5) !important;
1737
+ color: #ffffff !important;
1738
+ }
1739
+
1740
  /* ── GLOBAL BACKGROUND OVERRIDES (Dark Theme) ── */
1741
  /* Force label pills to be transparent so white text isn't invisible */
1742
  .gradio-container label,
 
2084
  value="Indo-European - English"
2085
  )
2086
 
2087
+ submit_btn = gr.Button("✨ Generate Flashcards ✨", variant="primary")
2088
+
2089
+ with gr.Accordion("πŸ›‘ Generation Controls", open=False):
2090
+ with gr.Row():
2091
+ stop_thinking_btn = gr.Button("⚑ Stop thinking, Generate now", variant="secondary")
2092
+ stop_btn = gr.Button("πŸ›‘ Stop Generation", variant="stop")
2093
 
2094
  with gr.Column(scale=2):
2095
  with gr.Tabs() as output_tabs: