forked from hmmgo/react-floating-scrollbar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
47 lines (38 loc) · 801 Bytes
/
style.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
.react-fl-scrollbar {
bottom: 0;
height: 35px;
overflow: auto;
position: fixed
}
.react-fl-scrollbar,
.react-fl-scrollbar div {
font-size: 1px;
line-height: 0;
margin: 0;
padding: 0;
}
.react-fl-scrollbar div {
height: 1px;
overflow:auto;
/* pointer-events:none; */
}
.react-fl-scrollbar div:before {
content: "\A0"
}
.react-fl-scrollbar-viewport {
position: relative
}
.react-fl-scrollbar-body {
overflow: auto
}
.react-fl-scrollbar-viewport .react-fl-scrollbar {
left: 0;
position: absolute
}
.react-fl-scrollbar-hoverable .react-fl-scrollbar {
opacity: 0;
transition: opacity .5s ease .3s
}
.react-fl-scrollbar-hoverable:hover .react-fl-scrollbar {
opacity: 1
}