fix issue where 'none' transition did not apply to vertical stacks

This commit is contained in:
Hakim El Hattab 2015-08-31 10:55:02 +02:00
parent b3b8738238
commit 044e87017d
2 changed files with 4 additions and 4 deletions

View File

@ -450,7 +450,7 @@ body {
/********************************************* /*********************************************
* ZOOM TRANSITION * ZOOM TRANSITION
*********************************************/ *********************************************/
.reveal .slides > section[data-transition=zoom], .reveal.zoom .slides > section:not([data-transition]) { .reveal .slides section[data-transition=zoom], .reveal.zoom .slides section:not([data-transition]) {
-webkit-transition-timing-function: ease; -webkit-transition-timing-function: ease;
transition-timing-function: ease; } transition-timing-function: ease; }
@ -647,7 +647,7 @@ body {
/********************************************* /*********************************************
* NO TRANSITION * NO TRANSITION
*********************************************/ *********************************************/
.reveal .slides > section[data-transition=none], .reveal.none .slides > section:not([data-transition]) { .reveal .slides section[data-transition=none], .reveal.none .slides section:not([data-transition]) {
-webkit-transform: none; -webkit-transform: none;
-ms-transform: none; -ms-transform: none;
transform: none; transform: none;

View File

@ -434,8 +434,8 @@ body {
*********************************************/ *********************************************/
@mixin transition-global($style) { @mixin transition-global($style) {
.reveal .slides>section[data-transition=#{$style}], .reveal .slides section[data-transition=#{$style}],
.reveal.#{$style} .slides>section:not([data-transition]) { .reveal.#{$style} .slides section:not([data-transition]) {
@content; @content;
} }
} }