05/19 Enhance codes 3

This commit is contained in:
2026-05-19 09:58:43 -04:00
parent c42164e21c
commit 976845f96e
3 changed files with 399 additions and 6 deletions
+125
View File
@@ -2568,3 +2568,128 @@ html.sidebar-open {
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15);
}
/* ── Bulk operations ─────────────────────────────────────────────────────────── */
/* Bulk action toolbar */
.bulk-toolbar {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
background: var(--surface-2, #f8fafc);
border-top: 1px solid var(--border);
flex-wrap: wrap;
}
.bulk-count {
font-size: 13px;
font-weight: 600;
color: var(--text);
margin-right: 4px;
}
/* Item checkbox — hidden by default, shown in select mode */
.vault-item .item-checkbox {
display: none;
width: 16px;
height: 16px;
margin-right: 6px;
cursor: pointer;
flex-shrink: 0;
accent-color: var(--primary);
}
.vault-list.select-mode .vault-item .item-checkbox {
display: block;
}
/* Selected item highlight */
.vault-item.item-selected {
background: #fef2f2;
border-radius: var(--radius);
}
/* Select mode — hide per-item action buttons to reduce clutter */
.vault-list.select-mode .item-actions {
display: none;
}
/* Select-mode indicator on the Select button */
#btn-select-mode.active {
background: var(--primary);
color: #fff;
border-color: var(--primary);
}
/* Folder move dropdown in bulk toolbar */
.bulk-move-select {
padding: 5px 8px;
border: 1px solid var(--border);
border-radius: var(--radius);
font-size: 13px;
background: var(--surface);
color: var(--text);
max-width: 160px;
}
/* ── Password history panel (edit modal) ─────────────────────────────────── */
.password-history-panel {
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 10px 12px;
margin-bottom: 14px;
background: var(--surface-2, #f8fafc);
}
.pw-history-title {
font-size: 12px;
font-weight: 600;
color: var(--text-muted);
margin-bottom: 8px;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.pw-history-row {
display: flex;
align-items: center;
gap: 8px;
padding: 5px 0;
border-bottom: 1px solid var(--border);
font-size: 13px;
}
.pw-history-row:last-child {
border-bottom: none;
}
.pw-history-masked {
font-family: monospace;
flex: 1;
color: var(--text-muted);
letter-spacing: 0.1em;
}
.pw-history-date {
font-size: 11px;
color: var(--text-muted);
flex-shrink: 0;
}
.pw-history-reveal,
.pw-history-restore {
background: none;
border: none;
cursor: pointer;
padding: 2px 4px;
font-size: 12px;
color: var(--text-muted);
flex-shrink: 0;
}
.pw-history-reveal:hover,
.pw-history-restore:hover {
color: var(--text);
}