raaf-alpha / style.css
ADO Pipeline
Automated update from ADO 20250502.15
df3c489
Raw History Blame Contribute Delete
1.91 kB
/* style.css – Raaf Chat with Responsive Fixes */
/*β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”
Theme variables (dark & light)
β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”*/
:root {
--bg-color: #121212;
--text-color: #e0e0e0;
--chat-bg-color: #1e1e1e;
--bubble-bg-incoming: #2a2a2a;
--bubble-bg-outgoing: #F96167;
--accent-color: #FCE77D;
--border-color: #F96167;
}
@media (prefers-color-scheme: light) {
:root {
--bg-color: #f7f3e9;
--text-color: #333333;
--chat-bg-color: #ffffff;
--bubble-bg-incoming: #f0ece4;
--bubble-bg-outgoing: #fce77d;
--accent-color: #f96167;
--border-color: #fce77d;
}
}
/*β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”
Hide all footers / controls
β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”*/
gradio-app footer,
gradio-app footer *,
footer.svelte-1byz9vf,
button.show-api,
.gradio-settings,
.built-with,
button.settings {
display: none !important;
visibility: hidden !important;
opacity: 0 !important;
pointer-events: none !important;
}
/*β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”
Mobile-first: under 600px
β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”*/
@media (max-width: 600px) {
.gradio-container {
padding: 0.5rem !important;
}
.gradio-chatbot {
max-height: 60vh !important;
padding: 0.75rem !important;
}
textarea {
padding: 0.5rem 2.5rem 0.5rem 0.75rem !important;
}
button.submit-button {
width: 2rem !important;
height: 2rem !important;
right: 0.5rem !important;
}
}