2019-04-30 08:44:49 +00:00
|
|
|
// Chrome
|
|
|
|
::-webkit-scrollbar {
|
|
|
|
width: $scrollbar-height;
|
|
|
|
height: $scrollbar-height;
|
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-scrollbar-track {
|
|
|
|
background: $scrollbar-track-color;
|
|
|
|
border-radius: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
|
|
border-radius: 10px;
|
|
|
|
background: $scrollbar-thumb-color;
|
|
|
|
-webkit-transition: background-color $transition;
|
|
|
|
-moz-transition: background-color $transition;
|
|
|
|
-ms-transition: background-color $transition;
|
|
|
|
-o-transition: background-color $transition;
|
|
|
|
transition: background-color $transition;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $scrollbar-hover-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Firefox
|
2020-09-05 20:35:52 +00:00
|
|
|
* {
|
2019-04-30 08:44:49 +00:00
|
|
|
scrollbar-color: $scrollbar-thumb-color $scrollbar-track-color;
|
|
|
|
scrollbar-width: thin;
|
|
|
|
}
|