aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/less/components/icons.less
blob: 9530b601fc7bf6709a9d3ad0ea15834f46f5a7cb (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
// ==========================================================================
// Icons
// ==========================================================================

// Base size icon styles
.icon {
	fill: currentColor;
	width: @icon-size;
	height: @icon-size;
	vertical-align: -3px;
}

// Within elements
a svg,
button svg,
label svg {
	pointer-events: none;
}
a .icon,
.btn .icon {
	margin-right: (@padding-base / 2);
}
.btn:not(.btn-large) .icon {
	width: (@icon-size - 2);
	height: (@icon-size - 2);
}