feat(mileage): compact mobile results and add date presets
This commit is contained in:
@@ -1914,34 +1914,36 @@ button, a { -webkit-tap-highlight-color: transparent; }
|
||||
:is(.v2-alert-filter,.v2-access-filter-v3,.v2-history-toolbar,.v2-mileage-filter).is-mobile-collapsed { display: none !important; }
|
||||
.v2-track-page.is-rail-collapsed { display: grid; grid-template-columns: minmax(0,1fr); }
|
||||
|
||||
.v2-mileage-page { gap: 10px; padding: 8px 8px 18px; }
|
||||
.v2-mileage-query-panel { padding: 8px; border-radius: 12px; }
|
||||
.v2-mileage-query-panel > .v2-mobile-filter-toggle { margin: 0 0 8px; }
|
||||
.v2-mileage-summary { display: grid; grid-template-columns: 1fr; gap: 8px; border: 0; background: transparent; }
|
||||
.v2-mileage-summary > .is-primary { min-height: 112px; border-radius: 10px; padding: 16px 17px 17px; }
|
||||
.v2-mileage-summary > .is-primary strong { margin: 8px 0 5px; font-size: 27px; }
|
||||
.v2-mileage-page { gap: 7px; padding: 7px 7px 14px; }
|
||||
.v2-mileage-query-panel { padding: 7px; border-radius: 11px; }
|
||||
.v2-mileage-query-panel > .v2-mobile-filter-toggle { min-height: 48px; margin: 0 0 7px; padding: 7px 10px; }
|
||||
.v2-mileage-ranges { grid-template-columns: repeat(5,minmax(0,1fr)); }
|
||||
.v2-mileage-ranges button { height: 36px; padding: 0 3px; font-size: 10px; }
|
||||
.v2-mileage-summary { display: grid; grid-template-columns: 1fr; gap: 6px; border: 0; background: transparent; }
|
||||
.v2-mileage-summary > .is-primary { min-height: 82px; border-radius: 9px; padding: 11px 14px 12px; }
|
||||
.v2-mileage-summary > .is-primary strong { margin: 4px 0 2px; font-size: 25px; }
|
||||
.v2-mileage-summary-secondary { grid-template-columns: repeat(3,minmax(0,1fr)); overflow: hidden; border: 1px solid #e1e7ef; border-radius: 10px; }
|
||||
.v2-mileage-summary-secondary article { min-height: 94px; justify-content: flex-start; border-bottom: 0 !important; padding: 13px 11px 12px; }
|
||||
.v2-mileage-summary-secondary article + article::before { inset: 13px auto 13px 0; }
|
||||
.v2-mileage-summary-secondary strong { margin: 7px 0 4px; font-size: 17px; }
|
||||
.v2-mileage-summary-secondary article { min-height: 70px; justify-content: flex-start; border-bottom: 0 !important; padding: 9px 9px 8px; }
|
||||
.v2-mileage-summary-secondary article + article::before { inset: 9px auto 9px 0; }
|
||||
.v2-mileage-summary-secondary strong { margin: 4px 0 2px; font-size: 16px; }
|
||||
.v2-mileage-summary-secondary span { overflow: hidden; font-size: 9px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.v2-mileage-results { min-height: 430px; border-radius: 12px; }
|
||||
.v2-mileage-results > header { gap: 8px; padding: 12px; }
|
||||
.v2-mileage-results > header strong { font-size: 15px; }
|
||||
.v2-mileage-results > header { gap: 5px; padding: 9px 10px; }
|
||||
.v2-mileage-results > header div:first-child { width: 100%; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 8px; }
|
||||
.v2-mileage-results > header strong { font-size: 14px; }
|
||||
.v2-mileage-results > header .v2-mileage-result-actions { gap: 6px; }
|
||||
.v2-mileage-results > header .v2-mileage-result-actions em { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.v2-mileage-result-actions > button { height: 36px; padding: 0 10px; font-size: 10px; }
|
||||
.v2-mileage-mobile-list { gap: 9px; background: #f4f7fb; padding: 9px; }
|
||||
.v2-mileage-mobile-list article { overflow: hidden; border: 1px solid #dfe6ef; border-radius: 10px; background: #fff; padding: 14px 13px 13px; box-shadow: 0 2px 8px rgba(23,39,62,.035); }
|
||||
.v2-mileage-mobile-list article > header strong { font-size: 15px; }
|
||||
.v2-mileage-mobile-list article > header b { color: #135fcb; font-size: 19px; letter-spacing: -.025em; }
|
||||
.v2-mileage-mobile-list article > header b small { margin-top: 4px; font-size: 9px; }
|
||||
.v2-mileage-mobile-day-heading { display: flex; align-items: center; justify-content: space-between; margin-top: 13px; border-top: 1px solid #edf1f5; padding-top: 11px; }
|
||||
.v2-mileage-mobile-day-heading span { color: #526176; font-size: 11px; font-weight: 700; }
|
||||
.v2-mileage-mobile-day-heading em { color: #8b97a8; font-size: 9px; font-style: normal; }
|
||||
.v2-mileage-mobile-days { grid-auto-columns: 88px; gap: 6px; margin-top: 8px; padding-bottom: 2px; scroll-snap-type: x proximity; }
|
||||
.v2-mileage-mobile-days > div { min-height: 66px; border-color: #e3e9f1; border-radius: 8px; background: #f8fafc; padding: 8px 9px; scroll-snap-align: start; }
|
||||
.v2-mileage-mobile-days time { font-size: 9px; }
|
||||
.v2-mileage-mobile-days strong { margin-top: 6px; color: #26364b; font-size: 11px; }
|
||||
.v2-mileage-mobile-days small { display: block; margin-top: 4px; overflow: hidden; color: #7d8ba0; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.v2-mileage-result-actions > button { height: 32px; padding: 0 9px; font-size: 10px; }
|
||||
.v2-mileage-mobile-list { gap: 5px; background: #f4f7fb; padding: 5px; }
|
||||
.v2-mileage-mobile-list article { overflow: hidden; border: 1px solid #dfe6ef; border-radius: 8px; background: #fff; padding: 9px 10px 8px; box-shadow: 0 1px 4px rgba(23,39,62,.03); }
|
||||
.v2-mileage-mobile-list article > header { align-items: center; }
|
||||
.v2-mileage-mobile-list article > header strong { font-size: 14px; }
|
||||
.v2-mileage-mobile-list article > header span { margin-top: 1px; font-size: 8px; }
|
||||
.v2-mileage-mobile-list article > header b { color: #135fcb; font-size: 17px; letter-spacing: -.025em; }
|
||||
.v2-mileage-mobile-list article > header b small { margin-top: 1px; font-size: 8px; }
|
||||
.v2-mileage-mobile-days { grid-auto-columns: 70px; gap: 4px; margin-top: 7px; border-top: 1px solid #edf1f5; padding-top: 6px; padding-bottom: 1px; scroll-snap-type: x proximity; }
|
||||
.v2-mileage-mobile-days > div { min-height: 38px; border: 0; border-radius: 6px; background: #f6f8fb; padding: 5px 7px; scroll-snap-align: start; }
|
||||
.v2-mileage-mobile-days time { font-size: 8px; }
|
||||
.v2-mileage-mobile-days strong { margin-top: 3px; color: #26364b; font-size: 10px; }
|
||||
.v2-mileage-mobile-days small { display: none; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user