diff options
author | Hakim El Hattab | 2015-07-07 11:33:56 +0200 |
---|---|---|
committer | Hakim El Hattab | 2015-07-07 11:33:56 +0200 |
commit | d3b2ed9462606d81a1d2652ac2db075cbbc47028 (patch) | |
tree | c27a6f99e9b6fadbc97f281505ca4fe25b26f8a2 /css/reveal.css | |
parent | d88f59cbafaa5fbdb4379f00cde7848dc259f68d (diff) | |
parent | 242f2d6c964111dc3d9a3dd958f80537a6223f13 (diff) |
Merge branch 'controls-buttons-a11y' of https://github.com/marcysutton/reveal.js into dev
Diffstat (limited to 'css/reveal.css')
-rw-r--r-- | css/reveal.css | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/css/reveal.css b/css/reveal.css index 258e975..a83c155 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -156,58 +156,61 @@ body { bottom: 10px; -webkit-user-select: none; } -.reveal .controls div { +.reveal .controls button { + padding: 0; position: absolute; opacity: 0.05; width: 0; height: 0; + background-color: transparent; border: 12px solid transparent; -webkit-transform: scale(0.9999); -ms-transform: scale(0.9999); transform: scale(0.9999); -webkit-transition: all 0.2s ease; transition: all 0.2s ease; + -webkit-appearance: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } -.reveal .controls div.enabled { +.reveal .controls button.enabled { opacity: 0.7; cursor: pointer; } -.reveal .controls div.enabled:active { +.reveal .controls button.enabled:active { margin-top: 1px; } -.reveal .controls div.navigate-left { +.reveal .controls button.navigate-left { top: 42px; border-right-width: 22px; border-right-color: #000; } -.reveal .controls div.navigate-left.fragmented { +.reveal .controls button.navigate-left.fragmented { opacity: 0.3; } -.reveal .controls div.navigate-right { +.reveal .controls button.navigate-right { left: 74px; top: 42px; border-left-width: 22px; border-left-color: #000; } -.reveal .controls div.navigate-right.fragmented { +.reveal .controls button.navigate-right.fragmented { opacity: 0.3; } -.reveal .controls div.navigate-up { +.reveal .controls button.navigate-up { left: 42px; border-bottom-width: 22px; border-bottom-color: #000; } -.reveal .controls div.navigate-up.fragmented { +.reveal .controls button.navigate-up.fragmented { opacity: 0.3; } -.reveal .controls div.navigate-down { +.reveal .controls button.navigate-down { left: 42px; top: 74px; border-top-width: 22px; border-top-color: #000; } -.reveal .controls div.navigate-down.fragmented { +.reveal .controls button.navigate-down.fragmented { opacity: 0.3; } /********************************************* |