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>
137 lines
8.4 KiB
CSS
137 lines
8.4 KiB
CSS
/* Urutau - AO VIVO page. Everything is prefixed lv- (the shell already owns .live, .panel, .btn...). */
|
|
.lv {
|
|
--lv-gap: 8px;
|
|
position: relative; height: clamp(560px, calc(100dvh - 215px), 920px); overflow: hidden;
|
|
border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
|
|
background:
|
|
radial-gradient(900px 420px at 50% 40%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%),
|
|
linear-gradient(180deg, color-mix(in srgb, var(--bg) 94%, var(--accent)), var(--bg-2));
|
|
}
|
|
.lv-view { position: absolute; inset: 0; }
|
|
.lv-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; outline-offset: -3px; }
|
|
.lv-cv.lv-globe { cursor: grab; }
|
|
.lv-cv.lv-grab { cursor: grabbing; }
|
|
|
|
/* toolbar */
|
|
.lv-bar { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; }
|
|
.lv-btn {
|
|
display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
|
|
min-height: 36px; min-width: 36px; padding: 6px 12px; border-radius: 10px; font-size: 13px;
|
|
background: var(--panel); color: var(--text); border: 1px solid var(--line);
|
|
backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
|
|
}
|
|
.lv-btn:hover { border-color: var(--accent); }
|
|
.lv-btn[aria-pressed="true"].lv-pause, .lv-btn[aria-pressed="true"].lv-fs { border-color: var(--accent); color: var(--accent); }
|
|
.lv-seg { display: inline-flex; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
|
|
.lv-seg .lv-btn { border: 0; border-radius: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
|
|
.lv-seg .lv-btn[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); font-weight: 600; }
|
|
.lv-ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
|
|
|
|
/* status notes */
|
|
.lv-notes { position: absolute; top: 10px; right: 10px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: 52%; z-index: 2; pointer-events: none; }
|
|
.lv-note {
|
|
font-size: 12px; padding: 4px 10px; border-radius: 999px; color: var(--muted);
|
|
background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
|
|
}
|
|
.lv-note[hidden], .lv-hint[hidden] { display: none; }
|
|
.lv-hint { position: absolute; left: 12px; top: 54px; font-size: 11px; color: var(--muted); pointer-events: none; z-index: 1; }
|
|
|
|
/* dock of panels */
|
|
.lv-dock {
|
|
position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
|
|
display: flex; align-items: flex-end; gap: var(--lv-gap); overflow-x: auto; overflow-y: hidden; padding-bottom: 2px;
|
|
scrollbar-width: thin;
|
|
}
|
|
.lv-nodock .lv-dock { display: none; }
|
|
.lv-card {
|
|
background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px;
|
|
backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); min-width: 0; flex: 0 0 auto;
|
|
}
|
|
.lv-card-h {
|
|
display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%;
|
|
background: none; border: 0; padding: 0 0 6px; cursor: pointer; color: var(--muted); text-align: left;
|
|
}
|
|
.lv-card-t { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
|
|
.lv-card-h .lv-ic { width: 14px; height: 14px; transition: transform .15s; }
|
|
.lv-collapsed .lv-card-h { padding-bottom: 0; }
|
|
.lv-collapsed .lv-card-h .lv-ic { transform: rotate(-90deg); }
|
|
.lv-collapsed .lv-card-b { display: none; }
|
|
.lv-card-b { max-height: 128px; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; }
|
|
.lv-c-rate { width: 150px; }
|
|
.lv-c-cats { width: 310px; }
|
|
.lv-c-hosts { width: 160px; }
|
|
.lv-c-cty { width: 200px; }
|
|
.lv-c-rec { flex: 1 1 340px; min-width: 300px; }
|
|
.lv-collapsed { width: auto; flex: 0 0 auto; min-width: 0; }
|
|
.lv-c-rec.lv-collapsed { flex: 0 0 auto; min-width: 0; }
|
|
|
|
.lv-rate-v { font-size: 34px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; color: var(--text); }
|
|
.lv-rate-u { font-size: 11px; color: var(--muted); margin: 3px 0 6px; }
|
|
.lv-spark { display: block; width: 100%; height: 28px; }
|
|
|
|
/* category and host chips (legend + filters) */
|
|
.lv-k-notfound { --k: var(--cat-notfound); } .lv-k-scanner { --k: var(--cat-scanner); } .lv-k-bruteforce { --k: var(--cat-bruteforce); }
|
|
.lv-k-exploit { --k: var(--cat-exploit); } .lv-k-ssh-fail { --k: var(--cat-ssh-fail); } .lv-k-ssh-probe { --k: var(--cat-ssh-probe); }
|
|
.lv-k-ban { --k: var(--cat-ban); }
|
|
.lv-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 8px; }
|
|
.lv-hostchips { grid-template-columns: 1fr; }
|
|
.lv-chip {
|
|
display: flex; align-items: center; gap: 6px; min-width: 0; padding: 2px 4px; border-radius: 6px;
|
|
background: none; border: 0; cursor: pointer; font-size: 12px; color: var(--text); text-align: left; min-height: 24px;
|
|
}
|
|
.lv-chip:hover { background: var(--field); }
|
|
.lv-chip[aria-pressed="false"] { opacity: .4; }
|
|
.lv-chip[aria-pressed="false"] .lv-chip-l { text-decoration: line-through; }
|
|
.lv-sw { width: 10px; height: 10px; border-radius: 3px; background: var(--k); flex: none; }
|
|
.lv-hot .lv-sw { box-shadow: 0 0 0 2px color-mix(in srgb, var(--k) 35%, transparent); }
|
|
.lv-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--h, var(--accent)); flex: none; }
|
|
.lv-chip-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
|
|
.lv-chip-n { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 11px; }
|
|
.lv-legend { font-size: 11px; color: var(--muted); margin-top: 5px; }
|
|
|
|
/* countries */
|
|
.lv-cty, .lv-rec { list-style: none; margin: 0; padding: 0; }
|
|
.lv-cty-i { position: relative; display: flex; justify-content: space-between; gap: 8px; font-size: 12px; padding: 2px 4px; min-height: 20px; }
|
|
.lv-cty-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative; z-index: 1; }
|
|
.lv-cty-v { font-variant-numeric: tabular-nums; color: var(--muted); position: relative; z-index: 1; }
|
|
.lv-cty-b { position: absolute; left: 0; bottom: 0; height: 100%; width: var(--w, 0); border-radius: 4px; background: color-mix(in srgb, var(--accent) 18%, transparent); }
|
|
|
|
/* latest events (also the text alternative of the canvas) */
|
|
.lv-ev { display: grid; grid-template-columns: auto auto auto minmax(0, 1fr); align-items: center; gap: 6px; font-size: 11.5px; padding: 2px 0; }
|
|
.lv-ev-t { color: var(--muted); font-variant-numeric: tabular-nums; }
|
|
.lv-tag {
|
|
font-size: 10.5px; padding: 1px 6px; border-radius: 999px; white-space: nowrap;
|
|
border: 1px solid var(--k, var(--line)); background: color-mix(in srgb, var(--k, transparent) 20%, transparent);
|
|
}
|
|
.lv-tag.lv-hot { font-weight: 700; }
|
|
.lv-ip { background: none; border: 0; padding: 2px 0; cursor: pointer; color: var(--accent); font: inherit; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; text-decoration: underline dotted; white-space: nowrap; }
|
|
.lv-ip:hover { text-decoration: underline; }
|
|
.lv-ev-w { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
|
|
.lv-empty { color: var(--muted); font-size: 12px; list-style: none; padding: 4px; }
|
|
|
|
.lv-btn:focus-visible, .lv-chip:focus-visible, .lv-card-h:focus-visible, .lv-ip:focus-visible, .lv-cv:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
|
|
/* presentation mode */
|
|
.lv-full { height: 100vh; border-radius: 0; border: 0; }
|
|
|
|
/* narrow screens: the panels become a strip below the map */
|
|
@media (max-width: 720px) {
|
|
.lv { height: auto; overflow: visible; display: flex; flex-direction: column; }
|
|
.lv-full { height: 100vh; overflow: auto; }
|
|
.lv-view { position: relative; inset: auto; height: 56vh; min-height: 340px; flex: none; }
|
|
.lv-full .lv-view { flex: 1; height: auto; }
|
|
.lv-dock { position: static; padding: 8px; border-top: 1px solid var(--line); align-items: stretch; }
|
|
.lv-card { flex: 0 0 82vw; width: 82vw; }
|
|
.lv-c-rate, .lv-c-cats, .lv-c-hosts, .lv-c-cty, .lv-c-rec { width: 82vw; min-width: 0; flex: 0 0 82vw; }
|
|
.lv-collapsed, .lv-c-rec.lv-collapsed { width: 82vw; flex: 0 0 82vw; }
|
|
.lv-card-b { max-height: 150px; }
|
|
.lv-btn { min-height: 40px; min-width: 40px; }
|
|
.lv-notes { top: auto; bottom: 8px; right: 8px; max-width: 80%; }
|
|
.lv-hint { top: auto; bottom: 10px; left: 10px; }
|
|
.lv-bar { gap: 4px; }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.lv-card-h .lv-ic { transition: none; }
|
|
}
|