Expand selector to full servo catalog

This commit is contained in:
Jacky Ser
2026-08-10 16:21:49 +08:00
parent 09a99d5e48
commit 596493a686
2 changed files with 297 additions and 323 deletions

View File

@@ -137,17 +137,25 @@ a { color: inherit; text-decoration: none; }
.back-button, .restart-button { padding: 11px 2px; border: 0; color: #798599; background: transparent; cursor: pointer; font-size: 12px; }
.next-button { min-width: 150px; padding: 13px 20px; }
.next-button:disabled { cursor: not-allowed; opacity: .35; transform: none; box-shadow: none; }
.field-stack { padding: 18px 18px 15px; border-radius: 12px; background: #f6f8fc; }
.field-label { display: flex; justify-content: space-between; color: #657187; font-size: 12px; }
.field-stack { margin-top: 13px; padding: 15px 16px 13px; border-radius: 12px; background: #f6f8fc; }
.field-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #657187; font-size: 12px; }
.field-label strong { color: var(--blue); font-size: 15px; }
.range-input { width: 100%; margin: 24px 0 6px; accent-color: var(--blue); }
.torque-entry { display: flex; align-items: center; gap: 6px; }
.torque-entry input { width: 86px; height: 34px; padding: 0 9px; text-align: right; font-weight: 750; }
.torque-entry strong { font-size: 10px; white-space: nowrap; }
.range-input { width: 100%; margin: 16px 0 5px; accent-color: var(--blue); }
.range-scale { display: flex; justify-content: space-between; color: #9aa3b1; font-size: 9px; }
.torque-presets { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-top: 10px; }
.torque-presets button { min-width: 0; padding: 6px 2px; border: 1px solid #d8e0eb; border-radius: 7px; color: #657187; background: white; cursor: pointer; font-size: 9px; }
.torque-presets button.active { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); font-weight: 750; }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 15px; }
.compact-fields { margin-top: 0; }
.parameter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin-top: 13px; }
.select-field, .text-field { display: grid; gap: 7px; }
.select-field span, .text-field span, .field-title, .sample-form label span { color: #68758a; font-size: 11px; font-weight: 650; }
select, input, textarea { outline: none; border: 1px solid #dbe2ec; border-radius: 9px; color: var(--ink); background: white; }
select:focus, input:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24,94,232,.1); }
.select-field select { height: 46px; padding: 0 12px; }
.select-field select, .parameter-input { width: 100%; height: 43px; padding: 0 12px; }
.text-field { margin-top: 13px; }
.text-field input { height: 44px; padding: 0 13px; }
.field-group { margin: 17px 0 13px; }
@@ -159,7 +167,7 @@ select:focus, input:focus, textarea:focus { border-color: var(--blue); box-shado
.result-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.best-match { display: grid; grid-template-columns: 180px 1fr; border: 1px solid #cfdaf0; border-radius: 15px; overflow: hidden; box-shadow: 0 8px 24px rgba(38,70,125,.08); }
.match-image-wrap { position: relative; min-height: 270px; background: #eff4fb; }
.match-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.match-image-wrap img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.match-badge { position: absolute; left: 12px; top: 12px; padding: 6px 9px; border-radius: 7px; color: white; background: var(--orange); font-size: 9px; font-weight: 800; }
.match-content { position: relative; padding: 19px 19px 16px; }
.match-score { position: absolute; right: 16px; top: 15px; display: grid; text-align: right; color: #7c889a; font-size: 9px; }
@@ -176,6 +184,10 @@ select:focus, input:focus, textarea:focus { border-color: var(--blue); box-shado
.price-line span { color: #7c8798; font-size: 9px; }
.price-line strong { color: #e55726; font-size: 20px; }
.price-line small { color: #9aa4b3; font-size: 8px; }
.source-line { display: flex; align-items: center; gap: 7px; padding-top: 9px; border-top: 1px solid #edf0f4; }
.source-line span { color: #7c8798; font-size: 9px; }
.source-line strong { color: var(--blue); font-size: 10px; }
.source-line small { margin-left: auto; color: #9aa4b3; font-size: 8px; }
.engineer-alert { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 12px; border: 1px solid #f0d29e; border-radius: 9px; background: #fff9ef; }
.engineer-alert span { flex: 0 0 auto; padding: 4px 7px; border-radius: 5px; color: #9b5a0a; background: #ffe7bc; font-size: 8px; font-weight: 800; }
.engineer-alert p { margin: 0; color: #815e2f; font-size: 9px; }
@@ -439,7 +451,8 @@ footer > span { color: #9aa4b2; font-size: 10px; }
.selector-shell { border-radius: 16px; }
.question-panel, .result-panel { padding: 20px 16px; }
.welcome-panel { padding: 55px 20px 35px; }
.choice-grid, .two-fields, .form-grid, .alternative-list { grid-template-columns: 1fr; }
.choice-grid, .two-fields, .parameter-grid, .form-grid, .alternative-list { grid-template-columns: 1fr; }
.torque-presets { grid-template-columns: repeat(4, 1fr); }
.best-match { grid-template-columns: 1fr; }
.match-image-wrap { height: 240px; }
.capability-strip { grid-template-columns: 1fr 1fr; gap: 24px 0; padding: 28px 16px; }