helmfridsson commited on
Commit
833413a
·
verified ·
1 Parent(s): 388f930

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +37 -17
style.css CHANGED
@@ -470,40 +470,60 @@ label.container.show_textbox_border {
470
  border-radius: 10px !important;*/
471
  }
472
 
473
- /* ===============================
474
- SKICKA / RENSA – TVINGAT LJUST
475
- =============================== */
476
 
477
- button.gr-button.send-btn,
478
- button.gr-button.send-btn.primary,
479
- button.gr-button.send-btn.secondary,
480
- button.gr-button.send-btn:where(*) {
481
  background-color: #ffffff !important;
482
  color: #000000 !important;
483
  border: 2px solid #000000 !important;
484
  border-radius: 10px !important;
 
485
  font-weight: 600;
486
  width: 120px !important;
487
  min-width: 120px !important;
488
- background: !important;
 
489
  }
490
 
491
  /* Hover */
492
  button.gr-button.send-btn:hover {
493
- background-color: #1e5bd7 !important;
 
494
  }
495
 
496
- /* Tvinga ljusa knappar */
497
  button.gr-button.send-btn {
498
- background-color: #ffffff !important;
499
- color: #000000 !important;
500
- border: 2px solid #000000 !important;
501
-
502
  --button-primary-background-fill: #ffffff !important;
503
- --button-primary-background-fill-hover: #1e5bd7 !important;
504
  --button-primary-text-color: #000000 !important;
505
  }
506
 
507
- button.gr-button.send-btn:hover {
508
- background-color: #1e5bd7 !important;
 
 
 
 
 
 
 
 
 
 
 
509
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
470
  border-radius: 10px !important;*/
471
  }
472
 
473
+ //* =====================================
474
+ SKICKA & RENSA – TVINGAT LJUST
475
+ ===================================== */
476
 
477
+ button.gr-button.send-btn {
 
 
 
478
  background-color: #ffffff !important;
479
  color: #000000 !important;
480
  border: 2px solid #000000 !important;
481
  border-radius: 10px !important;
482
+
483
  font-weight: 600;
484
  width: 120px !important;
485
  min-width: 120px !important;
486
+
487
+ box-shadow: none !important;
488
  }
489
 
490
  /* Hover */
491
  button.gr-button.send-btn:hover {
492
+ background-color: #f2f2f2 !important;
493
+ color: #000000 !important;
494
  }
495
 
496
+ /* Ta bort Gradio "primary"-färger */
497
  button.gr-button.send-btn {
 
 
 
 
498
  --button-primary-background-fill: #ffffff !important;
499
+ --button-primary-background-fill-hover: #f2f2f2 !important;
500
  --button-primary-text-color: #000000 !important;
501
  }
502
 
503
+ /* =====================================
504
+ CHECKBOX VISA RESONEMANG
505
+ ===================================== */
506
+
507
+ .gr-checkbox {
508
+ background: transparent !important;
509
+ }
510
+
511
+ /* Själva checkbox-rutan */
512
+ .gr-checkbox input[type="checkbox"] {
513
+ accent-color: #000000; /* modern browsers */
514
+ width: 16px;
515
+ height: 16px;
516
  }
517
+
518
+ /* Texten */
519
+ .gr-checkbox label {
520
+ color: #000000 !important;
521
+ font-weight: 500;
522
+ }
523
+
524
+ /* Ingen mörk bakgrund vid hover/focus */
525
+ .gr-checkbox:hover,
526
+ .gr-checkbox:focus,
527
+ .gr-checkbox * {
528
+ background: transparent !important;
529
+ }