feat: build a real dashboard and fix dead panel navigation in the web UI
Release / Plan (reuse the published image?) (push) Successful in 4s
CI / Docker image (build and smoke test) (push) Skipped
CI / Format and clippy (push) Successful in 16s
CI / Dependency audit (push) Successful in 17s
CI / Tests (Linux) (push) Successful in 34s
Release / ci (push) Successful in 35s
Release / Build image (arm64) (push) Successful in 4m55s
Release / Build image (amd64) (push) Failing after 11m10s
Release / Publish tags (push) Skipped
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 clippy (push) Successful in 16s
CI / Dependency audit (push) Successful in 17s
CI / Tests (Linux) (push) Successful in 34s
Release / ci (push) Successful in 35s
Release / Build image (arm64) (push) Successful in 4m55s
Release / Build image (amd64) (push) Failing after 11m10s
Release / Publish tags (push) Skipped
Release / Gitea release (push) Skipped
The sidebar nav (Overview/Alerts/Analysis) only did scrollIntoView on a
single stacked page, so clicking it produced no visible change. The
Alerts/Analysis panels were also placeholder shells with no real data
exploration despite the API already exposing rich per-pillar evidence.
- app.js/app.css/index.html: real panel switching via showView()/currentView,
toggling an .active class with `.view:not(.active) { display: none }`;
settings keeps opening its own dialog without disturbing the active view.
- New Hosts panel: table of observed hosts ranked by fusion score, with
per-pillar (P1/P2/P3) columns, search, and drill-down into each pillar's
evidence. Documents the known limitation that /api/alerts only lists hosts
with at least one alert (no /api/hosts endpoint exists yet), so a benign
host with no alert won't appear.
- Alerts panel: filterable by pillar and minimum score, sortable, with
full evidence rendered as a formatted key/value table instead of raw JSON.
- Overview panel: KPI tiles (alert count, hosts with alerts, max score,
dataset records) plus two interactive SVG charts (top hosts by fusion
score, alert distribution by pillar) with hover tooltips.
- i18n-en.js: English strings for all new UI text.
No Rust files changed; this is purely apps/gui/ui/ consuming the existing
/api/alerts, /api/analyze and /api/status endpoints.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VAyr8d7HuAdUGB6aA5xmDD
This commit is contained in:
1 parent
c64bbbf775
commit
be47b607df
4 files changed
+2176
-142
No files matched your search
@@ -11,6 +11,12 @@
|
||||
--accent: #45d6b0;
|
||||
--accent-2: #f0b35b;
|
||||
--danger: #f27878;
|
||||
--p1: #45d6b0;
|
||||
--p2: #f0b35b;
|
||||
--p3: #7aa7ff;
|
||||
--p1-soft: rgba(69, 214, 176, 0.14);
|
||||
--p2-soft: rgba(240, 179, 91, 0.14);
|
||||
--p3-soft: rgba(122, 167, 255, 0.14);
|
||||
--shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
|
||||
--radius: 16px;
|
||||
--mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
|
||||
@@ -30,6 +36,12 @@ html[data-theme="light"] {
|
||||
--accent: #087f68;
|
||||
--accent-2: #a05b09;
|
||||
--danger: #b42323;
|
||||
--p1: #087f68;
|
||||
--p2: #a05b09;
|
||||
--p3: #2456a8;
|
||||
--p1-soft: rgba(8, 127, 104, 0.12);
|
||||
--p2-soft: rgba(160, 91, 9, 0.12);
|
||||
--p3-soft: rgba(36, 86, 168, 0.12);
|
||||
--shadow: 0 20px 50px rgba(20, 58, 64, 0.12);
|
||||
}
|
||||
|
||||
@@ -184,6 +196,10 @@ html[data-theme="light"] .card { background: linear-gradient(160deg, var(--panel
|
||||
.card p { color: var(--muted); font-size: 0.83rem; line-height: 1.5; }
|
||||
.tag { margin-top: auto; align-self: flex-start; color: var(--accent-2); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
|
||||
|
||||
.view:not(.active) {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.panel {
|
||||
margin-top: 16px;
|
||||
padding: 22px;
|
||||
@@ -302,3 +318,382 @@ dialog menu { display: flex; justify-content: flex-end; gap: 8px; margin: 20px 0
|
||||
.panel-head { flex-direction: column; }
|
||||
.foot { flex-direction: column; }
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------ dashboard */
|
||||
|
||||
[hidden] { display: none !important; }
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
white-space: nowrap;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.top-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
|
||||
.last-updated { white-space: nowrap; }
|
||||
|
||||
.kpi-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 14px;
|
||||
}
|
||||
.kpi {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
min-height: 128px;
|
||||
padding: 18px 20px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius);
|
||||
background: linear-gradient(160deg, var(--panel), rgba(15, 30, 43, 0.32));
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
html[data-theme="light"] .kpi { background: linear-gradient(160deg, var(--panel), rgba(255, 255, 255, 0.5)); }
|
||||
.kpi-label { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
|
||||
.kpi-value { margin-top: auto; font-family: var(--mono); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1; letter-spacing: -0.04em; }
|
||||
.kpi-sub { color: var(--muted); font-size: 0.76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
|
||||
.charts-grid {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
|
||||
gap: 16px;
|
||||
margin-top: 16px;
|
||||
}
|
||||
.chart-panel { margin-top: 0; }
|
||||
.panel-tag {
|
||||
align-self: flex-start;
|
||||
padding: 5px 9px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 999px;
|
||||
color: var(--muted);
|
||||
font-family: var(--mono);
|
||||
font-size: 0.68rem;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.chart-wrap { position: relative; width: 100%; min-height: 220px; }
|
||||
.chart { display: block; width: 100%; height: auto; overflow: visible; }
|
||||
.axis-line { stroke: var(--line); stroke-width: 1; }
|
||||
.axis-line.strong { stroke: var(--line-strong); }
|
||||
.axis-label { fill: var(--muted); font-family: var(--mono); font-size: 11px; }
|
||||
.bar-track { fill: rgba(255, 255, 255, 0.04); }
|
||||
html[data-theme="light"] .bar-track { fill: rgba(20, 58, 64, 0.06); }
|
||||
.bar-fill { transition: filter 140ms ease, opacity 140ms ease; }
|
||||
.bar-fill.p1 { fill: var(--p1); }
|
||||
.bar-fill.p2 { fill: var(--p2); }
|
||||
.bar-fill.p3 { fill: var(--p3); }
|
||||
.bar-fill.accent { fill: var(--accent); }
|
||||
.bar-label { fill: var(--text); font-family: var(--mono); font-size: 12px; }
|
||||
.bar-value { fill: var(--text); font-family: var(--mono); font-size: 12px; font-weight: 700; }
|
||||
.bar-row, .pillar-bar-row { outline: none; }
|
||||
.bar-row:hover .bar-fill, .bar-row:focus .bar-fill { filter: brightness(1.16); }
|
||||
.pillar-bar-row { cursor: pointer; }
|
||||
.pillar-bar-row:hover .bar-fill, .pillar-bar-row:focus .bar-fill { filter: brightness(1.2); }
|
||||
.pillar-bar-row:hover .bar-track, .pillar-bar-row:focus .bar-track { fill: rgba(255, 255, 255, 0.08); }
|
||||
.chart-empty { fill: var(--muted); font-family: var(--sans); font-size: 13px; }
|
||||
.chart-tip {
|
||||
position: absolute;
|
||||
z-index: 8;
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
max-width: 320px;
|
||||
padding: 10px 12px;
|
||||
border: 1px solid var(--line-strong);
|
||||
border-radius: 10px;
|
||||
background: var(--panel-solid);
|
||||
box-shadow: var(--shadow);
|
||||
color: var(--text);
|
||||
font-size: 0.74rem;
|
||||
line-height: 1.35;
|
||||
pointer-events: none;
|
||||
}
|
||||
.chart-tip strong { font-family: var(--mono); font-size: 0.78rem; }
|
||||
.chart-tip span { color: var(--muted); }
|
||||
|
||||
.toolbar {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: flex-end;
|
||||
gap: 14px;
|
||||
padding-bottom: 16px;
|
||||
border-bottom: 1px solid var(--line);
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
.toolbar-slim { align-items: center; justify-content: space-between; }
|
||||
.field.compact { flex: 0 0 auto; min-width: 130px; }
|
||||
.field.compact > span { font-size: 0.68rem; }
|
||||
.field.compact input, .field.compact select { padding: 8px 10px; }
|
||||
.range-field { min-width: 178px; }
|
||||
.range-field > span { display: flex; justify-content: space-between; gap: 12px; }
|
||||
.range-field output { color: var(--text); font-family: var(--mono); }
|
||||
.range-field input[type="range"] { padding: 0; border: 0; background: transparent; accent-color: var(--accent); }
|
||||
.search-field { flex: 1 1 230px; }
|
||||
.chips { display: flex; gap: 6px; flex-wrap: wrap; padding-bottom: 1px; }
|
||||
.chip {
|
||||
padding: 8px 12px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 999px;
|
||||
background: transparent;
|
||||
color: var(--muted);
|
||||
font-size: 0.76rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
.chip:hover { border-color: var(--line-strong); color: var(--text); }
|
||||
.chip.active { border-color: var(--accent); background: rgba(69, 214, 176, 0.12); color: var(--text); }
|
||||
.legend { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: 0.74rem; }
|
||||
.legend-item { display: inline-flex; align-items: center; gap: 6px; }
|
||||
.swatch { display: inline-block; width: 9px; height: 9px; border-radius: 2px; }
|
||||
.swatch.p1 { background: var(--p1); }
|
||||
.swatch.p2 { background: var(--p2); }
|
||||
.swatch.p3 { background: var(--p3); }
|
||||
|
||||
.pillars { margin-top: 16px; }
|
||||
.card[data-pillar-card] { cursor: pointer; outline: none; transition: 160ms ease; }
|
||||
.card[data-pillar-card]:hover, .card[data-pillar-card]:focus-visible { border-color: var(--line-strong); transform: translateY(-2px); }
|
||||
.card h2 { display: flex; align-items: center; gap: 8px; }
|
||||
.card-count {
|
||||
margin-left: auto;
|
||||
padding: 1px 7px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 999px;
|
||||
color: var(--muted);
|
||||
font-family: var(--mono);
|
||||
font-size: 0.66rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.overview-alerts { display: grid; gap: 8px; }
|
||||
.ov-alert {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr) 112px;
|
||||
gap: 14px;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
padding: 12px 14px;
|
||||
border: 1px solid var(--line);
|
||||
border-left: 3px solid var(--line-strong);
|
||||
border-radius: 11px;
|
||||
background: rgba(255, 255, 255, 0.02);
|
||||
color: inherit;
|
||||
text-align: left;
|
||||
}
|
||||
.ov-alert:hover { border-color: var(--line-strong); background: rgba(69, 214, 176, 0.05); }
|
||||
.ov-alert:has(.pillar-badge.p1) { border-left-color: var(--p1); }
|
||||
.ov-alert:has(.pillar-badge.p2) { border-left-color: var(--p2); }
|
||||
.ov-alert:has(.pillar-badge.p3) { border-left-color: var(--p3); }
|
||||
.ov-main { display: grid; gap: 4px; min-width: 0; }
|
||||
.ov-summary { font-size: 0.82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.ov-meta { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 0.72rem; min-width: 0; }
|
||||
.ov-dest { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.ov-score { display: grid; gap: 5px; text-align: right; }
|
||||
.ov-score strong { font-family: var(--mono); font-size: 0.88rem; }
|
||||
|
||||
.pillar-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 4px 8px;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 6px;
|
||||
font-size: 0.68rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.04em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.pillar-badge.p1 { color: var(--p1); background: var(--p1-soft); border-color: color-mix(in srgb, var(--p1) 40%, transparent); }
|
||||
.pillar-badge.p2 { color: var(--p2); background: var(--p2-soft); border-color: color-mix(in srgb, var(--p2) 40%, transparent); }
|
||||
.pillar-badge.p3 { color: var(--p3); background: var(--p3-soft); border-color: color-mix(in srgb, var(--p3) 40%, transparent); }
|
||||
.host-chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 2px 7px;
|
||||
border: 1px solid var(--line-strong);
|
||||
border-radius: 6px;
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
color: var(--text);
|
||||
font-family: var(--mono);
|
||||
font-size: 0.72rem;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.score-track { display: block; width: 100%; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
|
||||
html[data-theme="light"] .score-track { background: rgba(20, 58, 64, 0.1); }
|
||||
.score-fill { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
|
||||
.alert-score.low .score-fill, .ov-score.low .score-fill { background: var(--accent); }
|
||||
.alert-score.medium .score-fill, .ov-score.medium .score-fill { background: var(--accent-2); }
|
||||
.alert-score.high .score-fill, .ov-score.high .score-fill { background: var(--danger); }
|
||||
|
||||
.alert-cards { display: grid; gap: 10px; }
|
||||
.alert-card {
|
||||
border: 1px solid var(--line);
|
||||
border-left: 3px solid var(--line-strong);
|
||||
border-radius: 12px;
|
||||
background: rgba(255, 255, 255, 0.02);
|
||||
overflow: hidden;
|
||||
}
|
||||
.alert-card.p1 { border-left-color: var(--p1); }
|
||||
.alert-card.p2 { border-left-color: var(--p2); }
|
||||
.alert-card.p3 { border-left-color: var(--p3); }
|
||||
.alert-head {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr) 104px 16px;
|
||||
gap: 14px;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
padding: 14px 16px;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
text-align: left;
|
||||
}
|
||||
.alert-head:hover { background: rgba(69, 214, 176, 0.045); }
|
||||
.alert-head:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
|
||||
.alert-main { display: grid; gap: 5px; min-width: 0; }
|
||||
.alert-summary { font-size: 0.86rem; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.alert-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 0.72rem; min-width: 0; }
|
||||
.alert-arrow { color: var(--accent); }
|
||||
.alert-dest { font-family: var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.alert-when { margin-left: auto; white-space: nowrap; }
|
||||
.alert-score { display: grid; gap: 5px; justify-items: end; }
|
||||
.alert-score strong { font-family: var(--mono); font-size: 0.92rem; }
|
||||
.chevron { color: var(--muted); font-size: 1.1rem; text-align: center; }
|
||||
.alert-body { display: grid; gap: 14px; padding: 16px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, 0.1); }
|
||||
html[data-theme="light"] .alert-body { background: rgba(20, 58, 64, 0.025); }
|
||||
.metrics { display: flex; flex-wrap: wrap; gap: 8px; }
|
||||
.metric {
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
min-width: 92px;
|
||||
padding: 8px 10px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 8px;
|
||||
background: rgba(255, 255, 255, 0.02);
|
||||
}
|
||||
.metric-label { color: var(--muted); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; }
|
||||
.metric-value { font-family: var(--mono); font-size: 0.78rem; font-weight: 600; overflow-wrap: anywhere; }
|
||||
.evidence-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
|
||||
.evidence-head h3 { margin: 0; font-size: 0.82rem; letter-spacing: 0.02em; }
|
||||
.dim { color: var(--muted); }
|
||||
.kv { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
|
||||
.kv th {
|
||||
width: 44%;
|
||||
padding: 6px 10px;
|
||||
border-top: 1px solid var(--line);
|
||||
color: var(--muted);
|
||||
font-size: 0.72rem;
|
||||
font-weight: 500;
|
||||
text-align: left;
|
||||
vertical-align: top;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.kv td { padding: 6px 10px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
|
||||
.kv tr:first-child th, .kv tr:first-child td { border-top: 0; }
|
||||
.alert-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
|
||||
.alert-actions .mono { margin-right: auto; }
|
||||
.btn.small { padding: 7px 11px; font-size: 0.74rem; }
|
||||
|
||||
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
|
||||
.host-table { width: 100%; border-collapse: collapse; min-width: 720px; }
|
||||
.host-table thead th {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
padding: 10px 12px;
|
||||
border-bottom: 1px solid var(--line);
|
||||
background: var(--panel-solid);
|
||||
color: var(--muted);
|
||||
font-size: 0.68rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.1em;
|
||||
text-align: left;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.host-table td { padding: 11px 12px; border-top: 1px solid var(--line); font-size: 0.82rem; vertical-align: middle; }
|
||||
.host-table tbody tr:first-child td { border-top: 0; }
|
||||
.host-row { cursor: pointer; outline: none; transition: background 120ms ease; }
|
||||
.host-row:hover, .host-row:focus-visible { background: rgba(69, 214, 176, 0.06); }
|
||||
.host-row.open { background: rgba(69, 214, 176, 0.05); }
|
||||
.host-row .rank { color: var(--muted); font-family: var(--mono); font-size: 0.72rem; width: 42px; }
|
||||
.host-name { font-size: 0.84rem; color: var(--text); }
|
||||
.fusion-cell { display: grid; gap: 5px; min-width: 106px; }
|
||||
.fusion-score { font-family: var(--mono); font-size: 0.8rem; }
|
||||
.m-cell { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
|
||||
.m-cell.has.p1 { color: var(--p1); }
|
||||
.m-cell.has.p2 { color: var(--p2); }
|
||||
.m-cell.has.p3 { color: var(--p3); }
|
||||
.chevron-cell { color: var(--muted); text-align: right; width: 36px; }
|
||||
.host-detail-row td { padding: 0; background: rgba(0, 0, 0, 0.1); }
|
||||
html[data-theme="light"] .host-detail-row td { background: rgba(20, 58, 64, 0.03); }
|
||||
.host-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); align-items: start; gap: 12px; padding: 14px; }
|
||||
.host-pillar {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 9px;
|
||||
min-width: 0;
|
||||
padding: 12px;
|
||||
border: 1px solid var(--line);
|
||||
border-top: 2px solid var(--line-strong);
|
||||
border-radius: 10px;
|
||||
background: var(--panel);
|
||||
}
|
||||
.host-pillar.p1 { border-top-color: var(--p1); }
|
||||
.host-pillar.p2 { border-top-color: var(--p2); }
|
||||
.host-pillar.p3 { border-top-color: var(--p3); }
|
||||
.host-pillar-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
|
||||
.host-m { font-family: var(--mono); font-size: 0.92rem; }
|
||||
.formula { color: var(--muted); font-size: 0.7rem; }
|
||||
.evidence-compact { max-height: 300px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; }
|
||||
.evidence-compact .kv th, .evidence-compact .kv td { padding: 5px 8px; font-size: 0.72rem; }
|
||||
.host-pillar > .btn { align-self: flex-start; }
|
||||
.footnote { margin-top: 12px; color: var(--muted); font-size: 0.74rem; line-height: 1.5; }
|
||||
|
||||
.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
|
||||
.summary-grid-wide { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-top: 0; }
|
||||
.summary-tile {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
min-width: 0;
|
||||
padding: 11px 12px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 9px;
|
||||
background: rgba(255, 255, 255, 0.02);
|
||||
}
|
||||
.summary-label { color: var(--muted); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; }
|
||||
.summary-value { font-family: var(--mono); font-size: 0.8rem; font-weight: 600; overflow-wrap: anywhere; }
|
||||
.report-detail { display: grid; gap: 10px; }
|
||||
.report-actions { display: flex; gap: 8px; flex-wrap: wrap; }
|
||||
.empty { color: var(--muted); font-size: 0.84rem; line-height: 1.5; margin: 0; padding: 14px; border: 1px dashed var(--line); border-radius: 10px; }
|
||||
|
||||
@media (max-width: 1280px) {
|
||||
.charts-grid { grid-template-columns: 1fr; }
|
||||
}
|
||||
|
||||
@media (max-width: 1120px) {
|
||||
.kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||||
.summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||||
}
|
||||
|
||||
@media (max-width: 820px) {
|
||||
.toolbar-slim { align-items: flex-end; }
|
||||
.alert-head { grid-template-columns: auto minmax(0, 1fr) 92px 16px; gap: 10px; }
|
||||
.alert-when { display: none; }
|
||||
.last-updated { display: none; }
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.kpi-grid { grid-template-columns: 1fr; }
|
||||
.summary-grid { grid-template-columns: 1fr; }
|
||||
.alert-head { grid-template-columns: auto minmax(0, 1fr) 16px; }
|
||||
.alert-score { display: none; }
|
||||
.ov-alert { grid-template-columns: auto minmax(0, 1fr); }
|
||||
.ov-score { display: none; }
|
||||
.alert-summary { white-space: normal; }
|
||||
.toolbar { gap: 10px; }
|
||||
.field.compact, .range-field, .search-field { flex: 1 1 100%; min-width: 0; }
|
||||
.legend { display: none; }
|
||||
.top-actions { justify-content: flex-start; }
|
||||
}
|
||||
Reference in new issue
Block a user