diff options
| author | Adam Malczewski <[email protected]> | 2026-10-15 10:00:18 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-10-15 10:00:18 +0900 |
| commit | dfd279fbe1c50743dc8105715fef7e74402f4564 (patch) | |
| tree | 48d396eff02431d0aeaf1800487f2005519b4af3 /src/app/App.svelte | |
| parent | c46c0e5a308f8266f80a47ba3da768e102d37eaa (diff) | |
| download | dispatch-web-dfd279fbe1c50743dc8105715fef7e74402f4564.tar.gz dispatch-web-dfd279fbe1c50743dc8105715fef7e74402f4564.zip | |
feat(ui): raised (popped-out) home tiles, the inverse of the inset well; shared navbar look on the home header
Diffstat (limited to 'src/app/App.svelte')
| -rw-r--r-- | src/app/App.svelte | 37 |
1 files changed, 3 insertions, 34 deletions
diff --git a/src/app/App.svelte b/src/app/App.svelte index 4dac85a..034f3e7 100644 --- a/src/app/App.svelte +++ b/src/app/App.svelte @@ -93,10 +93,10 @@ the top row now shows the active tab's title on the left (or "New Tab" for an unstarted draft), with the build version + sidebar toggle on the right. CHROME — stays outside the tree (layout-00 decision 2). - `.app-navbar` (below): the Artix wiki's darkstrap navbar look. --> - <div class="app-navbar flex items-center justify-between gap-2 px-2 py-2"> + `.app-navbar` (app.css): the Artix wiki's darkstrap navbar look. --> + <div class="app-navbar flex items-center justify-between gap-2 px-2 pt-[calc(0.5rem+5px)] pb-2"> <span - class="min-w-0 flex-1 shrink truncate pl-2 text-sm font-semibold text-primary" + class="app-navbar-engraved min-w-0 flex-1 shrink truncate pl-2 text-sm font-semibold text-primary" data-testid="top-bar-title" title={topBarTitle} aria-label="Active conversation title" @@ -220,34 +220,3 @@ /> {/key} {/if} - -<style> - /* The Artix wiki's navbar (darkstrap `.navbar-inner` on a fixed-top bar): - a top-to-bottom gradient (#444 → #222), a soft drop shadow under the bar - (0 1px 10px), and text - engraved with a 1px black text-shadow. Ported onto the active daisyUI - theme so it always matches. darkstrap's bar is LIGHTER than its near-black - page (that's what makes the border + shadow read), so the gradient is - shifted to keep that relationship on our lighter page: it runs from the - page colour (base-100) lifted 20% toward the text colour down to base-100 - lifted 3%. No bottom border (darkstrap has a 1px #030303 one — removed by - user request; the gradient + shadow carry the edge). The shadow is 0.5 - (darkstrap: 0.1 — invisible on our lighter page). - Positioned + z-indexed so the shadow paints over the content below. */ - .app-navbar { - position: relative; - z-index: 10; - flex-shrink: 0; - padding-top: calc(0.5rem + 5px); - background-image: linear-gradient( - to bottom, - color-mix(in srgb, var(--color-base-100) 80%, var(--color-base-content)), - color-mix(in srgb, var(--color-base-100) 97%, var(--color-base-content)) - ); - box-shadow: 0 1px 10px rgb(0 0 0 / 0.5); - } - /* Engraved text — the title only; on the tiny faint build label it muddies. */ - .app-navbar :global([data-testid="top-bar-title"]) { - text-shadow: 0 1px 0 black; - } -</style> |
