diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2018-06-11 10:59:31 +0200 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2018-06-11 10:59:31 +0200 |
commit | 4bea8e17e8a6dd1580286aa3b0b927e0aebae75b (patch) | |
tree | 391cd030e2d03c2e871282b7b370ff428d134da8 /css | |
parent | 4672801229e58cb85f10309c43827050e23649ed (diff) | |
download | perl-software-in-gnu-guix-4bea8e17e8a6dd1580286aa3b0b927e0aebae75b.tar perl-software-in-gnu-guix-4bea8e17e8a6dd1580286aa3b0b927e0aebae75b.tar.gz |
add 'fade-in-then-half-out' fragment style, 'current-visible' was renamed to 'fade-in-then-out'
Diffstat (limited to 'css')
-rw-r--r-- | css/reveal.css | 12 | ||||
-rw-r--r-- | css/reveal.scss | 16 |
2 files changed, 28 insertions, 0 deletions
diff --git a/css/reveal.css b/css/reveal.css index ac095f4..04b704d 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -127,13 +127,25 @@ body { -webkit-transform: translate(0, 0); transform: translate(0, 0); } +.reveal .slides section .fragment.fade-in-then-out, .reveal .slides section .fragment.current-visible { opacity: 0; visibility: hidden; } + .reveal .slides section .fragment.fade-in-then-out.current-fragment, .reveal .slides section .fragment.current-visible.current-fragment { opacity: 1; visibility: inherit; } +.reveal .slides section .fragment.fade-in-then-half-out { + opacity: 0; + visibility: hidden; } + .reveal .slides section .fragment.fade-in-then-half-out.visible { + opacity: 0.5; + visibility: inherit; } + .reveal .slides section .fragment.fade-in-then-half-out.current-fragment { + opacity: 1; + visibility: inherit; } + .reveal .slides section .fragment.highlight-red, .reveal .slides section .fragment.highlight-current-red, .reveal .slides section .fragment.highlight-green, diff --git a/css/reveal.scss b/css/reveal.scss index efb4114..7e2701b 100644 --- a/css/reveal.scss +++ b/css/reveal.scss @@ -160,6 +160,7 @@ body { } } +.reveal .slides section .fragment.fade-in-then-out, .reveal .slides section .fragment.current-visible { opacity: 0; visibility: hidden; @@ -170,6 +171,21 @@ body { } } +.reveal .slides section .fragment.fade-in-then-half-out { + opacity: 0; + visibility: hidden; + + &.visible { + opacity: 0.5; + visibility: inherit; + } + + &.current-fragment { + opacity: 1; + visibility: inherit; + } +} + .reveal .slides section .fragment.highlight-red, .reveal .slides section .fragment.highlight-current-red, .reveal .slides section .fragment.highlight-green, |