summaryrefslogtreecommitdiff
path: root/deck.js/extensions/menu/deck.menu.scss
blob: 0bd576d753891032bd142144d897f67a1a68e4ac (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
.deck-menu {
	.slide {
		background:#eee;
		position:relative;
		left:0;
		top:0;
		visibility:visible;
		cursor:pointer;
	}
	
	> .slide {
		.no-csstransforms & {
			float:left;
			width:22%;
			height:22%;
			min-height:0;
			margin:1%;
			font-size:0.22em;
			overflow:hidden;
			padding:0 0.5%;
		}
		
		.csstransforms & {
			-webkit-transform:scale(.22) !important;
			-moz-transform:scale(.22) !important;
			-o-transform:scale(.22) !important;
			-ms-transform:scale(.22) !important;
			transform:scale(.22) !important;
			-webkit-transform-origin:0 0;
			-moz-transform-origin:0 0;
			-o-transform-origin:0 0;
			-ms-transform-origin:0 0;
			transform-origin:0 0;
			-webkit-box-sizing: border-box;
			-moz-box-sizing: border-box;
			box-sizing: border-box;
			width:100%;
			height:100%;
			overflow:hidden;
			padding:0 48px;
			margin:12px;
		}
	}
	
	iframe, img, video {
		max-width:100%;
	}
	
	.deck-current, .no-touch & .slide:hover {
		background:#ddf;
	}
	
	&.deck-container:hover {
		.deck-prev-link, .deck-next-link {
			display:none;
		}
	}
}