-
Notifications
You must be signed in to change notification settings - Fork 2
/
pie_chart.scss
43 lines (34 loc) · 1001 Bytes
/
pie_chart.scss
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
// ----------------------------------------------------------------------------
// Sass declarations
// ----------------------------------------------------------------------------
$background-color: #303030;
$title-color: rgba(255, 255, 255, 0.7);
$moreinfo-color: rgba(255, 255, 255, 0.7);
$updateat-color: rgba(255, 255, 255, 1);
// If you want the title at the top, set the position to 'top'
$title-position: top;
// ----------------------------------------------------------------------------
// Widget-pie-chart styles
// ----------------------------------------------------------------------------
.widget-pie-chart {
background-color: $background-color;
.title {
@if $title-position == 'top' {
left: 0;
right: 0;
top: 10px;
position: absolute;
}
@else {
position: relative;
}
z-index: 1;
color: $title-color;
}
.more-info {
color: $moreinfo-color;
}
.updated-at {
color: $updateat-color;
}
}