-
Notifications
You must be signed in to change notification settings - Fork 0
/
ios.scrollbar.css
66 lines (65 loc) · 1.25 KB
/
ios.scrollbar.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/* Scroll bar styling */
.no-select {
user-select: none;
-o-user-select: none;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
}
.scrollbar-wraper {
position:relative;
}
.viewport {
width: 500px;
height: 400px;
overflow: hidden;
position: relative;
}
.overview {
list-style: none;
position: absolute;
left: 0;
top: 0;
}
.scrollbar-track {
bottom:3px;
display:none;
position:absolute;
right:2px;
top:2px;
-moz-user-select:none;
width:7px;
z-index:5;
-moz-transition: width 250ms;
-webkit-transition: width 250ms;
-o-transition: width 250ms;
transition: width 250ms;
}
.track-over {
background-color: rgba(0, 0, 0, .15);
border-radius: 10px;
width: 10px;
}
.thumb {
background-clip:content-box;
background-color:rgba(0, 0, 0, .4);
border:1px solid rgba(85, 85, 85, .6);
border-radius:7px;
position:absolute;
right:0;
-moz-transition: width 250ms;
-webkit-transition: width 250ms;
-o-transition: width 250ms;
transition: width 250ms;
width:5px;
}
.track-over .thumb {
width: 8px
}
.disable {
display: none;
}
.hidden-elem {
opacity: 0;
visibility: hidden;
}