bernardo-de-almeida commited on
Commit
72953e1
·
1 Parent(s): 089fea2

fix: species names

Browse files
Files changed (1) hide show
  1. style.css +141 -106
style.css CHANGED
@@ -1,4 +1,4 @@
1
- /* CSS Variables matching NTv3 hub design */
2
  :root {
3
  --bg: #0b1020;
4
  --card: rgba(255, 255, 255, 0.06);
@@ -8,17 +8,49 @@
8
  --border: rgba(255, 255, 255, 0.12);
9
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
10
  --radius: 18px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  }
12
 
13
  /* Overall page background matching hub */
14
  body, .gradio-container {
15
- background:
16
- radial-gradient(1200px 800px at 10% 10%, rgba(125, 211, 252, 0.12), transparent 60%),
17
- radial-gradient(1200px 800px at 90% 30%, rgba(167, 139, 250, 0.12), transparent 55%),
18
- var(--bg) !important;
19
  min-height: 100vh;
20
  }
21
 
 
 
 
 
 
 
 
 
 
 
22
  /* Plot container */
23
  #tracks_plot {
24
  position: relative;
@@ -96,8 +128,8 @@ body, .gradio-container {
96
  #tracks_plot .modebar,
97
  .js-plotly-plot .modebar,
98
  .plotly .modebar {
99
- background-color: rgba(255, 255, 255, 0.9) !important;
100
- border: 1px solid rgba(125, 211, 252, 0.2) !important;
101
  border-radius: 8px !important;
102
  }
103
 
@@ -371,9 +403,9 @@ input[type="password"],
371
  input[type="tel"],
372
  input[type="url"],
373
  textarea {
374
- background: rgba(125, 211, 252, 0.08) !important;
375
- background-color: rgba(125, 211, 252, 0.08) !important;
376
- border: 1px solid rgba(125, 211, 252, 0.2) !important;
377
  border-radius: 12px !important;
378
  color: var(--text) !important;
379
  padding: 10px 12px !important;
@@ -383,9 +415,9 @@ textarea {
383
  /* Note: Coordinates group inputs are overridden at the end of the file */
384
  input[type="number"],
385
  .gr-number input {
386
- background: rgba(125, 211, 252, 0.08) !important;
387
- background-color: rgba(125, 211, 252, 0.08) !important;
388
- border: 1px solid rgba(125, 211, 252, 0.2) !important;
389
  border-radius: 12px !important;
390
  color: var(--text) !important;
391
  padding: 10px 12px !important;
@@ -398,19 +430,19 @@ input[type="password"]:focus,
398
  input[type="tel"]:focus,
399
  input[type="url"]:focus,
400
  textarea:focus {
401
- background: rgba(125, 211, 252, 0.12) !important;
402
- background-color: rgba(125, 211, 252, 0.12) !important;
403
- border-color: rgba(125, 211, 252, 0.35) !important;
404
- box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.1) !important;
405
  outline: none !important;
406
  }
407
 
408
  /* Number inputs focus - default blue background */
409
  input[type="number"]:focus {
410
- background: rgba(125, 211, 252, 0.12) !important;
411
- background-color: rgba(125, 211, 252, 0.12) !important;
412
- border-color: rgba(125, 211, 252, 0.35) !important;
413
- box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.1) !important;
414
  outline: none !important;
415
  }
416
 
@@ -421,22 +453,22 @@ input[type="number"]:focus {
421
  #coords_group .gr-row .gr-number input:focus {
422
  background: transparent !important;
423
  background-color: transparent !important;
424
- border-color: rgba(125, 211, 252, 0.35) !important;
425
- box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.1) !important;
426
  outline: none !important;
427
  }
428
 
429
  input[type="text"]:hover,
430
  input[type="search"]:hover,
431
  textarea:hover {
432
- background: rgba(125, 211, 252, 0.1) !important;
433
- border-color: rgba(125, 211, 252, 0.25) !important;
434
  }
435
 
436
  /* Number inputs hover - default blue background */
437
  input[type="number"]:hover {
438
- background: rgba(125, 211, 252, 0.1) !important;
439
- border-color: rgba(125, 211, 252, 0.25) !important;
440
  }
441
 
442
  /* Coordinates group number inputs hover - transparent background */
@@ -446,21 +478,21 @@ input[type="number"]:hover {
446
  #coords_group .gr-row .gr-number input:hover {
447
  background: transparent !important;
448
  background-color: transparent !important;
449
- border-color: rgba(125, 211, 252, 0.35) !important;
450
  }
451
 
452
  /* Placeholder text */
453
  input::placeholder,
454
  textarea::placeholder {
455
- color: rgba(255, 255, 255, 0.5) !important;
456
  opacity: 0.7 !important;
457
  }
458
 
459
  /* Override inline grey backgrounds */
460
  input[style*="background"],
461
  textarea[style*="background"] {
462
- background: rgba(125, 211, 252, 0.08) !important;
463
- background-color: rgba(125, 211, 252, 0.08) !important;
464
  }
465
 
466
  /* ============================================================================
@@ -487,8 +519,8 @@ textarea[style*="background"] {
487
  .gr-dropdown .wrap > div,
488
  .gr-dropdown .wrap > div > div,
489
  .gr-dropdown .wrap > div > div > div {
490
- background: rgba(125, 211, 252, 0.08) !important;
491
- background-color: rgba(125, 211, 252, 0.08) !important;
492
  }
493
 
494
  /* ============================================================================
@@ -547,9 +579,9 @@ textarea[style*="background"] {
547
  .gr-dropdown .wrap,
548
  .gr-dropdown .wrap > div,
549
  select {
550
- background: rgba(125, 211, 252, 0.08) !important;
551
- background-color: rgba(125, 211, 252, 0.08) !important;
552
- border: 1px solid rgba(125, 211, 252, 0.2) !important;
553
  border-radius: 12px !important;
554
  color: var(--text) !important;
555
  outline: none !important;
@@ -559,8 +591,8 @@ select {
559
  /* Override any inline grey backgrounds on dropdowns */
560
  .gr-dropdown[style*="background"],
561
  select[style*="background"] {
562
- background: rgba(125, 211, 252, 0.08) !important;
563
- background-color: rgba(125, 211, 252, 0.08) !important;
564
  }
565
 
566
  .gr-dropdown:hover,
@@ -571,18 +603,18 @@ select[style*="background"] {
571
  .gr-dropdown select:focus,
572
  select:hover,
573
  select:focus {
574
- background: rgba(125, 211, 252, 0.12) !important;
575
- background-color: rgba(125, 211, 252, 0.12) !important;
576
- border-color: rgba(125, 211, 252, 0.35) !important;
577
  outline: none !important;
578
- box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.1) !important;
579
  }
580
 
581
  /* Ensure dropdown option container is blue */
582
  .gr-dropdown .wrap select,
583
  .gr-dropdown select option {
584
- background: rgba(125, 211, 252, 0.08) !important;
585
- background-color: rgba(125, 211, 252, 0.08) !important;
586
  color: var(--text) !important;
587
  }
588
 
@@ -594,9 +626,9 @@ select:focus {
594
  #bed_elements_dropdown [class*="chip"],
595
  #bed_elements_dropdown [class*="badge"],
596
  #bed_elements_dropdown [class*="pill"] {
597
- background: rgba(125, 211, 252, 0.15) !important;
598
- background-color: rgba(125, 211, 252, 0.15) !important;
599
- border: 1px solid rgba(125, 211, 252, 0.35) !important;
600
  border-radius: 6px !important;
601
  color: var(--text) !important;
602
  padding: 5px 10px !important;
@@ -612,7 +644,8 @@ select:focus {
612
  #bed_elements_dropdown .wrap > div > span:hover:not(input),
613
  #bed_elements_dropdown .wrap > div > div:hover:not(input):not(select):not(.wrap),
614
  #bed_elements_dropdown .wrap > div > button:hover:not([type="submit"]) {
615
- background: rgba(125, 211, 252, 0.25) !important;
 
616
  border-color: var(--link) !important;
617
  }
618
 
@@ -644,8 +677,8 @@ select:focus {
644
  ============================================================================ */
645
 
646
  .gr-radio {
647
- background: rgba(125, 211, 252, 0.08) !important;
648
- border: 1px solid rgba(125, 211, 252, 0.2) !important;
649
  border-radius: 12px !important;
650
  padding: 12px !important;
651
  }
@@ -653,8 +686,8 @@ select:focus {
653
  .gr-radio label,
654
  input[type="radio"] + label {
655
  color: var(--text) !important;
656
- background: rgba(125, 211, 252, 0.08) !important;
657
- border: 1px solid rgba(125, 211, 252, 0.2) !important;
658
  border-radius: 8px !important;
659
  padding: 8px 12px !important;
660
  margin: 4px !important;
@@ -664,14 +697,15 @@ input[type="radio"] + label {
664
 
665
  .gr-radio label:hover,
666
  input[type="radio"] + label:hover {
667
- background: rgba(125, 211, 252, 0.12) !important;
668
- border-color: rgba(125, 211, 252, 0.3) !important;
669
  }
670
 
671
  .gr-radio input[type="radio"]:checked + label,
672
  input[type="radio"]:checked + label {
673
- background: rgba(125, 211, 252, 0.18) !important;
674
- border-color: rgba(125, 211, 252, 0.4) !important;
 
675
  }
676
 
677
  /* Change radio button selected indicator from orange to blue */
@@ -748,16 +782,16 @@ input[type="radio"][style*="rgb(255"],
748
  ============================================================================ */
749
 
750
  .gr-checkboxgroup {
751
- background: rgba(125, 211, 252, 0.08) !important;
752
- border: 1px solid rgba(125, 211, 252, 0.2) !important;
753
  border-radius: 12px !important;
754
  padding: 12px !important;
755
  }
756
 
757
  .gr-checkboxgroup label {
758
  color: var(--text) !important;
759
- background: rgba(125, 211, 252, 0.08) !important;
760
- border: 1px solid rgba(125, 211, 252, 0.2) !important;
761
  border-radius: 8px !important;
762
  padding: 8px 12px !important;
763
  margin: 4px 0 !important;
@@ -766,14 +800,15 @@ input[type="radio"][style*="rgb(255"],
766
  }
767
 
768
  .gr-checkboxgroup label:hover {
769
- background: rgba(125, 211, 252, 0.12) !important;
770
- border-color: rgba(125, 211, 252, 0.3) !important;
771
  }
772
 
773
  .gr-checkboxgroup input[type="checkbox"]:checked + label,
774
  .gr-checkboxgroup label:has(input[type="checkbox"]:checked) {
775
- background: rgba(125, 211, 252, 0.18) !important;
776
- border: 1px solid rgba(125, 211, 252, 0.4) !important;
 
777
  }
778
 
779
  /* Change checkbox icon color from orange to blue */
@@ -869,9 +904,9 @@ button:not(#predict_btn):not([id*="predict"]),
869
  .gr-button:not(#predict_btn),
870
  button.gr-button:not(#predict_btn),
871
  [class*="button"]:not(#predict_btn) {
872
- background: rgba(125, 211, 252, 0.1) !important;
873
- background-color: rgba(125, 211, 252, 0.1) !important;
874
- border: 1px solid rgba(125, 211, 252, 0.3) !important;
875
  color: var(--text) !important;
876
  }
877
 
@@ -879,10 +914,10 @@ button:not(#predict_btn):not([id*="predict"]):hover,
879
  .gr-button:not(#predict_btn):hover,
880
  button.gr-button:not(#predict_btn):hover,
881
  [class*="button"]:not(#predict_btn):hover {
882
- background: rgba(125, 211, 252, 0.15) !important;
883
- background-color: rgba(125, 211, 252, 0.15) !important;
884
  border-color: var(--link) !important;
885
- box-shadow: 0 4px 12px rgba(125, 211, 252, 0.2) !important;
886
  }
887
 
888
  /* ============================================================================
@@ -945,7 +980,7 @@ button.gr-button:not(#predict_btn):hover,
945
  #coords_group .gr-row input[type="number"] {
946
  background: transparent !important;
947
  background-color: transparent !important;
948
- border: 1px solid rgba(125, 211, 252, 0.2) !important;
949
  border-radius: 12px !important;
950
  color: var(--text) !important;
951
  height: 44px !important;
@@ -961,7 +996,7 @@ button.gr-button:not(#predict_btn):hover,
961
  #coords_group .gr-row input[type="number"]:hover {
962
  background: transparent !important;
963
  background-color: transparent !important;
964
- border-color: rgba(125, 211, 252, 0.35) !important;
965
  }
966
 
967
  #coords_group .gr-number input:focus,
@@ -971,8 +1006,8 @@ button.gr-button:not(#predict_btn):hover,
971
  #coords_group .gr-row input[type="number"]:focus {
972
  background: transparent !important;
973
  background-color: transparent !important;
974
- border-color: rgba(125, 211, 252, 0.35) !important;
975
- box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.1) !important;
976
  outline: none !important;
977
  }
978
 
@@ -1019,7 +1054,7 @@ button.gr-button:not(#predict_btn):hover,
1019
  #chromosome_input button[aria-haspopup] {
1020
  background: transparent !important;
1021
  background-color: transparent !important;
1022
- border: 1px solid rgba(125, 211, 252, 0.2) !important;
1023
  border-radius: 12px !important;
1024
  color: var(--text) !important;
1025
  height: 44px !important;
@@ -1031,14 +1066,14 @@ button.gr-button:not(#predict_btn):hover,
1031
  #chromosome_input input:hover,
1032
  #chromosome_input .wrap input:hover,
1033
  #chromosome_input [role="combobox"]:hover {
1034
- border-color: rgba(125, 211, 252, 0.35) !important;
1035
  }
1036
 
1037
  #chromosome_input input:focus,
1038
  #chromosome_input .wrap input:focus,
1039
  #chromosome_input [role="combobox"]:focus {
1040
- border-color: rgba(125, 211, 252, 0.35) !important;
1041
- box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.1) !important;
1042
  outline: none !important;
1043
  }
1044
 
@@ -1086,8 +1121,8 @@ hr {
1086
  ============================================================================ */
1087
 
1088
  .gr-accordion {
1089
- background: rgba(125, 211, 252, 0.08) !important;
1090
- border: 1px solid rgba(125, 211, 252, 0.2) !important;
1091
  border-radius: 12px !important;
1092
  }
1093
 
@@ -1110,9 +1145,9 @@ hr {
1110
  .gradio-container .gr-dropdown .wrap > div > div,
1111
  .gradio-container .gr-dropdown input,
1112
  .gradio-container .gr-dropdown select {
1113
- background: rgba(125, 211, 252, 0.08) !important;
1114
- background-color: rgba(125, 211, 252, 0.08) !important;
1115
- border: 1px solid rgba(125, 211, 252, 0.2) !important;
1116
  }
1117
 
1118
  /* Override any grey color values in inline styles for dropdowns */
@@ -1131,8 +1166,8 @@ hr {
1131
  .gradio-container .gr-dropdown .wrap > div[style*="#282"],
1132
  .gradio-container .gr-dropdown .wrap > div[style*="#3a4"],
1133
  .gradio-container .gr-dropdown .wrap > div[style*="#444"] {
1134
- background: rgba(125, 211, 252, 0.08) !important;
1135
- background-color: rgba(125, 211, 252, 0.08) !important;
1136
  }
1137
 
1138
  /* Ultimate catch-all: Force blue background on ALL dropdown elements */
@@ -1149,9 +1184,9 @@ hr {
1149
  .gradio-container .gr-dropdown input,
1150
  .gradio-container .gr-dropdown select,
1151
  .gradio-container select {
1152
- background: rgba(125, 211, 252, 0.08) !important;
1153
- background-color: rgba(125, 211, 252, 0.08) !important;
1154
- border: 1px solid rgba(125, 211, 252, 0.2) !important;
1155
  }
1156
 
1157
  /* Override any element with grey background that's inside a dropdown */
@@ -1162,8 +1197,8 @@ hr {
1162
  .gradio-container .gr-dropdown [style*="#444"],
1163
  .gradio-container .gr-dropdown [style*="background: rgb(40"],
1164
  .gradio-container .gr-dropdown [style*="background: rgba(40"] {
1165
- background: rgba(125, 211, 252, 0.08) !important;
1166
- background-color: rgba(125, 211, 252, 0.08) !important;
1167
  }
1168
 
1169
  /* ============================================================================
@@ -1192,7 +1227,7 @@ hr {
1192
  #coords_group .gr-number input[style*="rgb(125"] {
1193
  background: transparent !important;
1194
  background-color: transparent !important;
1195
- border: 1px solid rgba(125, 211, 252, 0.2) !important;
1196
  border-radius: 12px !important;
1197
  color: var(--text) !important;
1198
  }
@@ -1207,7 +1242,7 @@ hr {
1207
  .gradio-container #coords_group .gr-number input:hover {
1208
  background: transparent !important;
1209
  background-color: transparent !important;
1210
- border-color: rgba(125, 211, 252, 0.35) !important;
1211
  }
1212
 
1213
  /* Focus state */
@@ -1220,8 +1255,8 @@ hr {
1220
  .gradio-container #coords_group .gr-number input:focus {
1221
  background: transparent !important;
1222
  background-color: transparent !important;
1223
- border-color: rgba(125, 211, 252, 0.35) !important;
1224
- box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.1) !important;
1225
  outline: none !important;
1226
  }
1227
 
@@ -1249,7 +1284,7 @@ hr {
1249
  .gradio-container #end_input input[type="number"] {
1250
  background: transparent !important;
1251
  background-color: transparent !important;
1252
- border: 1px solid rgba(125, 211, 252, 0.2) !important;
1253
  border-radius: 12px !important;
1254
  color: var(--text) !important;
1255
  }
@@ -1262,7 +1297,7 @@ hr {
1262
  #coords_group #end_input input:hover {
1263
  background: transparent !important;
1264
  background-color: transparent !important;
1265
- border-color: rgba(125, 211, 252, 0.35) !important;
1266
  }
1267
 
1268
  #start_input input:focus,
@@ -1273,8 +1308,8 @@ hr {
1273
  #coords_group #end_input input:focus {
1274
  background: transparent !important;
1275
  background-color: transparent !important;
1276
- border-color: rgba(125, 211, 252, 0.35) !important;
1277
- box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.1) !important;
1278
  outline: none !important;
1279
  }
1280
 
@@ -1308,7 +1343,7 @@ footer span button,
1308
  footer div button {
1309
  background: transparent !important;
1310
  background-color: transparent !important;
1311
- border: 1px solid rgba(125, 211, 252, 0.2) !important;
1312
  color: var(--text) !important;
1313
  }
1314
 
@@ -1324,9 +1359,9 @@ footer a[class*="button"]:hover,
1324
  [class*="footer"] a[role="button"]:hover,
1325
  footer span button:hover,
1326
  footer div button:hover {
1327
- background: rgba(125, 211, 252, 0.08) !important;
1328
- background-color: rgba(125, 211, 252, 0.08) !important;
1329
- border-color: rgba(125, 211, 252, 0.3) !important;
1330
  }
1331
 
1332
  /* More specific targeting for footer area buttons */
@@ -1337,7 +1372,7 @@ footer > div > div button,
1337
  footer > div > div a[role="button"] {
1338
  background: transparent !important;
1339
  background-color: transparent !important;
1340
- border: 1px solid rgba(125, 211, 252, 0.2) !important;
1341
  }
1342
 
1343
  /* Target all buttons in footer container */
@@ -1397,8 +1432,8 @@ footer span button:hover,
1397
  footer div button:hover,
1398
  footer div a:hover,
1399
  footer span a:hover {
1400
- background: rgba(125, 211, 252, 0.08) !important;
1401
- background-color: rgba(125, 211, 252, 0.08) !important;
1402
  }
1403
 
1404
  /* Override any blue color values in inline styles - very specific */
@@ -1446,7 +1481,7 @@ footer [class*="button"],
1446
  footer [role="button"] {
1447
  background: transparent !important;
1448
  background-color: transparent !important;
1449
- border: 1px solid rgba(125, 211, 252, 0.2) !important;
1450
  }
1451
 
1452
  /* Override ALL possible background color formats */
 
1
+ /* CSS Variables matching NTv3 hub design - Dark mode (default) */
2
  :root {
3
  --bg: #0b1020;
4
  --card: rgba(255, 255, 255, 0.06);
 
8
  --border: rgba(255, 255, 255, 0.12);
9
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
10
  --radius: 18px;
11
+ --input-bg: rgba(125, 211, 252, 0.08);
12
+ --input-border: rgba(125, 211, 252, 0.2);
13
+ --input-focus-bg: rgba(125, 211, 252, 0.12);
14
+ --input-focus-border: rgba(125, 211, 252, 0.35);
15
+ --placeholder: rgba(255, 255, 255, 0.5);
16
+ --modebar-bg: rgba(255, 255, 255, 0.9);
17
+ }
18
+
19
+ /* Light mode overrides */
20
+ @media (prefers-color-scheme: light) {
21
+ :root {
22
+ --bg: #ffffff;
23
+ --card: rgba(0, 0, 0, 0.04);
24
+ --text: rgba(0, 0, 0, 0.92);
25
+ --muted: rgba(0, 0, 0, 0.65);
26
+ --link: #0369a1;
27
+ --border: rgba(0, 0, 0, 0.12);
28
+ --shadow: 0 10px 30px rgba(0,0,0,0.1);
29
+ --input-bg: rgba(3, 105, 161, 0.08);
30
+ --input-border: rgba(3, 105, 161, 0.2);
31
+ --input-focus-bg: rgba(3, 105, 161, 0.12);
32
+ --input-focus-border: rgba(3, 105, 161, 0.35);
33
+ --placeholder: rgba(0, 0, 0, 0.5);
34
+ --modebar-bg: rgba(255, 255, 255, 0.95);
35
+ }
36
  }
37
 
38
  /* Overall page background matching hub */
39
  body, .gradio-container {
40
+ background: var(--bg) !important;
 
 
 
41
  min-height: 100vh;
42
  }
43
 
44
+ /* Add subtle gradient only in dark mode */
45
+ @media (prefers-color-scheme: dark) {
46
+ body, .gradio-container {
47
+ background:
48
+ radial-gradient(1200px 800px at 10% 10%, rgba(125, 211, 252, 0.12), transparent 60%),
49
+ radial-gradient(1200px 800px at 90% 30%, rgba(167, 139, 250, 0.12), transparent 55%),
50
+ var(--bg) !important;
51
+ }
52
+ }
53
+
54
  /* Plot container */
55
  #tracks_plot {
56
  position: relative;
 
128
  #tracks_plot .modebar,
129
  .js-plotly-plot .modebar,
130
  .plotly .modebar {
131
+ background-color: var(--modebar-bg) !important;
132
+ border: 1px solid var(--input-border) !important;
133
  border-radius: 8px !important;
134
  }
135
 
 
403
  input[type="tel"],
404
  input[type="url"],
405
  textarea {
406
+ background: var(--input-bg) !important;
407
+ background-color: var(--input-bg) !important;
408
+ border: 1px solid var(--input-border) !important;
409
  border-radius: 12px !important;
410
  color: var(--text) !important;
411
  padding: 10px 12px !important;
 
415
  /* Note: Coordinates group inputs are overridden at the end of the file */
416
  input[type="number"],
417
  .gr-number input {
418
+ background: var(--input-bg) !important;
419
+ background-color: var(--input-bg) !important;
420
+ border: 1px solid var(--input-border) !important;
421
  border-radius: 12px !important;
422
  color: var(--text) !important;
423
  padding: 10px 12px !important;
 
430
  input[type="tel"]:focus,
431
  input[type="url"]:focus,
432
  textarea:focus {
433
+ background: var(--input-focus-bg) !important;
434
+ background-color: var(--input-focus-bg) !important;
435
+ border-color: var(--input-focus-border) !important;
436
+ box-shadow: 0 0 0 3px var(--input-bg) !important;
437
  outline: none !important;
438
  }
439
 
440
  /* Number inputs focus - default blue background */
441
  input[type="number"]:focus {
442
+ background: var(--input-focus-bg) !important;
443
+ background-color: var(--input-focus-bg) !important;
444
+ border-color: var(--input-focus-border) !important;
445
+ box-shadow: 0 0 0 3px var(--input-bg) !important;
446
  outline: none !important;
447
  }
448
 
 
453
  #coords_group .gr-row .gr-number input:focus {
454
  background: transparent !important;
455
  background-color: transparent !important;
456
+ border-color: var(--input-focus-border) !important;
457
+ box-shadow: 0 0 0 3px var(--input-bg) !important;
458
  outline: none !important;
459
  }
460
 
461
  input[type="text"]:hover,
462
  input[type="search"]:hover,
463
  textarea:hover {
464
+ background: var(--input-focus-bg) !important;
465
+ border-color: var(--input-focus-border) !important;
466
  }
467
 
468
  /* Number inputs hover - default blue background */
469
  input[type="number"]:hover {
470
+ background: var(--input-focus-bg) !important;
471
+ border-color: var(--input-focus-border) !important;
472
  }
473
 
474
  /* Coordinates group number inputs hover - transparent background */
 
478
  #coords_group .gr-row .gr-number input:hover {
479
  background: transparent !important;
480
  background-color: transparent !important;
481
+ border-color: var(--input-focus-border) !important;
482
  }
483
 
484
  /* Placeholder text */
485
  input::placeholder,
486
  textarea::placeholder {
487
+ color: var(--placeholder) !important;
488
  opacity: 0.7 !important;
489
  }
490
 
491
  /* Override inline grey backgrounds */
492
  input[style*="background"],
493
  textarea[style*="background"] {
494
+ background: var(--input-bg) !important;
495
+ background-color: var(--input-bg) !important;
496
  }
497
 
498
  /* ============================================================================
 
519
  .gr-dropdown .wrap > div,
520
  .gr-dropdown .wrap > div > div,
521
  .gr-dropdown .wrap > div > div > div {
522
+ background: var(--input-bg) !important;
523
+ background-color: var(--input-bg) !important;
524
  }
525
 
526
  /* ============================================================================
 
579
  .gr-dropdown .wrap,
580
  .gr-dropdown .wrap > div,
581
  select {
582
+ background: var(--input-bg) !important;
583
+ background-color: var(--input-bg) !important;
584
+ border: 1px solid var(--input-border) !important;
585
  border-radius: 12px !important;
586
  color: var(--text) !important;
587
  outline: none !important;
 
591
  /* Override any inline grey backgrounds on dropdowns */
592
  .gr-dropdown[style*="background"],
593
  select[style*="background"] {
594
+ background: var(--input-bg) !important;
595
+ background-color: var(--input-bg) !important;
596
  }
597
 
598
  .gr-dropdown:hover,
 
603
  .gr-dropdown select:focus,
604
  select:hover,
605
  select:focus {
606
+ background: var(--input-focus-bg) !important;
607
+ background-color: var(--input-focus-bg) !important;
608
+ border-color: var(--input-focus-border) !important;
609
  outline: none !important;
610
+ box-shadow: 0 0 0 3px var(--input-bg) !important;
611
  }
612
 
613
  /* Ensure dropdown option container is blue */
614
  .gr-dropdown .wrap select,
615
  .gr-dropdown select option {
616
+ background: var(--input-bg) !important;
617
+ background-color: var(--input-bg) !important;
618
  color: var(--text) !important;
619
  }
620
 
 
626
  #bed_elements_dropdown [class*="chip"],
627
  #bed_elements_dropdown [class*="badge"],
628
  #bed_elements_dropdown [class*="pill"] {
629
+ background: var(--input-focus-bg) !important;
630
+ background-color: var(--input-focus-bg) !important;
631
+ border: 1px solid var(--input-focus-border) !important;
632
  border-radius: 6px !important;
633
  color: var(--text) !important;
634
  padding: 5px 10px !important;
 
644
  #bed_elements_dropdown .wrap > div > span:hover:not(input),
645
  #bed_elements_dropdown .wrap > div > div:hover:not(input):not(select):not(.wrap),
646
  #bed_elements_dropdown .wrap > div > button:hover:not([type="submit"]) {
647
+ background: var(--input-focus-bg) !important;
648
+ opacity: 0.9 !important;
649
  border-color: var(--link) !important;
650
  }
651
 
 
677
  ============================================================================ */
678
 
679
  .gr-radio {
680
+ background: var(--input-bg) !important;
681
+ border: 1px solid var(--input-border) !important;
682
  border-radius: 12px !important;
683
  padding: 12px !important;
684
  }
 
686
  .gr-radio label,
687
  input[type="radio"] + label {
688
  color: var(--text) !important;
689
+ background: var(--input-bg) !important;
690
+ border: 1px solid var(--input-border) !important;
691
  border-radius: 8px !important;
692
  padding: 8px 12px !important;
693
  margin: 4px !important;
 
697
 
698
  .gr-radio label:hover,
699
  input[type="radio"] + label:hover {
700
+ background: var(--input-focus-bg) !important;
701
+ border-color: var(--input-focus-border) !important;
702
  }
703
 
704
  .gr-radio input[type="radio"]:checked + label,
705
  input[type="radio"]:checked + label {
706
+ background: var(--input-focus-bg) !important;
707
+ opacity: 1.2 !important;
708
+ border-color: var(--input-focus-border) !important;
709
  }
710
 
711
  /* Change radio button selected indicator from orange to blue */
 
782
  ============================================================================ */
783
 
784
  .gr-checkboxgroup {
785
+ background: var(--input-bg) !important;
786
+ border: 1px solid var(--input-border) !important;
787
  border-radius: 12px !important;
788
  padding: 12px !important;
789
  }
790
 
791
  .gr-checkboxgroup label {
792
  color: var(--text) !important;
793
+ background: var(--input-bg) !important;
794
+ border: 1px solid var(--input-border) !important;
795
  border-radius: 8px !important;
796
  padding: 8px 12px !important;
797
  margin: 4px 0 !important;
 
800
  }
801
 
802
  .gr-checkboxgroup label:hover {
803
+ background: var(--input-focus-bg) !important;
804
+ border-color: var(--input-focus-border) !important;
805
  }
806
 
807
  .gr-checkboxgroup input[type="checkbox"]:checked + label,
808
  .gr-checkboxgroup label:has(input[type="checkbox"]:checked) {
809
+ background: var(--input-focus-bg) !important;
810
+ opacity: 1.2 !important;
811
+ border: 1px solid var(--input-focus-border) !important;
812
  }
813
 
814
  /* Change checkbox icon color from orange to blue */
 
904
  .gr-button:not(#predict_btn),
905
  button.gr-button:not(#predict_btn),
906
  [class*="button"]:not(#predict_btn) {
907
+ background: var(--input-bg) !important;
908
+ background-color: var(--input-bg) !important;
909
+ border: 1px solid var(--input-border) !important;
910
  color: var(--text) !important;
911
  }
912
 
 
914
  .gr-button:not(#predict_btn):hover,
915
  button.gr-button:not(#predict_btn):hover,
916
  [class*="button"]:not(#predict_btn):hover {
917
+ background: var(--input-focus-bg) !important;
918
+ background-color: var(--input-focus-bg) !important;
919
  border-color: var(--link) !important;
920
+ box-shadow: 0 4px 12px var(--input-bg) !important;
921
  }
922
 
923
  /* ============================================================================
 
980
  #coords_group .gr-row input[type="number"] {
981
  background: transparent !important;
982
  background-color: transparent !important;
983
+ border: 1px solid var(--input-border) !important;
984
  border-radius: 12px !important;
985
  color: var(--text) !important;
986
  height: 44px !important;
 
996
  #coords_group .gr-row input[type="number"]:hover {
997
  background: transparent !important;
998
  background-color: transparent !important;
999
+ border-color: var(--input-focus-border) !important;
1000
  }
1001
 
1002
  #coords_group .gr-number input:focus,
 
1006
  #coords_group .gr-row input[type="number"]:focus {
1007
  background: transparent !important;
1008
  background-color: transparent !important;
1009
+ border-color: var(--input-focus-border) !important;
1010
+ box-shadow: 0 0 0 3px var(--input-bg) !important;
1011
  outline: none !important;
1012
  }
1013
 
 
1054
  #chromosome_input button[aria-haspopup] {
1055
  background: transparent !important;
1056
  background-color: transparent !important;
1057
+ border: 1px solid var(--input-border) !important;
1058
  border-radius: 12px !important;
1059
  color: var(--text) !important;
1060
  height: 44px !important;
 
1066
  #chromosome_input input:hover,
1067
  #chromosome_input .wrap input:hover,
1068
  #chromosome_input [role="combobox"]:hover {
1069
+ border-color: var(--input-focus-border) !important;
1070
  }
1071
 
1072
  #chromosome_input input:focus,
1073
  #chromosome_input .wrap input:focus,
1074
  #chromosome_input [role="combobox"]:focus {
1075
+ border-color: var(--input-focus-border) !important;
1076
+ box-shadow: 0 0 0 3px var(--input-bg) !important;
1077
  outline: none !important;
1078
  }
1079
 
 
1121
  ============================================================================ */
1122
 
1123
  .gr-accordion {
1124
+ background: var(--input-bg) !important;
1125
+ border: 1px solid var(--input-border) !important;
1126
  border-radius: 12px !important;
1127
  }
1128
 
 
1145
  .gradio-container .gr-dropdown .wrap > div > div,
1146
  .gradio-container .gr-dropdown input,
1147
  .gradio-container .gr-dropdown select {
1148
+ background: var(--input-bg) !important;
1149
+ background-color: var(--input-bg) !important;
1150
+ border: 1px solid var(--input-border) !important;
1151
  }
1152
 
1153
  /* Override any grey color values in inline styles for dropdowns */
 
1166
  .gradio-container .gr-dropdown .wrap > div[style*="#282"],
1167
  .gradio-container .gr-dropdown .wrap > div[style*="#3a4"],
1168
  .gradio-container .gr-dropdown .wrap > div[style*="#444"] {
1169
+ background: var(--input-bg) !important;
1170
+ background-color: var(--input-bg) !important;
1171
  }
1172
 
1173
  /* Ultimate catch-all: Force blue background on ALL dropdown elements */
 
1184
  .gradio-container .gr-dropdown input,
1185
  .gradio-container .gr-dropdown select,
1186
  .gradio-container select {
1187
+ background: var(--input-bg) !important;
1188
+ background-color: var(--input-bg) !important;
1189
+ border: 1px solid var(--input-border) !important;
1190
  }
1191
 
1192
  /* Override any element with grey background that's inside a dropdown */
 
1197
  .gradio-container .gr-dropdown [style*="#444"],
1198
  .gradio-container .gr-dropdown [style*="background: rgb(40"],
1199
  .gradio-container .gr-dropdown [style*="background: rgba(40"] {
1200
+ background: var(--input-bg) !important;
1201
+ background-color: var(--input-bg) !important;
1202
  }
1203
 
1204
  /* ============================================================================
 
1227
  #coords_group .gr-number input[style*="rgb(125"] {
1228
  background: transparent !important;
1229
  background-color: transparent !important;
1230
+ border: 1px solid var(--input-border) !important;
1231
  border-radius: 12px !important;
1232
  color: var(--text) !important;
1233
  }
 
1242
  .gradio-container #coords_group .gr-number input:hover {
1243
  background: transparent !important;
1244
  background-color: transparent !important;
1245
+ border-color: var(--input-focus-border) !important;
1246
  }
1247
 
1248
  /* Focus state */
 
1255
  .gradio-container #coords_group .gr-number input:focus {
1256
  background: transparent !important;
1257
  background-color: transparent !important;
1258
+ border-color: var(--input-focus-border) !important;
1259
+ box-shadow: 0 0 0 3px var(--input-bg) !important;
1260
  outline: none !important;
1261
  }
1262
 
 
1284
  .gradio-container #end_input input[type="number"] {
1285
  background: transparent !important;
1286
  background-color: transparent !important;
1287
+ border: 1px solid var(--input-border) !important;
1288
  border-radius: 12px !important;
1289
  color: var(--text) !important;
1290
  }
 
1297
  #coords_group #end_input input:hover {
1298
  background: transparent !important;
1299
  background-color: transparent !important;
1300
+ border-color: var(--input-focus-border) !important;
1301
  }
1302
 
1303
  #start_input input:focus,
 
1308
  #coords_group #end_input input:focus {
1309
  background: transparent !important;
1310
  background-color: transparent !important;
1311
+ border-color: var(--input-focus-border) !important;
1312
+ box-shadow: 0 0 0 3px var(--input-bg) !important;
1313
  outline: none !important;
1314
  }
1315
 
 
1343
  footer div button {
1344
  background: transparent !important;
1345
  background-color: transparent !important;
1346
+ border: 1px solid var(--input-border) !important;
1347
  color: var(--text) !important;
1348
  }
1349
 
 
1359
  [class*="footer"] a[role="button"]:hover,
1360
  footer span button:hover,
1361
  footer div button:hover {
1362
+ background: var(--input-bg) !important;
1363
+ background-color: var(--input-bg) !important;
1364
+ border-color: var(--input-focus-border) !important;
1365
  }
1366
 
1367
  /* More specific targeting for footer area buttons */
 
1372
  footer > div > div a[role="button"] {
1373
  background: transparent !important;
1374
  background-color: transparent !important;
1375
+ border: 1px solid var(--input-border) !important;
1376
  }
1377
 
1378
  /* Target all buttons in footer container */
 
1432
  footer div button:hover,
1433
  footer div a:hover,
1434
  footer span a:hover {
1435
+ background: var(--input-bg) !important;
1436
+ background-color: var(--input-bg) !important;
1437
  }
1438
 
1439
  /* Override any blue color values in inline styles - very specific */
 
1481
  footer [role="button"] {
1482
  background: transparent !important;
1483
  background-color: transparent !important;
1484
+ border: 1px solid var(--input-border) !important;
1485
  }
1486
 
1487
  /* Override ALL possible background color formats */