feat(platform): add map view modes
This commit is contained in:
@@ -5093,6 +5093,76 @@ button.vp-realtime-command-item:focus-visible {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.vp-map-view-mode {
|
||||
padding: 14px;
|
||||
border: 1px solid rgba(22, 100, 255, 0.2);
|
||||
border-radius: var(--vp-radius);
|
||||
background: #f7faff;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.vp-map-view-mode-summary {
|
||||
display: grid;
|
||||
align-content: start;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.vp-map-view-mode-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.vp-map-view-mode-item {
|
||||
min-height: 150px;
|
||||
padding: 12px;
|
||||
border: 1px solid var(--vp-border);
|
||||
border-radius: var(--vp-radius);
|
||||
background: #fbfcff;
|
||||
color: inherit;
|
||||
text-align: left;
|
||||
font: inherit;
|
||||
cursor: pointer;
|
||||
display: grid;
|
||||
align-content: start;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.vp-map-view-mode-item:hover,
|
||||
.vp-map-view-mode-item:focus-visible {
|
||||
border-color: rgba(22, 100, 255, 0.42);
|
||||
box-shadow: 0 10px 24px rgba(24, 39, 75, 0.08);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.vp-map-view-mode-item:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.62;
|
||||
}
|
||||
|
||||
.vp-map-view-mode-item strong {
|
||||
color: var(--vp-text);
|
||||
font-size: 18px;
|
||||
line-height: 24px;
|
||||
font-weight: 700;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.vp-map-view-mode-item span {
|
||||
color: var(--vp-text-muted);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.vp-map-view-mode-item em {
|
||||
color: var(--vp-primary);
|
||||
font-size: 12px;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.vp-map-kpi-strip {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
@@ -11099,6 +11169,8 @@ button.vp-realtime-command-item:focus-visible {
|
||||
.vp-map-service-rail-actions,
|
||||
.vp-map-decision-board,
|
||||
.vp-map-decision-grid,
|
||||
.vp-map-view-mode,
|
||||
.vp-map-view-mode-grid,
|
||||
.vp-map-dispatch-actions,
|
||||
.vp-map-dispatch-actions-grid,
|
||||
.vp-map-area-monitor,
|
||||
|
||||
Reference in New Issue
Block a user