aboutsummaryrefslogtreecommitdiff
path: root/assets/plugins/_scrollbars.scss
blob: fb465439b668c8e67bb45233ad9472f7b535a234 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@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;
}