feat(frontend): add preferences page template and styles

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ashisgreat22 2026-03-22 13:47:30 +01:00
parent 3dbde9fbfd
commit b4053b7f98
3 changed files with 284 additions and 0 deletions

View file

@ -1269,6 +1269,89 @@ a:focus-visible {
}
}
/* ============================================================
Preferences Page Styles
============================================================ */
.pref-section {
margin-bottom: 2rem;
}
.pref-section:last-child {
margin-bottom: 0;
}
.pref-section-title {
font-size: 1rem;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 1rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid var(--border);
}
.pref-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 0.75rem 0;
border-bottom: 1px solid var(--border);
}
.pref-row:last-child {
border-bottom: none;
}
.pref-row label {
font-size: 0.9rem;
color: var(--text-primary);
}
.pref-row-info {
flex: 1;
}
.pref-row-info label {
font-weight: 500;
}
.pref-desc {
font-size: 0.8rem;
color: var(--text-muted);
margin-top: 0.25rem;
}
.pref-row select {
padding: 0.5rem 0.75rem;
font-size: 0.85rem;
font-family: inherit;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
background: var(--bg);
color: var(--text-primary);
cursor: pointer;
min-width: 150px;
}
.pref-row select:focus {
outline: none;
border-color: var(--accent);
}
.pref-row input[type="checkbox"] {
width: 18px;
height: 18px;
accent-color: var(--accent);
cursor: pointer;
flex-shrink: 0;
}
.pref-row input[type="checkbox"]:disabled {
opacity: 0.6;
cursor: not-allowed;
}
/* ============================================================
Print
============================================================ */