4 html:not(.feature-scrollbars-off) {
6 @supports (scrollbar-width: auto) {
8 scrollbar-color: var(--scrollbar-thumb-color) transparent;
11 @supports selector(::-webkit-scrollbar) {
12 $real-size: rem(6) + (rem(2) * 2);
14 &::-webkit-scrollbar {
15 inline-size: $real-size;
16 block-size: $real-size;
19 &::-webkit-scrollbar-thumb {
20 border: rem(2) solid transparent;
21 background-clip: padding-box;
22 border-radius: math.div($real-size, 2);
23 background-color: var(--scrollbar-thumb-color);
26 &::-webkit-scrollbar-track {
27 background-color: transparent;
30 &::-webkit-scrollbar-corner {
36 @include media('mouse') {
37 body *:not(:hover, :focus, :focus-within) {
38 @supports (scrollbar-width: auto) {
39 scrollbar-color: transparent transparent;
42 @supports selector(::-webkit-scrollbar) {
43 &::-webkit-scrollbar-thumb {