style(frontend): enforce media-feature-range-notation in scss

- 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`
This commit is contained in:
James Cox
2026-04-22 17:26:43 -04:00
committed by Zach Yale
parent ddcbb5b666
commit e46f87eb96
133 changed files with 537 additions and 538 deletions
@@ -32,7 +32,7 @@
z-index: 1;
animation: slideUp 0.6s ease-out;
@media (max-width: 640px) {
@media (width <= 640px) {
width: 95%;
margin-top: calc($margin-top / 2);
}
@@ -59,7 +59,7 @@
border-radius: calc(2rem - 2px);
padding: 3rem 2.5rem;
@media (max-width: 640px) {
@media (width <= 640px) {
padding: 2rem 1.5rem;
}
}
@@ -117,7 +117,7 @@
-webkit-text-fill-color: transparent;
background-clip: text;
@media (max-width: 640px) {
@media (width <= 640px) {
font-size: 1.75rem;
}
}
@@ -51,7 +51,7 @@
right: 0.75rem;
}
@media (max-width: 480px) {
@media (width <= 480px) {
padding: 1rem;
.header-icon-wrapper {
@@ -105,7 +105,7 @@
flex-shrink: 0;
}
@media (max-width: 640px) {
@media (width <= 640px) {
flex-direction: column;
align-items: stretch;
padding: 1rem;
@@ -130,7 +130,7 @@
@include dialog-footer;
justify-content: flex-end;
@media (max-width: 480px) {
@media (width <= 480px) {
padding: 1rem;
gap: 0.5rem;
@@ -178,7 +178,7 @@
}
}
@media (max-width: 640px) {
@media (width <= 640px) {
font-size: 0.8rem;
padding: 0.375rem 0.5rem;
width: 100%;
@@ -49,7 +49,7 @@ $settings-item-border-left-width: 3px;
overflow-y: auto;
padding: 0.5rem;
@media (min-width: 768px) {
@media (width >= 768px) {
height: calc(100dvh - 11.65rem);
padding: 0.5rem;
}
@@ -102,7 +102,7 @@ $settings-item-border-left-width: 3px;
border-radius: $settings-card-border-radius;
padding: $settings-card-padding;
@media (max-width: 768px) {
@media (width <= 768px) {
padding: $settings-card-padding-mobile;
gap: $settings-card-gap-mobile;
}
@@ -148,7 +148,7 @@ $settings-item-border-left-width: 3px;
gap: $settings-section-body-gap;
padding-left: $settings-section-body-padding-left;
@media (max-width: 768px) {
@media (width <= 768px) {
padding-left: $settings-section-body-padding-left-mobile;
}
}
@@ -168,7 +168,7 @@ $settings-item-border-left-width: 3px;
background: color-mix(in srgb, var(--ground-background) 40%, var(--p-surface-800) 60%);
}
@media (max-width: 768px) {
@media (width <= 768px) {
padding: $settings-item-padding-mobile;
}
}
@@ -250,7 +250,7 @@ $settings-item-border-left-width: 3px;
font-weight: 600;
}
@media (max-width: 768px) {
@media (width <= 768px) {
padding: 0.625rem 0.75rem;
font-size: $settings-description-size;
}
@@ -314,7 +314,7 @@ $settings-item-border-left-width: 3px;
justify-content: flex-end;
padding-top: 0.5rem;
@media (max-width: 768px) {
@media (width <= 768px) {
p-button {
width: 100%;
}
@@ -385,7 +385,7 @@ $settings-item-border-left-width: 3px;
min-width: 140px;
}
@media (max-width: 768px) {
@media (width <= 768px) {
flex-direction: column;
align-items: stretch;