sync with web-at-transit: type scale, radius, hint colour, i18n
Pulled the newer values from the Next port where it had already been aligned with DESIGN.md: - .mu-search-tab font-size .88 -> .85rem - .mu-btn border-radius 12px -> 8px (DESIGN allows 4/8/999 only) - .mu-btn.ghost colour #5b3b71 -> #7a4cc0 (brand) - .mu-search-hint colour #6f7b95 -> #5f6b83 (AA contrast) and .82 -> .85rem - locales: share.label now 'แชร์หน้านี้' / 'Share this page', stops.nearHint matches the longer English copy
This commit is contained in:
1 parent
0132c791ae
commit
9b8f1597db
6 files changed
+13
-13
No files matched your search
+2
-2
@@ -448,7 +448,7 @@ body:has(.mu-site-footer) .mu-footer { display: none; }
|
||||
gap: 6px;
|
||||
min-height: 44px;
|
||||
padding: 10px 18px;
|
||||
border-radius: 12px;
|
||||
border-radius: 8px;
|
||||
font-family: inherit;
|
||||
font-weight: 700;
|
||||
font-size: .85rem;
|
||||
@@ -468,7 +468,7 @@ body:has(.mu-site-footer) .mu-footer { display: none; }
|
||||
.mu-btn.ghost {
|
||||
background: #fff;
|
||||
border-color: #e7e2f6;
|
||||
color: #5b3b71;
|
||||
color: #7a4cc0;
|
||||
box-shadow: 0 2px 8px rgba(63, 43, 94, .05);
|
||||
}
|
||||
.mu-btn.ghost:hover { border-color: #d8c9f2; background: #faf7ff; }
|
||||
|
||||
+5
-5
@@ -12,8 +12,8 @@
|
||||
<link href="./_shared.css" rel="stylesheet">
|
||||
<link href="./vendor/leaflet/leaflet.css" rel="stylesheet">
|
||||
<link href="./map.css" rel="stylesheet">
|
||||
<meta name="app-version" content="2026.09.27.101">
|
||||
<link rel="icon" type="image/png" href="../.image/icons/minibus-512x512.png?v=2026.09.27.101">
|
||||
<meta name="app-version" content="2026.09.27.103">
|
||||
<link rel="icon" type="image/png" href="../.image/icons/minibus-512x512.png?v=2026.09.27.103">
|
||||
<style>
|
||||
.mu-card.empty { width: 100%; padding: 16px; text-align: center; color: #6f7b95; background: #fff7fb; border: 1px dashed #f4c7df; }
|
||||
a.mu-card { text-decoration: none; color: inherit; display: block; }
|
||||
@@ -339,7 +339,7 @@
|
||||
<meta name="theme-color" content="#7a4cc0">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="default">
|
||||
<link rel="apple-touch-icon" href="../.image/icons/minibus-192x192.png?v=2026.09.27.101">
|
||||
<link rel="apple-touch-icon" href="../.image/icons/minibus-192x192.png?v=2026.09.27.103">
|
||||
<script src="./imageurl.js" defer></script>
|
||||
<script src="./pwa.js" defer></script>
|
||||
<script src="./i18n.js" defer></script>
|
||||
@@ -444,7 +444,7 @@
|
||||
<header class="mu-topbar">
|
||||
<div class="mu-container mu-topbar-inner">
|
||||
<a class="mu-brand" href="#/" aria-label="Atroute — หน้าแรก" data-i18n-attr="aria-label:aria.brandHome">
|
||||
<img class="mu-logo-img" src="../.image/icons/minibus-512x512.png?v=2026.09.27.101" alt="Atroute logo" width="44" height="44" decoding="async">
|
||||
<img class="mu-logo-img" src="../.image/icons/minibus-512x512.png?v=2026.09.27.103" alt="Atroute logo" width="44" height="44" decoding="async">
|
||||
<span>
|
||||
<span class="mu-brand-title">Atroute</span>
|
||||
<span class="mu-brand-subtitle" data-i18n="brand.subtitle">สถานีขนส่งผู้โดยสารจังหวัดอ่างทอง</span>
|
||||
@@ -487,7 +487,7 @@
|
||||
<div class="mu-footer-grid">
|
||||
<div class="mu-footer-brand">
|
||||
<div class="mu-footer-brand-row">
|
||||
<img src="../.image/icons/minibus-512x512.png?v=2026.09.27.101" alt="Atroute">
|
||||
<img src="../.image/icons/minibus-512x512.png?v=2026.09.27.103" alt="Atroute">
|
||||
<div>
|
||||
<strong>Atroute</strong>
|
||||
<span data-i18n="brand.subtitle">สถานีขนส่งผู้โดยสารจังหวัดอ่างทอง</span>
|
||||
|
||||
+2
-2
@@ -89,7 +89,7 @@
|
||||
"home.lead": "Browse routes, find stops, and preview a route right from this page",
|
||||
"home.chooseProvince": "Select Province",
|
||||
"home.chooseStation": "Select Terminal",
|
||||
"share.label": "Share short link",
|
||||
"share.label": "Share this page",
|
||||
"share.copied": "Link copied",
|
||||
"share.short": "Short link",
|
||||
"share.line": "Share on LINE",
|
||||
@@ -133,7 +133,7 @@
|
||||
"stops.modeCode": "Search by stop code",
|
||||
"stops.modeNear": "Near me",
|
||||
"stops.nearCta": "Use my location",
|
||||
"stops.nearHint": "We ask your device for a location, then rank stops by real distance.",
|
||||
"stops.nearHint": "We ask your device for a location, then rank stops by real distance from their coordinates.",
|
||||
"stops.modePlace": "Search by place name",
|
||||
"stops.codePh": "3+000",
|
||||
"stops.codeHint": "Type 4 digits and the + sign is added automatically (e.g. 3000 → 3+000)",
|
||||
|
||||
+1
-1
@@ -89,7 +89,7 @@
|
||||
"home.lead": "ดูสายรถ, ค้นหาป้าย และเปิดตัวอย่างเส้นทางได้ทันทีจากหน้าแรก",
|
||||
"home.chooseProvince": "เลือกจังหวัด",
|
||||
"home.chooseStation": "เลือกสถานีขนส่งผู้โดยสาร",
|
||||
"share.label": "แชร์ลิงก์สั้น",
|
||||
"share.label": "แชร์หน้านี้",
|
||||
"share.copied": "คัดลอกลิงก์แล้ว",
|
||||
"share.short": "ลิงก์สั้น",
|
||||
"share.line": "แชร์ผ่าน LINE",
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
}
|
||||
.mu-search-tab {
|
||||
font-family: inherit;
|
||||
font-size: .88rem;
|
||||
font-size: .85rem;
|
||||
font-weight: 700;
|
||||
padding: 10px 18px;
|
||||
border: none;
|
||||
@@ -179,7 +179,7 @@
|
||||
color: #6d28d9;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.mu-search-hint { margin: 8px 0 0; font-size: .82rem; color: #6f7b95; }
|
||||
.mu-search-hint { margin: 8px 0 0; font-size: .85rem; color: #5f6b83; }
|
||||
|
||||
/* numpad — โชว์เฉพาะจอเล็ก */
|
||||
.mu-numpad { display: none; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; max-width: 320px; }
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
- ขั้นตอนอัปเดต: ดู AGENTS.md หัวข้อ PWA
|
||||
============================================================ */
|
||||
|
||||
const VERSION = "2026.09.27.101"; // ← bump ทุกครั้งที่แก้ SW เอง
|
||||
const VERSION = "2026.09.27.103"; // ← bump ทุกครั้งที่แก้ SW เอง
|
||||
const CACHE = `at-transit-${VERSION}`;
|
||||
|
||||
const PRECACHE = [
|
||||
|
||||
Reference in new issue
Block a user