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
@@ -182,7 +182,7 @@
background-clip: unset !important;
}
@media (max-width: 767px) {
@media (width <= 767px) {
.dashboard-scroller-card {
height: 184px;
@@ -4,7 +4,7 @@
display: flex;
flex-direction: column;
@media (max-width: 640px) {
@media (width <= 640px) {
width: 100%;
max-width: 100%;
}
@@ -52,7 +52,7 @@
}
}
@media (max-width: 480px) {
@media (width <= 480px) {
padding: 1rem;
gap: 0.5rem;
@@ -92,7 +92,7 @@
}
}
@media (max-width: 480px) {
@media (width <= 480px) {
padding: 1rem;
max-height: 400px;
}
@@ -107,7 +107,7 @@
margin-bottom: 0.75rem;
border-radius: 0.375rem;
@media (max-width: 768px) {
@media (width <= 768px) {
padding: 0.75rem !important;
}
}
@@ -117,7 +117,7 @@
align-items: flex-end;
gap: 0.75rem;
@media (max-width: 768px) {
@media (width <= 768px) {
flex-direction: column;
align-items: stretch;
gap: 1rem;
@@ -129,7 +129,7 @@
align-items: center;
padding-bottom: 0.65rem;
@media (max-width: 768px) {
@media (width <= 768px) {
padding-bottom: 0;
align-self: flex-start;
}
@@ -140,7 +140,7 @@
gap: 0.5rem;
padding-bottom: 0.25rem;
@media (max-width: 768px) {
@media (width <= 768px) {
padding-bottom: 0;
align-self: flex-end;
}
@@ -152,12 +152,12 @@
gap: 0.75rem;
flex: 1;
@media (max-width: 768px) {
@media (width <= 768px) {
grid-template-columns: 1fr;
gap: 0.75rem;
}
@media (max-width: 640px) {
@media (width <= 640px) {
gap: 0.5rem;
}
}
@@ -171,7 +171,7 @@
&.expanded {
flex: 1;
@media (max-width: 768px) {
@media (width <= 768px) {
flex: unset;
}
}
@@ -181,7 +181,7 @@
max-width: 9rem;
flex-shrink: 0;
@media (max-width: 768px) {
@media (width <= 768px) {
max-width: none;
}
}
@@ -202,7 +202,7 @@ label {
gap: 0.5rem;
}
@media (max-width: 640px) {
@media (width <= 640px) {
.footer-left {
flex-direction: column;
gap: 0.5rem;
@@ -24,7 +24,7 @@
scrollbar-color: var(--primary-color) rgb(20 20 30 / 50%);
}
@media (max-width: 768px) {
@media (width <= 768px) {
.dashboard-container {
height: calc(100dvh - 5rem);
@@ -113,7 +113,7 @@
}
}
@media (max-width: 768px) {
@media (width <= 768px) {
.dashboard-settings-button {
top: 5rem;
right: 1rem;