aboutsummaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2020-02-18 20:23:37 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2020-02-18 20:23:37 +0100
commit4eca6253303efebc2473998dfc0e2b594a6afad2 (patch)
tree2de3bbacbd37fa6fe863904d1dccf85bcfd20f9f /css
parent4ff7fd3a712b4ecf60ff0d1da1006c2c853d8141 (diff)
downloadfosdem-2021-minimalism-presentation-4eca6253303efebc2473998dfc0e2b594a6afad2.tar
fosdem-2021-minimalism-presentation-4eca6253303efebc2473998dfc0e2b594a6afad2.tar.gz
remove need for dedicated data-auto-animate-unmatched attribute
Diffstat (limited to 'css')
-rw-r--r--css/reveal.css4
-rw-r--r--css/reveal.scss4
2 files changed, 4 insertions, 4 deletions
diff --git a/css/reveal.css b/css/reveal.css
index b1d4e75..2ca3c6b 100644
--- a/css/reveal.css
+++ b/css/reveal.css
@@ -1233,10 +1233,10 @@ body {
/*********************************************
* AUTO ANIMATE
*********************************************/
-.reveal section[data-auto-animate] [data-auto-animate-unmatched="fade-in"] {
+.reveal section[data-auto-animate] [data-auto-animate-target="unmatched"] {
opacity: 0; }
-.reveal section[data-auto-animate="running"] [data-auto-animate-unmatched="fade-in"] {
+.reveal section[data-auto-animate="running"] [data-auto-animate-target="unmatched"] {
opacity: 1; }
/*********************************************
diff --git a/css/reveal.scss b/css/reveal.scss
index e0dacce..101c6fb 100644
--- a/css/reveal.scss
+++ b/css/reveal.scss
@@ -1318,10 +1318,10 @@ $controlsArrowAngleActive: 36deg;
* AUTO ANIMATE
*********************************************/
-.reveal section[data-auto-animate] [data-auto-animate-unmatched="fade-in"] {
+.reveal section[data-auto-animate] [data-auto-animate-target="unmatched"] {
opacity: 0;
}
-.reveal section[data-auto-animate="running"] [data-auto-animate-unmatched="fade-in"] {
+.reveal section[data-auto-animate="running"] [data-auto-animate-target="unmatched"] {
opacity: 1;
}