1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-20 13:31:55 +02:00

fragments inherit visibility to avoid conflicts with parent slide visibility

This commit is contained in:
Hakim El Hattab
2016-12-15 14:06:17 +01:00
parent f2bd9d2970
commit 97bb6e9b58
2 changed files with 18 additions and 18 deletions

View File

@@ -69,13 +69,13 @@ body {
&.visible {
opacity: 1;
visibility: visible;
visibility: inherit;
}
}
.reveal .slides section .fragment.grow {
opacity: 1;
visibility: visible;
visibility: inherit;
&.visible {
transform: scale( 1.3 );
@@ -84,7 +84,7 @@ body {
.reveal .slides section .fragment.shrink {
opacity: 1;
visibility: visible;
visibility: inherit;
&.visible {
transform: scale( 0.7 );
@@ -101,7 +101,7 @@ body {
.reveal .slides section .fragment.fade-out {
opacity: 1;
visibility: visible;
visibility: inherit;
&.visible {
opacity: 0;
@@ -111,17 +111,17 @@ body {
.reveal .slides section .fragment.semi-fade-out {
opacity: 1;
visibility: visible;
visibility: inherit;
&.visible {
opacity: 0.5;
visibility: visible;
visibility: inherit;
}
}
.reveal .slides section .fragment.strike {
opacity: 1;
visibility: visible;
visibility: inherit;
&.visible {
text-decoration: line-through;
@@ -166,7 +166,7 @@ body {
&.current-fragment {
opacity: 1;
visibility: visible;
visibility: inherit;
}
}
@@ -177,7 +177,7 @@ body {
.reveal .slides section .fragment.highlight-blue,
.reveal .slides section .fragment.highlight-current-blue {
opacity: 1;
visibility: visible;
visibility: inherit;
}
.reveal .slides section .fragment.highlight-red.visible {
color: #ff2c2d