diff --git a/css/style.css b/css/style.css index 48ab80e..33f6b0c 100644 --- a/css/style.css +++ b/css/style.css @@ -1,15 +1,15 @@ :root { - --bg: #0e1015; --bg2: #161920; --text: #e2e6ea; --text2: #7f8a98; + --bg: #0e1015; --bg2: #191d27; --text: #e2e6ea; --text2: #7f8a98; --accent: #6b7280; --accent-rgb: 107,114,128; --danger: #ef4444; --success: #22c55e; --warning: #f59e0b; - --border: rgba(255,255,255,0.08); --card: #1a1d26; - --input: #11141a; --vault-bg: rgba(255,255,255,0.04); + --border: rgba(255,255,255,0.12); --card: #212734; + --input: #11141a; --vault-bg: rgba(255,255,255,0.06); } .light { --bg: #eef0f4; --bg2: #e2e5eb; --text: #161b24; --text2: #5f6a7a; --accent: #6b7280; --accent-rgb: 107,114,128; --card: #ffffff; --input: #ffffff; - --border: rgba(0,0,0,0.1); --vault-bg: rgba(255,255,255,0.7); + --border: rgba(0,0,0,0.16); --vault-bg: rgba(255,255,255,0.7); } * { margin:0; padding:0; box-sizing:border-box; } diff --git a/js/app.js b/js/app.js index 09905b0..e16b48e 100644 --- a/js/app.js +++ b/js/app.js @@ -999,7 +999,13 @@ function attachEvents() { document.querySelectorAll('[draggable="true"], .detail-card').forEach(el => { el.addEventListener('dblclick', function(ev) { const id = this.dataset.id; - if (id && !showTrash) { ev.stopPropagation(); openEdit(id); } + if (id && !showTrash) { + ev.stopPropagation(); + selectedIds.clear(); + selectedIds.add(parseInt(id)); + updateBatchBar(); + openEdit(id); + } }); }); if (showView) {