JayBene1 commited on
Commit
9b3bf33
·
verified ·
1 Parent(s): aff830c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -46
app.py CHANGED
@@ -417,64 +417,25 @@ with gr.Blocks(theme=theme, title="Kwekel Companies Contact Search Tool", css=""
417
 
418
  /* Remove blue outline and use custom background */
419
  .blue-header-block {
420
- background: none !important;
421
- border: none !important;
422
  border-radius: 0.5rem !important;
423
  padding: 1rem !important;
424
  }
425
 
426
  .blue-header-block .gr-label {
427
- color: #ffffff !important;
428
  font-weight: 600 !important;
429
  }
430
 
 
431
  .blue-header-block .gr-textbox,
432
  .blue-header-block .gr-code {
433
- background-color: #3b3a3a !important;
434
- border: 1px solid #404040 !important;
435
  border-radius: 0.375rem !important;
436
  margin-top: 0.5rem !important;
437
  }
438
-
439
- /* Force the actual input field background */
440
- .blue-header-block .gr-box > input,
441
- .blue-header-block .gr-box > textarea {
442
- background-color: #3b3a3a !important;
443
- color: #e5e5e5 !important;
444
- border: 1px solid #404040 !important;
445
- }
446
-
447
- /* Force the code area background */
448
- .blue-header-block .wrap,
449
- .blue-header-block .cm-editor,
450
- .blue-header-block .cm-scroller,
451
- .blue-header-block .cm-content,
452
- .blue-header-block .cm-line {
453
- background-color: #3b3a3a !important;
454
- color: #e5e5e5 !important;
455
- }
456
-
457
- /* Make sure placeholder text is visible */
458
- .blue-header-block input::placeholder,
459
- .blue-header-block textarea::placeholder {
460
- color: #a0a0a0 !important;
461
- }
462
-
463
- /* NEW: fix inner input fields and code area */
464
- .blue-header-block .gr-textbox input,
465
- .blue-header-block .gr-textbox textarea {
466
- background-color: #3b3a3a !important;
467
- color: #e5e5e5 !important;
468
- border: 1px solid #404040 !important;
469
- }
470
-
471
- .blue-header-block .gr-code,
472
- .blue-header-block .gr-code pre,
473
- .blue-header-block .gr-code code {
474
- background-color: #3b3a3a !important;
475
- color: #e5e5e5 !important;
476
- }
477
-
478
 
479
 
480
  /* Input field styles */
@@ -647,4 +608,4 @@ if __name__ == "__main__":
647
  server_port=7860,
648
  show_error=True,
649
  debug=True
650
- )
 
417
 
418
  /* Remove blue outline and use custom background */
419
  .blue-header-block {
420
+ background: none !important; /* remove blue gradient */
421
+ border: none !important; /* remove blue border */
422
  border-radius: 0.5rem !important;
423
  padding: 1rem !important;
424
  }
425
 
426
  .blue-header-block .gr-label {
427
+ color: #2d2d2d !important;
428
  font-weight: 600 !important;
429
  }
430
 
431
+ /* Change background for Website URL input and Raw JSON Response */
432
  .blue-header-block .gr-textbox,
433
  .blue-header-block .gr-code {
434
+ background-color: #3b3a3a !important; /* new dark gray */
435
+ border: 1px solid #404040 !important; /* subtle border */
436
  border-radius: 0.375rem !important;
437
  margin-top: 0.5rem !important;
438
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
439
 
440
 
441
  /* Input field styles */
 
608
  server_port=7860,
609
  show_error=True,
610
  debug=True
611
+ )