aboutsummaryrefslogtreecommitdiff
path: root/css/reveal.scss
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2017-01-19 12:16:30 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2017-01-19 12:16:30 +0100
commit20238ee1d6cfed6c84cf6d42d168ee4085360a38 (patch)
tree78155fa04f9d47673d62ffc330a72ec7b27f38e5 /css/reveal.scss
parent98de9327a75904dc3637f03805d81047cf649af5 (diff)
downloadfreenode-live-2017-presentation-20238ee1d6cfed6c84cf6d42d168ee4085360a38.tar
freenode-live-2017-presentation-20238ee1d6cfed6c84cf6d42d168ee4085360a38.tar.gz
make backgrounds (iframes) interactive when the foreground is empty
Diffstat (limited to 'css/reveal.scss')
-rw-r--r--css/reveal.scss9
1 files changed, 9 insertions, 0 deletions
diff --git a/css/reveal.scss b/css/reveal.scss
index 68ff56f..ce57358 100644
--- a/css/reveal.scss
+++ b/css/reveal.scss
@@ -388,6 +388,7 @@ body {
bottom: 0;
left: 0;
margin: auto;
+ pointer-events: none;
overflow: visible;
z-index: 1;
@@ -406,6 +407,7 @@ body {
position: absolute;
width: 100%;
padding: 20px 0px;
+ pointer-events: auto;
z-index: 10;
transform-style: flat;
@@ -443,6 +445,11 @@ body {
opacity: 1;
}
+.reveal .slides>section:empty,
+.reveal .slides>section>section:empty {
+ pointer-events: none;
+}
+
.reveal.center,
.reveal.center .slides,
.reveal.center .slides section {
@@ -866,6 +873,7 @@ body {
height: 100%;
opacity: 0;
visibility: hidden;
+ overflow: hidden;
background-color: rgba( 0, 0, 0, 0 );
background-position: 50% 50%;
@@ -882,6 +890,7 @@ body {
.reveal .slide-background.present {
opacity: 1;
visibility: visible;
+ z-index: 2;
}
.print-pdf .reveal .slide-background {