feat(web): panel scroll contract, layout probe and functional suite

- lock the three-column height chain on workbench/PartDesign pages so each
  side panel scrolls independently and the centre stage keeps its size
- dock module task panels above the layout with their own scrollbar instead
  of letting them push the stage out of the viewport
- add tools/layout-probe.mjs (page scroll, aside bounds, pane scrolling,
  stage stability) and CLI mode for tools/static-host.mjs with relative
  --root support
- add the P0-P4 browser functional suite, manual scenarios and capture
  tooling; document it under docs/current/web-functional-suite

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
2026-11-24 22:09:42 +08:00
parent c3b3160f33
commit facbb196d8
47 changed files with 6813 additions and 247 deletions

View File

@@ -38,6 +38,20 @@
main figure { margin:16px 0; }
main figcaption { color:var(--muted); font-size:12.5px; }
.table-scroll { max-width:100%; overflow-x:auto; }
/* UI-operation block: the real screenshot plus the exact field values the
driver typed, side by side on wide screens and stacked on phones. */
.ui-block { margin:20px 0; padding:14px 16px; border:1px solid var(--line); border-radius:10px; background:var(--panel); }
.ui-block h4 { margin:0 0 10px; font-size:14px; letter-spacing:0.04em; color:var(--accent); }
.ui-block img { display:block; width:100%; height:auto; border-radius:8px; border:1px solid var(--line); }
.ui-block table { width:100%; margin-top:10px; border-collapse:collapse; font-size:13px; }
.ui-block th { text-align:left; font-weight:600; color:var(--muted); padding:5px 8px; width:38%; }
.ui-block td { padding:5px 8px; font-variant-numeric:tabular-nums; }
.ui-block tr + tr { border-top:1px solid var(--line); }
@media (min-width:900px) {
.ui-block { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:16px; align-items:start; }
.ui-block h4 { grid-column:1 / -1; }
.ui-block table { margin-top:0; }
}
table { width:100%; border-collapse:collapse; font-size:13px; margin:12px 0; }
th, td { border-bottom:1px solid var(--line); padding:5px 7px; text-align:left; vertical-align:top; }
th { color:var(--accent); }
@@ -52,7 +66,7 @@
.index-controls { display:flex; gap:8px; flex-wrap:wrap; margin:12px 0; }
.index-controls select, .index-controls input { background:#0b1014; color:var(--text); border:1px solid #3f3f3f; border-radius:4px; padding:5px 8px; }
#command-index td { font-size:12px; } #command-index tr.hidden { display:none; }
.pager { display:flex; justify-content:space-between; gap:12px; margin-top:40px; padding-top:14px; border-top:1px solid var(--line); }
.pager { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; margin-top:40px; padding-top:14px; border-top:1px solid var(--line); }
#lightbox { position:fixed; inset:0; background:#000d; z-index:60; display:none; align-items:center; justify-content:center; padding:24px; }
#lightbox img { max-width:96vw; max-height:92vh; border-radius:6px; }
#lightbox.open { display:flex; }