carlosduplar
Restructure repo: src/, frontend/, modal/ dirs; update app_file paths; update .gitignore
3ab287a
Raw History Blame
4.14 kB
:root {
--color-bg: #0a0502;
--color-accent: #ff4e00;
--glass-surface: rgba(255, 80, 20, 0.1);
--glass-border: rgba(255, 200, 150, 0.1);
--font-serif: "Cormorant Garamond", serif;
}
html, body {
background-color: var(--color-bg) !important;
color: #fff !important;
font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
overflow: hidden;
height: 100%;
}
.gradio-container {
max-width: 100% !important;
background: transparent !important;
}
/* Atmosphere gradient behind the app */
.atmosphere {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
background:
radial-gradient(circle at 50% 30%, #3a1510 0%, transparent 60%),
radial-gradient(circle at 10% 80%, var(--color-accent) 0%, transparent 50%);
filter: blur(80px);
opacity: 0.6;
z-index: -1;
animation: pulse 15s ease-in-out infinite alternate;
pointer-events: none;
}
@keyframes pulse {
0% { opacity: 0.4; transform: scale(1); }
100% { opacity: 0.7; transform: scale(1.1); }
}
/* Glass card look */
.glass-card {
background: var(--glass-surface) !important;
backdrop-filter: blur(40px) !important;
border: 1px solid var(--glass-border) !important;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
border-radius: 16px !important;
}
/* Feedback shell */
.feedback-shell {
background: linear-gradient(
135deg, rgba(20, 10, 5, 0.95) 0%, rgba(30, 15, 8, 0.9) 100%
) !important;
backdrop-filter: blur(60px) !important;
border: 1px solid rgba(255, 150, 80, 0.08) !important;
box-shadow:
0 40px 80px rgba(0, 0, 0, 0.5),
0 0 0 1px rgba(255, 255, 255, 0.03) inset,
0 1px 0 rgba(255, 200, 150, 0.05) inset !important;
border-radius: 16px !important;
}
/* Recording glow animation */
@keyframes glow {
0% { box-shadow: 0 0 10px rgba(255, 78, 0, 0.3); }
100% { box-shadow: 0 0 30px rgba(255, 78, 0, 0.8); }
}
.recording-glow {
animation: glow 1.5s ease-in-out infinite alternate;
}
/* Brand accent button */
button.primary, button.variant-primary {
background: var(--color-accent) !important;
border-color: var(--color-accent) !important;
color: #fff !important;
}
/* Stop button */
button.variant-stop {
background: #8b0000 !important;
border-color: #8b0000 !important;
color: #fff !important;
}
/* Status bar */
#status-bar {
color: var(--color-accent);
font-size: 14px;
font-weight: 500;
height: 24px;
transition: opacity 0.2s;
}
/* Chat bubbles */
.chat-message {
border-radius: 12px !important;
font-size: 15px !important;
line-height: 1.5 !important;
}
.user-message {
background: var(--glass-surface) !important;
border: 1px solid var(--glass-border) !important;
color: #e0d0c0 !important;
}
.assistant-message {
background: rgba(255, 255, 255, 0.04) !important;
border: 1px solid rgba(255, 255, 255, 0.06) !important;
color: #f0e8dc !important;
}
/* Serif for the title only */
h1, .app-title {
font-family: var(--font-serif) !important;
font-weight: 400 !important;
letter-spacing: 0.02em !important;
}
/* Dataframe (feedback table) */
table.dataframe {
background: transparent !important;
border: none !important;
}
table.dataframe td, table.dataframe th {
background: transparent !important;
border-color: rgba(255, 200, 150, 0.1) !important;
color: #d0c0b0 !important;
}
/* Scrollbar styling */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: rgba(255, 78, 0, 0.3);
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(255, 78, 0, 0.5);
}
/* Accordion */
.accordion {
background: transparent !important;
border: 1px solid var(--glass-border) !important;
border-radius: 12px !important;
}
/* Hide audio output container (keep input functional for mic recording) */
#audio_output, .audio-output {
display: none !important;
}
/* Instructions styling */
.instructions {
font-size: 12px !important;
color: #777 !important;
line-height: 1.5 !important;
margin-top: 0 !important;
}
.instructions:first-of-type {
margin-top: 8px !important;
font-weight: bold;
}