blob: 3986e222a7cf77ddae0af2b6da783578475b7fb2 (
plain)
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
|
/**
* 1. Fullscreen styles
*/
html.presentation-wrapper-fullscreen-parent,
body.presentation-wrapper-fullscreen-parent {
overflow: hidden !important;
}
.presentation-wrapper-fullscreen-parent #wpadminbar {
display: none;
}
.presentation-wrapper-fullscreen,
.presentation-wrapper-fullscreen-parent {
min-width: 100% !important;
min-height: 100% !important;
position: absolute !important;
top: 0 !important;
right: 0 !important;
bottom: 0 !important;
left: 0 !important;
margin: 0 !important;
padding: 0 !important;
z-index: 10000 !important;
}
.presentation-wrapper-fullscreen {
background-color: #808080;
border: none !important;
}
.presentation-wrapper-fullscreen .nav-arrow-left,
.presentation-wrapper-fullscreen .nav-arrow-right {
z-index: 20001;
}
.presentation-wrapper-fullscreen .nav-fullscreen-button {
z-index: 20002;
}
/**
* 2. General presentation styles
*/
.presentation-wrapper {
margin: 20px auto;
border: 1px solid #dcdcde;
overflow: hidden;
line-height: normal;
}
.presentation {
position: relative;
margin: 0;
overflow: hidden;
outline: none;
}
/**
* jmpress requires that step sizes are explicitly defined
* as it inserts sizeless divs before the steps. These
* dimensions are set by the js code on initialization
*/
.presentation,
.presentation .step {
background-repeat: no-repeat;
background-position: center;
background-size: 100% 100%;
}
/**
* Opacity transition durations are set by the js code
* so they match the presentation animation durations
*/
.presentation .step.fade:not(.active) {
opacity: 0;
}
.presentation .slide-content {
padding: 30px;
}
/**
* 3. Styles for the navigation arrows
*/
.presentation .nav-arrow-left,
.presentation .nav-arrow-right,
.presentation .nav-fullscreen-button {
position: absolute;
width: 34px;
background-repeat: no-repeat;
z-index: 2;
opacity: 0;
-webkit-transition : opacity .25s;
-moz-transition : opacity .25s;
-ms-transition : opacity .25s;
-o-transition : opacity .25s;
transition : opacity .25s;
}
.presentation .nav-arrow-left,
.presentation .nav-arrow-right {
height: 100%;
background-image: url(../images/slide-nav.png);
background-size: 450% 61px;
}
.presentation .nav-arrow-left {
left: 0;
background-position: 4px 50%;
}
.presentation .nav-arrow-right {
right: 0;
background-position: -120px 50%;
}
.presentation .nav-fullscreen-button {
width: 32px;
height: 32px;
margin: 4px;
bottom: 0;
right: 0;
z-index: 3;
background-image: url(../images/expand.png);
background-size: 100% 100%;
}
.presentation:hover .nav-arrow-left,
.presentation:hover .nav-arrow-right {
opacity: 1;
}
.presentation:hover .nav-fullscreen-button {
opacity: 0.8;
}
.presentation-wrapper-fullscreen .nav-fullscreen-button {
background-image: url(../images/collapse.png);
}
/**
* 4. Styles for the autoplay overlay
*/
.presentation .autoplay-overlay {
height: 15%;
width: 80%;
margin: 30% 10%;
position: relative;
z-index: 100;
display: table;
border-radius: 50px;
background-color: #dcdcde;
background-color: rgba(0, 0, 0, 0.75);
-webkit-transition : opacity .5s;
-moz-transition : opacity .5s;
-ms-transition : opacity .5s;
-o-transition : opacity .5s;
transition : opacity .5s;
}
.presentation .autoplay-overlay .overlay-msg {
position: relative;
display: table-cell;
text-align: center;
vertical-align: middle;
color: #fff;
}
/**
* 5. Styles for fading steps
*/
.presentation .will-fade {
opacity: 0;
}
.presentation .do-fade {
opacity: 1;
-webkit-transition : opacity .5s;
-moz-transition : opacity .5s;
-ms-transition : opacity .5s;
-o-transition : opacity .5s;
transition : opacity .5s;
}
|