Fix SCSS linting issues (#2207)

* Disable font-family-no-missing-generic-family-keyword for font-awesome accessibility icons

* Run stylelint --fix

* Avoid `@extend` directives with doodle modal CSS

* Drop use of `@extend` for notification cleanup buttons SCSS

* Run prettier on SCSS
This commit is contained in:
Claire
2023-05-07 15:04:59 +02:00
committed by GitHub
parent a6207d243b
commit 6f64c79ca4
31 changed files with 88 additions and 90 deletions

View File

@@ -514,7 +514,7 @@ body > [data-popper-placement] {
outline: 0;
}
@media screen and (max-width: 600px) {
@media screen and (width <= 600px) {
font-size: 16px;
}
}
@@ -535,7 +535,7 @@ body > [data-popper-placement] {
all: unset;
}
@media screen and (max-width: 600px) {
@media screen and (width <= 600px) {
height: 100px !important; // Prevent auto-resize textarea
resize: vertical;
}
@@ -2413,7 +2413,7 @@ $ui-header-height: 55px;
display: none;
}
@media screen and (min-width: 320px) {
@media screen and (width >= 320px) {
.logo--wordmark {
display: block;
}
@@ -2525,7 +2525,7 @@ $ui-header-height: 55px;
overflow: hidden;
}
@media screen and (min-width: 631px) {
@media screen and (width >= 631px) {
.columns-area {
padding: 0;
}
@@ -2585,7 +2585,7 @@ $ui-header-height: 55px;
&:hover,
&:focus,
&:active {
@media screen and (min-width: 631px) {
@media screen and (width >= 631px) {
background: lighten($ui-base-color, 14%);
border-bottom-color: lighten($ui-base-color, 14%);
}
@@ -2602,7 +2602,7 @@ $ui-header-height: 55px;
}
}
@media screen and (min-width: 600px) {
@media screen and (width >= 600px) {
.tabs-bar__link {
span {
display: inline;
@@ -2825,7 +2825,7 @@ $ui-header-height: 55px;
color: $darker-text-color;
}
@media screen and (min-width: 600px) {
@media screen and (width >= 600px) {
padding: 40px;
}
}
@@ -2935,7 +2935,7 @@ $ui-header-height: 55px;
height: 36px;
color: $dark-text-color;
@media screen and (min-width: 600px) {
@media screen and (width >= 600px) {
display: flex;
}
}
@@ -2987,7 +2987,7 @@ $ui-header-height: 55px;
position: sticky;
background: $ui-base-color;
@media screen and (min-width: 600) {
@media screen and (width >= 600) {
padding: 0 40px;
}
@@ -3255,7 +3255,7 @@ $ui-header-height: 55px;
user-select: none;
}
@media screen and (min-height: 640px) {
@media screen and (height >= 640px) {
display: block;
}
}
@@ -3604,19 +3604,19 @@ $ui-header-height: 55px;
}
}
@media screen and (max-height: 810px) {
@media screen and (height <= 810px) {
.trends__item:nth-of-type(3) {
display: none;
}
}
@media screen and (max-height: 720px) {
@media screen and (height <= 720px) {
.trends__item:nth-of-type(2) {
display: none;
}
}
@media screen and (max-height: 670px) {
@media screen and (height <= 670px) {
display: none;
}
@@ -3700,7 +3700,7 @@ $ui-header-height: 55px;
margin-bottom: 20px;
}
@media screen and (max-width: 600px) {
@media screen and (width <= 600px) {
font-size: 16px;
}
}
@@ -4496,7 +4496,7 @@ a.status-card.compact:hover {
background: lighten($ui-base-color, 4%);
}
@media screen and (max-width: 600px) {
@media screen and (width <= 600px) {
font-size: 16px;
}
}
@@ -5831,7 +5831,7 @@ a.status-card.compact:hover {
font-weight: 700;
margin-bottom: 15px;
@media screen and (max-height: 800px) {
@media screen and (height <= 800px) {
font-size: 22px;
}
}
@@ -6018,7 +6018,7 @@ a.status-card.compact:hover {
display: flex;
border-top: 1px solid $ui-secondary-color;
@media screen and (max-width: 480px) {
@media screen and (width <= 480px) {
flex-wrap: wrap;
overflow-y: auto;
}
@@ -6029,7 +6029,7 @@ a.status-card.compact:hover {
box-sizing: border-box;
width: 50%;
@media screen and (max-width: 480px) {
@media screen and (width <= 480px) {
width: 100%;
}
}
@@ -6051,13 +6051,13 @@ a.status-card.compact:hover {
color: $inverted-text-color;
}
@media screen and (max-width: 480px) {
@media screen and (width <= 480px) {
max-height: 10vh;
}
}
.focal-point-modal__content {
@media screen and (max-width: 480px) {
@media screen and (width <= 480px) {
max-height: 40vh;
}
}
@@ -6108,7 +6108,7 @@ a.status-card.compact:hover {
}
}
@media screen and (max-width: 480px) {
@media screen and (width <= 480px) {
padding: 10px;
max-width: 100%;
order: 2;
@@ -7136,7 +7136,7 @@ noscript {
}
}
@media screen and (max-width: 630px) and (max-height: 400px) {
@media screen and (width <= 630px) and (height <= 400px) {
$duration: 400ms;
$delay: 100ms;
@@ -7266,7 +7266,7 @@ noscript {
background: lighten($ui-base-color, 4%);
}
@media screen and (max-width: 600px) {
@media screen and (width <= 600px) {
font-size: 16px;
}
}
@@ -7357,7 +7357,7 @@ noscript {
width: 380px;
overflow: hidden;
@media screen and (max-width: 420px) {
@media screen and (width <= 420px) {
width: 90%;
}
@@ -7412,7 +7412,7 @@ noscript {
width: 380px;
overflow: hidden;
@media screen and (max-width: 420px) {
@media screen and (width <= 420px) {
width: 90%;
}
@@ -7511,7 +7511,7 @@ noscript {
}
}
@media screen and (max-width: 480px) {
@media screen and (width <= 480px) {
img,
video {
max-height: 100%;
@@ -9068,7 +9068,7 @@ noscript {
margin-bottom: 20px;
}
@media screen and (max-width: 600px) {
@media screen and (width <= 600px) {
display: block;
h4 {