feat(web): add visible batch vehicle search
This commit is contained in:
@@ -62,6 +62,24 @@ button, a { -webkit-tap-highlight-color: transparent; }
|
||||
.v2-search-field.is-batch { border-color: #9fc0f7; background: #fbfdff; }
|
||||
.v2-search-batch-count { flex: 0 0 auto; border-radius: 999px; background: var(--v2-blue-soft); padding: 3px 7px; color: var(--v2-blue); font-size: 10px; font-weight: 700; line-height: 1; white-space: nowrap; }
|
||||
.v2-search-batch-count.has-missing { background: #fff4e5; color: #b45309; }
|
||||
.v2-search-batch-action { flex: 0 0 auto; border: 0; border-left: 1px solid #dce4ef; background: transparent; padding: 0 2px 0 10px; color: var(--v2-blue); font-size: 11px; font-weight: 700; white-space: nowrap; cursor: pointer; }
|
||||
.v2-search-batch-action:hover { color: #124ea1; }
|
||||
.v2-batch-search-backdrop { position: fixed; z-index: 1300; inset: 0; display: grid; place-items: center; background: rgba(15, 27, 46, .4); padding: 20px; backdrop-filter: blur(3px); }
|
||||
.v2-batch-search-dialog { width: min(520px, 100%); border: 1px solid rgba(255,255,255,.75); border-radius: 14px; background: #fff; padding: 20px; box-shadow: 0 24px 70px rgba(13, 33, 62, .24); }
|
||||
.v2-batch-search-dialog > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
|
||||
.v2-batch-search-dialog > header div { display: grid; gap: 4px; }
|
||||
.v2-batch-search-dialog > header strong { color: #17253a; font-size: 17px; }
|
||||
.v2-batch-search-dialog > header span { color: #728096; font-size: 12px; }
|
||||
.v2-batch-search-dialog > header button { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 7px; background: #f3f6fa; color: #627086; cursor: pointer; }
|
||||
.v2-batch-search-dialog > label { display: block; margin-bottom: 8px; color: #536176; font-size: 12px; font-weight: 600; }
|
||||
.v2-batch-search-dialog textarea { display: block; width: 100%; min-height: 210px; resize: vertical; border: 1px solid #ccd8e7; border-radius: 9px; background: #fbfcfe; padding: 12px 14px; color: #1d2a3d; outline: 0; font: 13px/1.75 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
|
||||
.v2-batch-search-dialog textarea:focus { border-color: #4386df; background: #fff; box-shadow: 0 0 0 3px rgba(45, 116, 210, .1); }
|
||||
.v2-batch-search-summary { display: flex; justify-content: space-between; gap: 12px; margin-top: 9px; color: #758297; font-size: 11px; }
|
||||
.v2-batch-search-summary strong { color: var(--v2-blue); font-size: 13px; }
|
||||
.v2-batch-search-summary em { color: #8994a5; font-style: normal; }
|
||||
.v2-batch-search-dialog > footer { display: flex; justify-content: flex-end; gap: 9px; margin-top: 18px; }
|
||||
.v2-batch-search-dialog > footer button { min-width: 92px; }
|
||||
.v2-batch-search-dialog > footer button:disabled { opacity: .45; cursor: not-allowed; }
|
||||
.v2-filterbar select { height: 36px; border: 1px solid #dce4ef; border-radius: 7px; background: #fff; padding: 0 30px 0 11px; color: #4d5c70; outline: 0; font-size: 12px; }
|
||||
.v2-primary-button, .v2-secondary-button { display: flex; height: 36px; align-items: center; justify-content: center; gap: 7px; border-radius: 7px; padding: 0 14px; cursor: pointer; font-size: 12px; font-weight: 700; }
|
||||
.v2-primary-button { border: 1px solid var(--v2-blue); background: var(--v2-blue); color: #fff; box-shadow: 0 5px 12px rgba(18,104,243,.18); }
|
||||
@@ -1302,6 +1320,10 @@ button, a { -webkit-tap-highlight-color: transparent; }
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
.v2-batch-search-backdrop { align-items: end; padding: 0; }
|
||||
.v2-batch-search-dialog { width: 100%; border-radius: 16px 16px 0 0; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); }
|
||||
.v2-batch-search-dialog textarea { min-height: 32vh; font-size: 16px; }
|
||||
.v2-batch-search-dialog > footer button { min-width: 0; flex: 1; height: 44px; }
|
||||
.v2-access-page-v3 { gap: 9px; padding: 10px 8px 18px; }
|
||||
.v2-access-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
|
||||
.v2-access-heading h2 { font-size: 19px; }
|
||||
|
||||
Reference in New Issue
Block a user