navbar: rebuild mock header from the Next implementation (source of truth)
- 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
This commit is contained in:
1 parent
5800a61da3
commit
eabcff197c
7 files changed
+134
-102
No files matched your search
+2
-2
@@ -201,9 +201,9 @@ main.mu-container { padding-top: 14px; padding-bottom: 14px; }
|
||||
.mu-topbar-inner { gap: 18px; padding: 14px 28px; flex-wrap: nowrap; }
|
||||
.mu-logo-img { width: 44px; height: 44px; }
|
||||
.mu-nav { order: 0; width: auto; margin-left: auto; justify-content: flex-start; gap: 24px; display: flex; }
|
||||
.mu-nav a { font-size: .92rem; }
|
||||
.mu-nav a { font-size: .95rem; }
|
||||
.mu-menu { display: none; }
|
||||
.mu-lang-btn { font-size: .72rem; padding: 6px 10px; }
|
||||
|
||||
.mu-hero { padding: 44px 0 52px; }
|
||||
.mu-hero-actions { margin-top: 14px; }
|
||||
.mu-marquee-tile { width: 170px; height: 96px; margin-right: 16px; }
|
||||
|
||||
Reference in new issue
Block a user