-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhost.styl
More file actions
70 lines (64 loc) · 1.54 KB
/
host.styl
File metadata and controls
70 lines (64 loc) · 1.54 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
65
66
67
68
69
70
@import 'nib'
@import 'constants'
DistanceFactor=1.04
iframe#_SHECODES_sidebar_container
transform-origin:100% 0%
top: 0px
left: 0px
z-index: 30000
position: fixed
width: SBWidth
height: 100%
background-color: white
border: none
@keyframes _SHECODES_flip {
0% {
animation-timing-function: ease-in
margin-left: 0px
background-position: 0% -30%;
}
25% {
animation-timing-function: ease-out
background-position: 0% 0%;
margin-left: SBWidth
}
75% {
animation-timing-function: ease-in
background-position: 0% -30%;
margin-left: DistanceFactor*SBWidth
}
100% {
animation-timing-function: ease-in-out
background-position: 0% -30%
margin-left: SBWidth
}
}
@keyframes _SHECODES_iframe {
0% {
animation-timing-function: ease-in
left: 0px
transform: rotateY(-90deg)
}
25% {
animation-timing-function: ease-out
left: 0px
transform: rotateY(-90deg)
}
75% {
animation-timing-function: ease-in
left: ( DistanceFactor - 1 )*SBWidth
transform: rotateY(0deg)
}
100% {
animation-timing-function: ease-in-out
left: 0px
transform: rotateY(0deg)
}
}
._SHECODES_pushed iframe#_SHECODES_sidebar_container
animation: _SHECODES_iframe Duration
animation-direction: alternate;
body._SHECODES_pushed
margin-left: SBWidth
animation: _SHECODES_flip Duration
animation-direction: alternate;