Skip to content

Commit

Permalink
Fix opacity 0 bug in nested slides for fade transition
Browse files Browse the repository at this point in the history
  • Loading branch information
imakewebthings committed Feb 11, 2012
1 parent 0e12e1d commit 227b6b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions themes/transition/fade.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
position: relative;
left: 0;
top: 0;
}
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .deck-next, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .deck-after {
opacity: 0;
}
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .deck-current {
Expand Down
3 changes: 3 additions & 0 deletions themes/transition/fade.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
position:relative;
left:0;
top:0;
}

.deck-next, .deck-after {
opacity:0;
}

Expand Down

0 comments on commit 227b6b7

Please sign in to comment.