utkarshpathak48 commited on
Commit
2d19ca9
·
1 Parent(s): b751679

fix: card hover cascade, nav/row tap targets, and t4 dark-mode contrast

Browse files

- Remove duplicate flatter .card:hover rule (was overriding the richer
translateY(-5px) scale(1.008) + elaborate shadow lift with a plain
translateY(-2px), no-scale version later in cascade order). Only one
.card:hover rule remains; @media (hover:none) touch override untouched.
- Raise nav .chip input/select min-height 20px -> 36px, add matching
min-height:36px to .state-filter-toggle, and add min-height:40px to
.row-summary (ranked-row click target), addressing sub-24px tap
targets flagged in the interaction/motion audit without disrupting
the compact row/chip layouts.
- Lighten dark-theme --t4 from #5b667e (3.46:1 on --bg, fails WCAG AA)
to #707c98 (4.77:1 on --bg, 4.59:1 on --bg2), verified via a
relative-luminance/contrast script. Affects USDT quote-suffix,
confidence /10 denominator, scan-step elapsed labels, and backtest
per-state trade counts.

Also verified (already fixed by prior uncommitted session, logic
confirmed sound on re-read, no changes needed):
- flipReorder() FLIP re-rank now keys the before/after position map by
el.dataset.sym instead of DOM element reference, so the transform
correctly applies across refreshScanQuietly()'s replaceWith() swaps.
- Scan-loader step 4 ("Ranking setups") now rotates reassurance copy
every 5s via startStep4Wait()/STEP4_WAIT_MESSAGES instead of sitting
static during slow 40-90s cold-start scans; timers cleared correctly
in both startLoaderSteps() reset and stopLoaderSteps() cleanup.

Validation: python brace/paren/bracket balance check on full file OK;
node --check (v20.20.2) on largest inline <script> OK; local uvicorn
smoke test on :8954 returned 200 for / and /api/status with no
Python errors, and served output confirmed all edits present.

1 file changed +52 -17
static/index.html+52-17