You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
609 B
30 lines
609 B
@define-mixin scrollbar {
|
|
scrollbar-color: var(--scrollbarBackgroundColor) transparent;
|
|
scrollbar-width: thin;
|
|
|
|
&::-webkit-scrollbar {
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
}
|
|
|
|
@define-mixin scrollbarTrack {
|
|
&::-webkit-scrollbar-track {
|
|
background-color: transparent;
|
|
}
|
|
}
|
|
|
|
@define-mixin scrollbarThumb {
|
|
&::-webkit-scrollbar-thumb {
|
|
min-height: 100px;
|
|
border: 1px solid transparent;
|
|
border-radius: 5px;
|
|
background-color: var(--scrollbarBackgroundColor);
|
|
background-clip: padding-box;
|
|
|
|
&:hover {
|
|
background-color: var(--scrollbarHoverBackgroundColor);
|
|
}
|
|
}
|
|
}
|