- Stylelint: - re-enable `declaration-empty-line-before` in the frontend Stylelint config while leaving the agreed Angular and legacy Sass exceptions unchanged - SCSS: - normalize declaration spacing across frontend stylesheets to match the enforced empty-line convention without changing selectors or computed styles - Validation: - `just ui stylelint`
96 lines
1.5 KiB
SCSS
96 lines
1.5 KiB
SCSS
@use '../../../shared/styles/settings-shared' as settings;
|
|
|
|
.main-container {
|
|
@include settings.settings-page-container;
|
|
}
|
|
|
|
@include settings.settings-page-header;
|
|
|
|
.settings-title {
|
|
@include settings.settings-page-title;
|
|
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.settings-description {
|
|
@include settings.settings-page-description;
|
|
}
|
|
|
|
.settings-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.preferences-section {
|
|
@media (width >= 768px) {
|
|
padding: 0 1rem;
|
|
}
|
|
}
|
|
|
|
.section-header {
|
|
@include settings.settings-section-header;
|
|
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.section-title {
|
|
@include settings.settings-section-title;
|
|
|
|
margin: 0 0 0.5rem;
|
|
}
|
|
|
|
.section-description {
|
|
@include settings.settings-section-description;
|
|
}
|
|
|
|
.settings-card {
|
|
@include settings.settings-card;
|
|
|
|
app-epub-reader-preferences-component,
|
|
app-pdf-reader-preferences-component,
|
|
app-cbx-reader-preferences-component {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.setting-control {
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
align-items: flex-end;
|
|
|
|
@media (width <= 768px) {
|
|
align-items: flex-start;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.radio-group {
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
|
|
@media (width <= 768px) {
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
}
|
|
|
|
.radio-option {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
|
|
label {
|
|
font-size: settings.$settings-section-description-size;
|
|
color: var(--p-text-color);
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.button-group {
|
|
@include settings.settings-button-group;
|
|
}
|