Update scrollbar resets
This commit is contained in:
parent
7259e4d9a8
commit
392f75d2c7
1 changed files with 11 additions and 0 deletions
|
@ -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 a new issue