summaryrefslogtreecommitdiffhomepage
path: root/css/reveal.css
diff options
context:
space:
mode:
authorHakim El Hattab2013-08-20 09:04:31 -0400
committerHakim El Hattab2013-08-20 09:05:30 -0400
commitf56a10b9ff416ab91478f2aa4960c52355e5fdf9 (patch)
tree7bad7063f8bb7025b4075ef29580a062ae56b524 /css/reveal.css
parentd3ac8e23431b370ea923c85aea143739c9962747 (diff)
disable interaction on future/past slides
Diffstat (limited to 'css/reveal.css')
-rw-r--r--css/reveal.css13
1 files changed, 13 insertions, 0 deletions
diff --git a/css/reveal.css b/css/reveal.css
index a5a0612..6a27da6 100644
--- a/css/reveal.css
+++ b/css/reveal.css
@@ -606,6 +606,19 @@ body {
min-height: auto !important;
}
+/* Don't allow interaction with invisible slides */
+.reveal .slides>section.future,
+.reveal .slides>section>section.future,
+.reveal .slides>section.past,
+.reveal .slides>section>section.past {
+ pointer-events: none;
+}
+
+.reveal.overview .slides>section,
+.reveal.overview .slides>section>section {
+ pointer-events: auto;
+}
+
/*********************************************