The function expects a unitless number between 0 and 1 as the second parameter.
The updated SCSS compiler in 5.5+ complains about this misuse.
position: relative;
&::after {
- background-image: linear-gradient(to top, $wcfContentBackground, transparentize($wcfContentBackground, 100%));
+ background-image: linear-gradient(to top, $wcfContentBackground, transparentize($wcfContentBackground, 1));
bottom: 0;
content: "";
height: 30px;
position: relative;
&::after {
- background-image: linear-gradient(to top, $wcfContentBackground, transparentize($wcfContentBackground, 100%));
+ background-image: linear-gradient(to top, $wcfContentBackground, transparentize($wcfContentBackground, 1));
content: "";
left: 0;
height: #{$wcfFontLineHeight}em;
&::after {
background-image: linear-gradient(
to bottom,
- transparentize($wcfContentBackground, 100%),
+ transparentize($wcfContentBackground, 1),
$wcfContentBackground
);
bottom: 0;
&::before {
background-image: linear-gradient(
to top,
- transparentize($wcfContentBackground, 100%),
+ transparentize($wcfContentBackground, 1),
$wcfContentBackground
);
top: 0;
}
.tabMenuOverlayLeft {
- background: linear-gradient(to left, transparentize($wcfContentBackground, 100%) 0%, $wcfContentBackground 50%);
+ background: linear-gradient(to left, transparentize($wcfContentBackground, 1) 0%, $wcfContentBackground 50%);
left: 0;
}
.tabMenuOverlayRight {
- background: linear-gradient(to right, transparentize($wcfContentBackground, 100%) 0%, $wcfContentBackground 50%);
+ background: linear-gradient(to right, transparentize($wcfContentBackground, 1) 0%, $wcfContentBackground 50%);
justify-content: flex-end;
right: 0;
}
.tabMenuOverlayLeft {
background: linear-gradient(
to left,
- transparentize($wcfContentContainerBackground, 100%) 0%,
+ transparentize($wcfContentContainerBackground, 1) 0%,
$wcfContentContainerBackground 50%
);
}
.tabMenuOverlayRight {
background: linear-gradient(
to right,
- transparentize($wcfContentContainerBackground, 100%) 0%,
+ transparentize($wcfContentContainerBackground, 1) 0%,
$wcfContentContainerBackground 50%
);
}