style(frontend): enforce shorthand-property-no-redundant-values in scss
- Stylelint: - re-enable `shorthand-property-no-redundant-values` in the frontend Stylelint config while leaving the agreed Angular and legacy Sass exceptions intact - SCSS: - collapse redundant shorthand values across frontend stylesheets without changing computed spacing or sizing - Validation: - `just ui stylelint`
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
padding: 0 0.75rem 1rem 0.75rem;
|
||||
padding: 0 0.75rem 1rem;
|
||||
|
||||
.field-group {
|
||||
display: flex;
|
||||
@@ -419,7 +419,7 @@
|
||||
}
|
||||
|
||||
.empty-title {
|
||||
margin: 0 0 1.5rem 0;
|
||||
margin: 0 0 1.5rem;
|
||||
font-size: 1.125rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-color);
|
||||
|
||||
@@ -219,7 +219,7 @@
|
||||
}
|
||||
|
||||
.empty-title {
|
||||
margin: 0 0 0.5rem 0;
|
||||
margin: 0 0 0.5rem;
|
||||
font-size: 1.125rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-color);
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
padding: 1.5rem 1.5rem 1.25rem 1.5rem;
|
||||
padding: 1.5rem 1.5rem 1.25rem;
|
||||
border-radius: 10px 10px 0 0;
|
||||
border: 1px solid var(--border-color);
|
||||
box-shadow: 0 2px 6px rgb(0 0 0 / 8%);
|
||||
@@ -31,7 +31,7 @@
|
||||
flex: 1;
|
||||
|
||||
.panel-title {
|
||||
margin: 0 0 0.25rem 0;
|
||||
margin: 0 0 0.25rem;
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-color);
|
||||
|
||||
@@ -74,7 +74,7 @@ $settings-item-border-left-width: 3px;
|
||||
font-size: $settings-page-title-size;
|
||||
font-weight: $settings-page-title-weight;
|
||||
color: var(--text-color);
|
||||
margin: 0 0 0.5rem 0;
|
||||
margin: 0 0 0.5rem;
|
||||
|
||||
.pi {
|
||||
color: var(--primary-color);
|
||||
@@ -123,7 +123,7 @@ $settings-item-border-left-width: 3px;
|
||||
font-size: $settings-section-title-size;
|
||||
font-weight: $settings-section-title-weight;
|
||||
color: var(--text-color);
|
||||
margin: 0 0 0.5rem 0;
|
||||
margin: 0 0 0.5rem;
|
||||
|
||||
.pi {
|
||||
color: var(--primary-color);
|
||||
@@ -468,7 +468,7 @@ $settings-item-border-left-width: 3px;
|
||||
|
||||
@mixin settings-access-denied-content {
|
||||
h3 {
|
||||
margin: 0 0 0.5rem 0;
|
||||
margin: 0 0 0.5rem;
|
||||
font-size: 1rem;
|
||||
font-weight: $settings-section-title-weight;
|
||||
color: var(--p-red-300);
|
||||
|
||||
Reference in New Issue
Block a user