CI / Format and vet (pull_request) Successful in 1m1s
CI / Dependency audit (pull_request) Successful in 32s
CI / Tests (Linux, race detector) (pull_request) Successful in 1m55s
Release / Plan (reuse the published image?) (push) Successful in 4s
Release / ci (push) Skipped
Release / Build hub image (amd64) (push) Skipped
Release / Build probe image (amd64) (push) Skipped
Release / Build hub image (arm64) (push) Skipped
Release / Build probe image (arm64) (push) Skipped
Release / Publish tags (hub) (push) Skipped
Release / Publish tags (probe) (push) Skipped
Release / Gitea release (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
810 lines
60 KiB
CSS
810 lines
60 KiB
CSS
/* 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 {
|
|
/* 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;
|
|
--grid-gap: 16px;
|
|
--topbar-h: 64px;
|
|
--h-metric: 112px; --h-list: 280px; --h-chart: 220px; --row-h: 32px; --row-h-touch: 40px; --side-w: 320px;
|
|
--seq-1: #12354d; --seq-2: #17608a; --seq-3: #1f8fc0; --seq-4: #38bdf8; --seq-5: #b5ecff;
|
|
--untrusted-bg: var(--surface-sunken);
|
|
--focus-ring: 0 0 0 2px var(--surface-base), 0 0 0 4px var(--accent);
|
|
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"] {
|
|
--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);
|
|
--seq-1: #dcecf7; --seq-2: #9ccbe8; --seq-3: #4f9fd0; --seq-4: #0a78b5; --seq-5: #064a73;
|
|
color-scheme: light;
|
|
}
|
|
@media (prefers-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);
|
|
--seq-1: #dcecf7; --seq-2: #9ccbe8; --seq-3: #4f9fd0; --seq-4: #0a78b5; --seq-5: #064a73;
|
|
color-scheme: light;
|
|
}
|
|
}
|
|
|
|
/* ---------------------------------------------------------------- base */
|
|
* { box-sizing: border-box; }
|
|
html { -webkit-text-size-adjust: 100%; font-size: 16px; background: var(--surface-base); }
|
|
body {
|
|
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); text-underline-offset: 2px; }
|
|
button, select, input { font: inherit; color: inherit; }
|
|
h1, h2, h3, p, dl, dd, ul { margin: 0; }
|
|
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
|
|
.btn:focus-visible, select:focus-visible, input:focus-visible { outline: 0; box-shadow: var(--focus-ring); }
|
|
[hidden] { display: none !important; }
|
|
.mono { font-family: var(--font-mono); font-size: .875rem; }
|
|
.num { font-variant-numeric: tabular-nums lining-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 { 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;
|
|
}
|
|
.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; }
|
|
.nav-item, .tab { position: relative; }
|
|
.nav-badge { margin-left: auto; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--danger); color: var(--surface-base); font-size: .75rem; font-weight: 700; line-height: 20px; text-align: center; font-variant-numeric: tabular-nums; }
|
|
.more-sheet .nav-badge { margin-left: auto; }
|
|
.tab .nav-badge { position: absolute; top: 4px; left: calc(50% + 4px); min-width: 18px; line-height: 18px; padding: 0 5px; font-size: .6875rem; }
|
|
.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: 0 var(--s-6); height: var(--topbar-h);
|
|
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); }
|
|
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: 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(--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(--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: 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; }
|
|
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(--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; }
|
|
.pgr { display: flex; justify-content: space-between; align-items: center; gap: var(--s-2) var(--s-3); margin-top: var(--s-3); flex-wrap: wrap; color: var(--ink-muted); font-size: .875rem; }
|
|
.pgr-l { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
|
|
.pgr-b { min-width: 36px; padding: 2px 8px; justify-content: center; }
|
|
.pgr-n.on { background: var(--accent); color: var(--on-accent); border-color: transparent; font-weight: 600; }
|
|
.pgr-gap { min-width: 20px; text-align: center; }
|
|
.pgr-b:disabled { opacity: .45; cursor: default; }
|
|
@media (max-width: 560px) {
|
|
.pgr { justify-content: center; }
|
|
.pgr-n:not(.on), .pgr-gap { display: none; }
|
|
.pgr-b { min-width: 44px; min-height: 44px; }
|
|
}
|
|
|
|
/* 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, .st-degraded { color: var(--danger); font-weight: 600; } .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(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 .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; 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(--danger); min-height: 1.4em; }
|
|
.login .controls { display: flex; justify-content: center; gap: var(--s-2); margin-top: 14px; }
|
|
|
|
/* ---------------------------------------------------------------- responsive */
|
|
@media (max-width: 1199px) {
|
|
.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 .nav-badge { position: absolute; top: 2px; right: 0; min-width: 16px; padding: 0 4px; font-size: .625rem; line-height: 16px; }
|
|
.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: 1023px) {
|
|
.grid.g2, .grid.g3, .grid.main-side, .mapbox { grid-template-columns: 1fr; }
|
|
}
|
|
@media (max-width: 767px) {
|
|
.app { display: block; padding-bottom: 68px; }
|
|
.rail { display: none; }
|
|
.app { background: none; }
|
|
:root { --topbar-h: 56px; }
|
|
.topbar { padding: 0 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; }
|
|
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:not(.nav-ico):not(.nav-badge) { 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); max-height: calc(100dvh - 68px - env(safe-area-inset-top, 0px) - 12px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
|
|
.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(--ink-muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; text-align: left; flex: none; }
|
|
table.stack td > * { min-width: 0; }
|
|
table.stack td.nw, table.stack td.nw * { white-space: normal; }
|
|
table.stack tr.row { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; padding: 8px 10px; margin: 6px 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-raised); }
|
|
table.stack tr.row td { display: block; text-align: left; min-width: 0; padding: 0; }
|
|
table.stack tr.row td::before { display: block; margin-bottom: 0; }
|
|
table.stack tr.row td:first-child { grid-column: 1 / -1; font-weight: 600; }
|
|
table.stack tr.row td:first-child::before { display: none; }
|
|
table.stack tr.row td:nth-child(4), table.stack tr.row td:nth-child(5) { grid-column: 1 / -1; }
|
|
.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; } }
|
|
|
|
/* ================================================================ layout system
|
|
Breakpoints: 560 / 768 / 1024 / 1440. Every grid child may shrink (min-width: 0),
|
|
mono text breaks anywhere, no card has a fixed pixel width. */
|
|
.grid-12 { display: grid; gap: var(--grid-gap); grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
|
|
.grid-12 > * { min-width: 0; grid-column: span 12; }
|
|
.grid-12 .span-2 { grid-column: span 2; } .grid-12 .span-3 { grid-column: span 3; } .grid-12 .span-4 { grid-column: span 4; }
|
|
.grid-12 .span-6 { grid-column: span 6; } .grid-12 .span-8 { grid-column: span 8; } .grid-12 .span-12 { grid-column: span 12; }
|
|
.kpi-row { display: contents; }
|
|
.grid-12 > .kpi-row > .card-metric { grid-column: span 2; min-width: 0; }
|
|
@media (max-width: 1199px) {
|
|
.grid-12 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
|
|
.grid-12 .span-2, .grid-12 .span-3, .grid-12 .span-4, .grid-12 .span-6, .grid-12 > .kpi-row > .card-metric { grid-column: span 4; }
|
|
.grid-12 .span-8, .grid-12 .span-12 { grid-column: span 8; }
|
|
}
|
|
@media (max-width: 767px) {
|
|
:root { --grid-gap: 12px; }
|
|
.grid-12 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
|
|
.grid-12 .span-3, .grid-12 .span-4, .grid-12 .span-6, .grid-12 .span-8, .grid-12 .span-12 { grid-column: span 4; }
|
|
.grid-12 .span-2, .grid-12 > .kpi-row > .card-metric { grid-column: span 2; }
|
|
}
|
|
.mono, td, .k, .what, .origin, dd { overflow-wrap: anywhere; }
|
|
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
|
|
|
|
/* metric card */
|
|
.stat, .card-metric { 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); box-shadow: var(--shadow); min-width: 0; min-height: var(--h-metric); display: flex; flex-direction: column; gap: 2px; }
|
|
.cm-label { color: var(--ink-muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; line-height: 1.3; }
|
|
.cm-value { font: 800 1.875rem/1.1 var(--font-display); color: var(--heading); font-variant-numeric: tabular-nums lining-nums; overflow-wrap: anywhere; }
|
|
.cm-sub { color: var(--ink-faint); font-size: .8125rem; }
|
|
.cm-delta { font-size: .8125rem; font-weight: 600; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
|
|
.cm-delta.bad { color: var(--danger); } .cm-delta.good { color: var(--ok); }
|
|
.cm-spark { width: 100%; height: 24px; margin-top: auto; display: block; }
|
|
.cm-spark polyline { fill: none; stroke: var(--accent); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
|
|
.card-metric.tone-danger { border-top-color: var(--danger); } .card-metric.tone-danger .cm-value { color: var(--danger); }
|
|
.card-metric.tone-warn { border-top-color: var(--warn); } .card-metric.tone-warn .cm-value { color: var(--warn); }
|
|
.card-metric.tone-ok { border-top-color: var(--ok); } .card-metric.tone-ok .cm-value { color: var(--ok); }
|
|
.card-metric.tone-info { border-top-color: var(--info); } .card-metric.tone-info .cm-value { color: var(--info); }
|
|
|
|
/* list / chart / map cards */
|
|
.panel-h { min-height: 36px; }
|
|
.panel-f { padding: var(--s-2) var(--s-4); border-top: 1px solid var(--line); font-size: .875rem; }
|
|
.card-list .panel-b { flex: none; height: var(--h-list); overflow-y: auto; }
|
|
.card-list .feed { max-height: none; overflow: visible; }
|
|
.card-chart .chart-wrap { min-height: var(--h-chart); }
|
|
.card-map .map { aspect-ratio: 2 / 1; }
|
|
.card-map .map svg { height: 100%; }
|
|
@media (max-width: 767px) { .card-map .map { aspect-ratio: 4 / 3; } .mapbox { grid-template-columns: 1fr; } }
|
|
.bucket-note { margin-left: auto; }
|
|
|
|
/* states */
|
|
.state-empty { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4) 0; color: var(--ink-muted); }
|
|
.state-empty .se-ico { width: 28px; height: 28px; flex: none; color: var(--ink-faint); }
|
|
.state-empty .se-ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; }
|
|
.state-empty .se-txt { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; min-width: 0; }
|
|
.state-empty strong { color: var(--ink); }
|
|
.state-error { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; padding: var(--s-3) var(--s-4); background: var(--danger-soft); border: 1px solid var(--danger); border-radius: var(--radius-sm); grid-column: 1 / -1; margin-bottom: var(--s-3); }
|
|
.skeleton { border-radius: var(--radius-sm); background: linear-gradient(90deg, var(--surface-raised), var(--surface-overlay), var(--surface-raised)); background-size: 200% 100%; animation: sk 1.4s linear infinite; min-height: 96px; }
|
|
.card-metric.skeleton { min-height: var(--h-metric); border-top-color: var(--line); }
|
|
.lead-skel { min-height: 100px; }
|
|
.card-list .skeleton { height: 100%; } .card-chart .skeleton { height: var(--h-chart); } .card-map .skeleton { aspect-ratio: 2 / 1; }
|
|
@keyframes sk { to { background-position: -200% 0; } }
|
|
|
|
/* popover, sheet, chips */
|
|
.popover { position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; width: min(380px, calc(100vw - 32px)); background: var(--surface-overlay); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s-3) var(--s-4); display: flex; flex-direction: column; gap: var(--s-3); }
|
|
.popover[hidden] { display: none; }
|
|
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--surface-overlay); border-top: 1px solid var(--line-strong); border-radius: 14px 14px 0 0; padding: var(--s-4); box-shadow: var(--shadow); max-height: 85vh; overflow-y: auto; }
|
|
.chip-group { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
|
|
.chip-btn { min-height: var(--row-h); padding: 2px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-raised); cursor: pointer; font-variant-numeric: tabular-nums; }
|
|
.chip-btn:hover { border-color: var(--line-strong); }
|
|
.chip-btn[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: transparent; font-weight: 600; }
|
|
|
|
/* tables as cards, grouped tables, untrusted text, chips */
|
|
.tbl-group td { background: var(--surface-raised); font-weight: 600; color: var(--ink-muted); }
|
|
.untrusted { font-family: var(--font-mono); font-size: .8125rem; background: var(--untrusted-bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 8px; overflow-wrap: anywhere; white-space: pre-wrap; min-width: 0; display: block; }
|
|
.untrusted[data-label]::before { content: attr(data-label); display: block; font: 600 11px var(--font-sans); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); margin-bottom: 4px; }
|
|
.chip-mitre { display: inline-block; padding: 1px 9px; border: 1px solid color-mix(in srgb, var(--viz-5) 60%, transparent); background: color-mix(in srgb, var(--viz-5) 14%, transparent); border-radius: 6px; font: 600 .8125rem var(--font-mono); overflow-wrap: anywhere; }
|
|
.timeline { list-style: none; padding: 0 0 0 14px; border-left: 2px solid var(--line-strong); display: grid; gap: var(--s-3); }
|
|
.timeline > li { position: relative; min-width: 0; }
|
|
.timeline > li::before { content: ""; position: absolute; left: -20px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
|
|
.heatmap { display: grid; gap: 2px; min-width: 0; }
|
|
.heatmap > i { display: block; aspect-ratio: 1; border-radius: 2px; background: var(--seq-1); }
|
|
.heatmap > i.s2 { background: var(--seq-2); } .heatmap > i.s3 { background: var(--seq-3); } .heatmap > i.s4 { background: var(--seq-4); } .heatmap > i.s5 { background: var(--seq-5); }
|
|
.session-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-raised); padding: var(--s-3) var(--s-4); min-width: 0; display: grid; gap: var(--s-2); }
|
|
.ext-links { display: flex; flex-wrap: wrap; gap: var(--s-2); }
|
|
.ip-toc { display: flex; flex-wrap: wrap; gap: var(--s-2); position: sticky; top: var(--topbar-h); z-index: 10; background: var(--surface-base); padding: var(--s-2) 0; }
|
|
.ip-toc a { padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink-muted); font-size: .875rem; }
|
|
.ip-toc a:hover { color: var(--ink); border-color: var(--line-strong); }
|
|
|
|
/* IP verdict (drawer and the full IP page) */
|
|
.ip-verdict { border: 1px solid var(--line); border-left: 4px solid var(--ink-faint); border-radius: var(--radius); padding: var(--s-3) var(--s-4); background: var(--surface-raised); display: grid; gap: var(--s-2); min-width: 0; }
|
|
.ip-verdict.lv-hostile { border-left-color: var(--danger); } .ip-verdict.lv-suspicious { border-left-color: var(--warn); } .ip-verdict.lv-low { border-left-color: var(--ok); }
|
|
.iv-top { display: flex; align-items: baseline; gap: var(--s-2); flex-wrap: wrap; }
|
|
.iv-score { font: 800 2rem/1 var(--font-display); color: var(--heading); } .iv-max { color: var(--ink-faint); }
|
|
.iv-origin { overflow-wrap: anywhere; }
|
|
.score-bar { height: 6px; border-radius: 3px; background: var(--surface-sunken); overflow: hidden; }
|
|
.score-bar i { display: block; height: 100%; background: var(--accent); }
|
|
.ip-verdict.lv-hostile .score-bar i { background: var(--danger); } .ip-verdict.lv-suspicious .score-bar i { background: var(--warn); }
|
|
|
|
/* drawer preview */
|
|
aside#detail { display: flex; flex-direction: column; gap: var(--s-3); }
|
|
.drawer-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); }
|
|
.drawer-metrics .card-metric { min-height: 0; padding: var(--s-2); box-shadow: none; }
|
|
.drawer-metrics .cm-value { font-size: 1.25rem; }
|
|
.drawer-metrics .cm-label { font-size: 10px; letter-spacing: .04em; }
|
|
.drawer-sec h3 { font: 600 .8125rem var(--font-sans); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); margin-bottom: 6px; }
|
|
.drawer-sec ul { padding-left: 16px; }
|
|
.mini-bars { width: 100%; height: 56px; display: block; } .mini-bars rect { fill: var(--accent); }
|
|
.drawer-actions { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-top: auto; }
|
|
@media (max-width: 559px) { .drawer-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
|
|
|
/* toast */
|
|
.toasts { position: fixed; left: 50%; bottom: 80px; transform: translateX(-50%); z-index: 90; display: grid; gap: var(--s-2); pointer-events: none; }
|
|
.toast { background: var(--surface-overlay); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 8px 14px; box-shadow: var(--shadow); }
|
|
|
|
/* touch rows */
|
|
@media (max-width: 767px) { .btn, select, input[type="text"], input[type="number"], input[type="search"], input[type="datetime-local"] { min-height: var(--row-h-touch); } }
|
|
input[type="datetime-local"] { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 12px; min-height: 36px; }
|
|
.grid-12 { align-items: stretch; }
|
|
.card-map .mapbox { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
|
|
@media (max-width: 1199px) { .card-map .mapbox { grid-template-columns: 1fr; } }
|
|
.lead { overflow: clip; }
|
|
.mini-wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px; align-items: stretch; }
|
|
.mini-scale { display: flex; flex-direction: column; justify-content: space-between; height: 56px; font-size: 11px; color: var(--ink-faint); text-align: right; }
|
|
.mini-days { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-faint); margin-top: 2px; }
|
|
.mini-plot { min-width: 0; }
|
|
.score-bar { position: relative; overflow: visible; }
|
|
.score-bar i { border-radius: 3px; }
|
|
.score-bar .tick { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink-muted); }
|
|
.iv-cuts { font-size: .75rem; }
|
|
.mini-days span { white-space: nowrap; }
|
|
.mini-days { font-size: 10px; }
|
|
|
|
/* ================================================================ charts and help */
|
|
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
|
|
table.sr-only { table-layout: fixed; max-width: 1px; }
|
|
/* clip, not hidden: nothing may widen the mobile layout viewport (it drags the fixed tabbar along); sticky still works */
|
|
html, body { overflow-x: clip; }
|
|
.vz { min-width: 0; }
|
|
.vz-donut-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); }
|
|
.vz-donut-svg { flex: 0 1 190px; min-width: 140px; }
|
|
.vz-donut { width: 100%; height: auto; display: block; }
|
|
.vz-seg { transition: opacity .15s, stroke-width .15s; cursor: pointer; outline: none; }
|
|
.vz-seg:hover, .vz-seg:focus { stroke-width: 31; }
|
|
.vz-seg:focus-visible { stroke: var(--ink) !important; }
|
|
.vz-seg.dim { opacity: .35; }
|
|
.vz-c-v { font: 800 26px var(--font-display); fill: var(--heading); font-variant-numeric: tabular-nums; }
|
|
.vz-c-l { font: 500 12px var(--font-sans); fill: var(--ink-muted); }
|
|
.vz-gauge-wrap .vz-c-l { text-align: center; }
|
|
.vz-legend { list-style: none; padding: 0; display: grid; gap: 4px; flex: 1 1 140px; min-width: 0; }
|
|
.vz-legend li { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: .875rem; }
|
|
.vz-legend .vz-l { flex: 1; min-width: 0; overflow-wrap: anywhere; }
|
|
.vz-legend .vz-v { color: var(--ink-muted); white-space: nowrap; }
|
|
.vz-area + .legend, .vz > .vz-legend { margin-top: var(--s-2); display: flex; flex-wrap: wrap; gap: 4px 14px; }
|
|
.vz-area-s { stroke: var(--surface-panel); stroke-width: 1; fill-opacity: .9; }
|
|
.vz-guide { stroke: var(--ink-muted); stroke-width: 1; stroke-dasharray: 3 3; pointer-events: none; }
|
|
.vz-radar-wrap svg { width: 100%; height: auto; display: block; }
|
|
.vz-ring { fill: none; stroke: var(--line); stroke-width: 1; }
|
|
.vz-rs { fill-opacity: .18; stroke-width: 2; }
|
|
.vz-dot { stroke: var(--surface-panel); stroke-width: 1; outline: none; }
|
|
.vz-dot:focus-visible { stroke: var(--ink); stroke-width: 2; }
|
|
.vz-axl { font: 500 11px var(--font-sans); fill: var(--ink-muted); }
|
|
.vz-bars { display: grid; gap: 8px; }
|
|
.vz-row { display: grid; grid-template-columns: minmax(70px, 38%) minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: .875rem; }
|
|
.vz-row .vz-l { overflow-wrap: anywhere; min-width: 0; }
|
|
.vz-row .vz-v { color: var(--ink-muted); }
|
|
.vz-track { display: flex; height: 12px; background: var(--surface-raised); border-radius: 6px; overflow: hidden; }
|
|
.vz-track i { display: block; height: 100%; }
|
|
.vz-cols { display: flex; align-items: flex-end; gap: 8px; height: 180px; }
|
|
.vz-cols .vz-row { display: flex; flex-direction: column-reverse; align-items: center; height: 100%; flex: 1; min-width: 0; }
|
|
.vz-cols .vz-track { flex-direction: column-reverse; width: 100%; height: 100%; }
|
|
.vz-cols .vz-track i { width: 100%; }
|
|
.vz-heat svg { width: 100%; height: auto; display: block; }
|
|
.vz-cell { fill: var(--surface-raised); }
|
|
.vz-cell.s1 { fill: var(--seq-1); } .vz-cell.s2 { fill: var(--seq-2); } .vz-cell.s3 { fill: var(--seq-3); } .vz-cell.s4 { fill: var(--seq-4); } .vz-cell.s5 { fill: var(--seq-5); }
|
|
.vz-cell:focus-visible { stroke: var(--ink); stroke-width: 2; outline: none; }
|
|
.vz-gauge { width: 100%; max-width: 220px; height: auto; display: block; margin: 0 auto; }
|
|
.vz-g-bg, .vz-g-fg { fill: none; stroke-width: 14; stroke-linecap: round; }
|
|
.vz-g-bg { stroke: var(--surface-raised); }
|
|
.vz-g-fg { stroke: var(--ok); } .vz-g-fg.tone-warn { stroke: var(--warn); } .vz-g-fg.tone-danger { stroke: var(--danger); } .vz-g-fg.tone-info { stroke: var(--info); }
|
|
.card-chart .vz-area { min-height: var(--h-chart); }
|
|
|
|
.help-btn { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-left: 6px; padding: 0; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface-raised); color: var(--ink-muted); font: 700 11px/1 var(--font-sans); cursor: help; vertical-align: middle; text-transform: none; letter-spacing: 0; flex: none; }
|
|
.help-btn:hover, .help-btn:focus-visible { color: var(--on-accent); background: var(--accent); border-color: transparent; }
|
|
.cm-label, .panel-h h2, .legend { }
|
|
.cm-label { display: block; }
|
|
.panel-h h2 { display: inline-flex; align-items: center; }
|
|
.help-pop { position: fixed; z-index: 95; width: min(320px, calc(100vw - 16px)); background: var(--surface-overlay); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 10px 12px; font-size: .875rem; line-height: 1.45; text-transform: none; letter-spacing: 0; font-weight: 400; }
|
|
.help-pop[hidden] { display: none; }
|
|
.help-pop .help-do { margin-top: 6px; color: var(--ink-muted); }
|
|
.nav-group { margin: 10px 0 2px; padding: 0 var(--s-3); color: var(--rail-ink-muted); font: 600 11px var(--font-sans); text-transform: uppercase; letter-spacing: .1em; }
|
|
.nav-group:first-child { margin-top: 0; }
|
|
.more-sheet .nav-group { color: var(--ink-muted); padding: 6px var(--s-3) 0; }
|
|
@media (max-width: 1199px) { .nav-group { font-size: 0; height: 1px; background: var(--rail-line); margin: 8px 6px; padding: 0; } }
|
|
@media (max-width: 767px) { .more-sheet .nav-group { font-size: 11px; height: auto; background: none; margin: 6px 0 0; padding: 6px var(--s-3) 0; } }
|
|
|
|
.unban-dlg { max-width: min(30rem, calc(100vw - 32px)); padding: var(--s-4, 16px); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface-overlay); color: var(--ink); }
|
|
.unban-dlg::backdrop { background: rgba(0, 0, 0, .5); }
|
|
.unban-dlg h2 { margin: 0 0 8px; font-size: 1.125rem; }
|
|
.unban-opts { border: 0; padding: 0; margin: 12px 0; display: grid; gap: 6px; }
|
|
.unban-opts legend { padding: 0; margin-bottom: 6px; font-weight: 600; }
|
|
.unban-opt { display: flex; align-items: center; gap: 8px; }
|
|
.unban-err { color: var(--bad, #b3261e); margin: 8px 0 0; }
|
|
.unban-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
|
|
|
|
/* Plain data tables on phones: rows become stacked cards (labels from data-label, set by cardTables() in app.js). */
|
|
@media (max-width: 767px) {
|
|
.an-scroll, .df-scroll, .hl-scroll { overflow-x: hidden; max-width: 100%; }
|
|
.ig-scroll, .mt-tablewrap { overflow: visible; max-width: 100%; }
|
|
table.mc { min-width: 0 !important; }
|
|
table.mc thead { display: none; }
|
|
table.mc, table.mc tbody, table.mc tr, table.mc td { display: block; width: 100%; box-sizing: border-box; }
|
|
table.mc tr { margin: 6px 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-raised); }
|
|
table.mc td { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border: 0; padding: 2px 0; text-align: right; min-width: 0; overflow-wrap: anywhere; word-break: normal; white-space: normal; }
|
|
table.mc td::before { content: attr(data-label); flex: none; max-width: 45%; color: var(--ink-muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; text-align: left; }
|
|
table.mc td[data-label=""]::before { display: none; }
|
|
table.mc td.num, table.mc td.num * { font-variant-numeric: tabular-nums; }
|
|
table.mc td.an-key, table.mc td .mono { overflow-wrap: anywhere; word-break: break-all; }
|
|
table.mc td[colspan] { display: block; text-align: left; }
|
|
}
|
|
@media (max-width: 767px) { table.mc .mc-v { min-width: 0; overflow-wrap: anywhere; word-break: normal; } }
|
|
|
|
/* ---------------------------------------------------------------- IP addresses never wrap (class set by tagIPs() in app.js) */
|
|
.ipv, td .ipv, table.mc td .ipv, table.mc .mc-v .ipv, td.nw .ipv {
|
|
white-space: nowrap !important; overflow-wrap: normal !important; word-break: normal !important; hyphens: none;
|
|
font-family: var(--font-mono); font-size: .875rem; font-variant-numeric: tabular-nums; letter-spacing: 0;
|
|
max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom;
|
|
}
|
|
.ipv.ipv-long { font-size: .75rem; }
|
|
@media (max-width: 767px) { .ipv.ipv-long { font-size: .65rem; } }
|
|
|
|
/* ---------------------------------------------------------------- filter bar (period + host), sticky */
|
|
.slice-sentinel { height: 1px; margin-bottom: -1px; }
|
|
.slice { position: sticky; top: var(--topbar-h); z-index: 32; display: flex; flex-direction: column; gap: 6px; padding: var(--s-3) var(--s-6) var(--s-2);
|
|
background: var(--surface-base); border-bottom: 1px solid transparent; transition: padding .15s, border-color .15s, box-shadow .15s; }
|
|
.slice.is-stuck { padding-top: var(--s-2); border-bottom-color: var(--line); box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .45); }
|
|
.slice.is-stuck .slice-sum { display: none; }
|
|
.slice-ctl { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: stretch; min-width: 0; }
|
|
.slice-ctl select { max-width: 100%; }
|
|
.range-picker, .host-picker { position: relative; display: flex; align-items: stretch; min-width: 0; }
|
|
.range-picker { gap: 0; }
|
|
.host-picker[hidden] { display: none; }
|
|
.fb-trigger { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 12px; max-width: 100%; min-width: 0; cursor: pointer; text-align: left;
|
|
color: var(--ink); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; }
|
|
.fb-trigger:hover { border-color: var(--line-strong); background: var(--surface-overlay); }
|
|
.fb-trigger[aria-expanded="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
|
|
.fb-trigger:focus-visible, .fb-step:focus-visible, .fb-chip:focus-visible, .fb-opt:focus-visible, .fb-link:focus-visible { outline: 0; box-shadow: var(--focus-ring); }
|
|
.fb-trigger > svg { width: 18px; height: 18px; flex: none; color: var(--ink-muted); }
|
|
.fb-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
|
|
.fb-k { font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); }
|
|
.fb-val { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
|
|
.fb-valrow { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
|
|
.fb-tz { flex: none; font: 600 .6875rem/1 var(--font-mono); color: var(--ink-muted); padding: 3px 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface-sunken); }
|
|
.fb-caret { display: inline-flex; flex: none; color: var(--ink-muted); }
|
|
.fb-caret svg { width: 16px; height: 16px; transition: transform .15s; }
|
|
.fb-trigger[aria-expanded="true"] .fb-caret svg { transform: rotate(180deg); }
|
|
.fb-period.is-custom { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
|
|
.fb-step { flex: none; width: 36px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink-muted); background: var(--surface-raised); border: 1px solid var(--line); }
|
|
.fb-step[hidden] { display: none; }
|
|
.fb-step svg { width: 16px; height: 16px; }
|
|
.fb-step:hover:not(:disabled) { color: var(--ink); background: var(--surface-overlay); }
|
|
.fb-step:disabled { opacity: .4; cursor: default; }
|
|
.fb-step:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); border-right: 0; }
|
|
.fb-step:first-child:not([hidden]) + .fb-period { border-radius: 0; }
|
|
.fb-period:has(+ .fb-step:not([hidden])) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
|
|
.fb-period + .fb-step { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; border-left: 0; }
|
|
.fb-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-faint); }
|
|
.fb-dot.on { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent); }
|
|
.fb-dot.warn { background: var(--warn); box-shadow: 0 0 0 3px color-mix(in srgb, var(--warn) 22%, transparent); }
|
|
.fb-dot.off { background: var(--danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 22%, transparent); }
|
|
.fb-count { flex: none; font-size: .75rem; font-weight: 600; padding: 2px 7px; border-radius: 999px; font-variant-numeric: tabular-nums; background: var(--surface-sunken); color: var(--ink-muted); border: 1px solid var(--line); }
|
|
.fb-count.on { color: var(--ok); background: var(--ok-soft); border-color: transparent; }
|
|
.fb-count.warn { color: var(--warn); background: var(--warn-soft); border-color: transparent; }
|
|
.fb-count.off { color: var(--danger); background: var(--danger-soft); border-color: transparent; }
|
|
|
|
/* popover (desktop) / sheet (phone) */
|
|
.fb-pop { position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; background: var(--surface-overlay); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-3); }
|
|
.fb-pop[hidden], .fb-scrim[hidden] { display: none; }
|
|
.fb-pop-period { width: min(660px, calc(100vw - 32px)); }
|
|
.fb-pop-host { width: min(340px, calc(100vw - 32px)); padding: var(--s-2); gap: 0; }
|
|
.fb-head { display: none; }
|
|
.fb-cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s-4); }
|
|
.fb-col { display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; }
|
|
.fb-rel { min-width: max-content; }
|
|
.fb-abs { padding-left: var(--s-4); border-left: 1px solid var(--line); }
|
|
.fb-title { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); }
|
|
.fb-grp { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--s-2); align-items: center; }
|
|
.fb-sub { font-size: .8125rem; color: var(--ink-faint); }
|
|
.fb-chips { display: flex; flex-wrap: nowrap; gap: 6px; min-width: 0; }
|
|
.fb-chip { white-space: nowrap; min-width: 46px; min-height: 34px; padding: 2px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-raised); color: var(--ink); cursor: pointer; font: 500 .875rem var(--font-sans); font-variant-numeric: tabular-nums; }
|
|
.fb-chip:hover { border-color: var(--line-strong); }
|
|
.fb-chip[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: transparent; font-weight: 700; }
|
|
.fb-field { display: grid; gap: 3px; font-size: .8125rem; color: var(--ink-muted); }
|
|
.fb-field input { width: 100%; min-width: 0; color: var(--ink); }
|
|
.fb-field input[aria-invalid="true"] { border-color: var(--danger); }
|
|
.fb-note { margin: 0; font-size: .75rem; color: var(--ink-faint); }
|
|
.fb-err { margin: 0; color: var(--danger); font-size: .8125rem; min-height: 1.1em; }
|
|
.fb-err:empty { min-height: 0; }
|
|
.fb-apply { min-height: 40px; }
|
|
.fb-keys { margin: 0; padding-top: var(--s-2); border-top: 1px solid var(--line); font-size: .75rem; color: var(--ink-faint); }
|
|
.fb-opts { display: flex; flex-direction: column; gap: 2px; }
|
|
.fb-opt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 44px; padding: 6px 10px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--ink); cursor: pointer; text-align: left; font: inherit; }
|
|
.fb-opt:hover { background: var(--surface-raised); }
|
|
.fb-opt[aria-pressed="true"] { background: var(--accent-soft); }
|
|
.fb-opt-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
|
|
.fb-opt-n { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.fb-opt-m { font-size: .75rem; color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.fb-tick { display: inline-flex; color: var(--accent); visibility: hidden; }
|
|
.fb-tick svg { width: 16px; height: 16px; }
|
|
.fb-opt[aria-pressed="true"] .fb-tick { visibility: visible; }
|
|
.fb-opt:first-child { border-bottom: 1px solid var(--line); border-radius: var(--radius-sm) var(--radius-sm) 0 0; margin-bottom: 2px; }
|
|
|
|
/* summary line */
|
|
.slice-sum { display: flex; align-items: center; gap: var(--s-2) var(--s-3); flex-wrap: wrap; min-width: 0; }
|
|
.slice-txt { margin: 0; color: var(--ink-muted); font-size: .8125rem; min-width: 0; flex: 1 1 auto; }
|
|
.slice-txt strong { color: var(--ink); font-weight: 600; }
|
|
.slice-tools { display: inline-flex; gap: var(--s-1); flex: none; }
|
|
.fb-mode { display: inline-flex; align-items: center; gap: 6px; margin-right: 4px; padding: 1px 8px; border-radius: 999px; font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; vertical-align: 1px; }
|
|
.fb-mode.is-live { color: var(--ok); background: var(--ok-soft); }
|
|
.fb-mode.is-fixed { color: var(--ink-muted); background: var(--surface-raised); border: 1px solid var(--line); }
|
|
.fb-pulse { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
|
|
.fb-mode.is-live .fb-pulse { animation: fb-pulse 2s ease-in-out infinite; }
|
|
@keyframes fb-pulse { 50% { opacity: .3; } }
|
|
.fb-link { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 2px 8px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--accent); font: 600 .8125rem var(--font-sans); cursor: pointer; }
|
|
.fb-link[hidden] { display: none; }
|
|
.fb-link:hover { background: var(--accent-soft); }
|
|
.fb-link svg { width: 15px; height: 15px; }
|
|
.fb-scrim { display: none; }
|
|
@media (prefers-reduced-motion: reduce) { .fb-mode.is-live .fb-pulse { animation: none; } .slice { transition: none; } }
|
|
|
|
@media (max-width: 767px) {
|
|
.slice { padding: var(--s-2) var(--s-4) var(--s-2); }
|
|
.slice-ctl { flex-wrap: nowrap; }
|
|
.range-picker { flex: 1 1 60%; }
|
|
.host-picker { flex: 1 1 40%; }
|
|
.fb-period, .fb-host { flex: 1 1 auto; }
|
|
.fb-trigger { gap: 8px; padding: 4px 10px; }
|
|
.fb-trigger > svg, .fb-tz { display: none; }
|
|
.fb-host .fb-count { display: none; }
|
|
.fb-step { display: none; }
|
|
.fb-period, .fb-period.is-custom { border-radius: var(--radius-sm) !important; }
|
|
.slice-ctl select { flex: 1 1 100%; }
|
|
.slice-ctl:has(#domain:not([hidden])) { flex-wrap: wrap; }
|
|
.fb-link { min-height: 44px; }
|
|
.fb-copy span { display: none; }
|
|
.fb-pop { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; z-index: 61; border-radius: 16px 16px 0 0; border-bottom: 0; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain;
|
|
padding: var(--s-3) var(--s-4) max(var(--s-4), env(safe-area-inset-bottom)); }
|
|
.fb-pop-host { width: auto; padding: var(--s-3) var(--s-4) max(var(--s-4), env(safe-area-inset-bottom)); gap: var(--s-2); }
|
|
.fb-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); }
|
|
.fb-head h2 { margin: 0; font: 700 1rem var(--font-display); color: var(--heading); }
|
|
.fb-x { width: 44px; min-height: 44px; }
|
|
.fb-x svg { width: 18px; height: 18px; }
|
|
.fb-cols { grid-template-columns: 1fr; }
|
|
.fb-abs { padding-left: 0; border-left: 0; padding-top: var(--s-3); border-top: 1px solid var(--line); }
|
|
.fb-grp { grid-template-columns: 1fr; gap: 4px; }
|
|
.fb-chips { flex-wrap: wrap; }
|
|
.fb-rel { min-width: 0; }
|
|
.fb-chip { min-height: 44px; flex: 1 0 calc(20% - 6px); }
|
|
.fb-opt { min-height: 52px; }
|
|
.fb-apply { min-height: 44px; }
|
|
.fb-keys { display: none; }
|
|
.fb-scrim:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 60; background: var(--scrim); }
|
|
:root.fb-lock, :root.fb-lock body { overflow: hidden; }
|
|
}
|