waroca commited on
Commit
e301c5d
·
verified ·
1 Parent(s): 6b6c878

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +24 -9
app.py CHANGED
@@ -125,21 +125,35 @@ def main():
125
  }
126
 
127
  /* Subscribe buttons */
128
- .dataset-card-group .gr-button-primary {
129
  background: linear-gradient(135deg, #f5c842 0%, #d4a832 100%) !important;
130
  color: #1a1a1a !important;
131
  border: none !important;
132
  border-radius: 12px !important;
133
- padding: 0.75rem 1.5rem !important;
134
  font-weight: 600 !important;
135
- font-size: 0.9375rem !important;
136
  transition: all 0.2s ease !important;
137
- box-shadow: 0 2px 8px rgba(245, 200, 66, 0.3) !important;
 
 
138
  }
139
- .dataset-card-group .gr-button-primary:hover {
140
  background: linear-gradient(135deg, #ffd54f 0%, #f5c842 100%) !important;
141
- box-shadow: 0 4px 16px rgba(245, 200, 66, 0.4) !important;
142
- transform: translateY(-1px) !important;
 
 
 
 
 
 
 
 
 
 
 
 
143
  }
144
 
145
  /* Login hint */
@@ -528,8 +542,9 @@ def main():
528
  btn = gr.Button(
529
  button_text,
530
  variant="primary",
531
- size="sm",
532
- key=f"subscribe-btn-{dataset_id}"
 
533
  )
534
 
535
  # Define handler with frozen variables (critical for loops!)
 
125
  }
126
 
127
  /* Subscribe buttons */
128
+ .subscribe-btn {
129
  background: linear-gradient(135deg, #f5c842 0%, #d4a832 100%) !important;
130
  color: #1a1a1a !important;
131
  border: none !important;
132
  border-radius: 12px !important;
133
+ padding: 0.875rem 2rem !important;
134
  font-weight: 600 !important;
135
+ font-size: 1rem !important;
136
  transition: all 0.2s ease !important;
137
+ box-shadow: 0 4px 12px rgba(245, 200, 66, 0.35) !important;
138
+ min-height: 48px !important;
139
+ cursor: pointer !important;
140
  }
141
+ .subscribe-btn:hover {
142
  background: linear-gradient(135deg, #ffd54f 0%, #f5c842 100%) !important;
143
+ box-shadow: 0 6px 20px rgba(245, 200, 66, 0.5) !important;
144
+ transform: translateY(-2px) !important;
145
+ }
146
+ .subscribe-btn:active {
147
+ transform: translateY(0) !important;
148
+ box-shadow: 0 2px 8px rgba(245, 200, 66, 0.3) !important;
149
+ }
150
+ /* Override any Gradio defaults */
151
+ .subscribe-btn button,
152
+ button.subscribe-btn,
153
+ .subscribe-btn > button {
154
+ background: linear-gradient(135deg, #f5c842 0%, #d4a832 100%) !important;
155
+ color: #1a1a1a !important;
156
+ border: none !important;
157
  }
158
 
159
  /* Login hint */
 
542
  btn = gr.Button(
543
  button_text,
544
  variant="primary",
545
+ size="lg",
546
+ key=f"subscribe-btn-{dataset_id}",
547
+ elem_classes="subscribe-btn"
548
  )
549
 
550
  # Define handler with frozen variables (critical for loops!)