feat(platform): streamline vehicle operations shell

This commit is contained in:
lingniu
2026-07-05 01:04:08 +08:00
parent b824289cf6
commit bb18a5075c
3 changed files with 75 additions and 21 deletions

View File

@@ -92,9 +92,10 @@ body {
.vp-topbar {
height: var(--vp-shell-header);
display: flex;
display: grid;
grid-template-columns: minmax(380px, 0.8fr) minmax(0, 1.2fr);
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 0 24px;
background: rgba(255, 255, 255, 0.9);
border-bottom: 1px solid var(--vp-border);
@@ -104,6 +105,50 @@ body {
z-index: 10;
}
.vp-topbar-search {
min-width: 0;
}
.vp-topbar-context {
min-width: 0;
display: flex;
align-items: center;
justify-content: flex-end;
gap: 8px;
white-space: nowrap;
}
.vp-topbar-quick-actions {
height: 32px;
display: inline-flex;
align-items: center;
padding: 2px;
border: 1px solid var(--vp-border);
border-radius: 8px;
background: #f8fafc;
}
.vp-topbar-quick-actions .semi-button {
min-width: 44px;
border: 0;
background: transparent;
color: var(--vp-text-muted);
font-size: 13px;
font-weight: 600;
}
.vp-topbar-quick-actions .semi-button:hover,
.vp-topbar-quick-actions .semi-button:focus-visible {
background: #ffffff;
color: var(--vp-primary);
}
.vp-topbar-release {
color: var(--vp-text-subtle);
font-size: 12px;
line-height: 18px;
}
.vp-link-health-button-warning {
color: var(--vp-warning);
border-color: rgba(247, 144, 9, 0.45);