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
|
.d3pie .chart-title {
font-family: Arial, sans-serif;
font-size: 24px;
text-anchor: middle;
}
.d3pie-tooltip {
pointer-events: none;
position: absolute;
padding: 5px;
color: white;
background-color: rgb(0 0 0 /50%);
border-radius: 4px;
opacity: 0;
line-height: normal;
}
.d3pie .total-text {
text-anchor: middle;
dominant-baseline: central;
}
.d3pie .total-value {
font-family: Arial, sans-serif;
}
.d3pie .inner-label {
fill: #eeeeee;
pointer-events: none;
text-anchor: middle;
}
/* pie placeholder */
.d3pie .slice-g:first-of-type .inner-label {
fill: #cccccc;
}
.d3pie defs radialGradient:first-of-type stop {
stop-opacity: 0.1;
}
/* gradient color */
.d3pie .grad-stop-1 {
stop-color: black;
}
.outer-label-g {
opacity: 0;
}
.link {
fill: none;
}
|