style.css 3.6 KB

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