feat: 1.1.0 interface, geography drill-down and live attack map
Release / Plan (reuse the published image?) (push) Successful in 4s
CI / Docker image (build and smoke test) (push) Skipped
CI / Format and vet (push) Successful in 19s
CI / Tests (Linux, race detector) (push) Successful in 35s
CI / Dependency audit (push) Successful in 16s
Release / ci (push) Successful in 35s
Release / Build image (arm64) (push) Successful in 51s
Release / Build image (amd64) (push) Successful in 1m11s
Release / Publish tags (push) Successful in 13s
Release / Gitea release (push) Skipped
Release / Plan (reuse the published image?) (push) Successful in 4s
CI / Docker image (build and smoke test) (push) Skipped
CI / Format and vet (push) Successful in 19s
CI / Tests (Linux, race detector) (push) Successful in 35s
CI / Dependency audit (push) Successful in 16s
Release / ci (push) Successful in 35s
Release / Build image (arm64) (push) Successful in 51s
Release / Build image (amd64) (push) Successful in 1m11s
Release / Publish tags (push) Successful in 13s
Release / Gitea release (push) Skipped
A new console interface (side rail, seven pages, opening sentence and active slice on every page, IP drawer, light and dark design tokens); a Geography page that drills from the world to a country's regions and cities; a Live page drawing attacks as arcs on a flat map or a globe. Backend: GET /api/v1/geo, GET /api/v1/live/recent, host/src/dst on live events, --location, a strict static file pattern, and live federation through GET /api/v1/peer/stream (peer token only, bounded and sanitized relay on the hub). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ff143ec4a2
commit
f4b295f582
37 files changed
+5312
-1000
No files matched your search
+386
-170
@@ -1,204 +1,420 @@
|
||||
/* Urutau design system.
|
||||
One vocabulary of surfaces, lines, text, status and chart colors. Every rule
|
||||
below consumes these tokens: no component invents its own color, its own
|
||||
font size or its own card. Dark is the identity theme (the original Urutau
|
||||
palette); light swaps the values only. The theme is chosen before the first
|
||||
paint by /i18n.js (loaded in <head>), never by a component. */
|
||||
|
||||
:root {
|
||||
--bg: #070d14; --bg-2: #0b1420; --panel: rgba(13, 25, 38, .82); --line: rgba(148, 188, 205, .16);
|
||||
--text: #e8f2f4; --muted: #8ea5b0; --accent: #38bdf8; --accent-2: #f0b35b;
|
||||
--sev-critical: #ef4444; --sev-high: #f97316; --sev-medium: #f59e0b; --sev-low: #10b981; --sev-info: #64748b;
|
||||
--radius: 16px; --field: rgba(148, 188, 205, .08); --shadow: 0 10px 30px rgba(0, 0, 0, .35);
|
||||
--c-ssh-probe: #a5b4fc; color-scheme: dark;
|
||||
/* surfaces, from the application background to the highest element */
|
||||
--surface-base: #070d14;
|
||||
--surface-sunken: #050a10;
|
||||
--surface-panel: #0d1926;
|
||||
--surface-raised: #13232f;
|
||||
--surface-overlay: #172b3b;
|
||||
/* lines and text */
|
||||
--line: #223546;
|
||||
--line-strong: #36506a;
|
||||
--ink: #e8f2f4;
|
||||
--ink-muted: #9db3bd;
|
||||
--ink-faint: #7f96a1;
|
||||
--heading: #f2f8fa;
|
||||
/* brand */
|
||||
--accent: #38bdf8;
|
||||
--accent-soft: #0f2f45;
|
||||
--on-accent: #04121c;
|
||||
--signal: #2ee27a;
|
||||
--rail: #060b11;
|
||||
--rail-ink: #c4d4db;
|
||||
--rail-ink-muted: #7f96a1;
|
||||
--rail-line: #16242f;
|
||||
--rail-active: #12303f;
|
||||
--lead-bg: #0c2a3d;
|
||||
--lead-bg-2: #0b1f30;
|
||||
--lead-ink: #eef7fa;
|
||||
--lead-ink-muted: #b4cdd6;
|
||||
/* status: color with meaning only (danger, warning, ok, info) */
|
||||
--ok: #34d399;
|
||||
--ok-soft: #0e3326;
|
||||
--warn: #f0b35b;
|
||||
--warn-soft: #3a2b0e;
|
||||
--danger: #f87171;
|
||||
--danger-soft: #3d1619;
|
||||
--info: #60a5fa;
|
||||
--info-soft: #112c4a;
|
||||
/* categorical palette for charts: fixed order, series n keeps its color */
|
||||
--viz-1: #58a6ff;
|
||||
--viz-2: #3fb950;
|
||||
--viz-3: #d29922;
|
||||
--viz-4: #f85149;
|
||||
--viz-5: #bc8cff;
|
||||
--viz-6: #39c5cf;
|
||||
--viz-7: #ff9b4a;
|
||||
--viz-8: #8b9eb0;
|
||||
/* event categories, mapped onto the palette */
|
||||
--cat-ok: var(--viz-2);
|
||||
--cat-ssh-ok: var(--viz-2);
|
||||
--cat-notfound: var(--viz-8);
|
||||
--cat-scanner: var(--viz-3);
|
||||
--cat-bruteforce: var(--viz-7);
|
||||
--cat-exploit: var(--viz-4);
|
||||
--cat-ssh-fail: var(--viz-1);
|
||||
--cat-ssh-probe: var(--viz-5);
|
||||
--cat-ban: var(--viz-6);
|
||||
/* type */
|
||||
--font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||
--font-display: "Avenir Next", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
|
||||
--font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;
|
||||
/* space and shape */
|
||||
--s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 28px;
|
||||
--radius: 10px;
|
||||
--radius-sm: 7px;
|
||||
--shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 28px rgba(0, 0, 0, .28);
|
||||
--scrim: rgba(2, 6, 10, .62);
|
||||
--rail-w: 232px;
|
||||
color-scheme: dark;
|
||||
|
||||
/* compatibility aliases for scripts written against the first version */
|
||||
--bg: var(--surface-base); --bg-2: var(--surface-sunken); --panel: var(--surface-panel); --text: var(--ink);
|
||||
--muted: var(--ink-muted); --field: var(--surface-raised); --accent-2: var(--warn);
|
||||
--sev-critical: var(--danger); --sev-high: var(--viz-7); --sev-medium: var(--warn); --sev-low: var(--ok); --sev-info: var(--ink-faint);
|
||||
}
|
||||
:root[data-theme="light"] {
|
||||
--bg: #f0f4f8; --bg-2: #e2eaf0; --panel: rgba(255, 255, 255, .88); --line: rgba(15, 31, 38, .13);
|
||||
--text: #0f1f26; --muted: #536b75; --accent: #0284c7; --accent-2: #d97706; --field: rgba(15, 31, 38, .05);
|
||||
--shadow: 0 10px 30px rgba(15, 31, 38, .10); --c-ssh-probe: #6366f1; color-scheme: light;
|
||||
--surface-base: #eff3f7;
|
||||
--surface-sunken: #e2eaf0;
|
||||
--surface-panel: #ffffff;
|
||||
--surface-raised: #f4f7fa;
|
||||
--surface-overlay: #ffffff;
|
||||
--line: #d6e0e7;
|
||||
--line-strong: #aebfcb;
|
||||
--ink: #0f1f26;
|
||||
--ink-muted: #46606b;
|
||||
--ink-faint: #5f747d;
|
||||
--heading: #08222d;
|
||||
--accent: #0369a1;
|
||||
--accent-soft: #dcecf7;
|
||||
--on-accent: #ffffff;
|
||||
--signal: #16a34a;
|
||||
--ok: #15803d;
|
||||
--ok-soft: #dcf3e4;
|
||||
--warn: #8f5600;
|
||||
--warn-soft: #fbefd0;
|
||||
--danger: #c01f2f;
|
||||
--danger-soft: #fbe4e6;
|
||||
--info: #1d62c9;
|
||||
--info-soft: #e1ecfb;
|
||||
--viz-1: #1f6feb;
|
||||
--viz-2: #1a7f37;
|
||||
--viz-3: #9a6700;
|
||||
--viz-4: #cf222e;
|
||||
--viz-5: #8250df;
|
||||
--viz-6: #1b7c83;
|
||||
--viz-7: #bc4c00;
|
||||
--viz-8: #6b7f8e;
|
||||
--shadow: 0 1px 2px rgba(15, 31, 38, .08), 0 8px 24px rgba(15, 31, 38, .07);
|
||||
--scrim: rgba(15, 31, 38, .45);
|
||||
color-scheme: light;
|
||||
}
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root:not([data-theme="dark"]) {
|
||||
--bg: #f0f4f8; --bg-2: #e2eaf0; --panel: rgba(255, 255, 255, .88); --line: rgba(15, 31, 38, .13);
|
||||
--text: #0f1f26; --muted: #536b75; --accent: #0284c7; --accent-2: #d97706; --field: rgba(15, 31, 38, .05);
|
||||
--shadow: 0 10px 30px rgba(15, 31, 38, .10); --c-ssh-probe: #6366f1; color-scheme: light;
|
||||
:root:not([data-theme]) {
|
||||
--surface-base: #eff3f7; --surface-sunken: #e2eaf0; --surface-panel: #ffffff; --surface-raised: #f4f7fa; --surface-overlay: #ffffff;
|
||||
--line: #d6e0e7; --line-strong: #aebfcb; --ink: #0f1f26; --ink-muted: #46606b; --ink-faint: #5f747d; --heading: #08222d;
|
||||
--accent: #0369a1; --accent-soft: #dcecf7; --on-accent: #ffffff; --signal: #16a34a;
|
||||
--ok: #15803d; --ok-soft: #dcf3e4; --warn: #8f5600; --warn-soft: #fbefd0; --danger: #c01f2f; --danger-soft: #fbe4e6; --info: #1d62c9; --info-soft: #e1ecfb;
|
||||
--viz-1: #1f6feb; --viz-2: #1a7f37; --viz-3: #9a6700; --viz-4: #cf222e; --viz-5: #8250df; --viz-6: #1b7c83; --viz-7: #bc4c00; --viz-8: #6b7f8e;
|
||||
--shadow: 0 1px 2px rgba(15, 31, 38, .08), 0 8px 24px rgba(15, 31, 38, .07); --scrim: rgba(15, 31, 38, .45);
|
||||
color-scheme: light;
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------- base */
|
||||
* { box-sizing: border-box; }
|
||||
html { -webkit-text-size-adjust: 100%; min-height: 100%; background: var(--bg-2); }
|
||||
html { -webkit-text-size-adjust: 100%; font-size: 16px; background: var(--surface-base); }
|
||||
body {
|
||||
margin: 0; min-height: 100vh; color: var(--text); font: 14px/1.45 "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
|
||||
background: radial-gradient(1100px 500px at 15% 0, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%) no-repeat,
|
||||
linear-gradient(180deg, var(--bg), var(--bg-2));
|
||||
overflow-x: hidden;
|
||||
margin: 0; min-height: 100vh; background: var(--surface-base); color: var(--ink);
|
||||
font: 400 .9375rem/1.5 var(--font-sans); overflow-x: hidden;
|
||||
}
|
||||
a { color: var(--accent); }
|
||||
a { color: var(--accent); text-underline-offset: 2px; }
|
||||
button, select, input { font: inherit; color: inherit; }
|
||||
.wrap { max-width: 1280px; margin: 0 auto; padding: 16px; }
|
||||
header.top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-bottom: 14px; }
|
||||
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; min-width: 0; }
|
||||
.brand img { width: 44px; height: 44px; border-radius: 12px; flex: none; }
|
||||
.brand h1 { font-size: 20px; margin: 0; letter-spacing: .02em; }
|
||||
.brand small { display: block; color: var(--muted); font-size: 12px; max-width: 46ch; }
|
||||
.controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
|
||||
.btn, select, .seg button, input[type="text"], input[type="number"], input[type="password"] {
|
||||
background: var(--field); border: 1px solid var(--line); border-radius: 10px; padding: 7px 12px; min-height: 36px;
|
||||
h1, h2, h3, p, dl, dd, ul { margin: 0; }
|
||||
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
|
||||
[hidden] { display: none !important; }
|
||||
.mono { font-family: var(--font-mono); font-size: .875rem; }
|
||||
.num { font-variant-numeric: tabular-nums; }
|
||||
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 12px; border-radius: var(--radius-sm); z-index: 100; }
|
||||
.skip:focus { left: 8px; }
|
||||
|
||||
/* ---------------------------------------------------------------- controls */
|
||||
.btn, select, input[type="text"], input[type="number"], input[type="password"], input[type="search"] {
|
||||
background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 12px; min-height: 36px;
|
||||
}
|
||||
.btn, .seg button { cursor: pointer; }
|
||||
.btn:hover, .seg button:hover { border-color: var(--accent); }
|
||||
.btn.primary { background: var(--accent); color: #04121c; border-color: transparent; font-weight: 600; }
|
||||
.seg { display: inline-flex; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
|
||||
.seg button { border: 0; border-radius: 0; background: transparent; }
|
||||
.seg button[aria-pressed="true"] { background: var(--accent); color: #04121c; font-weight: 600; }
|
||||
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
||||
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
|
||||
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sev-info); display: inline-block; flex: none; }
|
||||
.dot.on { background: var(--sev-low); box-shadow: 0 0 8px var(--sev-low); }
|
||||
.dot.off { background: var(--sev-critical); }
|
||||
.grid { display: grid; gap: 14px; }
|
||||
.kpis { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-bottom: 14px; }
|
||||
.panel {
|
||||
background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px;
|
||||
box-shadow: var(--shadow); backdrop-filter: blur(10px); min-width: 0;
|
||||
.btn { cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; color: var(--ink); white-space: nowrap; }
|
||||
.btn:hover:not(:disabled), select:hover { border-color: var(--line-strong); background: var(--surface-overlay); }
|
||||
.btn:disabled { opacity: .45; cursor: default; }
|
||||
.btn.primary { background: var(--accent); color: var(--on-accent); border-color: transparent; font-weight: 600; }
|
||||
.btn.primary:hover:not(:disabled) { background: var(--accent); filter: brightness(1.08); }
|
||||
.btn.icon { width: 36px; padding: 0; }
|
||||
.btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
|
||||
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-raised); }
|
||||
.seg button { background: transparent; border: 0; padding: 6px 14px; min-height: 34px; cursor: pointer; color: var(--ink-muted); font-weight: 500; }
|
||||
.seg button + button { border-left: 1px solid var(--line); }
|
||||
.seg button:hover { color: var(--ink); background: var(--surface-overlay); }
|
||||
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); font-weight: 600; }
|
||||
.check { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-muted); min-height: 36px; }
|
||||
.check input { width: 16px; height: 16px; accent-color: var(--accent); }
|
||||
.linkish { color: var(--accent); cursor: pointer; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 2px; text-align: left; }
|
||||
|
||||
/* ---------------------------------------------------------------- shell */
|
||||
.app { display: grid; grid-template-columns: var(--rail-w) minmax(0, 1fr); min-height: 100vh; background: linear-gradient(to right, var(--rail) calc(var(--rail-w) - 1px), var(--rail-line) calc(var(--rail-w) - 1px), var(--rail-line) var(--rail-w), transparent var(--rail-w)); }
|
||||
.rail {
|
||||
position: sticky; top: 0; height: 100vh; background: var(--rail); border-right: 1px solid var(--rail-line);
|
||||
display: flex; flex-direction: column; padding: var(--s-4) var(--s-3); gap: var(--s-4); overflow-y: auto;
|
||||
}
|
||||
.panel h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 10px; font-weight: 600; }
|
||||
.kpi .v { font-size: 28px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
|
||||
.kpi .l { color: var(--muted); font-size: 12px; margin-top: 4px; }
|
||||
.kpi.hot .v { color: var(--sev-critical); }
|
||||
.kpi.warn .v { color: var(--sev-high); }
|
||||
.cols-2 { grid-template-columns: 1fr 1fr; }
|
||||
.cols-3 { grid-template-columns: repeat(3, 1fr); }
|
||||
.cols-main { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
|
||||
.mt { margin-top: 14px; }
|
||||
.rail-brand { display: flex; align-items: center; gap: var(--s-3); padding: 4px var(--s-2); color: var(--rail-ink); text-decoration: none; }
|
||||
.rail-brand img, .top-brand img { width: 36px; height: 36px; border-radius: 9px; flex: none; }
|
||||
.brand-name { font: 700 1.25rem/1 var(--font-display); letter-spacing: .02em; color: #f2f8fa; }
|
||||
.nav { display: flex; flex-direction: column; gap: 2px; }
|
||||
.nav-item {
|
||||
display: flex; align-items: center; gap: var(--s-3); min-height: 40px; padding: 8px var(--s-3); border-radius: var(--radius-sm);
|
||||
color: var(--rail-ink); text-decoration: none; font-weight: 500; border-left: 3px solid transparent;
|
||||
}
|
||||
.nav-item:hover { background: var(--rail-line); }
|
||||
.nav-item[aria-current="page"] { background: var(--rail-active); color: #fff; border-left-color: var(--accent); }
|
||||
.nav-ico { width: 20px; height: 20px; flex: none; display: inline-flex; }
|
||||
.nav-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
|
||||
.rail-foot { margin-top: auto; padding: var(--s-2); color: var(--rail-ink-muted); font-size: .8125rem; }
|
||||
.main { min-width: 0; display: flex; flex-direction: column; }
|
||||
.topbar {
|
||||
position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-6);
|
||||
background: var(--surface-base); border-bottom: 1px solid var(--line);
|
||||
}
|
||||
.top-brand { display: none; }
|
||||
.topbar h1 { font: 700 1.375rem/1.2 var(--font-display); color: var(--heading); margin-right: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.top-actions { display: flex; align-items: center; gap: var(--s-2); flex: none; }
|
||||
.conn { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-muted); font-size: .8125rem; margin-right: var(--s-2); }
|
||||
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-faint); display: inline-block; flex: none; }
|
||||
.dot.on { background: var(--signal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--signal) 25%, transparent); }
|
||||
.dot.off { background: var(--danger); }
|
||||
.slice { padding: var(--s-3) var(--s-6) 0; display: flex; flex-direction: column; gap: var(--s-2); }
|
||||
.slice-ctl { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
|
||||
.slice-ctl select { max-width: 100%; }
|
||||
.slice-txt { color: var(--ink-muted); font-size: .875rem; }
|
||||
.slice-txt strong { color: var(--ink); font-weight: 600; }
|
||||
main#view { padding: var(--s-4) var(--s-6) var(--s-6); display: flex; flex-direction: column; gap: var(--s-5); max-width: 1480px; width: 100%; outline: none; }
|
||||
.err-banner { margin: var(--s-3) var(--s-6) 0; background: var(--danger-soft); border: 1px solid var(--danger); color: var(--ink); border-radius: var(--radius-sm); padding: 8px 12px; }
|
||||
.shell-foot { margin-top: auto; padding: var(--s-5) var(--s-6) var(--s-6); color: var(--ink-faint); font-size: .8125rem; text-align: center; }
|
||||
.shell-foot div { margin-top: 4px; }
|
||||
|
||||
.tabbar { display: none; }
|
||||
.more-sheet { display: none; }
|
||||
|
||||
/* ---------------------------------------------------------------- primitives */
|
||||
.lead {
|
||||
position: relative; overflow: hidden; border-radius: var(--radius); padding: 22px 26px; color: var(--lead-ink);
|
||||
background: linear-gradient(135deg, var(--lead-bg), var(--lead-bg-2)); border: 1px solid var(--line-strong);
|
||||
display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-5); align-items: center;
|
||||
}
|
||||
.lead::after { content: ""; position: absolute; right: -60px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); box-shadow: 0 0 0 44px color-mix(in srgb, var(--accent) 6%, transparent), 0 0 0 88px color-mix(in srgb, var(--accent) 4%, transparent); pointer-events: none; }
|
||||
.lead h2 { font: 700 1.5rem/1.2 var(--font-display); max-width: 44ch; color: var(--lead-ink); position: relative; z-index: 1; overflow-wrap: anywhere; }
|
||||
.lead p { margin-top: 8px; color: var(--lead-ink-muted); max-width: 70ch; position: relative; z-index: 1; overflow-wrap: anywhere; }
|
||||
.lead .pulse { width: 20px; height: 20px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 9px color-mix(in srgb, var(--signal) 18%, transparent); position: relative; z-index: 1; }
|
||||
.lead.tone-danger .pulse { background: var(--danger); box-shadow: 0 0 0 9px color-mix(in srgb, var(--danger) 20%, transparent); }
|
||||
.lead.tone-neutral .pulse { background: var(--ink-faint); box-shadow: none; }
|
||||
|
||||
.panel { background: var(--surface-panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; display: flex; flex-direction: column; }
|
||||
.panel-h { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4) 0; flex-wrap: wrap; }
|
||||
.panel-h h2 { font: 700 1rem/1.3 var(--font-display); color: var(--heading); margin-right: auto; }
|
||||
.panel-h .acts { display: flex; gap: var(--s-2); align-items: center; flex-wrap: wrap; }
|
||||
.panel .hint { padding: 2px var(--s-4) 0; color: var(--ink-muted); font-size: .875rem; }
|
||||
.panel-b { padding: var(--s-3) var(--s-4) var(--s-4); min-width: 0; flex: 1; }
|
||||
|
||||
.grid { display: grid; gap: var(--s-4); }
|
||||
.grid.kpis { grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); }
|
||||
.grid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||||
.grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
||||
.grid.main-side { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
|
||||
.grid > * { min-width: 0; }
|
||||
|
||||
.stat { background: var(--surface-panel); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 0 0 var(--radius) var(--radius); padding: var(--s-3) var(--s-4) var(--s-4); box-shadow: var(--shadow); min-width: 0; }
|
||||
.stat .l { color: var(--ink-muted); font-size: .875rem; font-weight: 600; }
|
||||
.stat .v { font: 800 1.875rem/1.1 var(--font-display); color: var(--heading); margin-top: 6px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
|
||||
.stat .s { color: var(--ink-faint); font-size: .875rem; margin-top: 4px; }
|
||||
.stat.tone-danger { border-top-color: var(--danger); } .stat.tone-danger .v { color: var(--danger); }
|
||||
.stat.tone-warn { border-top-color: var(--warn); } .stat.tone-warn .v { color: var(--warn); }
|
||||
.stat.tone-ok { border-top-color: var(--ok); } .stat.tone-ok .v { color: var(--ok); }
|
||||
.stat.tone-info { border-top-color: var(--info); } .stat.tone-info .v { color: var(--info); }
|
||||
|
||||
.empty { color: var(--ink-muted); padding: var(--s-4) 0; }
|
||||
.empty strong { display: block; color: var(--ink); font-weight: 600; }
|
||||
.note { color: var(--ink-muted); font-size: .875rem; }
|
||||
|
||||
.badge { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: .8125rem; font-weight: 600; border: 1px solid var(--line); white-space: nowrap; background: var(--surface-raised); color: var(--ink-muted); }
|
||||
.badge.tone-danger { background: var(--danger-soft); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 55%, transparent); }
|
||||
.badge.tone-warn { background: var(--warn-soft); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 55%, transparent); }
|
||||
.badge.tone-ok { background: var(--ok-soft); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 55%, transparent); }
|
||||
.badge.tone-info { background: var(--info-soft); color: var(--info); border-color: color-mix(in srgb, var(--info) 55%, transparent); }
|
||||
.chip { display: inline-block; margin: 0 4px 2px 0; padding: 0 7px; border-radius: 6px; background: var(--surface-raised); border: 1px solid var(--line); font-size: .8125rem; white-space: nowrap; }
|
||||
.cat { display: inline-block; padding: 0 8px; border-radius: 6px; font-size: .8125rem; font-weight: 600; color: var(--on-accent); background: var(--ink-faint); white-space: nowrap; }
|
||||
.cat.c-notfound { background: var(--cat-notfound); } .cat.c-scanner { background: var(--cat-scanner); } .cat.c-bruteforce { background: var(--cat-bruteforce); }
|
||||
.cat.c-exploit { background: var(--cat-exploit); } .cat.c-ssh-fail { background: var(--cat-ssh-fail); } .cat.c-ssh-probe { background: var(--cat-ssh-probe); }
|
||||
.cat.c-ban { background: var(--cat-ban); } .cat.c-ssh-ok, .cat.c-ok { background: var(--cat-ok); }
|
||||
.t-banned { color: var(--warn); font-weight: 600; }
|
||||
|
||||
/* bars (top-N lists) */
|
||||
.bar-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 7px 0; border-top: 1px solid var(--line); }
|
||||
.bar-row:first-child { border-top: 0; padding-top: 0; }
|
||||
.bar-row .k { overflow-wrap: anywhere; }
|
||||
.bar-row .n { color: var(--ink-muted); font-variant-numeric: tabular-nums; }
|
||||
.bar-row .sub { grid-column: 1 / -1; color: var(--ink-muted); font-size: .8125rem; overflow-wrap: anywhere; }
|
||||
.bar-row .bar { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--surface-raised); overflow: hidden; }
|
||||
.bar-row .bar i { display: block; height: 100%; background: var(--accent); }
|
||||
|
||||
/* charts */
|
||||
.chart-wrap { position: relative; }
|
||||
.chart-wrap svg { width: 100%; height: 230px; display: block; }
|
||||
.chart-wrap .tip {
|
||||
position: absolute; pointer-events: none; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
|
||||
padding: 8px 10px; font-size: 12px; z-index: 5; min-width: 130px; box-shadow: var(--shadow);
|
||||
}
|
||||
.tip[hidden] { display: none; }
|
||||
.chart-wrap svg { width: 100%; height: auto; display: block; }
|
||||
.tip { position: absolute; pointer-events: none; background: var(--surface-overlay); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 8px 10px; font-size: .8125rem; z-index: 5; min-width: 140px; box-shadow: var(--shadow); }
|
||||
.tip div { display: flex; justify-content: space-between; gap: 12px; }
|
||||
.axis { fill: var(--muted); font-size: 10px; }
|
||||
.axis { fill: var(--ink-faint); font-size: 11px; font-family: var(--font-sans); }
|
||||
.gridline { stroke: var(--line); stroke-width: 1; }
|
||||
.hover-col { fill: transparent; }
|
||||
.hover-col:hover { fill: color-mix(in srgb, var(--text) 8%, transparent); }
|
||||
.b-notfound { fill: var(--sev-info); } .b-scanner { fill: var(--sev-medium); } .b-bruteforce { fill: var(--sev-high); }
|
||||
.b-exploit { fill: var(--sev-critical); } .b-ssh-fail { fill: var(--accent); } .b-ssh-probe { fill: var(--c-ssh-probe); }
|
||||
.b-ban { fill: var(--accent-2); }
|
||||
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; }
|
||||
.legend button { background: none; border: 0; padding: 2px 0; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--text); font-size: 12px; }
|
||||
.legend button[aria-pressed="false"] { opacity: .4; text-decoration: line-through; }
|
||||
.sw { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
|
||||
.sw.b-notfound { background: var(--sev-info); } .sw.b-scanner { background: var(--sev-medium); } .sw.b-bruteforce { background: var(--sev-high); }
|
||||
.sw.b-exploit { background: var(--sev-critical); } .sw.b-ssh-fail { background: var(--accent); } .sw.b-ssh-probe { background: var(--c-ssh-probe); }
|
||||
.sw.b-ban { background: var(--accent-2); }
|
||||
.hover-col:hover { fill: color-mix(in srgb, var(--ink) 8%, transparent); }
|
||||
.b-notfound { fill: var(--cat-notfound); } .b-scanner { fill: var(--cat-scanner); } .b-bruteforce { fill: var(--cat-bruteforce); }
|
||||
.b-exploit { fill: var(--cat-exploit); } .b-ssh-fail { fill: var(--cat-ssh-fail); } .b-ssh-probe { fill: var(--cat-ssh-probe); } .b-ban { fill: var(--cat-ban); }
|
||||
.b-treq { fill: var(--accent); fill-opacity: .38; } .b-tpages { fill: var(--accent); }
|
||||
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: var(--s-2); }
|
||||
.legend button, .legend span.li { background: none; border: 0; padding: 4px 0; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: .875rem; }
|
||||
.legend button { cursor: pointer; }
|
||||
.legend button[aria-pressed="false"] { opacity: .45; text-decoration: line-through; }
|
||||
.sw { width: 11px; height: 11px; border-radius: 3px; display: inline-block; background: var(--ink-faint); }
|
||||
.sw.b-notfound { background: var(--cat-notfound); } .sw.b-scanner { background: var(--cat-scanner); } .sw.b-bruteforce { background: var(--cat-bruteforce); }
|
||||
.sw.b-exploit { background: var(--cat-exploit); } .sw.b-ssh-fail { background: var(--cat-ssh-fail); } .sw.b-ssh-probe { background: var(--cat-ssh-probe); } .sw.b-ban { background: var(--cat-ban); }
|
||||
.sw.b-treq { background: color-mix(in srgb, var(--accent) 38%, transparent); } .sw.b-tpages { background: var(--accent); }
|
||||
|
||||
/* map */
|
||||
.mapbox { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: var(--s-4); align-items: start; }
|
||||
.map svg { width: 100%; height: auto; display: block; }
|
||||
.mapc { fill: var(--surface-raised); stroke: var(--line); stroke-width: .6; }
|
||||
.mapc.hit { fill: var(--danger); }
|
||||
.map.good .mapc.hit { fill: var(--accent); }
|
||||
|
||||
/* tables */
|
||||
.tbl-wrap { overflow-x: auto; }
|
||||
table { width: 100%; border-collapse: collapse; }
|
||||
th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 6px 8px; white-space: nowrap; }
|
||||
th { text-align: left; font: 600 .75rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-muted); padding: 8px 10px; white-space: nowrap; border-bottom: 2px solid var(--line-strong); }
|
||||
th button { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font: inherit; text-transform: inherit; letter-spacing: inherit; }
|
||||
td { padding: 8px; border-top: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
|
||||
th button:hover { color: var(--ink); }
|
||||
th[aria-sort="ascending"] button::after { content: " \25B2"; font-size: .7em; }
|
||||
th[aria-sort="descending"] button::after { content: " \25BC"; font-size: .7em; }
|
||||
td { padding: 7px 10px; border-top: 1px solid var(--line); vertical-align: middle; overflow-wrap: anywhere; }
|
||||
tr.row { cursor: pointer; }
|
||||
tr.row:hover td, tr.row:focus-visible td { background: var(--field); }
|
||||
.num { font-variant-numeric: tabular-nums; }
|
||||
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12.5px; }
|
||||
.badge { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; border: 1px solid transparent; white-space: nowrap; }
|
||||
.lv-hostile { background: color-mix(in srgb, var(--sev-critical) 22%, transparent); color: var(--sev-critical); border-color: var(--sev-critical); }
|
||||
.lv-suspicious { background: color-mix(in srgb, var(--sev-medium) 20%, transparent); color: var(--sev-medium); border-color: var(--sev-medium); }
|
||||
.lv-low { background: color-mix(in srgb, var(--sev-low) 16%, transparent); color: var(--sev-low); border-color: var(--sev-low); }
|
||||
.chip { display: inline-block; margin: 0 4px 2px 0; padding: 0 6px; border-radius: 6px; background: var(--field); font-size: 11px; white-space: nowrap; }
|
||||
.banned { color: var(--accent-2); font-weight: 600; }
|
||||
.bar-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 5px 0; border-top: 1px solid var(--line); }
|
||||
.bar-row:first-of-type { border-top: 0; }
|
||||
.bar-row .k { overflow-wrap: anywhere; }
|
||||
.bar-row .n { color: var(--muted); font-variant-numeric: tabular-nums; }
|
||||
.bar-row .bar { grid-column: 1 / -1; height: 3px; border-radius: 2px; background: var(--field); overflow: hidden; }
|
||||
.bar-row .bar i { display: block; height: 100%; background: var(--accent); }
|
||||
.empty { color: var(--muted); padding: 8px 0; }
|
||||
.feed { list-style: none; margin: 0; padding: 0; max-height: 380px; overflow-y: auto; }
|
||||
.feed li { padding: 6px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 2px 8px; align-items: baseline; }
|
||||
.feed li:first-child { border-top: 0; }
|
||||
.feed .t { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
|
||||
.feed .what { grid-column: 1 / -1; color: var(--muted); font-size: 12.5px; overflow-wrap: anywhere; }
|
||||
.feed a, .linkish { color: var(--accent); cursor: pointer; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 2px; }
|
||||
.cat { display: inline-block; padding: 0 7px; border-radius: 6px; font-size: 11px; font-weight: 600; color: #04121c; }
|
||||
.cat.b-notfound { background: var(--sev-info); color: #fff; } .cat.b-scanner { background: var(--sev-medium); } .cat.b-bruteforce { background: var(--sev-high); }
|
||||
.cat.b-exploit { background: var(--sev-critical); color: #fff; } .cat.b-ssh-fail { background: var(--accent); } .cat.b-ssh-probe { background: var(--c-ssh-probe); }
|
||||
.cat.b-ban { background: var(--accent-2); } .cat.b-ssh-ok { background: var(--sev-low); } .cat.b-ok { background: var(--sev-low); }
|
||||
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
|
||||
.toolbar input[type="text"] { flex: 1 1 140px; min-width: 0; }
|
||||
.toolbar input[type="number"] { width: 84px; }
|
||||
.pager { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; color: var(--muted); font-size: 12px; }
|
||||
.hosts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
|
||||
.host { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
|
||||
.host h3 { margin: 0 0 4px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
|
||||
.host .meta { color: var(--muted); font-size: 12px; }
|
||||
.host dl { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; margin: 8px 0 0; font-size: 12.5px; }
|
||||
.host dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
|
||||
.host dt { color: var(--muted); }
|
||||
.st-following, .st-ok { color: var(--sev-low); } .st-waiting, .st-backfill { color: var(--sev-medium); } .st-error { color: var(--sev-critical); }
|
||||
tr.row:hover td, tr.row:focus-visible td { background: var(--surface-raised); }
|
||||
td.nw, td.nw * { white-space: nowrap; overflow-wrap: normal; }
|
||||
.origin { display: block; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
td small { display: block; color: var(--ink-muted); font-size: .8125rem; overflow-wrap: anywhere; }
|
||||
.toolbar { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; margin-bottom: var(--s-3); }
|
||||
.toolbar input[type="text"], .toolbar input[type="search"] { flex: 1 1 180px; min-width: 0; }
|
||||
.toolbar input[type="number"] { width: 90px; }
|
||||
.pager { display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); margin-top: var(--s-3); color: var(--ink-muted); font-size: .875rem; flex-wrap: wrap; }
|
||||
.pager .btns { display: flex; gap: var(--s-2); align-items: center; }
|
||||
|
||||
/* feed */
|
||||
.feed { list-style: none; padding: 0; max-height: 420px; overflow-y: auto; }
|
||||
.feed li { padding: 7px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 2px 8px; align-items: baseline; }
|
||||
.feed li:first-child { border-top: 0; padding-top: 0; }
|
||||
.feed .t { color: var(--ink-muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
|
||||
.feed .what { grid-column: 1 / -1; color: var(--ink-muted); font-size: .875rem; overflow-wrap: anywhere; }
|
||||
.feed li.empty { display: block; }
|
||||
|
||||
/* hosts and sources */
|
||||
.hosts { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
|
||||
.host { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-3) var(--s-4); background: var(--surface-raised); }
|
||||
.host h3 { font: 700 1rem/1.3 var(--font-display); display: flex; align-items: center; gap: 8px; color: var(--heading); overflow-wrap: anywhere; }
|
||||
.host .meta { color: var(--ink-muted); font-size: .875rem; margin-top: 2px; overflow-wrap: anywhere; }
|
||||
.host dl { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; margin: 10px 0 0; font-size: .875rem; }
|
||||
.host dd { text-align: right; font-variant-numeric: tabular-nums; }
|
||||
.host dt { color: var(--ink-muted); }
|
||||
.st-following { color: var(--ok); } .st-waiting, .st-backfill { color: var(--warn); } .st-error { color: var(--danger); } .st-disabled { color: var(--ink-muted); }
|
||||
.kv { display: grid; grid-template-columns: minmax(120px, auto) minmax(0, 1fr); gap: 6px var(--s-4); }
|
||||
.kv dt { color: var(--ink-muted); } .kv dd { overflow-wrap: anywhere; }
|
||||
|
||||
/* drawer */
|
||||
.scrim { position: fixed; inset: 0; background: var(--scrim); z-index: 40; }
|
||||
aside#detail {
|
||||
position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); background: var(--bg-2); border-left: 1px solid var(--line);
|
||||
box-shadow: var(--shadow); z-index: 20; padding: 18px 16px; overflow-y: auto; overflow-x: hidden;
|
||||
position: fixed; top: 0; right: 0; bottom: 0; width: min(480px, 100vw); background: var(--surface-panel); border-left: 1px solid var(--line-strong);
|
||||
box-shadow: var(--shadow); z-index: 50; padding: var(--s-4); overflow-y: auto; overflow-x: hidden;
|
||||
}
|
||||
aside#detail[hidden] { display: none; }
|
||||
aside#detail h2 { font-size: 18px; text-transform: none; letter-spacing: 0; color: var(--text); margin: 0; overflow-wrap: anywhere; }
|
||||
aside#detail dl { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 6px 10px; margin: 14px 0; }
|
||||
aside#detail dt { color: var(--muted); }
|
||||
aside#detail dd { margin: 0; overflow-wrap: anywhere; }
|
||||
aside#detail ul { margin: 0; padding-left: 16px; }
|
||||
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 15; }
|
||||
.scrim[hidden] { display: none; }
|
||||
footer { color: var(--muted); font-size: 12px; text-align: center; padding: 20px 0 6px; }
|
||||
.err-banner { background: color-mix(in srgb, var(--sev-critical) 18%, transparent); border: 1px solid var(--sev-critical); border-radius: 10px; padding: 8px 12px; margin-bottom: 12px; }
|
||||
.err-banner[hidden] { display: none; }
|
||||
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
|
||||
aside#detail .dh { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; margin-bottom: var(--s-3); }
|
||||
aside#detail h2 { font: 700 1.25rem/1.2 var(--font-mono); color: var(--heading); margin-right: auto; overflow-wrap: anywhere; }
|
||||
aside#detail .kv { margin: var(--s-3) 0; grid-template-columns: 112px minmax(0, 1fr); }
|
||||
aside#detail ul { padding-left: 16px; }
|
||||
aside#detail li { overflow-wrap: anywhere; margin-bottom: 2px; }
|
||||
|
||||
/* ---------------------------------------------------------------- login */
|
||||
.login { min-height: 100vh; display: grid; place-items: center; padding: var(--s-4); }
|
||||
.login .panel { width: min(400px, 100%); padding: 26px 22px; text-align: center; }
|
||||
.login img { width: 84px; height: 84px; border-radius: 20px; }
|
||||
.login h1 { margin: 10px 0 2px; }
|
||||
.login p { color: var(--muted); margin: 0 0 16px; }
|
||||
.login img { width: 84px; height: 84px; border-radius: 20px; margin: 0 auto; }
|
||||
.login h1 { margin: 10px 0 2px; font: 700 1.5rem/1.2 var(--font-display); color: var(--heading); }
|
||||
.login p { color: var(--ink-muted); margin: 0 0 16px; }
|
||||
.login form { display: grid; gap: 10px; }
|
||||
.login .msg { color: var(--sev-critical); min-height: 1.4em; }
|
||||
.login .controls { justify-content: center; margin-top: 14px; }
|
||||
.login .msg { color: var(--danger); min-height: 1.4em; }
|
||||
.login .controls { display: flex; justify-content: center; gap: var(--s-2); margin-top: 14px; }
|
||||
|
||||
/* ---------------------------------------------------------------- responsive */
|
||||
@media (max-width: 1180px) {
|
||||
.app { --rail-w: 68px; }
|
||||
.rail { padding: var(--s-3) var(--s-2); align-items: center; }
|
||||
.brand-name, .nav-label, .rail-foot { display: none; }
|
||||
.nav-item { justify-content: center; padding: 8px; border-left: 0; width: 44px; }
|
||||
.nav-item[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
|
||||
.grid.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||||
}
|
||||
@media (max-width: 960px) {
|
||||
.cols-main, .cols-3 { grid-template-columns: 1fr; }
|
||||
.cols-2 { grid-template-columns: 1fr; }
|
||||
.grid.g2, .grid.g3, .grid.main-side, .mapbox { grid-template-columns: 1fr; }
|
||||
}
|
||||
@media (max-width: 720px) {
|
||||
.wrap { padding: 12px; }
|
||||
.brand small { display: none; }
|
||||
.kpi .v { font-size: 24px; }
|
||||
.app { display: block; padding-bottom: 68px; }
|
||||
.rail { display: none; }
|
||||
.app { background: none; }
|
||||
.topbar { padding: var(--s-2) var(--s-4); gap: var(--s-2); }
|
||||
.top-brand { display: inline-flex; }
|
||||
.top-brand img { width: 30px; height: 30px; }
|
||||
.topbar h1 { font-size: 1.125rem; }
|
||||
.conn span:not(.dot) { display: none; }
|
||||
.conn { margin-right: 0; }
|
||||
.slice { padding: var(--s-3) var(--s-4) 0; }
|
||||
main#view { padding: var(--s-3) var(--s-4) var(--s-5); gap: var(--s-4); }
|
||||
.err-banner { margin: var(--s-3) var(--s-4) 0; }
|
||||
.shell-foot { padding: var(--s-4); }
|
||||
.lead { padding: 18px; grid-template-columns: 1fr; }
|
||||
.lead .pulse { display: none; }
|
||||
.lead h2 { font-size: 1.25rem; }
|
||||
.grid.kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
|
||||
.stat { padding: var(--s-3); } .stat .v { font-size: 1.5rem; }
|
||||
.tabbar {
|
||||
display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
|
||||
background: var(--rail); border-top: 1px solid var(--rail-line); padding: 4px 4px max(4px, env(safe-area-inset-bottom));
|
||||
}
|
||||
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; border: 0; background: none; color: var(--rail-ink); text-decoration: none; font-size: .75rem; border-radius: var(--radius-sm); cursor: pointer; padding: 4px 2px; }
|
||||
.tab .nav-ico svg { width: 22px; height: 22px; }
|
||||
.tab span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.tab[aria-current="page"], .tab[aria-expanded="true"] { background: var(--rail-active); color: #fff; }
|
||||
.more-sheet { position: fixed; left: 0; right: 0; bottom: 68px; z-index: 31; background: var(--surface-overlay); border-top: 1px solid var(--line-strong); border-radius: 14px 14px 0 0; padding: var(--s-3); box-shadow: var(--shadow); }
|
||||
.more-sheet:not([hidden]) { display: block; }
|
||||
.more-sheet a { display: flex; align-items: center; gap: var(--s-3); min-height: 48px; padding: 8px var(--s-3); color: var(--ink); text-decoration: none; border-radius: var(--radius-sm); }
|
||||
.more-sheet a[aria-current="page"] { background: var(--accent-soft); }
|
||||
.more-sheet .nav-ico { color: var(--accent); }
|
||||
.tbl-wrap { overflow: visible; }
|
||||
table.stack thead { display: none; }
|
||||
table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
|
||||
table.stack tr { border-top: 1px solid var(--line); padding: 8px 0; }
|
||||
table.stack tr:first-child { border-top: 0; }
|
||||
table.stack td { border: 0; padding: 2px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
|
||||
table.stack td::before { content: attr(data-label); color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; text-align: left; flex: none; }
|
||||
table.stack td::before { content: attr(data-label); color: var(--ink-muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; text-align: left; flex: none; }
|
||||
table.stack td > * { min-width: 0; }
|
||||
.chart-wrap svg { height: 190px; }
|
||||
table.stack td.nw, table.stack td.nw * { white-space: normal; }
|
||||
.origin { max-width: none; white-space: normal; }
|
||||
.kv { grid-template-columns: 1fr; gap: 0; }
|
||||
.kv dt { margin-top: 8px; }
|
||||
aside#detail .kv { grid-template-columns: 1fr; }
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
|
||||
#ips td:first-child, #ips td:nth-child(2), #sources td:nth-child(-n+2), #sources td:nth-child(n+4) { white-space: nowrap; overflow-wrap: normal; }
|
||||
@media (max-width: 720px) {
|
||||
#ips td, #sources td { white-space: normal !important; max-width: none !important; }
|
||||
#ips td:first-child { font-weight: 600; }
|
||||
}
|
||||
.tabs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 14px; }
|
||||
.tabs button[role="tab"] { background: var(--field); border: 1px solid var(--line); border-radius: 10px; padding: 8px 18px; cursor: pointer; font-weight: 600; }
|
||||
.tabs button[aria-selected="true"] { background: var(--accent); color: #04121c; border-color: transparent; }
|
||||
.tabs select { margin-left: auto; max-width: 100%; }
|
||||
.tabs select[hidden] { display: none; }
|
||||
.mapbox { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 14px; align-items: start; }
|
||||
.map svg { width: 100%; height: auto; display: block; }
|
||||
.mapc { fill: var(--field); stroke: var(--line); stroke-width: .6; }
|
||||
.mapc.hit { fill: var(--sev-critical); stroke: var(--line); }
|
||||
.map.good .mapc.hit { fill: var(--accent); }
|
||||
.maplist .bar-row { padding: 4px 0; }
|
||||
.sw.t-req { background: color-mix(in srgb, var(--accent) 38%, transparent); }
|
||||
.sw.t-pages { background: var(--accent); }
|
||||
.b-treq { fill: color-mix(in srgb, var(--accent) 38%, transparent); }
|
||||
.b-tpages { fill: var(--accent); }
|
||||
.bar-row .sub { grid-column: 1 / -1; color: var(--muted); font-size: 11.5px; overflow-wrap: anywhere; }
|
||||
.origin { display: block; }
|
||||
.origin small, td small { display: block; color: var(--muted); font-size: 11.5px; overflow-wrap: anywhere; }
|
||||
footer #attrib { margin-top: 4px; opacity: .8; }
|
||||
@media (max-width: 960px) { .mapbox { grid-template-columns: 1fr; } }
|
||||
|
||||
/* compact IP table: one line per IP on desktop */
|
||||
#ips td { padding: 5px 8px; }
|
||||
#ips .origin { display: block; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
#ips td:nth-child(4) { white-space: nowrap; }
|
||||
#ips td:nth-child(4) .chip { margin-bottom: 0; }
|
||||
@media (max-width: 720px) {
|
||||
#ips .origin { max-width: none; white-space: normal; }
|
||||
}
|
||||
Reference in new issue
Block a user