| 1 |
/** |
| 2 |
* 1. Fullscreen styles |
| 3 |
*/ |
| 4 |
html.presentation-wrapper-fullscreen-parent, |
| 5 |
body.presentation-wrapper-fullscreen-parent { |
| 6 |
overflow: hidden !important; |
| 7 |
} |
| 8 |
|
| 9 |
.presentation-wrapper-fullscreen-parent #wpadminbar { |
| 10 |
display: none; |
| 11 |
} |
| 12 |
|
| 13 |
.presentation-wrapper-fullscreen, |
| 14 |
.presentation-wrapper-fullscreen-parent { |
| 15 |
min-width: 100% !important; |
| 16 |
min-height: 100% !important; |
| 17 |
position: absolute !important; |
| 18 |
top: 0 !important; |
| 19 |
right: 0 !important; |
| 20 |
bottom: 0 !important; |
| 21 |
left: 0 !important; |
| 22 |
margin: 0 !important; |
| 23 |
padding: 0 !important; |
| 24 |
z-index: 10000 !important; |
| 25 |
} |
| 26 |
|
| 27 |
.presentation-wrapper-fullscreen { |
| 28 |
background-color: #808080; |
| 29 |
border: none !important; |
| 30 |
} |
| 31 |
|
| 32 |
.presentation-wrapper-fullscreen .nav-arrow-left, |
| 33 |
.presentation-wrapper-fullscreen .nav-arrow-right { |
| 34 |
z-index: 20001; |
| 35 |
} |
| 36 |
|
| 37 |
.presentation-wrapper-fullscreen .nav-fullscreen-button { |
| 38 |
z-index: 20002; |
| 39 |
} |
| 40 |
|
| 41 |
|
| 42 |
/** |
| 43 |
* 2. General presentation styles |
| 44 |
*/ |
| 45 |
.presentation-wrapper { |
| 46 |
margin: 20px auto; |
| 47 |
border: 1px solid #dcdcde; |
| 48 |
overflow: hidden; |
| 49 |
line-height: normal; |
| 50 |
} |
| 51 |
|
| 52 |
.presentation { |
| 53 |
position: relative; |
| 54 |
margin: 0; |
| 55 |
overflow: hidden; |
| 56 |
outline: none; |
| 57 |
} |
| 58 |
|
| 59 |
/** |
| 60 |
* jmpress requires that step sizes are explicitly defined |
| 61 |
* as it inserts sizeless divs before the steps. These |
| 62 |
* dimensions are set by the js code on initialization |
| 63 |
*/ |
| 64 |
.presentation, |
| 65 |
.presentation .step { |
| 66 |
background-repeat: no-repeat; |
| 67 |
background-position: center; |
| 68 |
background-size: 100% 100%; |
| 69 |
} |
| 70 |
|
| 71 |
/** |
| 72 |
* Opacity transition durations are set by the js code |
| 73 |
* so they match the presentation animation durations |
| 74 |
*/ |
| 75 |
.presentation .step.fade:not(.active) { |
| 76 |
opacity: 0; |
| 77 |
} |
| 78 |
|
| 79 |
.presentation .slide-content { |
| 80 |
padding: 30px; |
| 81 |
} |
| 82 |
|
| 83 |
|
| 84 |
/** |
| 85 |
* 3. Styles for the navigation arrows |
| 86 |
*/ |
| 87 |
.presentation .nav-arrow-left, |
| 88 |
.presentation .nav-arrow-right, |
| 89 |
.presentation .nav-fullscreen-button { |
| 90 |
position: absolute; |
| 91 |
width: 34px; |
| 92 |
background-repeat: no-repeat; |
| 93 |
z-index: 2; |
| 94 |
opacity: 0; |
| 95 |
|
| 96 |
-webkit-transition : opacity .25s; |
| 97 |
-moz-transition : opacity .25s; |
| 98 |
-ms-transition : opacity .25s; |
| 99 |
-o-transition : opacity .25s; |
| 100 |
transition : opacity .25s; |
| 101 |
} |
| 102 |
|
| 103 |
.presentation .nav-arrow-left, |
| 104 |
.presentation .nav-arrow-right { |
| 105 |
height: 100%; |
| 106 |
background-image: url(../images/slide-nav.png); |
| 107 |
background-size: 450% 61px; |
| 108 |
} |
| 109 |
|
| 110 |
.presentation .nav-arrow-left { |
| 111 |
left: 0; |
| 112 |
background-position: 4px 50%; |
| 113 |
} |
| 114 |
|
| 115 |
.presentation .nav-arrow-right { |
| 116 |
right: 0; |
| 117 |
background-position: -120px 50%; |
| 118 |
} |
| 119 |
|
| 120 |
.presentation .nav-fullscreen-button { |
| 121 |
width: 32px; |
| 122 |
height: 32px; |
| 123 |
margin: 4px; |
| 124 |
bottom: 0; |
| 125 |
right: 0; |
| 126 |
z-index: 3; |
| 127 |
background-image: url(../images/expand.png); |
| 128 |
background-size: 100% 100%; |
| 129 |
} |
| 130 |
|
| 131 |
.presentation:hover .nav-arrow-left, |
| 132 |
.presentation:hover .nav-arrow-right { |
| 133 |
opacity: 1; |
| 134 |
} |
| 135 |
|
| 136 |
.presentation:hover .nav-fullscreen-button { |
| 137 |
opacity: 0.8; |
| 138 |
} |
| 139 |
|
| 140 |
.presentation-wrapper-fullscreen .nav-fullscreen-button { |
| 141 |
background-image: url(../images/collapse.png); |
| 142 |
} |
| 143 |
|
| 144 |
/** |
| 145 |
* 4. Styles for the autoplay overlay |
| 146 |
*/ |
| 147 |
.presentation .autoplay-overlay { |
| 148 |
height: 15%; |
| 149 |
width: 80%; |
| 150 |
margin: 30% 10%; |
| 151 |
position: relative; |
| 152 |
z-index: 100; |
| 153 |
display: table; |
| 154 |
border-radius: 50px; |
| 155 |
background-color: #dcdcde; |
| 156 |
background-color: rgba(0, 0, 0, 0.75); |
| 157 |
|
| 158 |
-webkit-transition : opacity .5s; |
| 159 |
-moz-transition : opacity .5s; |
| 160 |
-ms-transition : opacity .5s; |
| 161 |
-o-transition : opacity .5s; |
| 162 |
transition : opacity .5s; |
| 163 |
} |
| 164 |
|
| 165 |
.presentation .autoplay-overlay .overlay-msg { |
| 166 |
position: relative; |
| 167 |
display: table-cell; |
| 168 |
text-align: center; |
| 169 |
vertical-align: middle; |
| 170 |
color: #fff; |
| 171 |
} |
| 172 |
|
| 173 |
/** |
| 174 |
* 5. Styles for fading steps |
| 175 |
*/ |
| 176 |
.presentation .will-fade { |
| 177 |
opacity: 0; |
| 178 |
} |
| 179 |
|
| 180 |
.presentation .do-fade { |
| 181 |
opacity: 1; |
| 182 |
|
| 183 |
-webkit-transition : opacity .5s; |
| 184 |
-moz-transition : opacity .5s; |
| 185 |
-ms-transition : opacity .5s; |
| 186 |
-o-transition : opacity .5s; |
| 187 |
transition : opacity .5s; |
| 188 |
} |
| 189 |
|