JayBene1 commited on
Commit
72da531
·
verified ·
1 Parent(s): 9ee64fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +30 -5
app.py CHANGED
@@ -36,8 +36,8 @@ theme = gr.themes.Soft(
36
  block_title_text_color_dark="#e5e5e5",
37
 
38
  # Input colors (using valid property names)
39
- input_background_fill="#2d2d2d",
40
- input_background_fill_dark="#2d2d2d",
41
  input_border_color="#555555",
42
  input_border_color_dark="#555555",
43
  input_placeholder_color="#a0a0a0",
@@ -496,8 +496,8 @@ with gr.Blocks(theme=theme, title="Kwekel Companies Contact Search Tool", css=""
496
  .gr-container {
497
  background-color: #1a1a1a !important;
498
  }
499
-
500
- /* Specific block background colors */
501
  .gr-textbox, .gr-code {
502
  background-color: #3b3a3a !important;
503
  }
@@ -506,6 +506,31 @@ with gr.Blocks(theme=theme, title="Kwekel Companies Contact Search Tool", css=""
506
  background-color: #3b3a3a !important;
507
  }
508
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
509
  /* Button text visibility */
510
  .gr-button {
511
  color: #ffffff !important;
@@ -611,4 +636,4 @@ if __name__ == "__main__":
611
  server_port=7860,
612
  show_error=True,
613
  debug=True
614
- )
 
36
  block_title_text_color_dark="#e5e5e5",
37
 
38
  # Input colors (using valid property names)
39
+ input_background_fill="#3b3a3a",
40
+ input_background_fill_dark="#3b3a3a",
41
  input_border_color="#555555",
42
  input_border_color_dark="#555555",
43
  input_placeholder_color="#a0a0a0",
 
496
  .gr-container {
497
  background-color: #1a1a1a !important;
498
  }
499
+
500
+ /* Specific block background colors for Website URL and Raw JSON Response */
501
  .gr-textbox, .gr-code {
502
  background-color: #3b3a3a !important;
503
  }
 
506
  background-color: #3b3a3a !important;
507
  }
508
 
509
+ /* More specific targeting for textbox and code blocks */
510
+ .gr-textbox > div, .gr-code > div {
511
+ background-color: #3b3a3a !important;
512
+ }
513
+
514
+ /* Target the actual input container */
515
+ .gr-textbox .gr-input, .gr-code .gr-input {
516
+ background-color: #3b3a3a !important;
517
+ }
518
+
519
+ /* Target Gradio component containers */
520
+ div[data-testid="textbox"], div[data-testid="code"] {
521
+ background-color: #3b3a3a !important;
522
+ }
523
+
524
+ /* Additional targeting for component wrappers */
525
+ .gr-form > div, .gr-column > div {
526
+ background-color: #3b3a3a !important;
527
+ }
528
+
529
+ /* Override any block backgrounds specifically */
530
+ .gradio-textbox, .gradio-code {
531
+ background-color: #3b3a3a !important;
532
+ }
533
+
534
  /* Button text visibility */
535
  .gr-button {
536
  color: #ffffff !important;
 
636
  server_port=7860,
637
  show_error=True,
638
  debug=True
639
+ )