diff options
| author | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-10-25 12:24:24 +0900 |
|---|---|---|
| committer | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-10-25 12:24:24 +0900 |
| commit | a01062f43d36112c00d5c007ac9d488c14d8fb0d (patch) | |
| tree | b99ddac9928e02b9cd07d372fa42842a348bfb61 /src/styles | |
| parent | a71727538f65ab4f10f5239550be82590f9d47d1 (diff) | |
parks: アイコン・フィルタ・編集画面を更新し、公開を一時停止
- 遊具アイコンをSVGRepo素材に差し替え、施設種別をアイコン表示
- フィルタに種類・遊具・ピクニックを追加し、適用時の地図移動を停止
- 現在地ボタンを追跡トグルに変更し、初回以外は地図を動かさない
- 編集画面を市内公園・周辺公園・公共施設の4タブに拡張
- 公園ページをドラフト化し、サイドバーとPWAの公開を停止
Diffstat (limited to 'src/styles')
| -rw-r--r-- | src/styles/custom.css | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/src/styles/custom.css b/src/styles/custom.css index 1ea4aa7..ba1f7ed 100644 --- a/src/styles/custom.css +++ b/src/styles/custom.css @@ -173,6 +173,68 @@ box-shadow: none; } +/* 公園ページの折りたたみ(説明・凡例) */ +.sl-markdown-content details.page-help, +.sl-markdown-content details.park-map-help { + margin: 0.75rem 0; + border: 1px solid var(--sl-color-gray-5); + border-radius: 10px; + background: var(--sl-color-gray-6); + overflow: hidden; +} +.sl-markdown-content details.page-help > summary, +.sl-markdown-content details.park-map-help > summary { + display: flex; + align-items: center; + justify-content: space-between; + gap: 0.5rem; + padding: 0.65rem 0.9rem; + background: transparent; + color: var(--sl-color-text); + font-size: 0.92rem; + font-weight: 600; + list-style: none; +} +.sl-markdown-content details.page-help > summary::-webkit-details-marker, +.sl-markdown-content details.park-map-help > summary::-webkit-details-marker { + display: none; +} +.sl-markdown-content details.page-help > summary::after, +.sl-markdown-content details.park-map-help > summary::after { + content: "▾"; + flex: none; + color: var(--sl-color-gray-3); + transition: transform 0.15s ease; +} +.sl-markdown-content details.page-help[open] > summary::after, +.sl-markdown-content details.park-map-help[open] > summary::after { + transform: rotate(180deg); +} +.sl-markdown-content details.page-help > summary:hover, +.sl-markdown-content details.park-map-help > summary:hover { + background: var(--sl-color-gray-5); +} +.sl-markdown-content details.page-help[open] > summary, +.sl-markdown-content details.park-map-help[open] > summary { + border-bottom: 1px solid var(--sl-color-gray-5); +} +.sl-markdown-content details.page-help > p, +.sl-markdown-content details.page-help > ul, +.sl-markdown-content details.page-help > ol, +.sl-markdown-content details.park-map-help > p { + margin-left: 0.9rem; + margin-right: 0.9rem; +} +.sl-markdown-content details.page-help > p:first-of-type, +.sl-markdown-content details.park-map-help > p:first-of-type { + margin-top: 0.65rem; +} +.sl-markdown-content details.page-help > p:last-child, +.sl-markdown-content details.page-help > ul:last-child, +.sl-markdown-content details.park-map-help > p:last-child { + margin-bottom: 0.75rem; +} + /* ── アーカイブの表(保存日・更新日の列) ── */ .archive-table table th:nth-child(2), .archive-table table td:nth-child(2), |
