- Stylelint: - re-enable `media-feature-range-notation` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions untouched - SCSS: - convert parenthesized `min-` and `max-` media features to context range notation across frontend stylesheets without changing breakpoint values - Validation: - `just ui stylelint`
134 lines
2.4 KiB
SCSS
134 lines
2.4 KiB
SCSS
@use '../../../../shared/styles/settings-shared' as settings;
|
|
|
|
.settings-card {
|
|
@include settings.settings-card;
|
|
}
|
|
|
|
.section-header {
|
|
@include settings.settings-section-header;
|
|
}
|
|
|
|
.section-title {
|
|
@include settings.settings-section-title;
|
|
}
|
|
|
|
.section-description {
|
|
@include settings.settings-section-description;
|
|
}
|
|
|
|
.section-body {
|
|
@include settings.settings-section-body;
|
|
}
|
|
|
|
.setting-item {
|
|
@include settings.settings-item;
|
|
}
|
|
|
|
.setting-header {
|
|
@include settings.settings-item-header;
|
|
}
|
|
|
|
.setting-header-standalone {
|
|
@include settings.settings-item-header-standalone;
|
|
}
|
|
|
|
.setting-label {
|
|
@include settings.settings-label;
|
|
}
|
|
|
|
.setting-description {
|
|
@include settings.settings-item-description;
|
|
}
|
|
|
|
.setting-options {
|
|
@include settings.settings-options;
|
|
}
|
|
|
|
.providers-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
|
gap: 0.625rem;
|
|
|
|
@media (width <= 768px) {
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
@media (width <= 400px) {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.provider-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.5rem;
|
|
padding: 0.5rem 0.75rem;
|
|
background: var(--ground-background);
|
|
border: 1px solid var(--p-content-border-color);
|
|
border-radius: 4px;
|
|
transition: border-color 0.2s ease;
|
|
|
|
&:hover {
|
|
border-color: var(--primary-color);
|
|
}
|
|
}
|
|
|
|
.provider-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.provider-label {
|
|
font-weight: settings.$settings-label-weight;
|
|
color: var(--text-color);
|
|
font-size: settings.$settings-description-size;
|
|
}
|
|
|
|
.max-reviews-control {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.375rem;
|
|
}
|
|
|
|
.max-reviews-label {
|
|
color: var(--p-text-muted-color);
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.max-reviews-input {
|
|
width: 3rem;
|
|
padding: 0.25rem 0.375rem;
|
|
border: 1px solid var(--p-content-border-color);
|
|
border-radius: 4px;
|
|
background: var(--p-surface-800);
|
|
color: var(--text-color);
|
|
font-size: settings.$settings-description-size;
|
|
text-align: center;
|
|
|
|
&:focus {
|
|
outline: none;
|
|
border-color: var(--primary-color);
|
|
}
|
|
}
|
|
|
|
.no-providers-message {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
color: var(--p-text-muted-color);
|
|
font-size: settings.$settings-description-size;
|
|
font-style: italic;
|
|
margin-top: 0.5rem;
|
|
padding: 0.75rem;
|
|
background: var(--ground-background);
|
|
border-radius: 4px;
|
|
|
|
.pi {
|
|
color: var(--p-orange-500);
|
|
flex-shrink: 0;
|
|
}
|
|
}
|