feat: refine responsive vehicle record
This commit is contained in:
@@ -16818,7 +16818,7 @@
|
||||
|
||||
.v2-vehicle-record-v3.v2-vehicle-record-page {
|
||||
gap: 7px;
|
||||
padding: 7px 7px 88px;
|
||||
padding: 7px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-card.semi-card {
|
||||
@@ -18263,3 +18263,284 @@
|
||||
max-height: min(42dvh, 180px);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Short landscape vehicle record.
|
||||
* The shell already reserves the fixed mobile navigation. Split the command
|
||||
* card into an identity/action rail and a live evidence canvas so the latest
|
||||
* report remains visible before the user scrolls.
|
||||
*/
|
||||
@media (max-width: 900px) and (max-height: 480px) and (orientation: landscape) {
|
||||
.v2-vehicle-record-v3.v2-vehicle-record-page {
|
||||
gap: 7px;
|
||||
padding: 6px 7px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-card > .semi-card-body {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(210px, .62fr) minmax(0, 1.38fr);
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-record-command.v2-workspace-command-bar {
|
||||
min-height: 0;
|
||||
align-content: start;
|
||||
border-right: 1px solid #dfe7f0;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-header.v2-vehicle-record-command .v2-workspace-command-copy {
|
||||
min-height: 57px;
|
||||
gap: 2px;
|
||||
border-right: 0;
|
||||
border-bottom: 1px solid #e4eaf2;
|
||||
padding: 5px 8px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-header.v2-vehicle-record-command .v2-plate {
|
||||
min-height: 29px;
|
||||
padding-inline: 7px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-header.v2-vehicle-record-command .v2-online-label.semi-tag {
|
||||
min-height: 20px;
|
||||
padding-inline: 6px;
|
||||
font-size: 8px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-header.v2-vehicle-record-command .v2-identity-vin {
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-header.v2-vehicle-record-command .v2-identity-vin small {
|
||||
font-size: 8px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-header.v2-vehicle-record-command .v2-identity-vin b {
|
||||
font-size: 8px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-header.v2-vehicle-record-command .v2-identity-vin .semi-button {
|
||||
width: 22px;
|
||||
min-width: 22px;
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-header.v2-vehicle-record-command .v2-workspace-command-actions {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-header.v2-vehicle-record-command .v2-workspace-command-meta {
|
||||
border-right: 0;
|
||||
border-bottom: 1px solid #e7edf4;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-header.v2-vehicle-record-command .v2-identity-meta {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-header.v2-vehicle-record-command .v2-identity-meta > span {
|
||||
min-height: 35px;
|
||||
padding: 4px 8px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-header.v2-vehicle-record-command .v2-identity-meta > span + span {
|
||||
border-top: 1px solid #edf1f6;
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-header.v2-vehicle-record-command .v2-identity-meta small {
|
||||
font-size: 8px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-header.v2-vehicle-record-command .v2-identity-meta strong {
|
||||
margin-top: 1px;
|
||||
font-size: 9px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-header.v2-vehicle-record-command .v2-identity-sources {
|
||||
flex-wrap: nowrap;
|
||||
gap: 3px;
|
||||
margin-top: 2px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-header.v2-vehicle-record-command .v2-identity-sources .semi-tag {
|
||||
min-height: 18px;
|
||||
padding-inline: 4px;
|
||||
font-size: 7px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-header.v2-vehicle-record-command .v2-identity-actions {
|
||||
min-height: 43px;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 4px;
|
||||
padding: 5px 6px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-header.v2-vehicle-record-command .v2-identity-actions > .semi-button {
|
||||
min-height: 33px;
|
||||
border-radius: 7px;
|
||||
padding: 2px 4px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-header.v2-vehicle-record-command .v2-identity-actions > .semi-button .semi-button-content {
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-header.v2-vehicle-record-command .v2-identity-actions > .semi-button .semi-button-content-left {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-header.v2-vehicle-record-command .v2-identity-actions > .semi-button .semi-button-content-right {
|
||||
font-size: 8px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-live-section {
|
||||
min-width: 0;
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-live-section > .v2-workspace-panel-header {
|
||||
min-height: 36px;
|
||||
padding: 4px 7px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-live-section .v2-workspace-panel-copy > h5.semi-typography {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-live-section .v2-live-report-meta {
|
||||
max-width: 64%;
|
||||
font-size: 7px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-card .v2-live-grid {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-card .v2-live-grid > .v2-live-metric {
|
||||
min-height: 58px;
|
||||
border-top: 0;
|
||||
border-left: 1px solid #e7edf4;
|
||||
padding: 6px 7px 5px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-card .v2-live-grid > .v2-live-metric:nth-child(3n + 1) {
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-card .v2-live-grid > .v2-live-metric:nth-child(n + 4) {
|
||||
border-top: 1px solid #e7edf4;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-card .v2-live-grid > .v2-live-metric::after {
|
||||
right: 7px;
|
||||
left: 7px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-card .v2-live-grid small {
|
||||
font-size: 8px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-card .v2-live-grid strong,
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-card .v2-live-source-link {
|
||||
margin-top: 3px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-card .v2-live-grid strong.is-text {
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-card .v2-live-primary-protocol.semi-tag {
|
||||
min-height: 19px;
|
||||
margin-top: 3px;
|
||||
padding-inline: 5px;
|
||||
font-size: 7px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-card .v2-live-source-link.semi-button {
|
||||
height: 19px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-card .v2-live-grid > .v2-live-metric > span:last-child {
|
||||
margin-top: 3px;
|
||||
font-size: 7px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-card .v2-current-location {
|
||||
min-height: 37px;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-card .v2-current-location > span {
|
||||
gap: 4px;
|
||||
padding: 4px 7px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-card .v2-current-location > span + span {
|
||||
border-top: 0;
|
||||
border-left: 1px solid #e4eaf2;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-card .v2-current-location small,
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-card .v2-current-location strong {
|
||||
font-size: 8px;
|
||||
}
|
||||
|
||||
.v2-vehicle-record-v3 .v2-vehicle-command-card .v2-current-address-action.semi-button {
|
||||
min-height: 25px;
|
||||
padding-inline: 6px;
|
||||
font-size: 8px;
|
||||
}
|
||||
|
||||
.v2-vehicle-mobile-actions-sidesheet.semi-sidesheet-bottom .semi-sidesheet-inner {
|
||||
height: 100dvh !important;
|
||||
max-height: 100dvh;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.v2-vehicle-mobile-actions-sidesheet.semi-sidesheet-bottom .semi-sidesheet-header {
|
||||
min-height: 56px;
|
||||
padding: 7px 12px;
|
||||
}
|
||||
|
||||
.v2-vehicle-mobile-actions-sidesheet.semi-sidesheet-bottom .semi-sidesheet-body {
|
||||
padding: 9px 12px;
|
||||
}
|
||||
|
||||
.v2-vehicle-mobile-actions-sidesheet.semi-sidesheet-bottom .semi-sidesheet-footer {
|
||||
padding: 7px 12px;
|
||||
}
|
||||
|
||||
.v2-vehicle-mobile-actions-sidesheet .v2-vehicle-mobile-actions-title {
|
||||
gap: 1px;
|
||||
}
|
||||
|
||||
.v2-vehicle-mobile-actions-sidesheet .v2-vehicle-mobile-actions-title > span {
|
||||
font-size: 8px;
|
||||
}
|
||||
|
||||
.v2-vehicle-mobile-actions-sidesheet .v2-vehicle-mobile-actions-list {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.v2-vehicle-mobile-actions-sidesheet .v2-vehicle-mobile-actions-list > .semi-button {
|
||||
min-height: 72px;
|
||||
justify-content: center;
|
||||
padding-inline: 10px;
|
||||
}
|
||||
|
||||
.v2-vehicle-mobile-actions-sidesheet .v2-vehicle-mobile-actions-list > .semi-button .semi-button-content {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.v2-vehicle-mobile-actions-sidesheet .v2-vehicle-mobile-actions-list > .semi-button .semi-button-content-right {
|
||||
max-width: 100%;
|
||||
flex: 0 1 auto;
|
||||
gap: 7px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user