Files
urutau/internal/server/web/survival.css
T
Lucas RayanandClaude Opus 5.5 2ebda1e4d7
Release / Plan (reuse the published image?) (push) Successful in 3s
CI / Docker image (build and smoke test) (push) Skipped
CI / Format and vet (push) Successful in 28s
CI / Dependency audit (push) Successful in 20s
CI / Tests (Linux, race detector) (push) Successful in 1m10s
Release / ci (push) Successful in 1m10s
Release / Build image (arm64) (push) Successful in 55s
Release / Build image (amd64) (push) Successful in 1m16s
Release / Publish tags (push) Successful in 14s
Release / Gitea release (push) Skipped
feat: 1.3.0 thirteen new pages, charts, tooltips and error analysis
New pages grouped in the rail (Monitor, Investigate, Analyze, Operate,
Reports): Services (SLO, Apdex, latency app vs proxy), Sessions (stage
funnel), Campaigns, Event search, MITRE ATT&CK matrix, Evolution,
Concentration (Pareto, Gini), Survival (Kaplan-Meier per attack
episode, recidivists), Where errors come from (application vs failed
attack vs proxy vs client), Protocols and TLS, Defense (fail2ban, SSH,
blocklist), Integrity, and a printable executive report.

Chart library (donut, radar, stacked area, bars, heatmap, gauge),
glossary with accessible "?" tooltips, self-explanatory category names
(nonexistent page 404), page loader through pages.json.

Unique visitors fixed: real browsers opening a page, one per IP per day,
deduplicated across domains, with non-human clients counted apart.
Anonymous legitimate visits on the Live page (?visits=1, no IP).
Traefik origin, service, protocol and TLS fields parsed. Paths and
Referer paths drop e-mail and token segments.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 22:39:33 -03:00

27 lines
2.2 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); }