Accessibility pass, command palette actions, row detail panel, server activity, map, wall display and setup guide

Accessibility: skip link, labelled landmarks, visible focus, page-change
announcements, sortable headings as real buttons, every label tied to its
field, named row checkboxes, and text contrast raised to 4.5:1 in both themes.
Command palette: also runs actions (silence/end maintenance, theme, density,
wall display, sign out) and is a proper dialog; g-then-letter shortcuts, "/" and
"?". Row detail panel for six tables. Server Activity card, with the health
check now recording offline/back-online and disk events in the audit log. Map
page of hosts, servers, DNS names and monitors. Full-screen wall display. A
getting-started checklist on the admin dashboard.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
bobbanandClaude Sonnet 5.5 committed 2026-10-15 21:10:56 +02:00
1 parent f7f5e1cd41
commit 57fd4f8c52
36 files changed
+2790 -210

No files matched your search

+562
View File
@@ -291,6 +291,568 @@ html[data-env] .navbar-vertical {
}
}
/* ── Accessibility ── */
/* A link that appears when the keyboard first reaches the page, to jump past the menu. */
.skip-link {
position: absolute;
top: 0.5rem;
left: 0.5rem;
z-index: 3000;
padding: 0.5rem 0.9rem;
color: #fff;
font-weight: 600;
background: #1d4ed8;
border-radius: 0.3rem;
transform: translateY(-200%);
}
.skip-link:focus {
color: #fff;
transform: none;
}
/* The page's own start takes keyboard focus on navigation; it is not a control, so it needs no ring. */
main:focus {
outline: none;
}
/* A clear ring wherever the keyboard is, and only for the keyboard (a mouse click shows none). */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
outline: 2px solid var(--tblr-primary, #2563eb);
outline-offset: 2px;
}
/* On the coloured sidebar the blue ring would vanish, so use white there. */
.navbar-vertical :where(a, button, input, select):focus-visible {
outline-color: #fff;
}
/* A sortable column heading is a button that looks like the heading it sits in. */
.th-sort {
padding: 0;
font: inherit;
color: inherit;
letter-spacing: inherit;
text-align: inherit;
text-transform: inherit;
white-space: nowrap;
cursor: pointer;
user-select: none;
background: none;
border: 0;
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
scroll-behavior: auto !important;
transition-duration: 0.01ms !important;
}
}
/* The keyboard-shortcut list: a key on the left, what it does on the right. */
.shortcut-list > div {
display: flex;
gap: 1rem;
padding: 0.2rem 0;
}
.shortcut-list dt {
flex: 0 0 8rem;
font-weight: 400;
}
.shortcut-list dd {
margin: 0;
}
/* ── A row that opens a detail panel, and the panel. ── */
.row-clickable {
cursor: pointer;
}
.row-clickable:hover > td {
background-color: color-mix(in srgb, currentColor 5%, transparent);
}
.detail-backdrop {
position: fixed;
inset: 0;
z-index: 1040;
background: rgba(0, 0, 0, 0.45);
}
.detail-drawer {
position: fixed;
top: 0;
right: 0;
bottom: 0;
z-index: 1045;
display: flex;
flex-direction: column;
width: min(30rem, 100vw);
color: var(--tblr-body-color);
background: var(--tblr-bg-surface, #fff);
border-left: 1px solid var(--tblr-border-color);
box-shadow: -8px 0 24px rgba(0, 0, 0, 0.35);
animation: drawer-in 0.18s ease-out;
}
.detail-drawer-header {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 1rem 1.25rem;
border-bottom: 1px solid var(--tblr-border-color);
}
.detail-drawer-body {
flex: 1;
padding: 1rem 1.25rem;
overflow-y: auto;
}
.detail-list > div {
display: grid;
grid-template-columns: 9.5rem 1fr;
gap: 0.75rem;
padding: 0.4rem 0;
border-bottom: 1px solid var(--tblr-border-color);
}
.detail-list dt {
font-weight: 500;
color: var(--tblr-secondary);
}
.detail-list dd {
margin: 0;
overflow-wrap: anywhere;
}
.detail-list-nested > div {
grid-template-columns: 7rem 1fr;
border-bottom: 0;
padding: 0.15rem 0;
}
@keyframes drawer-in {
from {
transform: translateX(2rem);
opacity: 0;
}
}
@media (prefers-reduced-motion: reduce) {
.detail-drawer {
animation: none;
}
}
/* ── A server's activity: an icon, what happened, and when. ── */
.activity-list {
margin: 0;
padding: 0;
list-style: none;
}
.activity-list > li {
display: flex;
gap: 0.75rem;
align-items: flex-start;
padding: 0.5rem 0;
border-bottom: 1px solid var(--tblr-border-color);
}
.activity-list > li:last-child {
border-bottom: 0;
}
/* ── The wall display: a full-screen status board, big enough to read across a room. ── */
.wall {
display: flex;
flex-direction: column;
gap: clamp(1rem, 2.2vw, 2rem);
min-height: 100vh;
padding: clamp(1rem, 3vw, 3rem);
color: #e6edf7;
font-size: clamp(1rem, 1.6vw, 1.6rem);
background: #0b1220;
}
.wall-idle {
cursor: none;
}
.wall-header {
display: flex;
gap: 1rem;
align-items: center;
}
.wall-logo {
width: auto;
height: clamp(3.5rem, 8vw, 7rem);
object-fit: contain;
}
.wall-clock {
margin-left: auto;
text-align: right;
}
.wall-time {
font-size: clamp(2.5rem, 6vw, 6rem);
font-weight: 700;
line-height: 1;
}
.wall-date {
opacity: 0.7;
}
.wall-status {
display: flex;
gap: 1rem;
align-items: center;
padding: clamp(0.8rem, 2vw, 1.8rem) clamp(1rem, 2.5vw, 2.5rem);
font-size: clamp(1.6rem, 4.2vw, 4.2rem);
font-weight: 700;
border-radius: 0.8rem;
}
.wall-status-symbol {
display: inline-grid;
place-items: center;
width: 1.4em;
height: 1.4em;
font-size: 0.8em;
border: 0.12em solid currentColor;
border-radius: 50%;
}
.wall-status-ok {
color: #7ee2a0;
background: #12351f;
}
.wall-status-critical {
color: #ff9aa2;
background: #4a1519;
}
.wall-status-warning {
color: #ffd27a;
background: #4a3510;
}
.wall-status-unsure {
color: #c4d0e4;
background: #1f2a3d;
}
.wall-tiles {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
gap: clamp(0.75rem, 1.6vw, 1.5rem);
}
.wall-tile {
padding: clamp(0.8rem, 1.6vw, 1.6rem);
background: #121c2f;
border-radius: 0.8rem;
box-shadow: inset 0 0 0 2px transparent;
}
.wall-tile-figure {
font-size: clamp(2.5rem, 6vw, 5.5rem);
font-weight: 700;
line-height: 1.05;
}
.wall-tile-label {
opacity: 0.75;
}
.wall-tile-bad {
box-shadow: inset 0 0 0 3px #ff6b6b;
}
.wall-tile-warn {
box-shadow: inset 0 0 0 3px #ffc247;
}
.wall-tile-info {
box-shadow: inset 0 0 0 3px #4dabf7;
}
.wall-columns {
display: grid;
grid-template-columns: 3fr 2fr;
gap: clamp(1rem, 3vw, 3rem);
}
@media (max-width: 900px) {
.wall-columns {
grid-template-columns: 1fr;
}
}
.wall-heading {
margin: 0 0 0.5em;
font-size: 0.8em;
letter-spacing: 0.08em;
text-transform: uppercase;
opacity: 0.7;
}
.wall-list {
margin: 0;
padding: 0;
font-size: 1.25em;
list-style: none;
}
.wall-list li {
padding: 0.3em 0;
}
.wall-list-small {
font-size: 1em;
}
.wall-bad {
color: #ff9aa2;
}
.wall-warn {
color: #ffd27a;
}
.wall-good {
color: #7ee2a0;
}
.wall-dim,
.wall-more,
.wall-empty {
opacity: 0.65;
}
.wall-footer {
display: flex;
gap: 1rem;
justify-content: space-between;
margin-top: auto;
font-size: 0.8em;
opacity: 0.65;
}
.wall-link {
padding: 0 0.5rem;
color: inherit;
text-decoration: underline;
cursor: pointer;
background: none;
border: 0;
}
/* ── The map: boxes in columns with lines between them. ── */
.map-scroll {
overflow: auto;
}
.map-columns {
position: relative;
height: 1.6rem;
}
.map-column-title {
position: absolute;
font-size: 0.72rem;
font-weight: 600;
letter-spacing: 0.06em;
color: var(--tblr-secondary);
text-transform: uppercase;
}
.map-canvas {
position: relative;
}
.map-lines {
position: absolute;
inset: 0;
pointer-events: none;
}
.map-edge {
stroke: var(--tblr-secondary);
stroke-width: 1.6;
stroke-opacity: 0.55;
}
.map-edge.map-dim {
stroke-opacity: 0.1;
}
.map-node {
position: absolute;
display: flex;
gap: 0.55rem;
align-items: center;
padding: 0 0.7rem;
color: var(--tblr-body-color);
text-decoration: none;
background: var(--tblr-bg-surface-secondary, var(--tblr-bg-surface));
border: 1px solid var(--tblr-border-color);
border-left-width: 4px;
border-radius: 0.4rem;
transition: opacity 0.12s;
}
a.map-node:hover,
a.map-node:focus-visible {
color: var(--tblr-body-color);
border-color: var(--tblr-primary, #2563eb);
}
.map-node.map-dim {
opacity: 0.25;
}
.map-node-host {
border-left-color: #a78bfa;
}
.map-node-server {
border-left-color: #4299e1;
}
.map-node-dns {
border-left-color: #38b2ac;
}
.map-node-monitor {
border-left-color: #f6ad55;
}
.map-label {
display: flex;
flex-direction: column;
min-width: 0;
line-height: 1.2;
}
.map-title,
.map-sub {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.map-sub {
font-size: 0.75rem;
color: var(--tblr-secondary);
}
.map-status {
flex: 0 0 auto;
width: 1.3rem;
height: 1.3rem;
font-size: 0.75rem;
font-weight: 700;
line-height: 1.3rem;
text-align: center;
border-radius: 50%;
}
.map-status-ok {
color: #5fe07a;
background: rgba(47, 179, 68, 0.16);
}
.map-status-bad {
color: #ff9a9a;
background: rgba(214, 57, 57, 0.18);
}
.map-status-warn {
color: #ffc85a;
background: rgba(245, 165, 36, 0.18);
}
.map-status-unknown {
color: #b3bcc9;
background: rgba(128, 138, 150, 0.16);
}
/* On a light page the same symbols need darker colours to be read. */
[data-bs-theme="light"] .map-status-ok {
color: #17692b;
}
[data-bs-theme="light"] .map-status-bad {
color: #a82323;
}
[data-bs-theme="light"] .map-status-warn {
color: #7a4f00;
}
[data-bs-theme="light"] .map-status-unknown {
color: #566170;
}
@media (prefers-reduced-motion: reduce) {
.map-node {
transition: none;
}
}
/* ── Dark mode: reds and blues Tabler uses for text are a little dim on the dark background; these are brighter, for the text only
(the solid red and blue of badges and buttons is unchanged, since white text sits on those). ── */
[data-bs-theme="dark"] .text-red,
[data-bs-theme="dark"] .alert-danger,
[data-bs-theme="dark"] .alert-danger .alert-link {
color: #f5a0a0 !important;
}
[data-bs-theme="dark"] .btn-outline-danger {
--tblr-btn-color: #f5a0a0;
--tblr-btn-border-color: #f5a0a0;
--tblr-btn-hover-color: #fff;
--tblr-btn-hover-bg: #d63939;
--tblr-btn-hover-border-color: #d63939;
color: #f5a0a0;
}
[data-bs-theme="dark"] .btn-link {
--tblr-btn-color: #74bbff;
color: #74bbff;
}
[data-bs-theme="dark"] .input-group-text {
color: #a8b0bd;
}
/* ── Light mode: the same, the other way round — Tabler's red, amber and blue text are a little pale on a light background. ── */
[data-bs-theme="light"] .alert-danger,
[data-bs-theme="light"] .alert-danger .alert-link {
color: #a82323;
}
[data-bs-theme="light"] .alert-warning,
[data-bs-theme="light"] .alert-warning .alert-link {
color: #7a4f00;
}
[data-bs-theme="light"] .btn-link {
--tblr-btn-color: #0b5cad;
color: #0b5cad;
}
/* Sidebar submenus: a little tighter than Tabler's dropdown rows, so several open groups still fit on one screen. */
.navbar-vertical .dropdown-menu .dropdown-item {
padding-top: 0.3rem;