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
@@ -29,7 +29,7 @@
justify-content: space-between;
gap: 1rem;
@media (max-width: 767px) {
@media (width <= 767px) {
flex-direction: column;
align-items: stretch;
@@ -86,7 +86,7 @@
opacity: 0.8;
}
@media (max-width: 600px) {
@media (width <= 600px) {
flex-direction: column;
gap: 0.75rem;
}
@@ -158,7 +158,7 @@
margin: 0;
padding-left: calc(36px + 0.75rem);
@media (max-width: 600px) {
@media (width <= 600px) {
padding-left: 0;
}
}
@@ -176,11 +176,11 @@
grid-template-columns: repeat(3, 1fr);
gap: 0.75rem;
@media (max-width: 900px) {
@media (width <= 900px) {
grid-template-columns: 1fr 1fr;
}
@media (max-width: 600px) {
@media (width <= 600px) {
grid-template-columns: 1fr;
}
}
@@ -190,7 +190,7 @@
grid-template-columns: 1fr 1fr;
gap: 0.75rem;
@media (max-width: 600px) {
@media (width <= 600px) {
grid-template-columns: 1fr;
}
}
@@ -207,7 +207,7 @@
&.span-2 {
grid-column: span 2;
@media (max-width: 600px) {
@media (width <= 600px) {
grid-column: span 1;
}
}
@@ -255,11 +255,11 @@
grid-template-columns: repeat(4, 1fr);
gap: 0.75rem;
@media (max-width: 900px) {
@media (width <= 900px) {
grid-template-columns: 1fr 1fr;
}
@media (max-width: 600px) {
@media (width <= 600px) {
grid-template-columns: 1fr;
}
}
@@ -274,7 +274,7 @@
padding-top: 1rem;
border-top: 1px dashed var(--p-content-border-color);
@media (max-width: 600px) {
@media (width <= 600px) {
flex-direction: column;
align-items: stretch;
}
@@ -372,7 +372,7 @@
border-radius: 6px;
padding: 1rem;
@media (max-width: 600px) {
@media (width <= 600px) {
flex-direction: column;
gap: 0.75rem;
}