The Reports page now previews the HTML report itself (same document as the download and the print), with only Download and Print. The report logo is the repository logo at 800 px. Survival splits fail2ban and the Urutau second firewall. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
35 lines
2.7 KiB
CSS
35 lines
2.7 KiB
CSS
/* Survival page (shared .an-* rules are repeated so each page file stands alone) */
|
|
.an-boxes { display: grid; gap: var(--s-3); }
|
|
.an-boxrow { display: grid; grid-template-columns: minmax(70px, 28%) minmax(0, 1fr) auto; align-items: center; gap: var(--s-3); min-width: 0; }
|
|
.an-boxrow .an-fam { overflow-wrap: anywhere; font-size: .8125rem; }
|
|
.an-boxrow .an-val { font-variant-numeric: tabular-nums; color: var(--ink-muted); font-size: .8125rem; white-space: nowrap; }
|
|
.an-track { position: relative; height: 18px; border-radius: 4px; background: var(--surface-sunken); border: 1px solid var(--line); }
|
|
.an-box { position: absolute; top: 2px; bottom: 2px; border-radius: 3px; background: color-mix(in srgb, var(--accent) 45%, transparent); border: 1px solid var(--accent); }
|
|
.an-med { position: absolute; top: -2px; bottom: -2px; width: 3px; margin-left: -1px; border-radius: 2px; background: var(--heading); }
|
|
.an-rec { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 var(--s-6); }
|
|
.an-chart { min-width: 0; }
|
|
.an-svg { display: block; width: 100%; height: auto; max-width: 100%; overflow: visible; }
|
|
.an-svg .an-grid { stroke: var(--line); stroke-width: 1; }
|
|
.an-svg .an-guide { stroke: var(--warn); stroke-width: 1; stroke-dasharray: 4 4; }
|
|
.an-svg .an-line { fill: none; stroke: var(--accent); stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; }
|
|
.an-svg .an-fill { fill: var(--accent); fill-opacity: .14; stroke: none; }
|
|
.an-svg .an-dot { fill: var(--accent); stroke: var(--surface-panel); stroke-width: 1.5; }
|
|
.an-svg .an-tick { fill: var(--ink-muted); font-size: 11px; }
|
|
.an-svg .an-strong { fill: var(--ink); font-weight: 600; }
|
|
.an-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
|
|
.an-list li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); padding: 4px 0; border-bottom: 1px solid var(--line); min-width: 0; }
|
|
.an-list li:last-child { border-bottom: 0; }
|
|
.an-list .an-k, .an-list a { overflow-wrap: anywhere; min-width: 0; }
|
|
.an-list .an-n { font-variant-numeric: tabular-nums; color: var(--ink-muted); white-space: nowrap; }
|
|
.an-list .an-bad { color: var(--danger); }
|
|
.an-list .an-good { color: var(--ok); }
|
|
.an-rec li { margin-right: var(--s-5); }
|
|
|
|
/* who blocked: fail2ban vs the Urutau second firewall */
|
|
.sv-blk-bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: var(--line, rgba(127,127,127,.2)); margin: 4px 0 12px; }
|
|
.sv-blk-seg { display: block; min-width: 3px; }
|
|
.sv-blk-fail2ban { background: var(--accent, #3b82f6); }
|
|
.sv-blk-urutau { background: var(--warn, #f59e0b); }
|
|
.sv-blk li { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
|
|
.sv-blk-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
|