33 * http://lab.hakim.se/reveal-js
44 * MIT licensed
55 *
6- * Copyright (C) 2016 Hakim El Hattab, http://hakim.se
6+ * Copyright (C) 2017 Hakim El Hattab, http://hakim.se
77 */
88/*********************************************
99 * RESET STYLES
@@ -323,6 +323,7 @@ body {
323323 bottom : 0 ;
324324 left : 0 ;
325325 margin : auto;
326+ pointer-events : none;
326327 overflow : visible;
327328 z-index : 1 ;
328329 text-align : center;
@@ -340,6 +341,7 @@ body {
340341 position : absolute;
341342 width : 100% ;
342343 padding : 20px 0px ;
344+ pointer-events : auto;
343345 z-index : 10 ;
344346 -webkit-transform-style : flat;
345347 transform-style : flat;
@@ -374,6 +376,12 @@ body {
374376 z-index : 11 ;
375377 opacity : 1 ; }
376378
379+ .reveal .slides > section : empty ,
380+ .reveal .slides > section > section : empty ,
381+ .reveal .slides > section [data-background-interactive ],
382+ .reveal .slides > section > section [data-background-interactive ] {
383+ pointer-events : none; }
384+
377385.reveal .center ,
378386.reveal .center .slides ,
379387.reveal .center .slides section {
@@ -589,6 +597,10 @@ body {
589597
590598/*********************************************
591599 * CUBE TRANSITION
600+ *
601+ * WARNING:
602+ * this is deprecated and will be removed in a
603+ * future version.
592604 *********************************************/
593605.reveal .cube .slides {
594606 -webkit-perspective : 1300px ;
@@ -664,6 +676,10 @@ body {
664676
665677/*********************************************
666678 * PAGE TRANSITION
679+ *
680+ * WARNING:
681+ * this is deprecated and will be removed in a
682+ * future version.
667683 *********************************************/
668684.reveal .page .slides {
669685 -webkit-perspective-origin : 0% 50% ;
@@ -839,6 +855,7 @@ body {
839855 height : 100% ;
840856 opacity : 0 ;
841857 visibility : hidden;
858+ overflow : hidden;
842859 background-color : transparent;
843860 background-position : 50% 50% ;
844861 background-repeat : no-repeat;
@@ -851,7 +868,8 @@ body {
851868
852869.reveal .slide-background .present {
853870 opacity : 1 ;
854- visibility : visible; }
871+ visibility : visible;
872+ z-index : 2 ; }
855873
856874.print-pdf .reveal .slide-background {
857875 opacity : 1 !important ;
@@ -865,7 +883,13 @@ body {
865883 max-width : none;
866884 max-height : none;
867885 top : 0 ;
868- left : 0 ; }
886+ left : 0 ;
887+ -o-object-fit : cover;
888+ object-fit : cover; }
889+
890+ .reveal .slide-background [data-background-size = "contain" ] video {
891+ -o-object-fit : contain;
892+ object-fit : contain; }
869893
870894/* Immediate transition style */
871895.reveal [data-background-transition = none ] > .backgrounds .slide-background ,
@@ -1037,6 +1061,8 @@ body {
10371061 visibility : visible;
10381062 outline : 10px solid rgba (150 , 150 , 150 , 0.1 );
10391063 outline-offset : 10px ; }
1064+ .reveal .overview .backgrounds .slide-background .stack {
1065+ overflow : visible; }
10401066
10411067.reveal .overview .slides section ,
10421068.reveal .overview-deactivating .slides section {
@@ -1048,10 +1074,6 @@ body {
10481074 -webkit-transition : none;
10491075 transition : none; }
10501076
1051- .reveal .overview-animated .slides {
1052- -webkit-transition : -webkit-transform 0.4s ease;
1053- transition : transform 0.4s ease; }
1054-
10551077/*********************************************
10561078 * RTL SUPPORT
10571079 *********************************************/
0 commit comments