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
@@ -156,7 +156,7 @@
border-radius: 10px;
}
@media (max-width: 768px) {
@media (width <= 768px) {
height: calc(100dvh - 13rem);
padding: 0.5rem;
@@ -229,7 +229,7 @@
width: 100%;
}
@media (max-width: 768px) {
@media (width <= 768px) {
max-width: 100%;
left: 0;
right: 0;
@@ -275,12 +275,12 @@
display: flex;
gap: 0.5rem;
@media (min-width: 768px) {
@media (width >= 768px) {
gap: 1.5rem;
}
}
@media (max-width: 767px) {
@media (width <= 767px) {
.browse-header {
padding: 0.5rem 0.5rem 0;
}
@@ -153,7 +153,7 @@
transition: opacity 0.15s ease, visibility 0.15s ease;
z-index: 3;
@media (max-width: 767px) {
@media (width <= 767px) {
top: 4px;
right: 4px;
}
@@ -3,7 +3,7 @@
overflow: auto;
}
@media (max-width: 768px) {
@media (width <= 768px) {
.tabpanels-responsive {
height: calc(100dvh - 8.5rem);
}
@@ -31,7 +31,7 @@
padding: 0.5rem;
margin-bottom: 1.5rem;
@media (max-width: 767px) {
@media (width <= 767px) {
flex-direction: column;
align-items: center;
text-align: center;
@@ -49,7 +49,7 @@
border-radius: 12px;
box-shadow: 0 4px 16px rgb(0 0 0 / 30%);
@media (max-width: 767px) {
@media (width <= 767px) {
width: 140px;
height: 175px;
}
@@ -69,7 +69,7 @@
font-size: 4rem;
}
@media (max-width: 767px) {
@media (width <= 767px) {
width: 140px;
height: 175px;
}
@@ -89,7 +89,7 @@
gap: 0.75rem;
flex-wrap: wrap;
@media (max-width: 767px) {
@media (width <= 767px) {
justify-content: center;
}
}
@@ -110,7 +110,7 @@
line-height: 1.25;
margin: 0;
@media (min-width: 768px) {
@media (width >= 768px) {
font-size: 1.875rem;
}
}
@@ -118,7 +118,7 @@
.description-box {
padding: 1rem 0.5rem 0.5rem;
@media (max-width: 767px) {
@media (width <= 767px) {
text-align: left;
}
}
@@ -11,7 +11,7 @@
gap: 2rem;
flex: 1;
@media (max-width: 767px) {
@media (width <= 767px) {
flex-direction: column;
align-items: center;
}
@@ -119,7 +119,7 @@
justify-content: flex-end;
padding: 0.5rem 0;
@media (max-width: 639px) {
@media (width <= 639px) {
flex-wrap: wrap;
justify-content: center;
}
@@ -174,7 +174,7 @@
align-items: center;
}
@media (max-width: 767px) {
@media (width <= 767px) {
.search-fields {
flex-direction: column;
@@ -225,7 +225,7 @@
}
}
@media (max-width: 768px) {
@media (width <= 768px) {
.search-section .form-row {
flex-direction: column;
align-items: stretch;