forked from marcojetson/jquery-customscroll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
customscroll.css
42 lines (42 loc) · 855 Bytes
/
customscroll.css
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
body.dragging {
user-select: none;
-khtml-user-select: none;
-moz-user-select: -moz-none;
-ms-user-select: none;
-webkit-user-select: none;
}
.customscroll {
overflow: hidden;
position: relative;
}
.customscroll > .wrapper {
overflow-y: auto;
width: 9999px;
}
.customscroll > .placeholder {
background-color: transparent;
display: block;
position: absolute;
right: 2px;
width: 12px;
}
.customscroll > .placeholder > .track {
bottom: 0;
display: none;
height: 100%;
position: absolute;
right: 0;
top: 0;
width: 6px;
}
.customscroll > .placeholder > .track.hover {
background-color: #e6e6e6;
background-color: rgba(0, 0, 0, .1);
}
.customscroll > .placeholder > .track > .grip {
background-color: #999999;
height: 12px;
}
.customscroll > .placeholder > .track, .customscroll > .placeholder > .track > .grip {
border-radius: 10px;
}