ask-anything-lab / static /style.css
John Patterson
Audience mode: fix Gradio 6 visibility cascade, switch to Supabase service_role
190b585
Raw History Blame Contribute Delete
1.57 kB
/* Ask Anything Lab — dark theme for TEDx projection */
body, .gradio-container {
background: #06080C !important;
color: #F1F5F9 !important;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}
.gradio-container {
max-width: 100% !important;
padding: 0 !important;
}
footer { display: none !important; }
/* Hide the two keyboard-proxy buttons completely (elem_id wrapper + inner button) */
#forward_btn, #back_btn,
#forward_btn *, #back_btn * {
position: absolute !important;
left: -9999px !important;
top: -9999px !important;
width: 1px !important;
height: 1px !important;
max-width: 1px !important;
max-height: 1px !important;
min-height: 0 !important;
padding: 0 !important;
margin: 0 !important;
border: 0 !important;
overflow: hidden !important;
opacity: 0 !important;
visibility: hidden !important;
pointer-events: auto !important;
}
.tedx-hero h1 {
font-size: 3em;
margin: 0.2em 0;
}
.tedx-cta button {
font-size: 1.2em !important;
padding: 0.9em 2em !important;
min-height: 3.5em !important;
}
/* Workaround for Gradio 6 quirk: components first mounted with visible=False
retain the `hide` class even when later updated to visible=True. Any element
marked with .aal-force-show will override and display. */
.aal-force-show,
.aal-force-show.hide {
display: flex !important;
visibility: visible !important;
opacity: 1 !important;
}
.aal-force-hide,
.aal-force-hide.column {
display: none !important;
}