forked from jtblin/angular-chart.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
angular-chart.less
30 lines (28 loc) · 893 Bytes
/
angular-chart.less
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
.chart-legend, .bar-legend, .line-legend, .pie-legend, .radar-legend, .polararea-legend, .doughnut-legend {
list-style-type: none;
margin-top: 5px;
text-align: center;
/* NOTE: Browsers automatically add 40px of padding-left to all lists, so we should offset that, otherwise the legend is off-center */
-webkit-padding-start:0; /* Webkit */
-moz-padding-start:0; /* Mozilla */
padding-left:0; /* IE (handles all cases, really, but we should also include the vendor-specific properties just to be safe) */
li {
display: inline-block;
white-space: nowrap;
position: relative;
margin-bottom: 4px;
border-radius: 5px;
padding: 2px 8px 2px 28px;
font-size: smaller;
cursor: default;
span {
display: block;
position: absolute;
left: 0;
top: 0;
width: 20px;
height: 20px;
border-radius: 5px;
}
}
}