summaryrefslogtreecommitdiff
path: root/deck.js/extensions/scale/deck.scale.scss
blob: 2fa085165a5144a52e2eec8800674af7f4f19583 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* Remove this line if you are embedding deck.js in a page and
using the scale extension. */
.csstransforms {
	overflow:hidden;
}

.csstransforms .deck-container.deck-scale:not(.deck-menu) {
	> .slide {
		-webkit-box-sizing: padding-box;
		-moz-box-sizing: padding-box;
		box-sizing: padding-box;
		width:100%;
		padding-bottom:20px;
		
		> .deck-slide-scaler {
			-webkit-transform-origin: 50% 0;
			-moz-transform-origin: 50% 0;
			-o-transform-origin: 50% 0;
			-ms-transform-origin: 50% 0;
			transform-origin: 50% 0;
		}
	}
}

.csstransforms .deck-container.deck-menu .deck-slide-scaler {
	-webkit-transform:none !important;
	-moz-transform:none !important;
	-o-transform:none !important;
	-ms-transform:none !important;
	transform:none !important;
}