Download frontend/src/styles/globals.css from Rixhot/ZARAI: direct link, hf CLI and curl.
- Browser
- Download file 6.14 kB
-
https://huggingface.co/spaces/Rixhot/ZARAI/resolve/main/frontend/src/styles/globals.css
- Command line
-
hf download hf://spaces/Rixhot/ZARAI/frontend/src/styles/globals.css
-
curl -L -o globals.css https://huggingface.co/spaces/Rixhot/ZARAI/resolve/main/frontend/src/styles/globals.css
6.14 kB
| @tailwind base; | |
| @tailwind components; | |
| @tailwind utilities; | |
| /* ββ Custom CSS variables βββββββββββββββββββββββββ */ | |
| :root { | |
| --jarvis-accent: #00d4ff; | |
| --jarvis-accent2: #7c3aed; | |
| --jarvis-bg: #0a0e1a; | |
| --jarvis-surface: #0f1629; | |
| --jarvis-panel: #141d35; | |
| --jarvis-border: #1e2d52; | |
| --jarvis-success: #00e5a0; | |
| --jarvis-text: #e8eaf6; | |
| --jarvis-muted: #7986cb; | |
| } | |
| /* ββ Base βββββββββββββββββββββββββββββββββββββββββ */ | |
| * { | |
| box-sizing: border-box; | |
| } | |
| html, body, #root { | |
| height: 100%; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| body { | |
| background-color: var(--jarvis-bg); | |
| color: var(--jarvis-text); | |
| font-family: 'Sora', system-ui, sans-serif; | |
| -webkit-font-smoothing: antialiased; | |
| overflow: hidden; /* No body scroll β panels handle their own scroll */ | |
| } | |
| /* ββ Scrollbar styling ββββββββββββββββββββββββββββ */ | |
| ::-webkit-scrollbar { width: 4px; height: 4px; } | |
| ::-webkit-scrollbar-track { background: var(--jarvis-surface); } | |
| ::-webkit-scrollbar-thumb { background: var(--jarvis-border); border-radius: 2px; } | |
| ::-webkit-scrollbar-thumb:hover { background: var(--jarvis-muted); } | |
| /* ββ Selection ββββββββββββββββββββββββββββββββββββ */ | |
| ::selection { | |
| background: rgba(0, 212, 255, 0.25); | |
| color: #fff; | |
| } | |
| /* ββ Custom component classes βββββββββββββββββββββ */ | |
| @layer components { | |
| /* Glowing border on hover */ | |
| .glow-border { | |
| @apply border border-jarvis-border transition-all duration-300; | |
| } | |
| .glow-border:hover { | |
| border-color: rgba(0, 212, 255, 0.5); | |
| box-shadow: 0 0 12px rgba(0, 212, 255, 0.2), inset 0 0 12px rgba(0, 212, 255, 0.05); | |
| } | |
| /* Accent button */ | |
| .btn-accent { | |
| @apply bg-jarvis-accent text-jarvis-bg font-semibold px-4 py-2 rounded-lg | |
| transition-all duration-200 hover:brightness-110 active:scale-95 | |
| disabled:opacity-40 disabled:cursor-not-allowed; | |
| } | |
| /* Ghost button */ | |
| .btn-ghost { | |
| @apply border border-jarvis-border text-jarvis-muted px-4 py-2 rounded-lg | |
| transition-all duration-200 hover:border-jarvis-accent hover:text-jarvis-accent | |
| active:scale-95 disabled:opacity-40; | |
| } | |
| /* Panel card */ | |
| .panel { | |
| @apply bg-jarvis-panel border border-jarvis-border rounded-xl; | |
| } | |
| /* Input field */ | |
| .input-field { | |
| @apply bg-jarvis-surface border border-jarvis-border rounded-lg px-3 py-2 | |
| text-jarvis-text placeholder-jarvis-dim | |
| focus:outline-none focus:border-jarvis-accent focus:ring-1 focus:ring-jarvis-accent/30 | |
| transition-colors duration-200; | |
| } | |
| /* Message bubble β user */ | |
| .msg-user { | |
| @apply bg-gradient-to-br from-jarvis-accent2/20 to-jarvis-accent/10 | |
| border border-jarvis-accent2/30 rounded-2xl rounded-tr-sm px-4 py-3; | |
| } | |
| /* Message bubble β assistant */ | |
| .msg-assistant { | |
| @apply bg-jarvis-panel border border-jarvis-border | |
| rounded-2xl rounded-tl-sm px-4 py-3; | |
| } | |
| /* Typing indicator dots */ | |
| .typing-dot { | |
| @apply w-2 h-2 rounded-full bg-jarvis-accent; | |
| animation: typingBounce 1.2s infinite; | |
| } | |
| .typing-dot:nth-child(2) { animation-delay: 0.2s; } | |
| .typing-dot:nth-child(3) { animation-delay: 0.4s; } | |
| } | |
| /* ββ Keyframes ββββββββββββββββββββββββββββββββββββ */ | |
| @keyframes typingBounce { | |
| 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } | |
| 30% { transform: translateY(-6px); opacity: 1; } | |
| } | |
| @keyframes glowPulse { | |
| 0%, 100% { box-shadow: 0 0 8px rgba(0, 212, 255, 0.3); } | |
| 50% { box-shadow: 0 0 24px rgba(0, 212, 255, 0.7); } | |
| } | |
| /* ββ Prose / Markdown overrides βββββββββββββββββββ */ | |
| .prose-jarvis { | |
| color: var(--jarvis-text); | |
| line-height: 1.7; | |
| } | |
| .prose-jarvis h1, | |
| .prose-jarvis h2, | |
| .prose-jarvis h3 { | |
| color: var(--jarvis-accent); | |
| font-family: 'Orbitron', sans-serif; | |
| margin-top: 1.2em; | |
| } | |
| .prose-jarvis code { | |
| font-family: 'JetBrains Mono', monospace; | |
| background: rgba(0, 212, 255, 0.08); | |
| border: 1px solid rgba(0, 212, 255, 0.2); | |
| padding: 2px 6px; | |
| border-radius: 4px; | |
| font-size: 0.875em; | |
| color: var(--jarvis-accent); | |
| } | |
| .prose-jarvis pre { | |
| background: #070c18 ; | |
| border: 1px solid var(--jarvis-border); | |
| border-radius: 8px; | |
| overflow-x: auto; | |
| } | |
| .prose-jarvis pre code { | |
| background: none; | |
| border: none; | |
| padding: 0; | |
| color: inherit; | |
| } | |
| .prose-jarvis blockquote { | |
| border-left: 3px solid var(--jarvis-accent); | |
| padding-left: 1rem; | |
| color: var(--jarvis-muted); | |
| font-style: italic; | |
| } | |
| .prose-jarvis a { | |
| color: var(--jarvis-accent); | |
| text-decoration: underline; | |
| text-decoration-color: rgba(0, 212, 255, 0.4); | |
| } | |
| .prose-jarvis a:hover { text-decoration-color: var(--jarvis-accent); } | |
| .prose-jarvis strong { color: #fff; font-weight: 600; } | |
| .prose-jarvis table { | |
| border-collapse: collapse; | |
| width: 100%; | |
| } | |
| .prose-jarvis th { | |
| background: var(--jarvis-surface); | |
| padding: 8px 12px; | |
| text-align: left; | |
| font-size: 0.8rem; | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| color: var(--jarvis-muted); | |
| border-bottom: 1px solid var(--jarvis-border); | |
| } | |
| .prose-jarvis td { | |
| padding: 8px 12px; | |
| border-bottom: 1px solid rgba(30, 45, 82, 0.5); | |
| } | |
| .prose-jarvis ul { list-style: none; padding-left: 0; } | |
| .prose-jarvis ul li::before { | |
| content: 'βΈ'; | |
| color: var(--jarvis-accent); | |
| margin-right: 8px; | |
| } | |
| /* ββ Waveform visualizer ββββββββββββββββββββββββββ */ | |
| .waveform-container wave { | |
| height: 48px ; | |
| } | |
| /* ββ Grid background overlay ββββββββββββββββββββββ */ | |
| .bg-grid { | |
| background-image: | |
| linear-gradient(rgba(0,212,255,0.025) 1px, transparent 1px), | |
| linear-gradient(90deg, rgba(0,212,255,0.025) 1px, transparent 1px); | |
| background-size: 40px 40px; | |
| } | |