hugo-book/assets/plugins/_scrollbars.scss
2020-03-11 23:05:39 +01:00

27 lines
381 B
SCSS

@import "defaults";
@import "variables";
// Webkit
::-webkit-scrollbar {
width: $padding-8;
}
::-webkit-scrollbar-thumb {
background: transparent;
border-radius: $padding-8;
}
:hover::-webkit-scrollbar-thumb {
background: $gray-500;
}
// MS
body {
-ms-overflow-style: -ms-autohiding-scrollbar
}
// Future
.book-menu nav {
scrollbar-color: transparent $gray-500;
}