Created
June 27, 2014 08:02
-
-
Save bettysteger/927747b9f7a1e273da3e to your computer and use it in GitHub Desktop.
Overwrites CSS for a nvd3 pie chart
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$pieSize: 18px; | |
.pie-wrap { // own class | |
float: left; | |
svg { | |
display: inline-block; | |
width: $pieSize; | |
height: $pieSize; | |
margin: 4px; | |
.nvd3.nv-wrap .nv-pie .nv-slice { // health | |
fill: green; | |
path { | |
stroke: green; | |
} | |
&:last-child { // unhealth | |
fill: transparent; | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment