Sha256: afffc836465b700b1e3d46c143d8abf426cdc0eebe7df7329a5686383a76dd3c

Contents?: true

Size: 1.35 KB

Versions: 12

Compression:

Stored size: 1.35 KB

Contents

@mixin translate($x: 0, $y: 0, $z: 0) {
	-webkit-transform:translate3d($x, $y, $z);
	-moz-transform:translate($x, $y);
	-ms-transform:translate($x, $y);
	-o-transform:translate($x, $y);
	transform:translate3d($x, $y, $z);
}

@mixin transition($prop, $duration, $easing: ease-in-out, $delay: 0ms) {
	-webkit-transition:$prop $duration $easing $delay;
	-moz-transition:$prop $duration $easing $delay;
	-ms-transition:$prop $duration $easing $delay;
	-o-transition:$prop $duration $easing $delay;
	transition:$prop $duration $easing $delay;
}

.csstransitions.csstransforms {
	.deck-container .slide {
		@include transition(opacity, 500ms);
	}
	
	.deck-container:not(.deck-menu) {
		> .slide {
			position:absolute;
			top:0;
			left:0;
			-webkit-box-sizing: border-box;
			-moz-box-sizing: border-box;
			box-sizing: border-box;
			width:100%;
			padding:0 48px;
			
			.slide {
				position:relative;
				left:0;
				top:0;
			}
			
			.deck-next, .deck-after {
				opacity:0;
			}
			
			.deck-current {
				opacity:1;
			}
		}

		> .deck-previous, > .deck-before, > .deck-next, > .deck-after {
			opacity:0;
			pointer-events:none;
		}
		
		> .deck-before, > .deck-previous {
			.slide {
				visibility:visible;
			}
		}

		> .deck-child-current {
			opacity:1;
			visibility:visible;
			pointer-events:auto;
			
			.deck-next, .deck-after {
				visibility:hidden;
			}
		}
	}
}

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
deckrb-0.5.2 public/deck.js/themes/transition/fade.scss
deckrb-0.5.1 public/deck.js/themes/transition/fade.scss
zlide-0.0.1 vendor/stylesheets/deck/transition/fade.scss
deckrb-0.5.0 public/deck.js/themes/transition/fade.scss
deckrb-0.4.2 public/deck.js/themes/transition/fade.scss
deckrb-0.4.1 public/deck.js/themes/transition/fade.scss
deckr-0.1.0 lib/deckr/templates/deck/themes/transition/fade.scss
deckrb-0.4.0 public/deck.js/themes/transition/fade.scss
deckrb-0.3.1 public/deck.js/themes/transition/fade.scss
deckrb-0.3.0 public/deck.js/themes/transition/fade.scss
deckrb-0.2.2 public/deck.js/themes/transition/fade.scss
deckrb-0.2.1 public/deck.js/themes/transition/fade.scss