mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2025-05-22 08:40:27 +00:00
Update scrollbar resets
This commit is contained in:
parent
7259e4d9a8
commit
392f75d2c7
@ -1,6 +1,7 @@
|
|||||||
@import "defaults";
|
@import "defaults";
|
||||||
@import "variables";
|
@import "variables";
|
||||||
|
|
||||||
|
// Webkit
|
||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
width: $padding-8;
|
width: $padding-8;
|
||||||
}
|
}
|
||||||
@ -13,3 +14,13 @@
|
|||||||
:hover::-webkit-scrollbar-thumb {
|
:hover::-webkit-scrollbar-thumb {
|
||||||
background: $gray-500;
|
background: $gray-500;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// MS
|
||||||
|
body {
|
||||||
|
-ms-overflow-style: -ms-autohiding-scrollbar
|
||||||
|
}
|
||||||
|
|
||||||
|
// Future
|
||||||
|
.book-menu nav {
|
||||||
|
scrollbar-color: transparent $gray-500;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user