diff options
Diffstat (limited to 'public')
| -rw-r--r-- | public/css/style.css | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/public/css/style.css b/public/css/style.css index 93345ad..a549143 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -548,30 +548,34 @@ tr.delete-marked td { background: rgba(192,57,43,.08); } .person-name { padding: 7px 10px 2px; font-size: .9rem; font-weight: 500; color: var(--text); } .person-count { padding: 0 10px 8px; font-size: .75rem; color: var(--text-dim); } -/* ── Person page bulk selection ────────────────────────────────────────── */ +/* ── Shared bulk-action panel (person detail + person page) ────────────── */ +.person-detail-wrap, .person-page-wrap { display: flex; align-items: flex-start; gap: 0; } .bulk-panel { - width: 220px; flex-shrink: 0; position: sticky; top: 16px; + width: 230px; flex-shrink: 0; position: sticky; top: 16px; max-height: calc(100vh - 32px); + overflow-y: auto; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; margin-right: 20px; } -.bulk-panel-title { font-size: .95rem; font-weight: 600; margin: 0 0 8px; } +.bulk-panel-title { font-size: .95rem; font-weight: 600; margin: 0 0 4px; } .bulk-panel-hint { font-size: .82rem; color: var(--text-dim); margin: 0; } -.bulk-selected-count { font-size: .9rem; margin: 0; } .bulk-sep { border: none; border-top: 1px solid var(--border); margin: 12px 0; } .bulk-label { display: block; font-size: .8rem; color: var(--text-dim); margin-bottom: 4px; } .bulk-select, .bulk-input { width: 100%; background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); padding: 5px 8px; - font-size: .82rem; margin-bottom: 8px; box-sizing: border-box; + font-size: .82rem; margin-bottom: 6px; box-sizing: border-box; } .bulk-select:focus, .bulk-input:focus { border-color: var(--accent); outline: none; } .bulk-action-btn { width: 100%; text-align: center; } +.person-detail-main, .person-page-main { flex: 1; min-width: 0; } -/* Selectable photo cards */ -.selectable-card { cursor: pointer; position: relative; } -.selectable-card .thumb-wrap { position: relative; } +/* Selectable cards (photo grid and face grid) */ +.selectable-card, +.selectable-face { cursor: pointer; position: relative; } +.selectable-card .thumb-wrap, +.selectable-face .face-detail-thumb { position: relative; } .select-checkbox { position: absolute; top: 6px; left: 6px; width: 20px; height: 20px; border-radius: 4px; @@ -581,8 +585,10 @@ tr.delete-marked td { background: rgba(192,57,43,.08); } opacity: 0; transition: opacity .12s; pointer-events: none; } -.selectable-card:hover .select-checkbox { opacity: 1; } -.selectable-card.selected .select-checkbox { +.selectable-card:hover .select-checkbox, +.selectable-face:hover .select-checkbox { opacity: 1; } +.selectable-card.selected .select-checkbox, +.selectable-face.selected .select-checkbox { opacity: 1; background: var(--accent); border-color: var(--accent); } .selectable-card.selected .select-checkbox::after { @@ -591,8 +597,10 @@ tr.delete-marked td { background: rgba(192,57,43,.08); } border: 2px solid #fff; border-top: none; border-left: none; transform: rotate(45deg) translate(-1px, -1px); } -.selectable-card.selected .thumb-wrap img { opacity: .75; } -.selectable-card.selected { outline: 2px solid var(--accent); outline-offset: -2px; } +.selectable-card.selected .thumb-wrap img, +.selectable-face.selected .face-detail-thumb img { opacity: .75; } +.selectable-card.selected, +.selectable-face.selected { outline: 2px solid var(--accent); outline-offset: -2px; } /* ── Admin upload ──────────────────────────────────────────────────────── */ .admin-upload { margin-top: 32px; } |
