-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscroller.css
More file actions
64 lines (54 loc) · 1.06 KB
/
scroller.css
File metadata and controls
64 lines (54 loc) · 1.06 KB
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
::-webkit-scrollbar {
display: none;
}
.cf-scroller {
}
.cf-scroller > .cf-scroller__container {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
overflow: scroll;
}
.cf-scroller > .cf-scroller__scrollbar {
position: absolute;
background-color: rgba(0, 0, 0, 0.1);
}
.cf-scroller > .cf-scroller__scrollbar[data-orientation~='vertical'] {
position: absolute;
top: 0;
right: 0;
width: 10px;
height: 100%;
}
.cf-scroller > .cf-scroller__scrollbar[data-orientation~='horizontal'] {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 10px;
}
.cf-scroller > .cf-scroller__scrollbar > .cf-slider {
background: rgba(0, 0, 0, 0.2);
}
.cf-scroller
> .cf-scroller__scrollbar[data-orientation~='vertical']
> .cf-slider {
position: relative;
top: 0;
width: 10px;
}
.cf-scroller
> .cf-scroller__scrollbar[data-orientation~='horizontal']
> .cf-slider {
position: relative;
left: 0;
height: 10px;
}
.cf-scroller > .invisible {
opacity: 0;
}
.cf-scroller > .invisible.fade {
transition: opacity 0.8s linear;
}