diff --git a/resources/css/app.css b/resources/css/app.css index 4e3b462..f8c3c69 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -51,6 +51,10 @@ --radius-sm: 6px; --radius-md: 8px; --radius-lg: 10px; + + /* elevation → shadow-panel / shadow-pop */ + --shadow-panel: inset 0 1px 0 rgb(255 255 255 / 0.03), 0 1px 2px rgb(0 0 0 / 0.4), 0 14px 30px -18px rgb(0 0 0 / 0.85); + --shadow-pop: 0 10px 34px -10px rgb(0 0 0 / 0.75); } /* ── base layer ───────────────────────────────────────────────────────── */ @@ -81,13 +85,33 @@ } body { - background-color: var(--color-base); + background-color: var(--color-void); color: var(--color-ink); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; } + /* atmospheric void: fine dot-grid + orange top vignette + bottom sink */ + body::before { + content: ''; + position: fixed; + inset: 0; + z-index: 0; + pointer-events: none; + background: + radial-gradient(120% 70% at 50% -8%, rgb(255 107 44 / 0.07), transparent 55%), + radial-gradient(100% 60% at 50% 112%, rgb(0 0 0 / 0.55), transparent 50%), + radial-gradient(circle at 1px 1px, rgb(255 255 255 / 0.028) 1px, transparent 0); + background-size: auto, auto, 22px 22px; + } + + /* thin dark scrollbars */ + ::-webkit-scrollbar { width: 10px; height: 10px; } + ::-webkit-scrollbar-track { background: transparent; } + ::-webkit-scrollbar-thumb { background: var(--color-raised); border-radius: 9px; border: 2px solid var(--color-base); } + ::-webkit-scrollbar-thumb:hover { background: var(--color-line-strong); } + /* numbers/IPs/paths render mono */ .tabular { font-variant-numeric: tabular-nums; diff --git a/resources/views/components/kpi.blade.php b/resources/views/components/kpi.blade.php index cfc88fb..2e18d53 100644 --- a/resources/views/components/kpi.blade.php +++ b/resources/views/components/kpi.blade.php @@ -9,7 +9,7 @@ 'offline' => 'bg-offline', 'accent' => 'bg-accent', 'cyan' => 'bg-cyan', ][$tone] ?? 'bg-accent'; @endphp -
{{ $label }}
@if ($icon) diff --git a/resources/views/components/nav-item.blade.php b/resources/views/components/nav-item.blade.php index 300a079..4f7e6a6 100644 --- a/resources/views/components/nav-item.blade.php +++ b/resources/views/components/nav-item.blade.php @@ -2,10 +2,10 @@ $active, + 'border-accent/25 bg-accent/10 text-ink shadow-[inset_2px_0_0_var(--color-accent)]' => $active, 'border-transparent text-ink-2 hover:bg-raised hover:text-ink' => ! $active, ]) @if ($active) aria-current="page" @endif> -