wangyiyi666 commited on
Commit
ea3e5f1
·
verified ·
1 Parent(s): c3411f9

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +27 -15
app.py CHANGED
@@ -353,9 +353,10 @@ body > div > div,
353
 
354
  .gradio-container {
355
  position: relative; z-index: 5;
356
- max-width: 960px !important;
 
357
  margin: 0 auto !important;
358
- padding: 24px 32px !important;
359
  }
360
 
361
  /* panels — glass morphism only on interaction blocks */
@@ -407,30 +408,43 @@ input:focus, textarea:focus {
407
  }
408
 
409
  /* buttons */
410
- button.primary {
411
- background: linear-gradient(135deg, rgba(60,140,255,0.7), rgba(100,80,220,0.7)) !important;
412
- border: 1px solid rgba(100, 180, 255, 0.25) !important;
 
 
 
 
 
 
 
 
413
  color: #fff !important;
414
  backdrop-filter: blur(8px) !important;
415
- border-radius: 10px !important;
416
- transition: all 0.3s ease !important;
 
417
  }
418
  button.primary:hover {
419
- background: linear-gradient(135deg, rgba(80,160,255,0.85), rgba(120,100,240,0.85)) !important;
420
- box-shadow: 0 0 20px rgba(96, 200, 255, 0.25) !important;
 
421
  }
422
  button.secondary, button.stop {
423
  background: rgba(20, 25, 50, 0.6) !important;
424
- border: 1px solid rgba(100, 180, 255, 0.15) !important;
425
  color: #a0c0e8 !important;
426
  backdrop-filter: blur(8px) !important;
427
- border-radius: 10px !important;
 
428
  }
429
  button.sm {
430
  background: rgba(20, 25, 50, 0.5) !important;
431
  border: 1px solid rgba(100, 180, 255, 0.12) !important;
432
  color: #80b0e0 !important;
433
- border-radius: 8px !important;
 
 
434
  }
435
 
436
  /* text colors & sizing */
@@ -454,9 +468,7 @@ label, .gr-input-label span {
454
  input, textarea {
455
  font-size: 14px !important;
456
  }
457
- button {
458
- font-size: 15px !important;
459
- }
460
 
461
  /* title section */
462
  .main-title { text-align: center; margin-bottom: 0.5em; }
 
353
 
354
  .gradio-container {
355
  position: relative; z-index: 5;
356
+ max-width: 1200px !important;
357
+ width: 88% !important;
358
  margin: 0 auto !important;
359
+ padding: 28px 40px !important;
360
  }
361
 
362
  /* panels — glass morphism only on interaction blocks */
 
408
  }
409
 
410
  /* buttons */
411
+ button {
412
+ min-height: 46px !important;
413
+ padding: 10px 24px !important;
414
+ font-size: 16px !important;
415
+ font-weight: 500 !important;
416
+ border-radius: 12px !important;
417
+ transition: all 0.3s ease !important;
418
+ }
419
+ button.primary, button.lg.primary {
420
+ background: linear-gradient(135deg, rgba(60,140,255,0.75), rgba(100,80,220,0.75)) !important;
421
+ border: 1px solid rgba(100, 180, 255, 0.3) !important;
422
  color: #fff !important;
423
  backdrop-filter: blur(8px) !important;
424
+ font-size: 17px !important;
425
+ min-height: 52px !important;
426
+ padding: 12px 28px !important;
427
  }
428
  button.primary:hover {
429
+ background: linear-gradient(135deg, rgba(80,160,255,0.9), rgba(120,100,240,0.9)) !important;
430
+ box-shadow: 0 0 24px rgba(96, 200, 255, 0.3) !important;
431
+ transform: translateY(-1px);
432
  }
433
  button.secondary, button.stop {
434
  background: rgba(20, 25, 50, 0.6) !important;
435
+ border: 1px solid rgba(100, 180, 255, 0.18) !important;
436
  color: #a0c0e8 !important;
437
  backdrop-filter: blur(8px) !important;
438
+ font-size: 16px !important;
439
+ min-height: 48px !important;
440
  }
441
  button.sm {
442
  background: rgba(20, 25, 50, 0.5) !important;
443
  border: 1px solid rgba(100, 180, 255, 0.12) !important;
444
  color: #80b0e0 !important;
445
+ font-size: 14px !important;
446
+ min-height: 38px !important;
447
+ padding: 6px 16px !important;
448
  }
449
 
450
  /* text colors & sizing */
 
468
  input, textarea {
469
  font-size: 14px !important;
470
  }
471
+
 
 
472
 
473
  /* title section */
474
  .main-title { text-align: center; margin-bottom: 0.5em; }