Added car by motor

This commit is contained in:
SepehrYahyaee
2026-09-29 16:31:40 +03:30
parent 83c5810399
commit 36deb87582
14 changed files with 471 additions and 36 deletions
+30 -2
View File
@@ -64,12 +64,25 @@ button:hover { filter: brightness(1.12); }
.inquiry-form .wide, .inquiry-form button { grid-column: 1 / -1; }
.request-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.batch-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 18px 0; }
.batch-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 18px 0; }
.endpoint-list { margin: 16px 0; }
.checkbox { display: inline-flex; grid-template-columns: auto 1fr; align-items: center; gap: 7px; color: var(--text); font-weight: 600; }
.checkbox input { width: auto; accent-color: var(--accent-strong); }
.batch-actions { margin: 16px 0; }
.batch-progress { width: 100%; height: 8px; margin: 4px 0 12px; accent-color: var(--accent-strong); }
.coverage-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.coverage-card { padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(6, 12, 26, .38); }
.coverage-card span, .coverage-card small { display: block; color: var(--muted); font-size: 11px; }
.coverage-card strong { display: inline-block; margin: 4px 8px 2px 0; font-size: 23px; }
.coverage-card-good { border-color: rgba(101, 216, 178, .4); }
.coverage-card-good strong { color: var(--accent); }
.coverage-card-bad { border-color: rgba(255, 143, 143, .5); }
.coverage-card-bad strong { color: var(--danger); }
.coverage-card-pending { border-color: rgba(246, 200, 95, .42); }
.coverage-card-pending strong { color: #f6c85f; }
.coverage-card-recovered { border-color: rgba(129, 140, 248, .48); }
.coverage-card-recovered strong { color: #a5b4fc; }
.coverage-filter { margin: 10px 0; width: fit-content; }
.field-hint { color: var(--muted); font-size: 11px; font-weight: 500; }
#rawMode { display: grid; gap: 12px; }
#rawMode button { justify-self: start; }
@@ -111,6 +124,21 @@ tbody tr.data-row:focus { outline: 2px solid var(--accent); outline-offset: -2px
.status-success { color: var(--accent); }
.status-neutral { color: #f6c85f; }
.status-failure { color: var(--danger); }
tbody tr.record-answered > td { background: rgba(32, 180, 134, .055); }
tbody tr.record-unanswered > td { background: rgba(255, 95, 95, .11); }
tbody tr.record-unanswered > td:first-child { box-shadow: inset 3px 0 0 var(--danger); }
tbody tr.record-inconclusive > td { background: rgba(246, 200, 95, .075); }
tbody tr.record-inconclusive > td:first-child { box-shadow: inset 3px 0 0 #f6c85f; }
tbody tr.record-motor-recovered > td { background: rgba(129, 140, 248, .11); }
tbody tr.record-motor-recovered > td:first-child { box-shadow: inset 3px 0 0 #818cf8; }
.coverage-filtered { display: none !important; }
.coverage-action { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-width: 178px; }
.coverage-badge { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; color: var(--muted); font-size: 11px; font-weight: 800; }
.coverage-good { border-color: rgba(101, 216, 178, .4); color: var(--accent); }
.coverage-bad { border-color: rgba(255, 143, 143, .5); color: var(--danger); }
.coverage-pending { border-color: rgba(246, 200, 95, .42); color: #f6c85f; }
.coverage-recovered { border-color: rgba(129, 140, 248, .48); color: #a5b4fc; }
.motor-follow-up { padding: 6px 10px; border: 1px solid rgba(129, 140, 248, .55); background: rgba(129, 140, 248, .13); color: #c7d2fe; font-size: 11px; font-weight: 800; }
.error { min-height: 20px; color: var(--danger); }
.banner { margin: 0 0 16px; }
@media (max-width: 780px) { .shell { width: min(100% - 20px, 680px); padding-top: 20px; } .grid.two, .inquiry-form, .form-fields, .batch-controls, .metric-grid { grid-template-columns: 1fr; } .inquiry-form .wide, .inquiry-form button { grid-column: auto; } .request-toolbar { align-items: flex-start; flex-direction: column; } .topbar { align-items: flex-start; flex-direction: column; } .topbar-actions, .panel-actions { width: 100%; justify-content: space-between; } .panel { padding: 16px; } }
@media (max-width: 780px) { .shell { width: min(100% - 20px, 680px); padding-top: 20px; } .grid.two, .inquiry-form, .form-fields, .batch-controls, .metric-grid, .coverage-grid { grid-template-columns: 1fr; } .inquiry-form .wide, .inquiry-form button { grid-column: auto; } .request-toolbar { align-items: flex-start; flex-direction: column; } .topbar { align-items: flex-start; flex-direction: column; } .topbar-actions, .panel-actions { width: 100%; justify-content: space-between; } .panel { padding: 16px; } }