The header bar, the nav row with its sliding underline, the settings menu slot, the skip link and the content column move out of the swarm UI's Shell into a router-free AppShell in @hive/shared, with their CSS. It takes the brand, the nav items, the current location and the link component, plus slots for extra tabs, settings entries and menus. The swarm UI's Shell keeps what is its own on top of it: the open agent-terminal tabs (their CSS moves to DynamicTabs.css), the swarm's settings, links and user menus, the swarm name and the full-bleed routes. No visible change; this is the base for the hive UI to reuse the same chrome.
27 lines
898 B
CSS
27 lines
898 B
CSS
/* Page-level base only — component styles are colocated with their
|
|
component (`AppShell.css` imported by the shared AppShell, etc.) and
|
|
land in the `main.css` companion esbuild emits alongside `main.js`
|
|
(see build.mjs), not here. This file stays just the shared reset
|
|
every page needs regardless of which components a route happens to
|
|
use. */
|
|
@import "@hive/shared/base.css";
|
|
|
|
/* base.css covers body/typography but not links — every page here links
|
|
out (hive-roster rows to each hive's own dashboard, nav, footer…), so
|
|
this is genuinely page-level, not any one component's concern. */
|
|
a {
|
|
color: var(--blue);
|
|
}
|
|
|
|
/* Text for a screen reader that is not drawn: the page's `<h1>`. */
|
|
.ui-visually-hidden {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
margin: -1px;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
clip-path: inset(50%);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|