Jofthomas commited on
Commit
47baf27
·
1 Parent(s): 4c42876

remove gray

Browse files
Files changed (1) hide show
  1. app.py +15 -3
app.py CHANGED
@@ -470,9 +470,9 @@ def _read_text(path: str) -> str:
470
 
471
  APP_CSS = _read_text('static/style.css') + "\n#lat_box, #lng_box { display:none; }\n" + """
472
  #next_btn { position: absolute; left: -9999px; }
473
- #lobby_group, #game_group{max-width:1024px;margin:24px auto;padding:16px;background:#fff;border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,0.08)}
474
  #start_btn{height:48px;font-weight:700}
475
- .gradio-container{background:var(--light-color,#FFFBEB)}
476
  body, .gradio-container, .gradio-container *{color:#111 !important}
477
  /* force markdown text to be dark */
478
  .gradio-container .prose, .gradio-container .prose *{color:#111 !important}
@@ -486,11 +486,23 @@ body, .gradio-container, .gradio-container *{color:#111 !important}
486
  .svelte-3lgy39 .wrap-inner, .wrap-inner{ color: inherit; }
487
  #popup-overlay, #popup-overlay * {color:#f9fafb !important}
488
  #popup-overlay #ai-analysis-box, #popup-overlay #ai-analysis-box * { color: #1e293b !important; }
 
 
 
 
 
 
 
 
 
 
 
 
489
  /* Style login button to be compact */
490
  #login_button {max-width: 180px !important;}
491
  #login_button button {padding: 6px 14px !important; font-size: 0.9rem !important;}
492
  /* Style Hugging Face GPU notifications */
493
- .toast-wrap, .toast-body {background: #f8fafc !important; color: #111 !important; border: 1px solid #e2e8f0 !important;}
494
  .toast-title {color: #111 !important;}
495
  .toast-text {color: #334155 !important;}
496
  .toast-close {color: #111 !important;}
 
470
 
471
  APP_CSS = _read_text('static/style.css') + "\n#lat_box, #lng_box { display:none; }\n" + """
472
  #next_btn { position: absolute; left: -9999px; }
473
+ #lobby_group, #game_group{max-width:1024px;margin:24px auto;padding:16px;}
474
  #start_btn{height:48px;font-weight:700}
475
+ .gradio-container{background:#FFFBEB}
476
  body, .gradio-container, .gradio-container *{color:#111 !important}
477
  /* force markdown text to be dark */
478
  .gradio-container .prose, .gradio-container .prose *{color:#111 !important}
 
486
  .svelte-3lgy39 .wrap-inner, .wrap-inner{ color: inherit; }
487
  #popup-overlay, #popup-overlay * {color:#f9fafb !important}
488
  #popup-overlay #ai-analysis-box, #popup-overlay #ai-analysis-box * { color: #1e293b !important; }
489
+ /* Remove all grey borders */
490
+ .gradio-container button,
491
+ .gradio-container .form,
492
+ .gradio-container .block,
493
+ .gradio-container input,
494
+ .gradio-container textarea,
495
+ .gradio-container select,
496
+ .gradio-container .gr-box,
497
+ .gradio-container .gr-input,
498
+ .gradio-container .gr-form {
499
+ border: none !important;
500
+ }
501
  /* Style login button to be compact */
502
  #login_button {max-width: 180px !important;}
503
  #login_button button {padding: 6px 14px !important; font-size: 0.9rem !important;}
504
  /* Style Hugging Face GPU notifications */
505
+ .toast-wrap, .toast-body {background: #f8fafc !important; color: #111 !important; border: none !important;}
506
  .toast-title {color: #111 !important;}
507
  .toast-text {color: #334155 !important;}
508
  .toast-close {color: #111 !important;}