From 21554157677db983459850493c6075b29beae29f Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Tue, 28 Jun 2016 12:23:40 +0200 Subject: more flexible back arrow controls option --- css/reveal.css | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'css/reveal.css') diff --git a/css/reveal.css b/css/reveal.css index 6f35fa6..526006b 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -267,12 +267,16 @@ body { left: 50%; -webkit-transform: translateX(-50%) rotate(-90deg); transform: translateX(-50%) rotate(-90deg); } - .reveal .controls.deemphasize-back-arrows .navigate-left.enabled, - .reveal .controls.deemphasize-back-arrows .navigate-up.enabled { + .reveal .controls[data-controls-back-arrows="deemphasized"] .navigate-left.enabled, + .reveal .controls[data-controls-back-arrows="deemphasized"] .navigate-up.enabled { opacity: 0.3; } - .reveal .controls.deemphasize-back-arrows .navigate-left.enabled:hover, - .reveal .controls.deemphasize-back-arrows .navigate-up.enabled:hover { + .reveal .controls[data-controls-back-arrows="deemphasized"] .navigate-left.enabled:hover, + .reveal .controls[data-controls-back-arrows="deemphasized"] .navigate-up.enabled:hover { opacity: 1; } + .reveal .controls[data-controls-back-arrows="hidden"] .navigate-left.enabled, + .reveal .controls[data-controls-back-arrows="hidden"] .navigate-up.enabled { + opacity: 0; + visibility: hidden; } .reveal .controls .enabled { visibility: visible; opacity: 0.7; -- cgit v1.2.3