Spaces:
Runtime error
Runtime error
| html, body, .gradio-container { | |
| max-height: 100vh ; | |
| height: 100vh ; | |
| overflow-y: auto ; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| /* 2. Ensure nested layout structures handle their own overflowing content */ | |
| .gradio-container-5-0-0, | |
| .gradio-container > .wrap, | |
| #component-0 { | |
| height: 100% ; | |
| overflow-y: auto ; | |
| } | |
| /* 3. If you have a sidebar or main gallery grid, make sure they don't force a page stretch */ | |
| .gradio-row, .gradio-main, .grid { | |
| max-height: 100% ; | |
| } | |
| /* Sidebar Container */ | |
| #custom-sidebar { | |
| background-color: #0f172a ; | |
| /* Deep Slate 900 */ | |
| border-right: 1px solid #1e293b ; | |
| /* Slate 800 */ | |
| padding: 24px 16px ; | |
| display: flex; | |
| flex-direction: column; | |
| height: 100vh ; | |
| /* Ensures it spans full viewport height */ | |
| box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3) ; | |
| } | |
| /* App Brand Header */ | |
| .brand-header { | |
| margin-bottom: 32px; | |
| padding-left: 12px; | |
| border-bottom: 1px solid #1e293b; | |
| padding-bottom: 20px; | |
| } | |
| .brand-header h1 { | |
| font-size: 1.6rem ; | |
| font-weight: 800 ; | |
| background: linear-gradient(135deg, #f8fafc 0%, #94a3b8 100%); | |
| /* Subtle gradient */ | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| margin-bottom: 6px ; | |
| letter-spacing: -0.5px; | |
| } | |
| .brand-header p { | |
| font-size: 0.7rem; | |
| color: #64748b; | |
| /* Slate 500 */ | |
| text-transform: uppercase; | |
| letter-spacing: 1.5px; | |
| font-weight: 600; | |
| margin: 0; | |
| } | |
| /* Modern Navigation Buttons */ | |
| .nav-btn { | |
| text-align: left ; | |
| justify-content: flex-start ; | |
| background: transparent ; | |
| border: 1px solid transparent ; | |
| box-shadow: none ; | |
| color: #94a3b8 ; | |
| /* Slate 400 */ | |
| font-weight: 500 ; | |
| font-size: 0.95rem ; | |
| padding: 10px 16px ; | |
| border-radius: 10px ; | |
| transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) ; | |
| /* Smooth easing */ | |
| margin-bottom: 8px ; | |
| display: flex ; | |
| align-items: center ; | |
| gap: 10px ; | |
| /* Perfect emoji/text alignment */ | |
| } | |
| .nav-btn:hover { | |
| background-color: #1e293b ; | |
| /* Slate 800 */ | |
| color: #f8fafc ; | |
| /* Slate 50 */ | |
| border-color: #334155 ; | |
| /* Slate 700 */ | |
| transform: translateX(4px); | |
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) ; | |
| } | |
| .nav-btn:active { | |
| transform: translateX(2px) scale(0.98); | |
| /* Subtle click feedback */ | |
| } | |
| .stats-container .svelte-1b6s6s { | |
| background: transparent ; | |
| border: none ; | |
| box-shadow: none ; | |
| padding: 0 ; | |
| margin: 0 ; | |
| font-size: 1rem ; | |
| } | |
| /* Main Content Area (Dark Theme Match) */ | |
| .main-content { | |
| padding: 32px 48px; | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| background-color: #020617 ; | |
| /* Slate 950 (slightly darker than sidebar) */ | |
| color: #e2e8f0 ; | |
| min-height: 100vh; | |
| } | |
| /* Dark Settings Card */ | |
| .settings-card { | |
| background-color: #1e293b ; | |
| /* Surface level 1 */ | |
| border: 1px solid #334155 ; | |
| /* Dark Slate Border */ | |
| border-radius: 12px ; | |
| padding: 24px ; | |
| box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3) ; | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: space-between; | |
| } | |
| .settings-card h3 { | |
| margin-top: 0 ; | |
| font-size: 1.1rem ; | |
| color: #f8fafc ; | |
| font-weight: 600 ; | |
| } | |
| /* Customize Upload Area */ | |
| .upload-zone { | |
| border: 2px dashed #475569 ; | |
| border-radius: 12px ; | |
| background-color: #0f172a ; | |
| /* Surface level 2 */ | |
| transition: border-color 0.2s ease-in-out ; | |
| } | |
| .upload-zone:hover { | |
| border-color: #10b981 ; | |
| /* Emerald on hover */ | |
| } | |
| /* Ingest Console Log */ | |
| .console-wrapper { | |
| margin-top: 25px; | |
| } | |
| .console-wrapper h3 { | |
| font-size: 1rem ; | |
| color: #94a3b8 ; | |
| font-weight: 600 ; | |
| margin-bottom: 8px ; | |
| } | |
| .status-console textarea { | |
| font-family: 'Fira Code', 'Courier New', Courier, monospace ; | |
| background-color: #020617 ; | |
| /* Near Pitch Black */ | |
| color: #34d399 ; | |
| /* Terminal green */ | |
| border: 1px solid #1e293b ; | |
| border-radius: 8px ; | |
| padding: 12px ; | |
| font-size: 0.9rem ; | |
| line-height: 1.5 ; | |
| } | |
| .selection-status-box { | |
| background-color: #1e293b ; | |
| /* Surface Level 1 Dark background */ | |
| border: 1px solid #334155 ; | |
| /* Medium slate outline */ | |
| border-radius: 8px ; | |
| padding: 16px 20px ; | |
| width: 100% ; | |
| /* Forces component to span full screen width */ | |
| margin-bottom: 12px ; | |
| box-sizing: border-box ; | |
| } | |
| /* Cleaner, separate horizontal row for action buttons */ | |
| .selection-buttons-row { | |
| gap: 10px ; | |
| margin-bottom: 15px ; | |
| } | |
| .about-hero { | |
| background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) ; | |
| border: 1px solid #334155 ; | |
| border-radius: 12px ; | |
| padding: 30px ; | |
| margin-bottom: 25px ; | |
| } | |
| .about-hero h1 { | |
| font-size: 2.2rem ; | |
| font-weight: 800 ; | |
| color: #f8fafc ; | |
| margin-bottom: 6px ; | |
| } | |
| .about-hero h3 { | |
| font-size: 1.1rem ; | |
| font-weight: 500 ; | |
| color: #94a3b8 ; | |
| margin-top: 0 ; | |
| } | |
| /* Technology Badges */ | |
| .tech-badge { | |
| display: inline-block; | |
| background-color: #064e3b ; | |
| /* Dark forest green background */ | |
| color: #34d399 ; | |
| /* Light mint text */ | |
| padding: 4px 12px; | |
| border-radius: 9999px; | |
| font-size: 0.75rem; | |
| font-weight: 700; | |
| margin-right: 6px; | |
| margin-bottom: 10px; | |
| border: 1px solid #047857; | |
| letter-spacing: 0.5px; | |
| } | |
| /* Steps Grid Cards */ | |
| .about-card { | |
| background-color: #1e293b ; | |
| border: 1px solid #334155 ; | |
| border-radius: 10px ; | |
| padding: 24px ; | |
| height: 100%; | |
| transition: transform 0.2s ease, border-color 0.2s ease ; | |
| } | |
| .about-card:hover { | |
| transform: translateY(-3px); | |
| border-color: #10b981 ; | |
| /* Emerald highlight on hover */ | |
| } | |
| .about-card-icon { | |
| font-size: 2rem; | |
| margin-bottom: 12px; | |
| line-height: 1; | |
| } | |
| /* Targets Markdown inside cards to avoid global conflicts */ | |
| .about-card h3 { | |
| color: #f8fafc ; | |
| font-size: 1.15rem ; | |
| font-weight: 700 ; | |
| margin-top: 0 ; | |
| margin-bottom: 8px ; | |
| } | |
| .about-card p { | |
| color: #cbd5e1 ; | |
| font-size: 0.9rem ; | |
| line-height: 1.5 ; | |
| margin: 0 ; | |
| } | |
| /* Hackathon Announcement Footer */ | |
| .hackathon-footer { | |
| margin-top: 35px ; | |
| background-color: #020617 ; | |
| border: 1px solid #1e293b ; | |
| padding: 16px 24px ; | |
| border-radius: 8px ; | |
| align-items: center ; | |
| gap: 15px ; | |
| } |