mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
21 lines
430 B
SCSS
21 lines
430 B
SCSS
@import './naive.scss';
|
|
|
|
@mixin scrollbar($size:8px, $color:#d9d9d9) {
|
|
&::-webkit-scrollbar-thumb {
|
|
background-color: $color;
|
|
border-radius: $size;
|
|
}
|
|
&::-webkit-scrollbar-thumb:hover {
|
|
background-color: $color;
|
|
border-radius: $size;
|
|
}
|
|
&::-webkit-scrollbar {
|
|
width: $size;
|
|
height: $size;
|
|
}
|
|
&::-webkit-scrollbar-track-piece {
|
|
background-color: rgba(0, 0, 0, 0);
|
|
border-radius: 0;
|
|
}
|
|
}
|