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:
James Cox
2026-04-22 17:26:43 -04:00
committed by Zach Yale
parent e46f87eb96
commit 7b9830faf5
81 changed files with 135 additions and 136 deletions
@@ -38,7 +38,7 @@
font-size: 1.25rem;
font-weight: 700;
color: var(--p-text-color);
margin: 0 0 0.75rem 0;
margin: 0 0 0.75rem;
.pi {
color: var(--p-primary-color);
@@ -73,7 +73,7 @@
font-size: 1.125rem;
font-weight: 600;
color: var(--p-text-color);
margin: 0 0 0.5rem 0;
margin: 0 0 0.5rem;
.pi {
color: var(--p-primary-color);
@@ -132,14 +132,14 @@
}
.empty-title {
margin: 0 0 0.75rem 0;
margin: 0 0 0.75rem;
font-size: 1.25rem;
font-weight: 600;
color: var(--p-text-color);
}
.empty-description {
margin: 0 0 1rem 0;
margin: 0 0 1rem;
font-size: 0.9375rem;
color: var(--p-text-muted-color);
max-width: 500px;
@@ -95,7 +95,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);
@@ -43,7 +43,7 @@
.section-title {
@include settings.settings-section-title;
margin: 0 0 0.5rem 0;
margin: 0 0 0.5rem;
}
.section-description {
@@ -52,7 +52,7 @@
.settings-card {
@include settings.settings-card;
padding: 1rem 1.5rem 1.5rem 1.5rem;
padding: 1rem 1.5rem 1.5rem;
margin-left: 1rem;
margin-right: 1rem;
@@ -37,7 +37,7 @@
.section-title {
@include settings.settings-section-title;
margin: 0 0 0.5rem 0;
margin: 0 0 0.5rem;
}
.section-description {
@@ -37,7 +37,7 @@
.section-title {
@include settings.settings-section-title;
margin: 0 0 0.5rem 0;
margin: 0 0 0.5rem;
}
.section-description {
@@ -63,7 +63,7 @@
.empty-title {
font-size: 1rem;
font-weight: 600;
margin: 0 0 0.5rem 0;
margin: 0 0 0.5rem;
color: var(--p-text-color);
}
@@ -63,7 +63,7 @@
.empty-title {
font-size: 1rem;
font-weight: 600;
margin: 0 0 0.5rem 0;
margin: 0 0 0.5rem;
color: var(--p-text-color);
}
@@ -35,7 +35,7 @@
.access-denied-content {
h3 {
margin: 0 0 0.5rem 0;
margin: 0 0 0.5rem;
font-size: 1rem;
font-weight: settings.$settings-section-title-weight;
color: var(--p-red-300);
@@ -63,7 +63,7 @@
.empty-title {
font-size: 1rem;
font-weight: 600;
margin: 0 0 0.5rem 0;
margin: 0 0 0.5rem;
color: var(--p-text-color);
}
@@ -274,7 +274,7 @@
font-size: settings.$settings-label-size;
font-weight: 600;
color: var(--p-text-color);
margin: 0 0 0.75rem 0;
margin: 0 0 0.75rem;
.pi {
color: var(--p-primary-color);
@@ -286,7 +286,7 @@
font-size: settings.$settings-section-description-size;
line-height: 1.5;
color: var(--p-text-muted-color);
margin: 0 0 0.75rem 0;
margin: 0 0 0.75rem;
code {
color: var(--p-orange-400);
@@ -24,7 +24,7 @@
font-size: 1.25rem;
font-weight: 600;
color: var(--text-color);
margin: 0 0 0.5rem 0;
margin: 0 0 0.5rem;
.pi {
color: var(--primary-color);
@@ -51,7 +51,7 @@
color: var(--p-text-muted-color);
text-transform: uppercase;
letter-spacing: 0.025em;
margin: 0 0 0.25rem 0;
margin: 0 0 0.25rem;
}
.setting-item {
@@ -33,7 +33,7 @@
.section-description {
@include settings.settings-section-description;
margin: 0.5rem 0 0 0;
margin: 0.5rem 0 0;
display: flex;
align-items: flex-start;
gap: 0.5rem;
@@ -48,7 +48,7 @@
.section-title {
@include settings.settings-section-title;
margin: 0 0 0.5rem 0;
margin: 0 0 0.5rem;
}
.settings-card {
@@ -273,7 +273,7 @@
.empty-title {
font-size: 1rem;
font-weight: 600;
margin: 0 0 0.5rem 0;
margin: 0 0 0.5rem;
color: var(--p-text-color);
}
@@ -469,7 +469,7 @@
.access-denied-content {
h3 {
margin: 0 0 0.5rem 0;
margin: 0 0 0.5rem;
font-size: 1rem;
font-weight: 600;
color: var(--p-red-300);
@@ -18,7 +18,7 @@
font-size: settings.$settings-section-title-size;
font-weight: settings.$settings-section-title-weight;
color: var(--p-text-color);
margin: 0 0 0.5rem 0;
margin: 0 0 0.5rem;
padding-bottom: 0.75rem;
border-bottom: 1px solid color-mix(in srgb, var(--text-color) 10%, transparent);
}
@@ -34,7 +34,7 @@
.section-title {
@include settings.settings-section-title;
margin: 0 0 0.5rem 0;
margin: 0 0 0.5rem;
}
.section-description {
@@ -15,7 +15,7 @@
font-size: 1.125rem;
font-weight: 600;
color: var(--p-text-color);
margin: 0 0 0.5rem 0;
margin: 0 0 0.5rem;
.pi {
color: var(--p-primary-color);
@@ -239,7 +239,7 @@
// Task Body
.task-body {
padding: 0 1rem 1rem 1rem;
padding: 0 1rem 1rem;
display: flex;
flex-direction: column;
gap: 0.75rem;
@@ -85,7 +85,7 @@
display: flex;
align-items: center;
gap: 0.5rem;
margin: 0 0 0.25rem 0;
margin: 0 0 0.25rem;
font-size: 0.9rem;
font-weight: 600;
@@ -95,7 +95,7 @@
}
.group-description {
margin: 0 0 0.75rem 0;
margin: 0 0 0.75rem;
font-size: 0.8rem;
color: var(--text-color-secondary);
}
@@ -59,7 +59,7 @@
display: flex;
align-items: center;
gap: 0.5rem;
margin: 0 0 0.75rem 0;
margin: 0 0 0.75rem;
font-size: 1rem;
font-weight: 600;
color: var(--text-color);
@@ -162,7 +162,7 @@
font-size: 0.875rem;
font-weight: 600;
color: var(--text-color);
margin: 0 0 0.5rem 0;
margin: 0 0 0.5rem;
text-transform: uppercase;
letter-spacing: 0.025em;
@@ -78,7 +78,7 @@
.empty-title {
font-size: 1rem;
font-weight: 600;
margin: 0 0 0.5rem 0;
margin: 0 0 0.5rem;
color: var(--p-text-color);
}
@@ -331,7 +331,7 @@
// Expanded card body
.user-card-body {
padding: 0 1rem 1rem 1rem;
padding: 0 1rem 1rem;
display: flex;
flex-direction: column;
gap: 1.5rem;
@@ -358,7 +358,7 @@
.section-description {
font-size: settings.$settings-description-size;
color: var(--p-text-muted-color);
margin: 0 0 0.5rem 0;
margin: 0 0 0.5rem;
padding-left: 1.5rem;
@media (width <= 600px) {
@@ -453,7 +453,7 @@
font-size: settings.$settings-description-size;
font-weight: 600;
color: var(--p-text-color);
margin: 0 0 0.625rem 0;
margin: 0 0 0.625rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid var(--p-content-border-color);
@@ -67,7 +67,7 @@
display: flex;
align-items: center;
gap: 0.5rem;
margin: 0 0 0.5rem 0;
margin: 0 0 0.5rem;
font-size: 1rem;
font-weight: 600;
color: var(--text-color);