-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsgdrawer.css
69 lines (61 loc) · 1.31 KB
/
sgdrawer.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
67
68
69
.drawer {
position: fixed;
top: 0;
background-color: #ccc;
overflow-x: hidden;
overflow-y: auto;
-webkit-transform: translate3d(0,0,0);
-moz-transform: translate3d(0,0,0);
-ms-transform: translate3d(0,0,0);
-o-transform: translate3d(0,0,0);
transform: translate3d(0,0,0);
-webkit-box-shadow: 0 0 20px #000000;
-moz-box-shadow: 0 0 20px #000000;
box-shadow: 0 0 20px #000000;
}
.sg-drawer-wrapper {
}
.drawer-left {
left: 0;
}
.drawer-right {
right: 0;
}
.drawer-handle {
position: fixed;
background-color: transparent;
top: 0;
width: 15px;
}
#sg-drawer-mask {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
background-color: #000;
opacity: 0;
-webkit-transform: translate3d(0,0,0);
-moz-transform: translate3d(0,0,0);
-ms-transform: translate3d(0,0,0);
-o-transform: translate3d(0,0,0);
transform: translate3d(0,0,0);
-webkit-transition: all .3s ease-out;
-moz-transition: all .3s ease-out;
-ms-transition: all .3s ease-out;
-o-transition: all .3s ease-out;
transition: all .3s ease-out;
}
.slide {
width: 100%; height: 100%;
display: inline-block;
background-size: cover;
}
.animate {
-webkit-transition: all .3s ease-out;
-moz-transition: all .3s ease-out;
-ms-transition: all .3s ease-out;
-o-transition: all .3s ease-out;
transition: all .3s ease-out;
}