ui: remove top header, move CPU/RAM/disk + clock into the footer

Header bar dropped from all pages; brand, system stats (#sys-stats) and clock
(#clock) now live in the 22px footer next to the version. .layout fills the
full height minus the footer. ensureFooter runs before startClock/refreshStats
so the moved elements exist when populated.

VERSION 0.0.136.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-01 20:56:59 +05:00
parent b07bf2d874
commit e2e03054ac
8 changed files with 10 additions and 41 deletions
+5 -3
View File
@@ -47,16 +47,18 @@ nav a.active { background: var(--accent); color: #fff; }
.stats b { color: var(--text); font-weight: 600; }
.clock { font-variant-numeric: tabular-nums; color: var(--text); }
/* ── Раскладка ── */
.layout { display: flex; height: calc(100% - var(--header-h) - var(--footer-h)); }
/* ── Раскладка (хедер убран — контент во всю высоту минус футер) ── */
.layout { display: flex; height: calc(100% - var(--footer-h)); }
/* ── Футер ── */
/* ── Футер (бренд + CPU/RAM/диск + часы + версия) ── */
footer.app-footer {
height: var(--footer-h); display: flex; align-items: center; gap: 14px;
padding: 0 14px; background: var(--panel); border-top: 1px solid var(--border);
font-size: 11px; color: var(--text-dim);
}
footer.app-footer .brand { font-size: 12px; }
footer.app-footer .stats { display: flex; gap: 14px; font-size: 11px; }
footer.app-footer .clock { font-size: 11px; color: var(--text); }
footer.app-footer #footer-version { font-variant-numeric: tabular-nums; }
aside {
width: var(--sidebar-w); background: var(--panel); border-right: 1px solid var(--border);