File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change
1
+ .antiscroll-wrap {
2
+ display : inline-block;
3
+ position : relative;
4
+ overflow : hidden;
5
+ }
6
+
7
+ .antiscroll-scrollbar {
8
+ background : gray;
9
+ background : rgba (0 , 0 , 0 , 0.5 );
10
+ -webkit-border-radius : 7px ;
11
+ -moz-border-radius : 7px ;
12
+ border-radius : 7px ;
13
+ -webkit-box-shadow : 0 0 1px # fff ;
14
+ -moz-box-shadow : 0 0 1px # fff ;
15
+ box-shadow : 0 0 1px # fff ;
16
+ position : absolute;
17
+ opacity : 0 ;
18
+ filter : progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
19
+ -webkit-transition : linear 300ms opacity;
20
+ -moz-transition : linear 300ms opacity;
21
+ -o-transition : linear 300ms opacity;
22
+ }
23
+
24
+ .antiscroll-scrollbar-shown {
25
+ opacity : 1 ;
26
+ filter : progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
27
+ }
28
+
29
+ .antiscroll-scrollbar-horizontal {
30
+ height : 7px ;
31
+ margin-left : 2px ;
32
+ bottom : 2px ;
33
+ left : 0 ;
34
+ }
35
+
36
+ .antiscroll-scrollbar-vertical {
37
+ width : 7px ;
38
+ margin-top : 2px ;
39
+ right : 2px ;
40
+ top : 0 ;
41
+ }
42
+
43
+ .antiscroll-inner {
44
+ overflow : scroll;
45
+ }
46
+
47
+ .antiscroll-inner ::-webkit-scrollbar , .antiscroll-inner ::scrollbar {
48
+ width : 0 ;
49
+ height : 0 ;
50
+ }
You can’t perform that action at this time.
0 commit comments