From fa73b6a9f36268986af68192f65978539f4d059c Mon Sep 17 00:00:00 2001 From: Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> Date: Sun, 25 Oct 2026 21:29:16 +0900 Subject: parks: シェルター等の統合と編集画面の刷新 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit パーゴラ・東屋を「シェルター等」に統合し、編集画面に確認チェック・遊具別入力・時計・選択行ハイライトを追加した。周辺公園と周辺施設の自治体名を補完し、公園データの文字化けを修正した。 --- scripts/park-editor.html | 311 +++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 288 insertions(+), 23 deletions(-) (limited to 'scripts/park-editor.html') diff --git a/scripts/park-editor.html b/scripts/park-editor.html index 868a510..32e91c4 100644 --- a/scripts/park-editor.html +++ b/scripts/park-editor.html @@ -23,11 +23,26 @@ th, td { border: 1px solid #9994; padding: 0; } th { position: sticky; top: 0; background: Canvas; padding: .25rem .4rem; white-space: nowrap; z-index: 5; } td { padding: 0; } - td input { width: 100%; box-sizing: border-box; border: none; padding: .25rem .35rem; font: inherit; background: transparent; color: inherit; } - td input:focus { outline: 2px solid #3b82f6; } + td input:not([type="checkbox"]) { width: 100%; box-sizing: border-box; border: none; padding: .25rem .35rem; font: inherit; background: transparent; color: inherit; } + td input:not([type="checkbox"]):focus { outline: 2px solid #3b82f6; } tr.dirty td { background: #ff9d0033; } + tbody tr.is-focused td { background: #3b82f622 !important; } + tbody tr.is-focused td.rownum { color: #1d4ed8; font-weight: 700; opacity: 1; } + tbody tr.is-focused td:first-child { box-shadow: inset 3px 0 0 #2563eb; } + tbody tr.is-focused td:last-child { box-shadow: inset -3px 0 0 #2563eb; } + tbody tr.is-focused.dirty td.rownum::after { + content: " ●"; + color: #f59e0b; + font-size: 0.8em; + } tr[hidden] { display: none; } td.rownum { padding: 0 .4rem; text-align: right; opacity: .5; } + td.checkcell { padding: 0 .35rem; text-align: center; white-space: nowrap; } + td.checkcell input[type="checkbox"] { width: auto; height: auto; margin: 0; padding: 0; } + #check-filter { padding: .3rem .4rem; } + .checked-count { font-size: .82rem; opacity: .85; } + .check-note { font-size: .72rem; opacity: .6; } + #clear-checks { padding: .3rem .6rem; } td.mapcell { text-align: center; } td.mapcell a { text-decoration: none; padding: 0 .4rem; cursor: pointer; } @@ -38,6 +53,14 @@