Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/frontend/packages/swarm-ui/src/pages/swarm/SwarmPage.css
iris 5d5df29687 swarm-ui: shared code leaves page folders; SectionHeading and Preformatted replace per-page copies
durationLabel moves to util.ts, termPaths to agent/terminal/term-paths.ts,
StateBadges and tokenTotal to agent/state, and TryOutResult to
pages/review-common, so the builds, runs and agent pages no longer import
across page folders. SectionHeading is the body-size section heading the
create form and the egress card each styled; Preformatted is the scrolling
text block of the builds tail and the AGENTS.md view, which now share one
chrome and are both keyboard-scrollable. The components page shows both.
2026-11-06 19:09:18 +01:00

47 lines
1.1 KiB
CSS

/* The cards on the swarm page: hives, then the notification router. */
.ui-swarm-card {
margin-block-end: 0.5em;
}
/* The warning at the top of the beta notification router card. */
.ui-swarm-beta {
margin: 0 0 0.75em;
padding: 0.5em 0.75em;
border: 1px solid var(--yellow);
border-left-width: 4px;
border-radius: 0.4em;
background: color-mix(in srgb, var(--yellow) 12%, transparent);
}
/* The egress card: the swarm-wide allowed domains, one per line. */
.ui-swarm-egress-help {
margin: 0 0 0.75em;
}
.ui-swarm-egress-list {
list-style: none;
margin: 0 0 0.5em;
padding: 0;
display: grid;
gap: 0.3em;
}
.ui-swarm-egress-list li {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1em;
padding: 0.25em 0;
border-bottom: 1px solid var(--border);
}
.ui-swarm-egress-section + .ui-swarm-egress-section {
margin-top: 1.25em;
padding-top: 1em;
border-top: 1px dashed var(--border);
}
.ui-swarm-egress-heading {
margin-bottom: 0.35em;
}
.ui-swarm-egress-behind {
margin: 0 0 0.75em;
padding: 0.4em 0.7em;
border: 1px solid var(--yellow);
border-left-width: 4px;
border-radius: 0.4em;
}