feat(hub): fold host status by default, add entrust on grid positions, alert on high CPU/memory
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -650,22 +650,75 @@ button:disabled {
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.host-status-bar {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
.host-status-panel {
|
||||
margin: 0 0 12px;
|
||||
padding: 12px 14px;
|
||||
border-radius: var(--radius);
|
||||
border: 1px solid var(--border-soft);
|
||||
background: var(--panel);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.host-status-bar.hidden {
|
||||
.host-status-panel.hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.host-status-summary {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px 12px;
|
||||
padding: 10px 12px;
|
||||
cursor: pointer;
|
||||
list-style: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.host-status-summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.host-status-summary::before {
|
||||
content: "▸";
|
||||
color: var(--muted);
|
||||
font-size: 11px;
|
||||
transition: transform 0.15s ease;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.host-status-panel[open] > .host-status-summary::before {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.host-status-summary-title {
|
||||
font-weight: 600;
|
||||
color: var(--text);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.host-status-summary-text {
|
||||
color: var(--muted);
|
||||
font-size: 11px;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.host-status-bar {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
padding: 0 12px 12px;
|
||||
border-top: 1px solid var(--border-soft);
|
||||
margin-top: 0;
|
||||
padding-top: 12px;
|
||||
border-radius: 0;
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
border-bottom: none;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.host-status-top {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
@@ -2791,9 +2844,17 @@ body.login-page {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.host-status-panel {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.host-status-summary {
|
||||
flex-wrap: wrap;
|
||||
padding: 8px 10px;
|
||||
}
|
||||
|
||||
.host-status-bar {
|
||||
gap: 10px;
|
||||
padding: 10px 12px;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.host-status-top {
|
||||
|
||||
Reference in New Issue
Block a user