forked from slidfast/slidfast
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathslidfast.css
123 lines (104 loc) · 2.25 KB
/
slidfast.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
html {
height: 100%;
}
body {
margin: 0;
padding: 0;
height: 100%;
font: 80% / 1.5em "Lucida Sans Unicode", "Lucida Grande", Geneva, Verdana, Arial, sans-serif;
}
a {
text-decoration: none;
}
/*************************************************
Mobile Device Page Setup
*************************************************/
#browser {
position: relative;
width: 100%;
height: 100%;
}
#page-container {
position:absolute;
width:100%;
height: 100%;
overflow: hidden;
}
.page {
position: absolute;
width: 100%;
height: 100%;
/*top: 0;*/
background-color: #fff;
/*activate the GPU for compositing each page */
/*-webkit-transform: translate3d(0, 0, 0);*/
}
/*************************************************
UX Utils
*************************************************/
.none {
display: none
}
.hide-it {
opacity: 0;
}
.show {
opacity: 100;
}
.transition {
-moz-transition-duration: .5s;
-webkit-transition-duration: .5s;
-o-transition-duration: .5s;
transition-duration: .5s;
}
/*************************************************
Flip Transition
*************************************************/
#back,
#front {
position: absolute;
width: 100%;
height: 100%;
-webkit-backface-visibility: hidden;
-webkit-transition-duration: .5s;
-webkit-transform-style: preserve-3d;
-moz-backface-visibility: hidden;
-moz-transform-style: preserve-3d;
-moz-transition-duration: .5s;
-o-backface-visibility: hidden;
-o-transform-style: preserve-3d;
-o-transition-duration: .5s;
}
.normal {
-webkit-transform: rotateY(0deg);
-moz-transform: rotateY(0deg);
-o-transform: rotateY(0deg);
z-index: 1;
}
.flipped {
-webkit-user-select: element;
-webkit-transform: rotateY(180deg);
-moz-user-select: element;
-moz-transform: rotateY(180deg);
-o-user-select: element;
-o-transform: rotateY(180deg);
z-index: 0;
}
/*************************************************
Device Specific Styles
*************************************************/
.stage-center {
left: 0;
top:0;
}
.stage-left,
.stage-right{
height:100%;
overflow: hidden;
}
.stage-left {
left: -100%;
}
.stage-right {
left: 100%;
}