summaryrefslogtreecommitdiff
path: root/source/bower_components/foundation/scss/foundation/components/_toolbar.scss
blob: 00ad0c790f75291d9e0154f6bb171a17f35ca327 (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
59
60
61
62
63
64
65
66
67
68
69
70
// Foundation by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
// toolbar styles

.toolbar {
	background: $oil;
	width: 100%;
	font-size: 0;
	display: inline-block;

	&.label-bottom .tab .tab-content {
		i, img { margin-bottom: 10px; }
	}

	&.label-right .tab .tab-content {
		i, img { margin-right: 10px; display: inline-block;}
		label { display: inline-block; }
	}

	&.vertical.label-right .tab .tab-content {
		text-align: left;
	}

	&.vertical {
		height: 100%;
		width: auto;

		.tab {
			width: auto;
			margin: auto;
			float: none;
		}
	}
	
	.tab {
		text-align: center;
		width: 25%;
		margin: 0 auto;
		display: block;
		padding: 20px;
		float: left;

		&:hover {
			background: rgba($white, 0.1);
		}
	}
}		
		
.toolbar .tab-content {
	font-size: 16px;
	text-align: center;

	label { color: $iron; }

	i {
		font-size: 30px;
		display: block;
		margin: 0 auto;
		color: $iron;
		vertical-align: middle;
	}

	img {
		width: 30px;
		height: 30px;
		display: block;
		margin: 0 auto;
	}
}