From 0c0c5de8c6bc2e06d0749188a9717475e1df60aa Mon Sep 17 00:00:00 2001 From: Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> Date: Fri, 6 Nov 2026 19:22:18 +0900 Subject: parks: フィルタの選択肢を更新し、選択中を強調 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 水飲み・緑地広場・スイング遊具に改名し、ロープウェイ・ボール遊びを外してバスケゴール・東屋/シェルター・健康遊具・特殊遊具を追加。チェック中のフィルタを色付きで強調。 --- src/components/ParksFilters.astro | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) (limited to 'src/components/ParksFilters.astro') diff --git a/src/components/ParksFilters.astro b/src/components/ParksFilters.astro index f31503b..172edf0 100644 --- a/src/components/ParksFilters.astro +++ b/src/components/ParksFilters.astro @@ -56,10 +56,10 @@ const facilityTypes = [
+ {total}件 @@ -175,6 +175,15 @@ const facilityTypes = [ height: 0.9em; margin: 0; } + /* 选择中的フィルタを目立たせる */ + .parks-controls label:has(input[type="checkbox"]:checked) { + padding: 0 0.35rem; + border-radius: 999px; + background: var(--sl-color-accent-low, #dbeafe); + outline: 1px solid var(--sl-color-accent, #2563eb); + color: var(--sl-color-text, inherit); + font-weight: 700; + } .filter-icon { display: inline-flex; width: 18px; -- cgit v1.3.1