Download frontend/src/index.css from sumandas/ostra: direct link, hf CLI and curl.
- Browser
- Download file 7.69 kB
-
https://huggingface.co/spaces/sumandas/ostra/resolve/main/frontend/src/index.css
- Command line
-
hf download hf://spaces/sumandas/ostra/frontend/src/index.css
-
curl -L -o index.css https://huggingface.co/spaces/sumandas/ostra/resolve/main/frontend/src/index.css
7.69 kB
| @import "tailwindcss"; | |
| @layer base { | |
| :root { | |
| color-scheme: light; | |
| --bg-canvas: #f7f8fa; | |
| --bg-paper: #ffffff; | |
| --bg-tint: #f1f4f8; | |
| --bg-hover: #e8edf3; | |
| --ink: #0f172a; | |
| --ink-secondary: #334155; | |
| --ink-muted: #64748b; | |
| --border-ink: #0f172a; | |
| --border-rule: #cbd5e1; | |
| --border-hairline: #dbe2ea; | |
| /* Vivid print-calibrated semantic signals on paper */ | |
| --signal-dense: #0284c7; | |
| --signal-bm25: #d97706; | |
| --signal-hybrid: #059669; | |
| --signal-pinned: #db2777; | |
| --signal-danger: #dc2626; | |
| --signal-violet: #7c3aed; | |
| --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", | |
| system-ui, sans-serif; | |
| --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, SFMono-Regular, | |
| Menlo, monospace; | |
| } | |
| * { | |
| box-sizing: border-box; | |
| border-color: var(--border-hairline); | |
| } | |
| html, | |
| body, | |
| #root { | |
| height: 100%; | |
| margin: 0; | |
| padding: 0; | |
| overflow: hidden; | |
| background-color: var(--bg-canvas); | |
| color: var(--ink); | |
| font-family: var(--font-sans); | |
| } | |
| code, | |
| pre, | |
| .font-mono { | |
| font-family: var(--font-mono); | |
| font-variant-numeric: tabular-nums; | |
| } | |
| } | |
| @layer components { | |
| .tabular-nums { | |
| font-variant-numeric: tabular-nums; | |
| } | |
| /* ========================================================================== | |
| Turbopuffer-Inspired Paper + Color Design System | |
| ========================================================================== */ | |
| /* Subtle archival dot-grid paper desk */ | |
| .paper-canvas { | |
| background-color: #f7f8fa; | |
| background-image: radial-gradient( | |
| rgba(15, 23, 42, 0.085) 0.9px, | |
| transparent 0.9px | |
| ); | |
| background-size: 16px 16px; | |
| contain: layout style; | |
| } | |
| /* Signature L-shaped halftone dot-matrix offset shadow (immune to z-index issues) */ | |
| .paper-card { | |
| position: relative; | |
| background-color: #ffffff; | |
| border: 1.5px solid #0f172a; | |
| border-radius: 1px; | |
| } | |
| .paper-card::before { | |
| content: ""; | |
| position: absolute; | |
| top: 4px; | |
| left: calc(100% + 1.5px); | |
| width: 5px; | |
| bottom: -6.5px; | |
| background-image: radial-gradient( | |
| circle, | |
| rgba(15, 23, 42, 0.58) 0.85px, | |
| transparent 0.85px | |
| ); | |
| background-size: 3px 3px; | |
| pointer-events: none; | |
| } | |
| .paper-card::after { | |
| content: ""; | |
| position: absolute; | |
| left: 4px; | |
| top: calc(100% + 1.5px); | |
| height: 5px; | |
| right: -1.5px; | |
| background-image: radial-gradient( | |
| circle, | |
| rgba(15, 23, 42, 0.58) 0.85px, | |
| transparent 0.85px | |
| ); | |
| background-size: 3px 3px; | |
| pointer-events: none; | |
| } | |
| /* Compact paper box with tighter 3.5px halftone shadow (for chips, popovers, controls) */ | |
| .paper-box { | |
| position: relative; | |
| background-color: #ffffff; | |
| border: 1px solid #0f172a; | |
| border-radius: 1px; | |
| } | |
| .paper-box::before { | |
| content: ""; | |
| position: absolute; | |
| top: 3px; | |
| left: calc(100% + 1px); | |
| width: 3.5px; | |
| bottom: -4.5px; | |
| background-image: radial-gradient( | |
| circle, | |
| rgba(15, 23, 42, 0.52) 0.75px, | |
| transparent 0.75px | |
| ); | |
| background-size: 2.5px 2.5px; | |
| pointer-events: none; | |
| } | |
| .paper-box::after { | |
| content: ""; | |
| position: absolute; | |
| left: 3px; | |
| top: calc(100% + 1px); | |
| height: 3.5px; | |
| right: -1px; | |
| background-image: radial-gradient( | |
| circle, | |
| rgba(15, 23, 42, 0.52) 0.75px, | |
| transparent 0.75px | |
| ); | |
| background-size: 2.5px 2.5px; | |
| pointer-events: none; | |
| } | |
| /* Paper panel for containers that require overflow-hidden */ | |
| .paper-panel { | |
| background-color: #ffffff; | |
| border: 1.5px solid #0f172a; | |
| border-radius: 1px; | |
| box-shadow: 4px 4px 0 rgba(15, 23, 42, 0.14); | |
| } | |
| /* Tactile ink-outlined paper button (like Turbopuffer "Customer log ->") */ | |
| .paper-btn { | |
| position: relative; | |
| background-color: #ffffff; | |
| color: #0f172a; | |
| border: 1.5px solid #0f172a; | |
| border-radius: 1px; | |
| font-family: var(--font-mono); | |
| box-shadow: 2.5px 2.5px 0 rgba(15, 23, 42, 0.22); | |
| transition: background-color 120ms ease, transform 80ms ease, | |
| box-shadow 80ms ease; | |
| } | |
| .paper-btn:hover:not(:disabled) { | |
| background-color: #f1f4f8; | |
| } | |
| .paper-btn:active:not(:disabled) { | |
| transform: translate(1px, 1px); | |
| box-shadow: 1px 1px 0 rgba(15, 23, 42, 0.22); | |
| } | |
| /* Primary carbon-ink action button */ | |
| .paper-btn-ink { | |
| position: relative; | |
| background-color: #0f172a; | |
| color: #ffffff; | |
| border: 1.5px solid #0f172a; | |
| border-radius: 1px; | |
| font-family: var(--font-mono); | |
| box-shadow: 2.5px 2.5px 0 rgba(15, 23, 42, 0.25); | |
| transition: background-color 120ms ease, transform 80ms ease, | |
| box-shadow 80ms ease; | |
| } | |
| .paper-btn-ink:hover:not(:disabled) { | |
| background-color: #1e293b; | |
| } | |
| .paper-btn-ink:active:not(:disabled) { | |
| transform: translate(1px, 1px); | |
| box-shadow: 1px 1px 0 rgba(15, 23, 42, 0.25); | |
| } | |
| /* Dotted underline for interactive / glossary terms */ | |
| .paper-dotted { | |
| text-decoration: underline; | |
| text-decoration-style: dotted; | |
| text-underline-offset: 3px; | |
| text-decoration-color: #64748b; | |
| } | |
| /* Floating fieldset-style legend breaking a top border */ | |
| .paper-legend { | |
| position: absolute; | |
| top: -9px; | |
| left: 10px; | |
| padding: 0 6px; | |
| background-color: #f7f8fa; | |
| font-family: var(--font-mono); | |
| font-size: 11px; | |
| font-weight: 600; | |
| color: #0f172a; | |
| letter-spacing: -0.01em; | |
| } | |
| } | |
| /* Tactile mechanical Turbopuffer range slider */ | |
| input[type="range"] { | |
| -webkit-appearance: none; | |
| appearance: none; | |
| background: transparent; | |
| height: 18px; | |
| cursor: pointer; | |
| } | |
| input[type="range"]:focus { | |
| outline: none; | |
| } | |
| input[type="range"]::-webkit-slider-runnable-track { | |
| height: 8px; | |
| background: #e8edf3; | |
| border: 1.5px solid #0f172a; | |
| border-radius: 1px; | |
| } | |
| input[type="range"]::-webkit-slider-thumb { | |
| -webkit-appearance: none; | |
| appearance: none; | |
| width: 11px; | |
| height: 18px; | |
| margin-top: -6.5px; | |
| background: #ffffff; | |
| border: 2px solid #0f172a; | |
| border-radius: 2px; | |
| box-shadow: 1.5px 1.5px 0 rgba(15, 23, 42, 0.28); | |
| transition: transform 80ms ease, background-color 100ms ease; | |
| } | |
| input[type="range"]:hover::-webkit-slider-thumb { | |
| background: #f1f4f8; | |
| } | |
| input[type="range"]:active::-webkit-slider-thumb { | |
| background: #0f172a; | |
| } | |
| input[type="range"]::-moz-range-track { | |
| height: 8px; | |
| background: #e8edf3; | |
| border: 1.5px solid #0f172a; | |
| border-radius: 1px; | |
| } | |
| input[type="range"]::-moz-range-thumb { | |
| width: 11px; | |
| height: 18px; | |
| background: #ffffff; | |
| border: 2px solid #0f172a; | |
| border-radius: 2px; | |
| box-shadow: 1.5px 1.5px 0 rgba(15, 23, 42, 0.28); | |
| } | |
| /* Semantic accent sliders (colored filled track tint via class) */ | |
| input[type="range"].slider-dense::-webkit-slider-runnable-track { | |
| background: #e0f2fe; | |
| border-color: #0369a1; | |
| } | |
| input[type="range"].slider-dense::-webkit-slider-thumb { | |
| border-color: #0369a1; | |
| } | |
| input[type="range"].slider-bm25::-webkit-slider-runnable-track { | |
| background: #fef3c7; | |
| border-color: #b45309; | |
| } | |
| input[type="range"].slider-bm25::-webkit-slider-thumb { | |
| border-color: #b45309; | |
| } | |
| input[type="range"].slider-hybrid::-webkit-slider-runnable-track { | |
| background: #d1fae5; | |
| border-color: #047857; | |
| } | |
| input[type="range"].slider-hybrid::-webkit-slider-thumb { | |
| border-color: #047857; | |
| } | |
| /* Crisp custom scrollbars for archival paper aesthetic */ | |
| ::-webkit-scrollbar { | |
| width: 7px; | |
| height: 7px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #f1f4f8; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: #cbd5e1; | |
| border: 1px solid #94a3b8; | |
| border-radius: 1px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: #94a3b8; | |
| border-color: #475569; | |
| } | |