stops: white search panel, drop the search button, purple reset

- .mu-toolbar background: purple gradient -> var(--c-surface) white
- removed #stops-search-btn (filtering already runs live while typing; the
  existing JS guarded on the element existing, so nothing else changes)
- #stops-reset-btn ghost -> primary so it renders in brand purple

Verified on both ports at 1280px light theme: toolbar rgb(255,255,255),
no search button, reset button has the purple gradient, back stays ghost.
This commit is contained in:
Bkk1234 committed 2026-10-24 00:46:31 +07:00
1 parent a9847b478c
commit 55fbd397fc
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -70,8 +70,8 @@ export default function StopsView() {
<div id="near-me-result" className="mu-near-wrap" hidden />
</div>
<div className="mu-toolbar-actions">
<button type="button" className="mu-btn primary" id="stops-search-btn"><span data-i18n="common.search">ค้นหา</span></button>
<button type="button" className="mu-btn ghost" id="stops-reset-btn"><span data-i18n="stops.reset">ล้างค่า</span></button>
{/* การกรองทำงานทันทีขณะพิมพ์ — ไม่ต้องมีปุ่มค้นหา */}
<button type="button" className="mu-btn primary" id="stops-reset-btn"><span data-i18n="stops.reset">ล้างค่า</span></button>
<a className="mu-btn ghost" href="/"><span data-i18n="common.back">ย้อนกลับ</span></a>
</div>
<p className="mu-toolbar-count" id="stops-count" hidden />
+1 -1
View File
@@ -54,7 +54,7 @@
/* ===== Search toolbar: 2 โหมด ===== */
.mu-toolbar {
background: linear-gradient(135deg, var(--c-tint-purple), var(--c-tint-purple));
background: var(--c-surface);
border: 1px solid #d9c9f2;
border-radius: var(--radius);
padding: 14px;