- .mu-brand-title 1rem (was 1.05rem in index.html + responsive.css)
- .mu-logo-img radius var(--radius) (8px) and brand gap 8px like Next
- .mu-nav a colour var(--c-info) (Next uses --c-info, mock had --c-ink-2)
- measured at 1600px: credits 1083-1132, CTA 1150-1279, tools 1297-1405 —
identical to web-at-transit; nav/CTA/tools positions now match exactly
- VERSION 2026.09.27.126
- markup: lang + theme moved into .mu-topbar-tools (theme first, then lang),
same order as web-at-transit: brand, nav, menu, tools, CTA
- CSS: replaced mock's .mu-lang-*/.mu-theme-* buttons with the Next rules
(.mu-pop / .mu-pop-btn / .mu-pop-btn-lang / .mu-pop-panel / .mu-pop-item,
40px tall, radius 8px, surface bg, 44px on coarse pointers)
- lang button keeps short label + 12px chevron; menu items use
.mu-pop-item-th/.mu-pop-item-en and data-active for the selected row
- nav 0.95rem (was .92rem), header border -> var(--c-border)
- theme.js was never included in the shell (regex missed the versioned src) —
added after i18n.js + precached with theme.css; that was why the theme menu
did not open in the previous build
- VERSION 2026.09.27.120
- ui/theme.css: token set copied value-for-value from the Next app
(--c-surface/-ink/-border/-brand/-tint/-glass + radius), light and dark blocks
- ui/theme.js: 3-mode switch (light / dark / auto=prefers-color-scheme) with a
header dropdown, aria-haspopup/menu, Esc/outside close, live matchMedia listener
- index.html: pre-paint theme script (no flash), theme.css link before _shared.css
- remapped ~290 literal colours in _shared.css/index.html/partials to var(--c-*)
so both projects render from the same tokens; dark patch block covers the
remaining decorative gradients
- DESIGN.md: new section 3.2 (theme tokens + where to add colours)
- VERSION 2026.09.27.114
- Topbar: switch from overflow-x:auto to a two-line layout on mobile
(brand + language on line 1, nav full-width on line 2) so the header
never scrolls left/right
- Province filter strip: flex-wrap instead of overflow-x:auto so the
province chips wrap onto multiple lines
- Reset topbar/nav to single-line at >=640px
Site now scrolls vertically only on phone; zero user horizontal scroll.
- Fix .mu-select-field flex-basis bug: flex:1 1 250px became a 250px
HEIGHT basis when the selector stacks to a column on phone, bloating
the home/check heroes to ~700-760px. Reset to flex:0 0 auto (content
height) -> heroes now ~350-420px
- Enlarge tap targets on phone: language buttons 21px -> 40px, footer
links and contact link -> 44px min-height
Verified with headless Chrome: 0 horizontal overflow at 320-1600px, hero
heights sane on phone.
- Add box-sizing: border-box and img/svg/video max-width:100% reset
- Add min-width:0 to grid/flex children so they can shrink (hero panel,
layout grid, metric grid)
- Allow long text to wrap (mock-state query strings, long stop names)
- Topbar: hide CTA button until 1024px, hide brand subtitle until 768px,
and wrap the bar onto two lines under 360px so nav is never cut off
Verified with headless Chrome at 320/375/414/640/768/1024/1280/1600px:
zero horizontal overflow on all 7 routes.
- Single-page shell (ui/index.html) + vanilla hash router; each screen is a partial
- New #/check schedule view (all stop times open, no collapse) wired to the
'check schedules' CTA; contact-operator box, route map and gallery trimmed from it
- Mobile-first responsive.css (375px iPhone 8 up to 27-inch/1440p)
- TH/EN i18n system (data-i18n, browser-language detect, topbar switcher)
- Shared form controls moved to _shared.css (mu-btn, custom select chevron,
focus-visible ring); footer contact column now mailto:[email protected]
- SW v9: JS network-first, precache i18n.js + all partials
- Legacy pages become redirect stubs to index.html#/...