feat(platform): sharpen customer vehicle cockpit
This commit is contained in:
@@ -350,6 +350,179 @@ body {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.vp-customer-cockpit {
|
||||
margin-bottom: 16px;
|
||||
overflow: hidden;
|
||||
border-color: rgba(22, 100, 255, 0.18);
|
||||
}
|
||||
|
||||
.vp-customer-cockpit .semi-card-body {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
|
||||
min-height: 360px;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.vp-customer-cockpit-main {
|
||||
min-width: 0;
|
||||
padding: 24px;
|
||||
background:
|
||||
linear-gradient(90deg, rgba(22, 100, 255, 0.08) 0%, rgba(255, 255, 255, 0) 62%),
|
||||
#ffffff;
|
||||
display: grid;
|
||||
gap: 20px;
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
.vp-customer-cockpit-copy {
|
||||
max-width: 760px;
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.vp-customer-cockpit-copy .semi-typography {
|
||||
max-width: 720px;
|
||||
font-size: 14px;
|
||||
line-height: 22px;
|
||||
}
|
||||
|
||||
.vp-customer-cockpit-metrics {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.vp-customer-cockpit-metric {
|
||||
min-height: 130px;
|
||||
padding: 14px;
|
||||
border: 1px solid var(--vp-border);
|
||||
border-radius: 8px;
|
||||
background: rgba(255, 255, 255, 0.82);
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
display: grid;
|
||||
align-content: start;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.vp-customer-cockpit-metric:hover,
|
||||
.vp-customer-cockpit-metric:focus-visible {
|
||||
border-color: rgba(22, 100, 255, 0.45);
|
||||
box-shadow: var(--vp-shadow-sm);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.vp-customer-cockpit-metric strong {
|
||||
color: var(--vp-text);
|
||||
font-size: 26px;
|
||||
line-height: 32px;
|
||||
}
|
||||
|
||||
.vp-customer-cockpit-metric span {
|
||||
color: var(--vp-text-muted);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.vp-customer-cockpit-rail {
|
||||
min-width: 0;
|
||||
padding: 18px;
|
||||
border-left: 1px solid var(--vp-border);
|
||||
background: #f8fbff;
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.vp-customer-cockpit-workflows {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.vp-customer-cockpit-workflow {
|
||||
min-height: 58px;
|
||||
padding: 10px 12px;
|
||||
border: 1px solid rgba(22, 100, 255, 0.14);
|
||||
border-radius: 8px;
|
||||
background: #ffffff;
|
||||
cursor: pointer;
|
||||
text-align: left;
|
||||
font: inherit;
|
||||
display: grid;
|
||||
grid-template-columns: 76px 84px minmax(0, 1fr) auto;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.vp-customer-cockpit-workflow:hover,
|
||||
.vp-customer-cockpit-workflow:focus-visible {
|
||||
border-color: rgba(22, 100, 255, 0.45);
|
||||
background: #f5f9ff;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.vp-customer-cockpit-workflow span {
|
||||
color: var(--vp-text-muted);
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.vp-customer-cockpit-workflow strong {
|
||||
color: #1664ff;
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.vp-customer-cockpit-workflow small {
|
||||
color: var(--vp-text-muted);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.vp-customer-cockpit-workflow em {
|
||||
color: var(--vp-text);
|
||||
font-size: 12px;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.vp-customer-cockpit-trust {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.vp-customer-cockpit-trust-item {
|
||||
min-height: 88px;
|
||||
padding: 10px;
|
||||
border: 1px solid var(--vp-border);
|
||||
border-radius: 8px;
|
||||
background: #ffffff;
|
||||
display: grid;
|
||||
gap: 5px;
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
.vp-customer-cockpit-trust-item span {
|
||||
color: var(--vp-text-muted);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.vp-customer-cockpit-trust-item strong {
|
||||
color: var(--vp-text);
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.vp-customer-cockpit-trust-item small {
|
||||
color: var(--vp-text-muted);
|
||||
font-size: 12px;
|
||||
line-height: 17px;
|
||||
}
|
||||
|
||||
.vp-customer-hero {
|
||||
margin-bottom: 16px;
|
||||
overflow: hidden;
|
||||
@@ -5037,6 +5210,9 @@ button.vp-realtime-command-item:focus-visible {
|
||||
.vp-map-ops-board,
|
||||
.vp-map-ops-readiness,
|
||||
.vp-map-ops-work,
|
||||
.vp-customer-cockpit .semi-card-body,
|
||||
.vp-customer-cockpit-metrics,
|
||||
.vp-customer-cockpit-trust,
|
||||
.vp-time-monitor-grid,
|
||||
.vp-command-center-grid,
|
||||
.vp-customer-task-grid,
|
||||
@@ -5148,6 +5324,10 @@ button.vp-realtime-command-item:focus-visible {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.vp-customer-cockpit-workflow {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.vp-map-commandbar,
|
||||
.vp-mileage-console-head,
|
||||
.vp-map-canvas-toolbar {
|
||||
|
||||
Reference in New Issue
Block a user