From 7c338a6866c7c1aa565a58c4e0cee6f45b8fdff5 Mon Sep 17 00:00:00 2001 From: Phyks Date: Sun, 13 Jul 2014 01:30:45 +0200 Subject: [PATCH] Added down arrow if needed, in bottom left corner --- css/theme/phyks.css | 12 ++++++++++++ css/theme/source/phyks.scss | 15 +++++++++++++++ index.html | 4 ++-- 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/css/theme/phyks.css b/css/theme/phyks.css index 6512bcd7..597cd192 100644 --- a/css/theme/phyks.css +++ b/css/theme/phyks.css @@ -306,3 +306,15 @@ body { #presentable-toc li li { font-style: italic; } + +.reveal .controls { + left: 10px; + right: auto; } + +.reveal div.navigate-right, .reveal div.navigate-left, .reveal div.navigate-up, .reveal div.navigate-down { + display: none; } + +.reveal div.navigate-down.enabled { + left: 21px !important; + top: 76px !important; + display: block; } diff --git a/css/theme/source/phyks.scss b/css/theme/source/phyks.scss index ba0a9746..510c8eab 100644 --- a/css/theme/source/phyks.scss +++ b/css/theme/source/phyks.scss @@ -249,3 +249,18 @@ $thColor: $headingColor; #presentable-toc li li { font-style: italic; } + +.reveal .controls { + left: 10px; + right: auto; +} + +.reveal div.navigate-right, .reveal div.navigate-left, .reveal div.navigate-up, .reveal div.navigate-down { + display: none; +} + +.reveal div.navigate-down.enabled { + left: 21px !important; + top: 76px !important; + display: block; +} diff --git a/index.html b/index.html index 6f0910a7..eb02d6a0 100644 --- a/index.html +++ b/index.html @@ -394,8 +394,8 @@ function linkify( selector ) { // Full list of configuration options available here: // https://github.com/hakimel/reveal.js#configuration Reveal.initialize({ - // No controls in bottom right corner - controls: false, + // Controls in bottom right corner => customized in css to only display down arrow if enabled, in the bottom left corner + controls: true, // Display status bar progress: true, // Display slide number