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:
+11
-11
@@ -93,7 +93,7 @@
|
||||
gap: 0.75rem;
|
||||
align-items: flex-start;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
@media (width <= 768px) {
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
|
||||
@@ -118,7 +118,7 @@
|
||||
gap: 0.5rem;
|
||||
margin-top: 0.25rem;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
@media (width <= 768px) {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 0.25rem;
|
||||
@@ -177,7 +177,7 @@
|
||||
padding: 0.75rem 1rem;
|
||||
border-bottom: 1px dashed var(--p-content-border-color);
|
||||
|
||||
@media (max-width: 600px) {
|
||||
@media (width <= 600px) {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
}
|
||||
@@ -251,7 +251,7 @@
|
||||
grid-template-columns: 1fr;
|
||||
gap: 1rem;
|
||||
|
||||
@media (min-width: 768px) {
|
||||
@media (width >= 768px) {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
}
|
||||
@@ -262,7 +262,7 @@
|
||||
padding: 1rem;
|
||||
border-left: 3px solid var(--p-primary-color);
|
||||
|
||||
@media (max-width: 768px) {
|
||||
@media (width <= 768px) {
|
||||
padding: 0.75rem;
|
||||
}
|
||||
}
|
||||
@@ -377,7 +377,7 @@
|
||||
gap: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
@media (width <= 768px) {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
@@ -487,7 +487,7 @@
|
||||
font-size: settings.$settings-section-description-size;
|
||||
align-items: center;
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
@media (width <= 1024px) {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 0.375rem;
|
||||
}
|
||||
@@ -503,7 +503,7 @@
|
||||
font-size: settings.$settings-section-description-size;
|
||||
align-items: start;
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
@media (width <= 1024px) {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 0.375rem;
|
||||
}
|
||||
@@ -514,7 +514,7 @@
|
||||
font-size: settings.$settings-section-description-size;
|
||||
white-space: nowrap;
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
@media (width <= 1024px) {
|
||||
font-weight: 500;
|
||||
color: var(--p-text-color);
|
||||
}
|
||||
@@ -527,7 +527,7 @@
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
@media (width <= 1024px) {
|
||||
padding-left: 0.5rem;
|
||||
}
|
||||
}
|
||||
@@ -539,7 +539,7 @@
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
@media (width <= 1024px) {
|
||||
padding-left: 0.5rem;
|
||||
border-left: 2px solid var(--p-green-400);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user