navbar: theme icons + CTA order to match Next exactly
- theme.js: icon SVGs now carry width/height 18 (sun / moon / monitor) so the
icon renders inside the 40px button and switches with the mode
- .mu-topbar-tools { order: 2 } — the CTA now sits right after the credits link
and the theme/lang tools move to the far right, same visual order as
web-at-transit (CTA 1144-1273 vs tools 1291-1405 at 1600px)
- icon sizing scoped (#theme-icon svg) so the language chevron stays 12px;
lang button back to 59px, tools 107px == Next
- VERSION 2026.09.27.123
This commit is contained in:
1 parent
eabcff197c
commit
1adc2a6cd0
5 files changed
+32
-29
No files matched your search
+4
-1
@@ -416,6 +416,7 @@ body:has(.mu-site-footer) .mu-footer { display: none; }
|
||||
align-items: center;
|
||||
gap: 8px; /* WCAG 2.5.8 — เว้นระหว่างเป้ากด ≥ 8px */
|
||||
flex-shrink: 0;
|
||||
order: 2; /* ปุ่มเครื่องมืออยู่หลัง CTA (CTA ติด "เครดิต" เหมือน next) */
|
||||
}
|
||||
|
||||
.mu-pop { position: relative; display: inline-flex; }
|
||||
@@ -450,7 +451,9 @@ body:has(.mu-site-footer) .mu-footer { display: none; }
|
||||
border-color: var(--c-brand-ink);
|
||||
background: var(--c-surface-2);
|
||||
}
|
||||
.mu-pop-btn .ic { width: 18px; height: 18px; }
|
||||
.mu-pop-btn .ic,
|
||||
#theme-icon svg { width: 18px; height: 18px; flex: none; }
|
||||
.mu-pop-btn-lang svg { flex: none; }
|
||||
|
||||
/* เมนูที่กางออก */
|
||||
.mu-pop-panel {
|
||||
|
||||
Reference in new issue
Block a user