fix(hub): color host status summary metrics green/red and bust css cache

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-13 14:26:26 +08:00
parent 47910e6cb3
commit c95ca6ac35
3 changed files with 72 additions and 14 deletions
+21 -1
View File
@@ -695,7 +695,6 @@ button:disabled {
}
.host-status-summary-text {
color: var(--muted);
font-size: 11px;
min-width: 0;
overflow: hidden;
@@ -704,6 +703,27 @@ button:disabled {
flex: 1 1 auto;
}
.host-status-summary-text.bad {
color: var(--red);
}
.host-summary-host,
.host-summary-sep {
color: var(--muted);
}
.host-metric-tone.ok,
.host-metric-val.ok {
color: var(--green);
font-weight: 600;
}
.host-metric-tone.bad,
.host-metric-val.bad {
color: var(--red);
font-weight: 600;
}
.host-status-bar {
display: flex;
flex-direction: column;