Spaces:
Sleeping
Sleeping
Download ui.css from Parveshiiii/AIRealNet-Audio: direct link, hf CLI and curl.
- Browser
- Download file 6.06 kB
-
https://huggingface.co/spaces/Parveshiiii/AIRealNet-Audio/resolve/main/ui.css
- Command line
-
hf download hf://spaces/Parveshiiii/AIRealNet-Audio/ui.css
-
curl -L -o ui.css https://huggingface.co/spaces/Parveshiiii/AIRealNet-Audio/resolve/main/ui.css
6.06 kB
| :root { | |
| --primary: #2563eb; | |
| --primary-hover: #1d4ed8; | |
| --primary-subtle: #eff6ff; | |
| --surface: #ffffff; | |
| --surface-alt: #f8fafc; | |
| --surface-border: #e2e8f0; | |
| --text-title: #0f172a; | |
| --text-body: #475467; | |
| --text-muted: #64748b; | |
| --hero-bg: #ffffff; | |
| --hero-border: #e2e8f0; | |
| --pill-bg: #f8fafc; | |
| --pill-border: #e2e8f0; | |
| --callout-bg: #f8fafc; | |
| --card-bg: #ffffff; | |
| } | |
| /* Dark Mode Integration */ | |
| .dark, | |
| .dark .gradio-container, | |
| body.dark, | |
| [data-theme='dark'] { | |
| --primary: #3b82f6; | |
| --primary-hover: #2563eb; | |
| --primary-subtle: rgba(37, 99, 235, 0.12); | |
| --surface: #0f172a; | |
| --surface-alt: #1e293b; | |
| --surface-border: #334155; | |
| --text-title: #f8fafc; | |
| --text-body: #cbd5e1; | |
| --text-muted: #94a3b8; | |
| --hero-bg: #1e293b; | |
| --hero-border: #334155; | |
| --pill-bg: #0f172a; | |
| --pill-border: #334155; | |
| --callout-bg: #0f172a; | |
| --card-bg: #1e293b; | |
| } | |
| .gradio-container { | |
| max-width: 1140px ; | |
| margin: 0 auto ; | |
| padding: 24px 16px 40px ; | |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif ; | |
| } | |
| .app-shell { | |
| width: 100%; | |
| } | |
| /* Professional Hero Section */ | |
| .hero { | |
| padding: 32px 36px; | |
| margin-bottom: 24px; | |
| border-radius: 16px; | |
| background: var(--hero-bg); | |
| border: 1px solid var(--hero-border); | |
| box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); | |
| } | |
| .hero-top { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| flex-wrap: wrap; | |
| gap: 12px; | |
| margin-bottom: 16px; | |
| } | |
| .hero-badge { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 8px; | |
| padding: 4px 12px; | |
| background: var(--primary-subtle); | |
| border: 1px solid var(--surface-border); | |
| border-radius: 6px; | |
| color: var(--primary); | |
| font-size: 12px; | |
| font-weight: 600; | |
| letter-spacing: 0.02em; | |
| text-transform: uppercase; | |
| } | |
| .hero-chip { | |
| display: inline-flex; | |
| align-items: center; | |
| padding: 4px 10px; | |
| background: var(--surface-alt); | |
| border: 1px solid var(--surface-border); | |
| border-radius: 6px; | |
| color: var(--text-muted); | |
| font-size: 12px; | |
| font-weight: 500; | |
| } | |
| .status-dot { | |
| width: 7px; | |
| height: 7px; | |
| border-radius: 50%; | |
| background: #10b981; | |
| } | |
| .hero-main { | |
| margin-bottom: 20px; | |
| } | |
| .hero-title { | |
| font-size: clamp(28px, 4vw, 36px) ; | |
| font-weight: 700 ; | |
| line-height: 1.2 ; | |
| margin: 0 0 10px 0 ; | |
| color: var(--text-title) ; | |
| letter-spacing: -0.02em ; | |
| } | |
| .title-accent { | |
| color: var(--primary); | |
| } | |
| .hero-subtitle { | |
| font-size: 15px; | |
| line-height: 1.6; | |
| color: var(--text-body); | |
| margin: 0; | |
| max-width: 800px; | |
| } | |
| .hero-pills { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 8px; | |
| } | |
| .pill { | |
| display: inline-flex; | |
| align-items: center; | |
| padding: 6px 12px; | |
| background: var(--pill-bg); | |
| border: 1px solid var(--pill-border); | |
| border-radius: 6px; | |
| font-size: 12.5px; | |
| font-weight: 500; | |
| color: var(--text-muted); | |
| } | |
| /* Primary Button Styling */ | |
| .gradio-container .gr-button-primary, | |
| button.primary-btn { | |
| background: var(--primary) ; | |
| color: #ffffff ; | |
| border: none ; | |
| border-radius: 8px ; | |
| font-size: 15px ; | |
| font-weight: 600 ; | |
| letter-spacing: 0.01em ; | |
| padding: 12px 20px ; | |
| min-height: 46px ; | |
| box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) ; | |
| transition: background-color 0.15s ease, transform 0.1s ease ; | |
| cursor: pointer ; | |
| } | |
| .gradio-container .gr-button-primary:hover, | |
| button.primary-btn:hover { | |
| background: var(--primary-hover) ; | |
| transform: translateY(-1px); | |
| } | |
| .gradio-container .gr-button-primary:active, | |
| button.primary-btn:active { | |
| transform: translateY(0); | |
| } | |
| /* Verdict Result Card */ | |
| .result-card { | |
| padding: 22px 24px ; | |
| border-radius: 12px ; | |
| border: 1px solid var(--surface-border) ; | |
| background: var(--card-bg) ; | |
| color: var(--text-title) ; | |
| box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) ; | |
| min-height: 170px; | |
| } | |
| .result-card h2 { | |
| font-size: 22px ; | |
| font-weight: 700 ; | |
| margin-top: 0 ; | |
| margin-bottom: 12px ; | |
| letter-spacing: -0.01em; | |
| } | |
| .result-badge-ai { | |
| color: #dc2626 ; | |
| } | |
| .result-badge-human { | |
| color: #16a34a ; | |
| } | |
| .card-callout { | |
| padding: 12px 16px; | |
| background: var(--callout-bg); | |
| border-left: 3px solid var(--primary); | |
| border-radius: 0 6px 6px 0; | |
| font-size: 13px; | |
| line-height: 1.5; | |
| color: var(--text-muted); | |
| margin-top: 14px; | |
| } | |
| /* Form Elements & Dropdowns (Guaranteed visibility in Light & Dark mode) */ | |
| .gradio-container select, | |
| .gradio-container input, | |
| .gradio-container textarea, | |
| .gradio-container .gr-dropdown, | |
| .gradio-container [data-testid="dropdown"] { | |
| border-radius: 8px ; | |
| font-size: 14px ; | |
| } | |
| /* Light Mode Input & Dropdown Fix */ | |
| :root:not(.dark) .gradio-container input, | |
| :root:not(.dark) .gradio-container select, | |
| :root:not(.dark) .gradio-container textarea, | |
| :root:not(.dark) .gradio-container .gr-dropdown, | |
| :root:not(.dark) .gradio-container .wrap, | |
| :root:not(.dark) .gradio-container .secondary-wrap { | |
| color: #0f172a ; | |
| } | |
| :root:not(.dark) .gradio-container input::placeholder, | |
| :root:not(.dark) .gradio-container .single-select { | |
| color: #0f172a ; | |
| font-weight: 500; | |
| } | |
| /* Dark Mode Input & Dropdown Overrides */ | |
| .dark .gradio-container input, | |
| .dark .gradio-container select, | |
| .dark .gradio-container textarea, | |
| .dark .gradio-container .gr-dropdown, | |
| .dark .gradio-container .single-select { | |
| color: #f8fafc ; | |
| } | |
| .dark .gradio-container input::placeholder { | |
| color: #94a3b8 ; | |
| } | |
| /* Slider, Checkbox & Form element accent */ | |
| .gradio-container input[type="range"] { | |
| accent-color: var(--primary) ; | |
| } | |
| footer { | |
| display: none ; | |
| } | |
| /* Responsive Adjustments */ | |
| @media (max-width: 768px) { | |
| .hero { | |
| padding: 24px 20px; | |
| border-radius: 12px; | |
| } | |
| .hero-title { | |
| font-size: 24px ; | |
| } | |
| .hero-subtitle { | |
| font-size: 13.5px; | |
| } | |
| } | |