This commit is contained in:
Bkk1234 committed 2026-09-23 00:53:14 +07:00
1 parent 4ac51969e2
commit d198430310
10 files changed
+2951 -308

No files matched your search

+28 -3
View File
@@ -106,9 +106,14 @@
font-weight: 800;
line-height: 1.2;
}
.mu-stop-summary-main { order: 2; }
.mu-route-type-badge { display: inline-block; order: 3; background: linear-gradient(135deg, #f5eeff, #fce7f3); color: #7a4cc0; padding: 4px 8px; border-radius: 8px; font-size: .8rem; font-weight: 700; margin-left: auto; margin-right: 0; border: 1px solid #e8d9f0; }
.mu-stop-summary-rail { order: 4; margin-left: 10px; }
.mu-stop-summary-main { order: 2; flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.mu-stop-summary-main strong { font-size: .95rem; line-height: 1.3; }
.mu-stop-summary-main .mu-stop-summary-meta { color: #6f7b95; font-size: .78rem; }
.mu-route-type-badge { display: inline-flex; align-items: center; gap: 5px; order: 3; flex: none; background: linear-gradient(135deg, #f5eeff, #fce7f3); color: #7a4cc0; padding: 4px 8px; border-radius: 8px; font-size: .8rem; font-weight: 700; border: 1px solid #e8d9f0; white-space: nowrap; }
.mu-stop-summary-rail { order: 4; flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.mu-route-chip { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 38px; padding: 5px 9px; border-radius: 8px; background: linear-gradient(135deg, #7a4cc0, #b07ce0); color: #fff; font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 700; font-size: .92rem; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.mu-stop-chevron { display: inline-block; color: #7a4cc0; font-size: .9rem; line-height: 1; transition: transform .2s ease; }
.mu-stop-expander[open] .mu-stop-chevron { transform: rotate(180deg); }
.mu-live-clock-card {
display: flex;
align-items: center;
@@ -297,7 +302,15 @@
.mu-stop-expander > summary {
background: linear-gradient(180deg, #fff, #fff6fb);
padding: 14px;
/* flex + wrap: จอกว้างเรียงบรรทัดเดียว / จอแคบพับลงมา ไม่ทับกัน */
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 8px;
cursor: pointer;
list-style: none;
}
.mu-stop-expander > summary::-webkit-details-marker { display: none; }
.mu-stop-list > li:nth-child(4n + 1) .mu-stop-expander > summary { border-left: 4px solid #8b5cf6; }
.mu-stop-list > li:nth-child(4n + 2) .mu-stop-expander > summary { border-left: 4px solid #38bdf8; }
.mu-stop-list > li:nth-child(4n + 3) .mu-stop-expander > summary { border-left: 4px solid #f472b6; }
@@ -328,6 +341,18 @@
.mu-stop-summary-rail {
gap: 6px;
}
/* จอแคบ: จัด summary เป็น 3 แถวอ่านง่าย — chip+badge / ชื่อสาย / รอบ+ลูกศร */
.mu-stop-expander > summary {
row-gap: 9px;
align-items: flex-start;
}
.mu-stop-summary-main { flex: 1 1 100%; order: 5; }
.mu-stop-summary-rail {
flex: 1 1 100%;
order: 6;
margin-left: 0;
justify-content: space-between;
}
.mu-next-arrival {
font-size: .72rem;
}