feat(platform): expose multi-source vehicle evidence
This commit is contained in:
@@ -282,6 +282,64 @@ button, a { -webkit-tap-highlight-color: transparent; }
|
||||
.v2-metric-grid small { display: block; color: var(--v2-muted); font-size: 8px; }
|
||||
.v2-metric-grid strong { display: block; margin-top: 4px; overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.v2-metric-grid em { margin-left: 2px; color: var(--v2-muted); font-size: 7px; font-style: normal; font-weight: 500; }
|
||||
.v2-metric-source-link, .v2-live-source-link { display: block; width: 100%; margin-top: 4px; overflow: hidden; border: 0; background: transparent; padding: 0; color: inherit; cursor: pointer; text-align: left; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 700; }
|
||||
.v2-metric-source-link:hover, .v2-live-source-link:hover, .v2-detail-source-link:hover, .v2-map-source-link:hover { color: var(--v2-blue); }
|
||||
.v2-detail-source-link { max-width: 100%; overflow: hidden; border: 0; background: transparent; padding: 0; color: #3d4a5e; cursor: pointer; text-align: left; text-overflow: ellipsis; white-space: nowrap; font: inherit; }
|
||||
|
||||
.v2-source-evidence { min-width: 0; border: 1px solid #dce5ef; border-radius: 10px; background: #fff; box-shadow: 0 4px 18px rgba(23,43,77,.045); }
|
||||
.v2-record-grid > .v2-source-evidence { grid-column: 1 / -1; }
|
||||
.v2-source-evidence-trigger { display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; }
|
||||
.v2-source-evidence-trigger > div { min-width: 0; }
|
||||
.v2-source-evidence-trigger strong { display: block; color: #25344a; font-size: 12px; }
|
||||
.v2-source-evidence-trigger span { display: block; margin-top: 3px; overflow: hidden; color: #79869a; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.v2-source-evidence-trigger button { flex: 0 0 auto; height: 30px; border: 1px solid #bfd4f6; border-radius: 7px; background: #f3f7ff; padding: 0 11px; color: var(--v2-blue); cursor: pointer; font-size: 9px; font-weight: 700; }
|
||||
.v2-source-evidence-body { border-top: 1px solid var(--v2-border); padding: 12px 14px 14px; }
|
||||
.v2-source-evidence-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
|
||||
.v2-source-evidence-toolbar label { display: flex; align-items: center; gap: 8px; color: #59677b; font-size: 9px; font-weight: 700; }
|
||||
.v2-source-evidence-toolbar input { height: 30px; border: 1px solid #dce4ef; border-radius: 6px; background: #fff; padding: 0 8px; color: #344257; font-size: 9px; }
|
||||
.v2-source-evidence-toolbar small { color: #8b96a8; font-size: 8px; }
|
||||
.v2-source-evidence-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); overflow: hidden; border: 1px solid #dfe6ef; border-radius: 8px; background: #f8fafc; }
|
||||
.v2-source-evidence-summary > div { min-width: 0; padding: 10px 12px; }
|
||||
.v2-source-evidence-summary > div + div { border-left: 1px solid #e2e8f0; }
|
||||
.v2-source-evidence-summary small { display: block; color: #7b8799; font-size: 8px; }
|
||||
.v2-source-evidence-summary strong { display: block; margin-top: 4px; overflow: hidden; color: #26364c; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
|
||||
.v2-source-evidence-summary em { margin-left: 3px; color: #8793a5; font-size: 8px; font-style: normal; font-weight: 500; }
|
||||
.v2-source-evidence-group { margin-top: 12px; padding: 0; border: 0; }
|
||||
.v2-source-evidence-group > header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 7px; }
|
||||
.v2-source-evidence-group > header strong { color: #314157; font-size: 11px; }
|
||||
.v2-source-evidence-group > header span { color: #8995a7; font-size: 8px; }
|
||||
.v2-source-evidence-group > div { display: grid; grid-template-columns: repeat(auto-fit,minmax(245px,1fr)); gap: 8px; }
|
||||
.v2-source-evidence-card { min-width: 0; overflow: hidden; border: 1px solid #dfe6ef; border-radius: 8px; background: #fff; }
|
||||
.v2-source-evidence-card.is-recommended { border-color: #8eb8f5; box-shadow: inset 3px 0 #3b82f6; }
|
||||
.v2-source-evidence-card.is-warning { border-color: #f0c16f; box-shadow: inset 3px 0 #eaa126; }
|
||||
.v2-source-evidence-card.is-disabled, .v2-source-evidence-card.is-offline { background: #fafbfc; opacity: .82; }
|
||||
.v2-source-evidence-card > header { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid #edf1f5; padding: 8px 10px; }
|
||||
.v2-source-evidence-card > header > div { min-width: 0; }
|
||||
.v2-source-evidence-card > header strong { display: block; overflow: hidden; color: #2c3b50; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.v2-source-evidence-card > header span { display: block; margin-top: 3px; overflow: hidden; color: #7e8a9c; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.v2-source-evidence-card > header aside { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
|
||||
.v2-source-evidence-card > header b { border-radius: 10px; background: #edf2f7; padding: 2px 6px; color: #64748b; font-size: 7px; }
|
||||
.v2-source-evidence-card > header b.is-recommended { background: #e8f1ff; color: #1769d2; }
|
||||
.v2-source-evidence-card > header b.is-disabled, .v2-source-evidence-card > header b.is-offline { background: #eef0f3; color: #7b8491; }
|
||||
.v2-source-evidence-card > header b.is-warning { background: #fff4dc; color: #a46500; }
|
||||
.v2-source-evidence-card dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 5px 10px 8px; }
|
||||
.v2-source-evidence-card dl > div { min-width: 0; padding: 5px 3px; }
|
||||
.v2-source-evidence-card dt { color: #8b96a7; font-size: 7px; }
|
||||
.v2-source-evidence-card dd { margin: 3px 0 0; overflow: hidden; color: #445268; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
|
||||
.v2-source-evidence-card > p { margin: 0 10px 9px; border-radius: 5px; background: #fff7e8; padding: 6px 8px; color: #9a650b; font-size: 7px; line-height: 1.5; }
|
||||
.v2-source-evidence-state { display: flex; min-height: 80px; align-items: center; justify-content: center; gap: 8px; color: #718096; font-size: 9px; }
|
||||
.v2-source-evidence-state i { width: 16px; height: 16px; border: 2px solid #cbd8ea; border-top-color: var(--v2-blue); border-radius: 50%; animation: v2-spin .8s linear infinite; }
|
||||
.v2-source-evidence-state.is-error { color: #b42318; }
|
||||
.v2-source-evidence-state button { height: 28px; border: 1px solid #edb5b0; border-radius: 6px; background: #fff; padding: 0 9px; color: #a61b13; cursor: pointer; font-size: 8px; }
|
||||
.v2-source-evidence.is-compact { margin-top: 10px; border-right: 0; border-left: 0; border-radius: 0; box-shadow: none; }
|
||||
.v2-source-evidence.is-compact .v2-source-evidence-trigger { padding: 9px 0; }
|
||||
.v2-source-evidence.is-compact .v2-source-evidence-body { padding: 10px 0 2px; }
|
||||
.v2-source-evidence.is-compact .v2-source-evidence-toolbar { align-items: flex-start; flex-direction: column; gap: 7px; }
|
||||
.v2-source-evidence.is-compact .v2-source-evidence-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
|
||||
.v2-source-evidence.is-compact .v2-source-evidence-summary > div:nth-child(3) { border-left: 0; }
|
||||
.v2-source-evidence.is-compact .v2-source-evidence-summary > div:nth-child(n+3) { border-top: 1px solid #e2e8f0; }
|
||||
.v2-source-evidence.is-compact .v2-source-evidence-group > div { grid-template-columns: 1fr; }
|
||||
.v2-vehicle-detail .v2-source-evidence-group { padding: 0; border-top: 0; }
|
||||
|
||||
.v2-event-strip { display: flex; min-height: 48px; align-items: center; gap: 22px; border: 1px solid #dfe6ef; border-radius: 8px; background: #fff; padding: 0 16px; box-shadow: 0 3px 12px rgba(21,32,51,.035); color: #6d7a8d; font-size: 10px; }
|
||||
.v2-event-strip strong { color: var(--v2-text); font-size: 11px; }
|
||||
@@ -381,6 +439,7 @@ button, a { -webkit-tap-highlight-color: transparent; }
|
||||
.v2-single-map-card .v2-map-legend { display: none; }
|
||||
.v2-single-map-card footer { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 16px; padding: 0 14px; color: #64748b; font-size: 9px; }
|
||||
.v2-single-map-card footer span { display: inline-flex; min-width: 0; align-items: center; gap: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.v2-map-source-link { display: inline-flex; min-width: 0; align-items: center; gap: 7px; overflow: hidden; border: 0; background: transparent; padding: 0; color: #64748b; cursor: pointer; text-align: left; text-overflow: ellipsis; white-space: nowrap; font: inherit; }
|
||||
.v2-single-map-card footer time { white-space: nowrap; font-variant-numeric: tabular-nums; }
|
||||
.v2-archive-card { grid-column: 2; grid-row: 1; }
|
||||
.v2-record-list { margin: 0; padding: 8px 14px 4px; }
|
||||
@@ -400,6 +459,7 @@ button, a { -webkit-tap-highlight-color: transparent; }
|
||||
.v2-live-grid > div:nth-child(n+4) { border-top: 1px solid var(--v2-border); }
|
||||
.v2-live-grid small { display: block; color: var(--v2-muted); font-size: 9px; }
|
||||
.v2-live-grid strong { display: block; margin-top: 5px; overflow: hidden; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
|
||||
.v2-live-source-link { margin-top: 5px; font-size: 17px; font-variant-numeric: tabular-nums; }
|
||||
.v2-live-grid em { margin-left: 3px; color: var(--v2-muted); font-size: 8px; font-style: normal; font-weight: 500; }
|
||||
.v2-telemetry-card { grid-column: 1; grid-row: 2 / span 2; }
|
||||
.v2-telemetry-card nav { display: flex; height: 42px; align-items: stretch; border-bottom: 1px solid var(--v2-border); padding: 0 8px; overflow-x: auto; }
|
||||
@@ -2041,4 +2101,20 @@ button, a { -webkit-tap-highlight-color: transparent; }
|
||||
.v2-mileage-table .is-total { width: 104px; min-width: 104px; padding-right: 10px; }
|
||||
.v2-mileage-table .is-daily { font-size: 10px; }
|
||||
.v2-mileage-table .is-period { font-size: 11px; }
|
||||
.v2-source-evidence-trigger { min-height: 58px; padding: 10px 11px; }
|
||||
.v2-source-evidence-trigger strong { font-size: 13px; }
|
||||
.v2-source-evidence-trigger span { max-width: 220px; font-size: 10px; }
|
||||
.v2-source-evidence-trigger button { height: 34px; font-size: 10px; }
|
||||
.v2-source-evidence-body { padding: 10px; }
|
||||
.v2-source-evidence-toolbar { align-items: flex-start; flex-direction: column; gap: 7px; }
|
||||
.v2-source-evidence-toolbar label { font-size: 10px; }
|
||||
.v2-source-evidence-toolbar input { height: 34px; font-size: 11px; }
|
||||
.v2-source-evidence-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
|
||||
.v2-source-evidence-summary > div:nth-child(3) { border-left: 0; }
|
||||
.v2-source-evidence-summary > div:nth-child(n+3) { border-top: 1px solid #e2e8f0; }
|
||||
.v2-source-evidence-summary strong { font-size: 15px; }
|
||||
.v2-source-evidence-group > div { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
|
||||
.v2-source-evidence-card { min-width: min(82vw,300px); flex: 0 0 min(82vw,300px); scroll-snap-align: start; }
|
||||
.v2-source-evidence-card > header strong { font-size: 11px; }
|
||||
.v2-source-evidence-card dd { font-size: 10px; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user