Files
simply-dvb/web/css/20-shell.css
T
Mateusz Gruszczyński c30064b531
build / test (push) Canceled after 0s
build / deb (amd64) (push) Canceled after 0s
build / deb (arm64) (push) Canceled after 0s
build / deb (armhf) (push) Canceled after 0s
first commit
2026-11-16 16:19:21 +01:00

39 lines
3.4 KiB
CSS

/* ---------------------------------------------------------------- shell */
.shell { display: flex; min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 52px; background: var(--sidebar-bg); border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: stretch; padding: 10px 0; gap: 4px; z-index: 20; transition: width .15s; overflow: hidden; }
.sidebar:hover { width: 190px; box-shadow: 4px 0 18px #0006; }
.sidebar a { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 15px; color: var(--muted); border-left: 2px solid transparent; white-space: nowrap; }
.sidebar a span { display: none; font-size: 13px; }
.sidebar:hover a span { display: inline; }
.sidebar a:hover { color: var(--text); background: var(--nav-active-bg); }
.sidebar a.active { color: var(--green); background: var(--nav-active-bg); border-left-color: var(--green); }
.sidebar svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sidebar svg .fill { fill: currentColor; }
.brand-mark { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; box-sizing: border-box; width: 34px; height: 34px; border: 2px solid var(--accent); color: var(--accent); font: 700 13px/1 var(--mono); letter-spacing: -.02em; border-radius: 4px; white-space: nowrap; }
.brand-mark.big { width: 54px; height: 54px; font-size: 20px; margin: 0 0 18px; }
/* Sidebar brand link: its own box, not styled like the nav items (no left border/padding/hover). */
.sidebar a.brand { height: 48px; padding: 0 0 0 9px; margin-bottom: 8px; border-left: 0; background: none; }
.sidebar a.brand:hover { background: none; }
.sidebar a.brand .brand-mark { display: inline-flex; }
.sidebar-foot { margin-top: auto; display: flex; justify-content: center; padding: 10px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--subtle); display: inline-block; }
.live-dot.on { background: var(--green); box-shadow: 0 0 6px var(--green); }
.live-dot.off { background: var(--red); }
.main { flex: 1; margin-left: 52px; min-width: 0; }
.topbar { display: flex; justify-content: space-between; align-items: center; height: 42px; padding: 0 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg); z-index: 10; }
.crumbs { font: 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; }
.crumbs #crumb { color: var(--text); text-transform: none; letter-spacing: .04em; }
.crumbs .sep { color: var(--subtle); }
.top-actions { display: flex; gap: 8px; align-items: center; }
.who { font: 11px var(--mono); color: var(--muted); padding: 0 6px; }
.view { padding: 18px 18px 40px; }
/* ---------------------------------------------------------------- page header */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.eyebrow { font: 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--green); display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.page-head h1 { font-size: 26px; }
.page-head p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }