aboutsummaryrefslogtreecommitdiff
path: root/css/reveal.scss
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2015-01-27 19:27:55 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2015-01-27 19:27:55 +0100
commitc8569e2d9ff675b806e5d5bf94ba1a07d121e74b (patch)
treeaaf58f282a8d3499c700450f509a2b256074ada3 /css/reveal.scss
parente29c706533c227682cfde1ac0b187e90738b9bbc (diff)
downloadfreenode-live-2017-presentation-c8569e2d9ff675b806e5d5bf94ba1a07d121e74b.tar
freenode-live-2017-presentation-c8569e2d9ff675b806e5d5bf94ba1a07d121e74b.tar.gz
cross browser adjustments for overview mode
Diffstat (limited to 'css/reveal.scss')
-rw-r--r--css/reveal.scss133
1 files changed, 70 insertions, 63 deletions
diff --git a/css/reveal.scss b/css/reveal.scss
index b3f3bdc..70fe2c1 100644
--- a/css/reveal.scss
+++ b/css/reveal.scss
@@ -740,69 +740,6 @@ body {
/*********************************************
- * OVERVIEW
- *********************************************/
-
-.reveal.overview {
- perspective-origin: 50% 50%;
- perspective: 700px;
-}
-.reveal.overview .slides section {
- height: 700px;
- overflow: hidden;
- opacity: 1 !important;
- visibility: visible !important;
- cursor: pointer;
- box-sizing: border-box;
- outline: 10px solid rgba(150,150,150,0.1);
- outline-offset: 10px;
-}
-.reveal.overview .slides section,
-.reveal.overview-deactivating .slides section {
- transition: none;
-}
-.reveal.overview .slides section .fragment {
- opacity: 1;
-}
-.reveal.overview .slides section:after,
-.reveal.overview .slides section:before {
- display: none !important;
-}
-.reveal.overview .slides section>section {
- opacity: 1;
- cursor: pointer;
-}
- .reveal.overview .slides section:hover,
- .reveal.overview .slides section.present {
- outline: 10px solid rgba(150,150,150,0.5);
- }
-.reveal.overview .slides>section.stack {
- padding: 0;
- top: 0 !important;
- background: none;
- outline: none;
- overflow: visible;
-}
-
-.reveal.overview .backgrounds {
- perspective: inherit;
-}
-.reveal.overview .backgrounds .slide-background {
- opacity: 1;
- visibility: visible;
-}
-.reveal.overview .backgrounds .slide-background,
-.reveal.overview-deactivating .backgrounds .slide-background {
- transition: none;
-}
-
-.reveal.overview-animated .slides,
-.reveal.overview-animated .slides section {
- transition: transform 0.4s ease;
-}
-
-
-/*********************************************
* PAUSED MODE
*********************************************/
@@ -1043,6 +980,76 @@ body {
/*********************************************
+ * OVERVIEW
+ *********************************************/
+
+.reveal.overview {
+ perspective-origin: 50% 50%;
+ perspective: 700px;
+
+ .slides section {
+ height: 700px;
+ opacity: 1 !important;
+ overflow: hidden;
+ visibility: visible !important;
+ cursor: pointer;
+ box-sizing: border-box;
+ }
+ .slides section:hover,
+ .slides section.present {
+ outline: 10px solid rgba(150,150,150,0.4);
+ outline-offset: 10px;
+ }
+ .slides section .fragment {
+ opacity: 1;
+ transition: none;
+ }
+ .slides section:after,
+ .slides section:before {
+ display: none !important;
+ }
+ .slides>section.stack {
+ padding: 0;
+ top: 0 !important;
+ background: none;
+ outline: none;
+ overflow: visible;
+ }
+
+ .backgrounds {
+ perspective: inherit;
+ }
+
+ .backgrounds .slide-background {
+ opacity: 1;
+ visibility: visible;
+
+ // This can't be applied to the slide itself in Safari
+ outline: 10px solid rgba(150,150,150,0.1);
+ outline-offset: 10px;
+ }
+}
+
+// Disable transitions transitions while we're activating
+// or deactivating the overview mode.
+.reveal.overview .slides section,
+.reveal.overview-deactivating .slides section {
+ transition: none;
+}
+
+.reveal.overview .backgrounds .slide-background,
+.reveal.overview-deactivating .backgrounds .slide-background {
+ transition: none;
+}
+
+.reveal.overview-animated .slides,
+.reveal.overview-animated .slides section,
+.reveal.overview-animated .backgrounds .slide-background {
+ transition: transform 0.4s ease;
+}
+
+
+/*********************************************
* RTL SUPPORT
*********************************************/