-
Notifications
You must be signed in to change notification settings - Fork 73
/
_charts.scss
106 lines (92 loc) · 2.13 KB
/
_charts.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
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
@import 'provider/typography'; // needed for legacy dev portals that include this stylesheet directly
#mini-charts .metric-name {
color: $label-color;
float: right;
margin-top: line-height-times(1/2);
margin: line-height-times(1/4) line-height-times(1/2) 0 0;
position: relative;
z-index: 1000;
width: calc(20% - #{line-height-times(1/2)});
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: right;
}
#mini-charts .charts {
position: relative;
border-radius: $border-radius;
background: $body-background;
border: $border-width solid $border-color;
min-width: 0;
height: line-height-times(3.5);
margin-top: line-height-times(1);
}
.charts .inline-chart-container .inline-chart-graph {
height: line-height-times(3.5);
width: 80%;
}
.c3-tooltip-container .tooltip-dot {
background-color: $lochMaraBlue;
border-radius: 50%;
display: inline-block;
height: 6px;
width: 6px;
}
#mini-charts .total {
position: absolute;
bottom: line-height-times(1/2);
right: line-height-times(1/2);
z-index: 0;
color: $label-color;
font-size: $font-size-sm;
font-style: italic;
}
#mini-charts .total span {
color: $font-color;
padding-top: line-height-times(1);
}
.chart-wrap .loading, #mini-charts .loading, #methods-wrap .loading {
position: absolute;
background: white;
top: 0;
left: 0;
bottom: 0;
right: 0;
color: $font-color;
z-index: 1000;
text-align: center;
padding-top: line-height-times(1)
}
#mini-charts .loading.hide {
display: none;
}
// override stats stylesheets
#side-tabs .stats-support {
max-width: 20%;
width: auto;
position: static;
#methods {
width: auto;
height: auto;
max-height: line-height-times(12);
&.data-sup ul {
width: auto;
max-width: 100%;
li {
padding-right: line-height-times(1/2);
}
span small {
width: 95%;
margin-right: line-height-times(1/2);
}
}
}
}
@mixin fluid-charts {
.charts {
width: auto;
max-width: 100%;
margin-bottom: line-height-times(1/2);
margin-top: line-height-times(1/2);
}
}