feat(platform): center map page on vehicle service
This commit is contained in:
@@ -6077,6 +6077,148 @@ button.vp-realtime-command-item:focus-visible {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.vp-map-command-center {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 320px;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.vp-map-command-main,
|
||||
.vp-map-command-side-card,
|
||||
.vp-map-single-service {
|
||||
border: 1px solid var(--vp-border);
|
||||
border-radius: var(--vp-radius);
|
||||
background: var(--vp-surface);
|
||||
box-shadow: 0 14px 32px rgba(24, 39, 75, 0.06);
|
||||
}
|
||||
|
||||
.vp-map-command-main {
|
||||
padding: 18px;
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.vp-map-command-copy {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.vp-map-command-copy .semi-typography {
|
||||
max-width: 980px;
|
||||
}
|
||||
|
||||
.vp-map-command-tasks,
|
||||
.vp-map-single-service-actions {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(5, minmax(0, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.vp-map-command-task,
|
||||
.vp-map-single-service-action {
|
||||
min-height: 118px;
|
||||
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;
|
||||
transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
|
||||
}
|
||||
|
||||
.vp-map-command-task:hover,
|
||||
.vp-map-command-task:focus-visible,
|
||||
.vp-map-single-service-action:hover,
|
||||
.vp-map-single-service-action:focus-visible {
|
||||
border-color: rgba(22, 100, 255, 0.42);
|
||||
box-shadow: 0 10px 24px rgba(24, 39, 75, 0.08);
|
||||
outline: none;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.vp-map-command-task:disabled,
|
||||
.vp-map-single-service-action:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.62;
|
||||
box-shadow: none;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.vp-map-command-task strong,
|
||||
.vp-map-single-service-action strong {
|
||||
color: var(--vp-text);
|
||||
font-size: 18px;
|
||||
line-height: 24px;
|
||||
font-weight: 700;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.vp-map-command-task span,
|
||||
.vp-map-single-service-action span {
|
||||
color: var(--vp-text-muted);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.vp-map-command-side {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.vp-map-command-side-card {
|
||||
padding: 16px;
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.vp-map-foundation-facts {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr);
|
||||
gap: 8px 12px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.vp-map-foundation-facts span {
|
||||
color: var(--vp-text-muted);
|
||||
}
|
||||
|
||||
.vp-map-foundation-facts strong {
|
||||
color: var(--vp-text);
|
||||
text-align: right;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.vp-map-single-service {
|
||||
padding: 16px;
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.vp-map-single-service-copy {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.vp-map-page .vp-map-service-rail,
|
||||
.vp-map-page .vp-map-shift-console,
|
||||
.vp-map-page .vp-map-decision-board,
|
||||
.vp-map-page .vp-map-view-mode,
|
||||
.vp-map-page .vp-map-field-command,
|
||||
.vp-map-page .vp-map-area-monitor,
|
||||
.vp-map-page .vp-map-dispatch-actions,
|
||||
.vp-map-page .vp-map-kpi-strip,
|
||||
.vp-map-page .vp-map-selected-service-strip,
|
||||
.vp-map-page .vp-map-task-strip,
|
||||
.vp-map-page .vp-map-vehicle-workbench {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.vp-map-service-rail {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(300px, 0.64fr) minmax(0, 1.36fr);
|
||||
@@ -13010,6 +13152,9 @@ button.vp-realtime-command-item:focus-visible {
|
||||
.vp-realtime-impact-board,
|
||||
.vp-realtime-impact-grid,
|
||||
.vp-source-coverage-grid,
|
||||
.vp-map-command-center,
|
||||
.vp-map-command-tasks,
|
||||
.vp-map-single-service-actions,
|
||||
.vp-map-service-rail,
|
||||
.vp-map-service-rail-actions,
|
||||
.vp-map-shift-console,
|
||||
|
||||
Reference in New Issue
Block a user