summaryrefslogtreecommitdiff
path: root/deck.js/extensions/navigation/deck.navigation.scss
blob: 815602ffe504b3be2fcc4fbb010b4b9871f285a8 (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
@mixin border-radius($r) {
	-webkit-border-radius:$r;
	-moz-border-radius:$r;
	border-radius:$r;
}

.deck-container {
	.deck-prev-link, .deck-next-link {
		display:none;
		position:absolute;
		z-index:3;
		top:50%;
		width:32px;
		height:32px;
		margin-top:-16px;
		font-size:20px;
		font-weight:bold;
		line-height:32px;
		vertical-align:middle;
		text-align:center;
		text-decoration:none;
		color:#fff;
		background:#888;

		.borderradius & {
			@include border-radius(16px);
		}

		&:hover, &:focus, &:active, &:visited {
			color:#fff;
		}
	}

	.deck-prev-link {
		left:8px;
	}

	.deck-next-link {
		right:8px;
	}
	
	&:hover .deck-prev-link, &:hover .deck-next-link {
		display:block;

		&.deck-nav-disabled, .touch & {
			display:none;
		}
	}
}


@media print {
	.deck-prev-link, .deck-next-link {
		display:none !important;
	}
}