feat(telemetry): add canonical VPS host monitoring
This commit is contained in:
@@ -127,6 +127,231 @@
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
.host-telemetry-workspace {
|
||||
display: grid;
|
||||
gap: 18px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.host-telemetry-header {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr) auto;
|
||||
align-items: start;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.host-telemetry-header__copy {
|
||||
display: grid;
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.host-telemetry-header__copy small,
|
||||
.host-telemetry-section__heading small,
|
||||
.host-telemetry-evidence small {
|
||||
color: var(--nodedc-text-tertiary);
|
||||
font-size: 0.62rem;
|
||||
font-weight: 780;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.host-telemetry-header__copy h2,
|
||||
.host-telemetry-header__copy p,
|
||||
.host-telemetry-section__heading h3,
|
||||
.host-telemetry-section__heading p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.host-telemetry-header__copy h2 {
|
||||
font-size: 1.4rem;
|
||||
letter-spacing: -0.035em;
|
||||
}
|
||||
|
||||
.host-telemetry-header__copy p,
|
||||
.host-telemetry-section__heading p {
|
||||
color: var(--nodedc-text-tertiary);
|
||||
font-size: 0.76rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.host-telemetry-header__actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.host-telemetry-metric-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.host-telemetry-metric,
|
||||
.host-telemetry-section {
|
||||
border: 1px solid var(--nodedc-glass-outline);
|
||||
border-radius: var(--nodedc-radius-lg);
|
||||
background: color-mix(in srgb, var(--nodedc-surface) 82%, transparent);
|
||||
}
|
||||
|
||||
.host-telemetry-metric {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
gap: 5px 12px;
|
||||
min-height: 112px;
|
||||
padding: 14px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.host-telemetry-metric > span,
|
||||
.host-telemetry-metric > small,
|
||||
.host-telemetry-facts small,
|
||||
.host-telemetry-list__row small,
|
||||
.host-telemetry-service small {
|
||||
color: var(--nodedc-text-tertiary);
|
||||
font-size: 0.66rem;
|
||||
}
|
||||
|
||||
.host-telemetry-metric > strong {
|
||||
font-size: 1.35rem;
|
||||
font-weight: 620;
|
||||
}
|
||||
|
||||
.host-telemetry-metric > small {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.host-telemetry-sparkline {
|
||||
grid-column: 1 / -1;
|
||||
width: 100%;
|
||||
height: 32px;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.host-telemetry-sparkline polyline {
|
||||
fill: none;
|
||||
stroke: rgb(var(--nodedc-accent-rgb));
|
||||
stroke-width: 1.5;
|
||||
vector-effect: non-scaling-stroke;
|
||||
}
|
||||
|
||||
.host-telemetry-sparkline--empty {
|
||||
border-bottom: 1px solid var(--nodedc-glass-outline);
|
||||
}
|
||||
|
||||
.host-telemetry-section {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.host-telemetry-section__heading {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.host-telemetry-section__heading > div {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.host-telemetry-section__heading h3 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.host-telemetry-facts {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 1px;
|
||||
overflow: hidden;
|
||||
border-radius: var(--nodedc-radius-md);
|
||||
background: var(--nodedc-glass-outline);
|
||||
}
|
||||
|
||||
.host-telemetry-facts > div {
|
||||
display: grid;
|
||||
gap: 5px;
|
||||
min-width: 0;
|
||||
padding: 12px;
|
||||
background: var(--nodedc-surface-soft);
|
||||
}
|
||||
|
||||
.host-telemetry-facts strong {
|
||||
overflow: hidden;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 590;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.host-telemetry-split {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.host-telemetry-list,
|
||||
.host-telemetry-service-grid {
|
||||
display: grid;
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
.host-telemetry-list__row,
|
||||
.host-telemetry-service {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
min-width: 0;
|
||||
padding: 10px 12px;
|
||||
border-radius: var(--nodedc-radius-md);
|
||||
background: var(--nodedc-surface-soft);
|
||||
}
|
||||
|
||||
.host-telemetry-list__row > span,
|
||||
.host-telemetry-service > span {
|
||||
display: grid;
|
||||
gap: 3px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.host-telemetry-list__row > span:last-child,
|
||||
.host-telemetry-service > span:last-child {
|
||||
justify-items: end;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.host-telemetry-list__row strong,
|
||||
.host-telemetry-service strong {
|
||||
overflow: hidden;
|
||||
font-size: 0.76rem;
|
||||
font-weight: 590;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.host-telemetry-service-grid {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.host-telemetry-evidence {
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.host-telemetry-evidence > div {
|
||||
display: grid;
|
||||
gap: 5px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.host-telemetry-evidence strong {
|
||||
overflow: hidden;
|
||||
font-size: 0.75rem;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
.device-control-resource-grid,
|
||||
.device-control-policy-grid {
|
||||
@@ -168,6 +393,23 @@
|
||||
grid-column: 2;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.host-telemetry-header {
|
||||
grid-template-columns: auto minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.host-telemetry-header__actions {
|
||||
grid-column: 2;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.host-telemetry-metric-grid,
|
||||
.host-telemetry-facts,
|
||||
.host-telemetry-service-grid,
|
||||
.host-telemetry-evidence,
|
||||
.host-telemetry-split {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
html,
|
||||
|
||||
Reference in New Issue
Block a user