1
0
Fork 0
forked from campiaperti/infra

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
*********************************************/
.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;
transition-timing-function: ease; }
@ -647,7 +647,7 @@ body {
/*********************************************
* 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;
-ms-transform: none;
transform: none;

View file

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