aboutsummaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2018-07-02 11:08:45 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2018-07-02 11:08:45 +0200
commitb9bb353a11bb7bcd1f79a40a80e0d5dfcca05591 (patch)
tree4adab8ecbbce1db6a785700503d142dbad04c735 /css
parentfd95c8c266b775227762db62c0cbed3c05955525 (diff)
downloadperl-software-in-gnu-guix-b9bb353a11bb7bcd1f79a40a80e0d5dfcca05591.tar
perl-software-in-gnu-guix-b9bb353a11bb7bcd1f79a40a80e0d5dfcca05591.tar.gz
add 'resume presentation' button to pause overlay
Diffstat (limited to 'css')
-rw-r--r--css/reveal.css15
-rw-r--r--css/reveal.scss19
2 files changed, 34 insertions, 0 deletions
diff --git a/css/reveal.css b/css/reveal.css
index 9f2089e..eda311e 100644
--- a/css/reveal.css
+++ b/css/reveal.css
@@ -964,6 +964,21 @@ body {
z-index: 100;
transition: all 1s ease; }
+.reveal .pause-overlay .resume-button {
+ position: absolute;
+ bottom: 20px;
+ right: 20px;
+ color: #ccc;
+ border-radius: 2px;
+ padding: 6px 14px;
+ border: 2px solid #ccc;
+ font-size: 16px;
+ background: transparent;
+ cursor: pointer; }
+ .reveal .pause-overlay .resume-button:hover {
+ color: #fff;
+ border-color: #fff; }
+
.reveal.paused .pause-overlay {
visibility: visible;
opacity: 1; }
diff --git a/css/reveal.scss b/css/reveal.scss
index 1fff346..e6608d4 100644
--- a/css/reveal.scss
+++ b/css/reveal.scss
@@ -1034,6 +1034,25 @@ $controlsArrowAngleActive: 36deg;
z-index: 100;
transition: all 1s ease;
}
+
+.reveal .pause-overlay .resume-button {
+ position: absolute;
+ bottom: 20px;
+ right: 20px;
+ color: #ccc;
+ border-radius: 2px;
+ padding: 6px 14px;
+ border: 2px solid #ccc;
+ font-size: 16px;
+ background: transparent;
+ cursor: pointer;
+
+ &:hover {
+ color: #fff;
+ border-color: #fff;
+ }
+}
+
.reveal.paused .pause-overlay {
visibility: visible;
opacity: 1;