Sync local changes 2026-12-04
This commit is contained in:
1 parent
91c7abc771
commit
a490786827
5 files changed
+342
-20
No files matched your search
@@ -1490,3 +1490,74 @@ body[data-nav-layout="vertical"] .theme-dropdown::after {
|
||||
top: auto;
|
||||
bottom: 100%;
|
||||
}
|
||||
|
||||
/* Nav live stats: CPU/RAM sparklines + online count. Compact strip in the
|
||||
horizontal top bar, stacked block in the vertical sidebar. */
|
||||
.nav-stats-h {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
font-size: 12px;
|
||||
color: var(--nav-text);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.nav-stats-h .ns-item {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
}
|
||||
.nav-stats-h canvas {
|
||||
width: 64px;
|
||||
height: 18px;
|
||||
}
|
||||
.nav-stats-h canvas,
|
||||
.nav-stats-v canvas {
|
||||
border: 1px solid rgba(128,128,128,0.35);
|
||||
border-radius: 3px;
|
||||
}
|
||||
.nav-stats-v {
|
||||
padding: 10px 8px;
|
||||
border-top: 1px solid rgba(255,255,255,0.08);
|
||||
font-size: 12px;
|
||||
color: var(--nav-text);
|
||||
}
|
||||
.nav-stats-v .ns-vrow {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.nav-stats-v .ns-vrow:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.nav-stats-v .ns-vlabel {
|
||||
opacity: 0.7;
|
||||
font-size: 11px;
|
||||
}
|
||||
.nav-stats-v canvas {
|
||||
flex: 1;
|
||||
height: 28px;
|
||||
min-width: 0;
|
||||
}
|
||||
/* Graph rows share one grid template so both canvases are pixel-identical
|
||||
regardless of label/value text widths. */
|
||||
.nav-stats-v .ns-vgraph {
|
||||
display: grid;
|
||||
grid-template-columns: 34px 1fr 64px;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
.nav-stats-v .ns-vgraph canvas {
|
||||
width: 100%;
|
||||
}
|
||||
/* Fixed-width value column so CPU and RAM graphs align regardless of
|
||||
label length ("10%" vs "17947Mi"); values sit left, against the graphs. */
|
||||
.nav-stats-v .ns-vrow > span:last-child {
|
||||
min-width: 64px;
|
||||
text-align: left;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.nav-stats-v strong {
|
||||
font-size: 15px;
|
||||
color: #fff;
|
||||
}
|
||||
Reference in new issue
Block a user