feat(platform): add map status filter strip
This commit is contained in:
@@ -4659,6 +4659,75 @@ body {
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.vp-map-status-filter-strip {
|
||||
margin-bottom: 16px;
|
||||
border: 1px solid rgba(22, 100, 255, 0.16);
|
||||
border-radius: 8px;
|
||||
background: #ffffff;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1.42fr);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.vp-map-status-filter-copy {
|
||||
padding: 16px;
|
||||
border-right: 1px solid var(--vp-border);
|
||||
background: #f7fbff;
|
||||
display: grid;
|
||||
gap: 9px;
|
||||
align-content: center;
|
||||
}
|
||||
|
||||
.vp-map-status-filter-copy .semi-typography {
|
||||
color: var(--vp-text);
|
||||
line-height: 22px;
|
||||
}
|
||||
|
||||
.vp-map-status-filter-grid {
|
||||
padding: 12px;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.vp-map-status-filter-item {
|
||||
min-height: 108px;
|
||||
padding: 12px;
|
||||
border: 1px solid var(--vp-border);
|
||||
border-radius: 8px;
|
||||
background: #fbfcff;
|
||||
color: inherit;
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
text-align: left;
|
||||
display: grid;
|
||||
gap: 7px;
|
||||
align-content: start;
|
||||
transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
|
||||
}
|
||||
|
||||
.vp-map-status-filter-item:hover,
|
||||
.vp-map-status-filter-item:focus-visible {
|
||||
border-color: rgba(22, 100, 255, 0.42);
|
||||
background: #f5f9ff;
|
||||
box-shadow: var(--vp-shadow-sm);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.vp-map-status-filter-item strong {
|
||||
color: var(--vp-text);
|
||||
font-size: 18px;
|
||||
line-height: 24px;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.vp-map-status-filter-item span {
|
||||
color: var(--vp-text-muted);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.vp-realtime-customer-steps {
|
||||
padding: 16px;
|
||||
display: grid;
|
||||
@@ -13472,6 +13541,8 @@ button.vp-realtime-command-item:focus-visible {
|
||||
.vp-map-ops-board,
|
||||
.vp-map-ops-readiness,
|
||||
.vp-map-ops-work,
|
||||
.vp-map-status-filter-strip,
|
||||
.vp-map-status-filter-grid,
|
||||
.vp-customer-service-command-main,
|
||||
.vp-customer-service-command-grid,
|
||||
.vp-customer-fleet-groups,
|
||||
@@ -13715,7 +13786,8 @@ button.vp-realtime-command-item:focus-visible {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.vp-customer-cockpit-summary {
|
||||
.vp-customer-cockpit-summary,
|
||||
.vp-map-status-filter-copy {
|
||||
border-right: 0;
|
||||
border-bottom: 1px solid var(--vp-border);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user