feat(platform): surface map situation on dashboard
This commit is contained in:
@@ -1248,6 +1248,83 @@ body {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.vp-customer-map-situation {
|
||||
margin-bottom: 16px;
|
||||
padding: 14px;
|
||||
border: 1px solid rgba(22, 100, 255, 0.16);
|
||||
border-radius: 8px;
|
||||
background: #ffffff;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(420px, 1.1fr) minmax(300px, 0.9fr);
|
||||
gap: 14px;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.vp-customer-map-situation-map {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--vp-border);
|
||||
border-radius: 8px;
|
||||
background: #f8fbff;
|
||||
}
|
||||
|
||||
.vp-customer-map-situation-canvas {
|
||||
min-height: 260px;
|
||||
}
|
||||
|
||||
.vp-customer-map-situation-panel {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
align-content: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.vp-customer-map-situation-panel .semi-typography {
|
||||
color: var(--vp-text);
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.vp-customer-map-situation-metrics {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.vp-customer-map-situation-metrics button {
|
||||
min-width: 0;
|
||||
padding: 10px;
|
||||
border: 1px solid var(--vp-border);
|
||||
border-radius: 8px;
|
||||
background: #fbfcff;
|
||||
color: inherit;
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
text-align: left;
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
|
||||
}
|
||||
|
||||
.vp-customer-map-situation-metrics button:hover,
|
||||
.vp-customer-map-situation-metrics button: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-customer-map-situation-metrics span {
|
||||
color: var(--vp-text-muted);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.vp-customer-map-situation-metrics strong {
|
||||
color: var(--vp-text);
|
||||
font-size: 18px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.vp-customer-service-journey {
|
||||
margin-bottom: 16px;
|
||||
padding: 14px;
|
||||
|
||||
Reference in New Issue
Block a user