summaryrefslogtreecommitdiffstats
path: root/public/css/style.css
diff options
context:
space:
mode:
authorKen D'Ambrosio <ken@jots.org>2026-06-12 14:01:48 +0000
committerKen D'Ambrosio <ken@jots.org>2026-06-12 14:01:48 +0000
commitcfb814470864785565f33e4bebd2aca7e67c16ae (patch)
tree4c9dff75a5e18bbeff964fef8d8856365633bbdf /public/css/style.css
parentb9a3ce6942e917c8e5046d652b7742cfe5f960ec (diff)
Move bulk selection to admin cluster detail page (correct page)
The bulk selection panel now lives on /admin/people/:uuid — the face crop grid page — which is what was actually requested. A sticky left panel shows the cluster name, the name form, a selection counter, and bulk action controls. Clicking a face crop toggles selection; clicking the photo link still opens the album. Bulk actions: move selected faces to a named person, move to pool, or blacklist. The per-face individual dropdowns are replaced by the panel. Merge-entire-cluster and Blacklist-cluster moved to collapsible/button in the panel too. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'public/css/style.css')
-rw-r--r--public/css/style.css32
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; }