summaryrefslogtreecommitdiff
path: root/assets/css/scss/elements/_pie-chart.scss
blob: 4a341fe36338bc29994d0984d612d2b81400192d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//
// Pie Chart styles //
//
.pie-chart {
	position: relative;
	display: inline-block;
}
.pie-chart-content {
	position: absolute;
	top: 50%;
	left: 0;
	@include transform(translateY(-50%));
	width: 100%;
	margin-top: -3px;
	padding: 0 20px;
	text-align: center;
}
.pie-chart-content .percent {
	&::after {
		content: '%';
	}
}