carlosduplar
Restructure repo: src/, frontend/, modal/ dirs; update app_file paths; update .gitignore
3ab287a Download frontend/style.css from build-small-hackathon/patient-virtuel-dentiste: direct link, hf CLI and curl.
- Browser
- Download file 4.14 kB
-
https://huggingface.co/spaces/build-small-hackathon/patient-virtuel-dentiste/resolve/01601b924e3fb49722785d2bd2941840f68aa623/frontend/style.css
- Command line
-
hf download hf://spaces/build-small-hackathon/patient-virtuel-dentiste@01601b924e3fb49722785d2bd2941840f68aa623/frontend/style.css
-
curl -L -o style.css https://huggingface.co/spaces/build-small-hackathon/patient-virtuel-dentiste/resolve/01601b924e3fb49722785d2bd2941840f68aa623/frontend/style.css
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) ; | |
| color: #fff ; | |
| font-family: "Inter", ui-sans-serif, system-ui, sans-serif; | |
| overflow: hidden; | |
| height: 100%; | |
| } | |
| .gradio-container { | |
| max-width: 100% ; | |
| background: transparent ; | |
| } | |
| /* 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) ; | |
| backdrop-filter: blur(40px) ; | |
| border: 1px solid var(--glass-border) ; | |
| box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) ; | |
| border-radius: 16px ; | |
| } | |
| /* Feedback shell */ | |
| .feedback-shell { | |
| background: linear-gradient( | |
| 135deg, rgba(20, 10, 5, 0.95) 0%, rgba(30, 15, 8, 0.9) 100% | |
| ) ; | |
| backdrop-filter: blur(60px) ; | |
| border: 1px solid rgba(255, 150, 80, 0.08) ; | |
| 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 ; | |
| border-radius: 16px ; | |
| } | |
| /* 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) ; | |
| border-color: var(--color-accent) ; | |
| color: #fff ; | |
| } | |
| /* Stop button */ | |
| button.variant-stop { | |
| background: #8b0000 ; | |
| border-color: #8b0000 ; | |
| color: #fff ; | |
| } | |
| /* 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 ; | |
| font-size: 15px ; | |
| line-height: 1.5 ; | |
| } | |
| .user-message { | |
| background: var(--glass-surface) ; | |
| border: 1px solid var(--glass-border) ; | |
| color: #e0d0c0 ; | |
| } | |
| .assistant-message { | |
| background: rgba(255, 255, 255, 0.04) ; | |
| border: 1px solid rgba(255, 255, 255, 0.06) ; | |
| color: #f0e8dc ; | |
| } | |
| /* Serif for the title only */ | |
| h1, .app-title { | |
| font-family: var(--font-serif) ; | |
| font-weight: 400 ; | |
| letter-spacing: 0.02em ; | |
| } | |
| /* Dataframe (feedback table) */ | |
| table.dataframe { | |
| background: transparent ; | |
| border: none ; | |
| } | |
| table.dataframe td, table.dataframe th { | |
| background: transparent ; | |
| border-color: rgba(255, 200, 150, 0.1) ; | |
| color: #d0c0b0 ; | |
| } | |
| /* 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 ; | |
| border: 1px solid var(--glass-border) ; | |
| border-radius: 12px ; | |
| } | |
| /* Hide audio output container (keep input functional for mic recording) */ | |
| #audio_output, .audio-output { | |
| display: none ; | |
| } | |
| /* Instructions styling */ | |
| .instructions { | |
| font-size: 12px ; | |
| color: #777 ; | |
| line-height: 1.5 ; | |
| margin-top: 0 ; | |
| } | |
| .instructions:first-of-type { | |
| margin-top: 8px ; | |
| font-weight: bold; | |
| } | |