feat(platform): add vehicle service cockpit
This commit is contained in:
@@ -1823,6 +1823,84 @@ body {
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.vp-vehicle-service-cockpit {
|
||||
margin-bottom: 16px;
|
||||
border: 1px solid rgba(22, 100, 255, 0.18);
|
||||
border-radius: 8px;
|
||||
background: #ffffff;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(300px, 0.48fr) minmax(0, 1.52fr);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.vp-vehicle-service-cockpit-copy {
|
||||
padding: 20px;
|
||||
border-right: 1px solid var(--vp-border);
|
||||
background: #f6f9ff;
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
align-content: center;
|
||||
}
|
||||
|
||||
.vp-vehicle-service-cockpit-copy .semi-typography {
|
||||
line-height: 26px;
|
||||
}
|
||||
|
||||
.vp-vehicle-service-cockpit-grid {
|
||||
padding: 14px;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(6, minmax(0, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.vp-vehicle-service-cockpit-item {
|
||||
min-height: 144px;
|
||||
padding: 12px;
|
||||
border: 1px solid rgba(22, 100, 255, 0.14);
|
||||
border-radius: 8px;
|
||||
background: #fbfcff;
|
||||
color: inherit;
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
text-align: left;
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
align-content: start;
|
||||
transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
|
||||
}
|
||||
|
||||
.vp-vehicle-service-cockpit-item:hover,
|
||||
.vp-vehicle-service-cockpit-item:focus-visible {
|
||||
border-color: rgba(22, 100, 255, 0.42);
|
||||
background: #f5f9ff;
|
||||
box-shadow: 0 0 0 3px rgba(22, 100, 255, 0.08);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.vp-vehicle-service-cockpit-item strong {
|
||||
color: var(--vp-text);
|
||||
font-size: 18px;
|
||||
line-height: 24px;
|
||||
font-weight: 800;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.vp-vehicle-service-cockpit-item span {
|
||||
color: var(--vp-text-muted);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.vp-vehicle-service-cockpit-item em {
|
||||
align-self: end;
|
||||
color: var(--vp-primary);
|
||||
font-size: 12px;
|
||||
font-style: normal;
|
||||
font-weight: 800;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.vp-customer-service-journey-copy {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
@@ -11284,6 +11362,19 @@ button.vp-realtime-command-item:focus-visible {
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.vp-app,
|
||||
.vp-main,
|
||||
.vp-page {
|
||||
max-width: 100%;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.semi-table-wrapper,
|
||||
.semi-table-container,
|
||||
.semi-table-body {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.vp-shell {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
@@ -11327,6 +11418,8 @@ button.vp-realtime-command-item:focus-visible {
|
||||
.vp-dispatch-operations-highlights,
|
||||
.vp-customer-delivery-workbench,
|
||||
.vp-customer-delivery-workbench-grid,
|
||||
.vp-vehicle-service-cockpit,
|
||||
.vp-vehicle-service-cockpit-grid,
|
||||
.vp-customer-service-separation,
|
||||
.vp-customer-primary-flow-grid,
|
||||
.vp-source-readiness-grid,
|
||||
|
||||
Reference in New Issue
Block a user