Simplify port traffic wall: latest KPIs only, hover tip for point values.

Move device/port to the footer and drop live legend numbers to cut duplication.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-07-31 15:28:27 +08:00
parent c105cd8fd6
commit 235e1a59ec
4 changed files with 92 additions and 77 deletions

View file

@ -3011,6 +3011,13 @@ pre {
margin-bottom: 14px;
}
.pt-wall__head-title {
font-size: 14px;
font-weight: 600;
letter-spacing: 0.04em;
color: #cbd5e1;
}
.pt-wall__title {
display: flex;
flex-direction: column;
@ -3141,10 +3148,52 @@ pre {
}
.pt-wall__chart .u-legend .u-value {
font-variant-numeric: tabular-nums;
display: none;
}
.pt-wall__foot {
display: flex;
flex-wrap: wrap;
gap: 10px 28px;
margin-top: 12px;
padding-top: 12px;
border-top: 1px solid rgba(148, 163, 184, 0.18);
align-items: baseline;
}
.pt-wall__foot-ne,
.pt-wall__foot-if {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 6px 10px;
min-width: 0;
}
.pt-wall__foot-label {
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--pt-muted);
}
.pt-wall__foot-value {
font-size: 15px;
font-weight: 600;
color: #e2e8f0;
}
.pt-wall__foot-value--mono {
font-family: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
letter-spacing: 0.02em;
}
.pt-wall__foot-ip {
font-size: 12px;
color: var(--pt-muted);
font-variant-numeric: tabular-nums;
}
.pt-wall__empty {
position: absolute;
inset: 0;