Upgrade to Stylelint 15 with Prettier (#23558)
This commit is contained in:
parent
c812cfa667
commit
0c9d455ea5
20 changed files with 311 additions and 179 deletions
|
@ -1,4 +1,4 @@
|
|||
@use "sass:math";
|
||||
@use 'sass:math';
|
||||
|
||||
$no-columns-breakpoint: 600px;
|
||||
$sidebar-width: 240px;
|
||||
|
@ -1131,7 +1131,10 @@ a.name-tag,
|
|||
|
||||
@for $i from 0 through 10 {
|
||||
&--#{10 * $i} {
|
||||
background-color: rgba($ui-highlight-color, 1 * (math.div(max(1, $i), 10)));
|
||||
background-color: rgba(
|
||||
$ui-highlight-color,
|
||||
1 * (math.div(max(1, $i), 10))
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1220,7 +1223,12 @@ a.sparkline {
|
|||
|
||||
.skeleton {
|
||||
background-color: lighten($ui-base-color, 8%);
|
||||
background-image: linear-gradient(90deg, lighten($ui-base-color, 8%), lighten($ui-base-color, 12%), lighten($ui-base-color, 8%));
|
||||
background-image: linear-gradient(
|
||||
90deg,
|
||||
lighten($ui-base-color, 8%),
|
||||
lighten($ui-base-color, 12%),
|
||||
lighten($ui-base-color, 8%)
|
||||
);
|
||||
background-size: 200px 100%;
|
||||
background-repeat: no-repeat;
|
||||
border-radius: 4px;
|
||||
|
@ -1269,7 +1277,10 @@ a.sparkline {
|
|||
|
||||
@for $i from 0 through 10 {
|
||||
&--#{10 * $i} {
|
||||
background-color: rgba($ui-highlight-color, 1 * (math.div(max(1, $i), 10)));
|
||||
background-color: rgba(
|
||||
$ui-highlight-color,
|
||||
1 * (math.div(max(1, $i), 10))
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1415,7 +1426,7 @@ a.sparkline {
|
|||
|
||||
&::after {
|
||||
display: block;
|
||||
content: "";
|
||||
content: '';
|
||||
width: 50px;
|
||||
height: 21px;
|
||||
position: absolute;
|
||||
|
@ -1809,7 +1820,7 @@ a.sparkline {
|
|||
|
||||
&::after {
|
||||
position: absolute;
|
||||
content: "";
|
||||
content: '';
|
||||
width: 1px;
|
||||
background: $highlight-text-color;
|
||||
bottom: 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue