feat(platform): prioritize fleet monitoring dashboard
This commit is contained in:
@@ -350,6 +350,221 @@ body {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor {
|
||||
margin-bottom: 16px;
|
||||
overflow: hidden;
|
||||
border-color: rgba(22, 100, 255, 0.18);
|
||||
}
|
||||
|
||||
.vp-fleet-monitor .semi-card-body {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.45fr) minmax(380px, 0.68fr);
|
||||
min-height: 560px;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-map {
|
||||
position: relative;
|
||||
min-width: 0;
|
||||
min-height: 560px;
|
||||
background: #eef5ff;
|
||||
display: grid;
|
||||
grid-template-rows: minmax(0, 1fr) auto;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-copy {
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
left: 22px;
|
||||
top: 22px;
|
||||
max-width: 610px;
|
||||
padding: 16px;
|
||||
border: 1px solid rgba(22, 100, 255, 0.16);
|
||||
border-radius: 8px;
|
||||
background: rgba(255, 255, 255, 0.94);
|
||||
box-shadow: 0 12px 30px rgba(16, 24, 40, 0.12);
|
||||
display: grid;
|
||||
gap: 11px;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-copy .semi-typography {
|
||||
font-size: 14px;
|
||||
line-height: 22px;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-map-canvas {
|
||||
min-height: 430px;
|
||||
height: 430px;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-stats {
|
||||
min-height: 130px;
|
||||
padding: 14px;
|
||||
border-top: 1px solid rgba(22, 100, 255, 0.14);
|
||||
background: #ffffff;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-stat {
|
||||
min-height: 102px;
|
||||
padding: 12px;
|
||||
border: 1px solid var(--vp-border);
|
||||
border-radius: var(--vp-radius);
|
||||
background: #fbfcff;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-stat:hover,
|
||||
.vp-fleet-monitor-stat:focus-visible,
|
||||
.vp-fleet-monitor-action:hover,
|
||||
.vp-fleet-monitor-action:focus-visible {
|
||||
border-color: rgba(22, 100, 255, 0.42);
|
||||
background: #f5f9ff;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-stat strong {
|
||||
color: var(--vp-text);
|
||||
font-size: 22px;
|
||||
line-height: 28px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-stat span {
|
||||
color: var(--vp-text-muted);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-panel {
|
||||
min-width: 0;
|
||||
padding: 18px;
|
||||
border-left: 1px solid var(--vp-border);
|
||||
background: #f8fbff;
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-panel-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-actions {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-action {
|
||||
min-height: 70px;
|
||||
padding: 11px 12px;
|
||||
border: 1px solid rgba(22, 100, 255, 0.14);
|
||||
border-radius: var(--vp-radius);
|
||||
background: #ffffff;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
display: grid;
|
||||
grid-template-columns: 72px 78px minmax(0, 1fr);
|
||||
gap: 10px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-action span {
|
||||
color: var(--vp-text-muted);
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-action strong {
|
||||
color: var(--vp-primary);
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-action small {
|
||||
color: var(--vp-text-muted);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-action em {
|
||||
grid-column: 1 / -1;
|
||||
color: var(--vp-text);
|
||||
font-size: 12px;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-time {
|
||||
padding: 12px;
|
||||
border: 1px solid rgba(0, 164, 184, 0.22);
|
||||
border-radius: var(--vp-radius);
|
||||
background: #f3fbfc;
|
||||
display: grid;
|
||||
gap: 9px;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-time strong {
|
||||
color: var(--vp-text);
|
||||
font-size: 15px;
|
||||
line-height: 22px;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-time span {
|
||||
color: var(--vp-text-muted);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-trust {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-trust-item {
|
||||
min-height: 92px;
|
||||
padding: 10px;
|
||||
border: 1px solid var(--vp-border);
|
||||
border-radius: var(--vp-radius);
|
||||
background: #ffffff;
|
||||
display: grid;
|
||||
gap: 5px;
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-trust-item span {
|
||||
color: var(--vp-text-muted);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-trust-item strong {
|
||||
color: var(--vp-text);
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-trust-item small {
|
||||
color: var(--vp-text-muted);
|
||||
font-size: 12px;
|
||||
line-height: 17px;
|
||||
}
|
||||
|
||||
.vp-customer-cockpit {
|
||||
margin-bottom: 16px;
|
||||
overflow: hidden;
|
||||
@@ -5394,6 +5609,9 @@ button.vp-realtime-command-item:focus-visible {
|
||||
@media (max-width: 900px) {
|
||||
.vp-evidence-grid,
|
||||
.vp-action-grid,
|
||||
.vp-fleet-monitor .semi-card-body,
|
||||
.vp-fleet-monitor-stats,
|
||||
.vp-fleet-monitor-trust,
|
||||
.vp-vehicle-live-view .semi-card-body,
|
||||
.vp-vehicle-live-main,
|
||||
.vp-vehicle-live-facts,
|
||||
@@ -5540,6 +5758,30 @@ button.vp-realtime-command-item:focus-visible {
|
||||
height: 460px;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-map {
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-copy {
|
||||
position: static;
|
||||
max-width: none;
|
||||
margin: 14px;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-map-canvas {
|
||||
min-height: 320px;
|
||||
height: 320px;
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-panel {
|
||||
border-left: 0;
|
||||
border-top: 1px solid var(--vp-border);
|
||||
}
|
||||
|
||||
.vp-fleet-monitor-action {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.vp-stat-closure-action {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
|
||||
Reference in New Issue
Block a user