05/07: updated add password item's Advanced Settings

This commit is contained in:
2026-05-07 13:24:31 -04:00
parent 94c0467d12
commit f71032096b
3 changed files with 201 additions and 0 deletions
+110
View File
@@ -2208,3 +2208,113 @@ html.sidebar-open {
}
.sidebar-tag-item .sidebar-icon { font-size: 14px; }
/* ── Advanced Settings (collapsible, inside password modal) ─────────── */
.adv-section {
border: 1px solid var(--color-border);
border-radius: var(--radius);
overflow: hidden;
margin-top: 4px;
margin-bottom: 8px;
background: var(--color-surface);
}
.adv-section-header {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
padding: 11px 14px;
background: none;
border: none;
cursor: pointer;
font-size: 14px;
font-weight: 500;
color: var(--color-text);
text-align: left;
transition: background var(--transition);
gap: 8px;
}
.adv-section-header:hover {
background: var(--color-bg);
}
.adv-section-title {
flex: 1;
}
.adv-section-chevron {
font-size: 16px;
color: var(--color-text-muted);
line-height: 1;
transition: transform 0.18s ease;
user-select: none;
}
/* Rotate chevron when expanded */
.adv-section-header[aria-expanded="true"] .adv-section-chevron {
transform: rotate(180deg);
}
.adv-section-body {
padding: 4px 14px 10px;
border-top: 1px solid var(--color-border);
display: flex;
flex-direction: column;
gap: 0;
animation: adv-body-in 0.15s ease;
}
.adv-section-body.hidden {
display: none;
}
@keyframes adv-body-in {
from { opacity: 0; transform: translateY(-4px); }
to { opacity: 1; transform: translateY(0); }
}
.adv-checkbox-row {
display: flex;
align-items: flex-start;
gap: 10px;
padding: 10px 0;
cursor: pointer;
border-bottom: 1px solid var(--color-border);
}
.adv-checkbox-row:last-child {
border-bottom: none;
}
.adv-checkbox-row input[type="checkbox"] {
margin-top: 2px;
width: 15px;
height: 15px;
flex-shrink: 0;
accent-color: var(--color-primary);
cursor: pointer;
}
.adv-checkbox-text {
display: flex;
flex-direction: column;
gap: 2px;
flex: 1;
min-width: 0;
}
.adv-checkbox-label {
font-size: 14px;
font-weight: 500;
color: var(--color-text);
line-height: 1.3;
}
.adv-checkbox-desc {
font-size: 12px;
color: var(--color-text-muted);
line-height: 1.45;
}