add D3 styles

This commit is contained in:
Jared Dillard 2016-03-01 15:51:54 -06:00
parent d6607b8779
commit dc60c81618
2 changed files with 42 additions and 0 deletions

View File

@ -413,4 +413,29 @@ textarea {
.bs-callout-info h4 {
color: #01579B;
/* D3 Styles */
svg text {
fill: #FFFFFF !important;
}
g.nv-axis text, g.nv-legend text {
fill: #FFFFFF;
}
.nvd3 .nv-axis line, .nvd3 .nv-axis path{
fill: #616161 !important;
stroke: #616161 !important;
}
#chart .nvtooltip > h3 {
background-color: rgba(66,66,66, 0.9);
border-bottom: 1px solid #616161;
color: #e0e0e0;
}
#chart .nvtooltip {
background: rgba(97,97,97, 0.9);
color: #e0e0e0;
}

View File

@ -865,3 +865,20 @@ a[href]:after {
body{
touch-action: manipulation;
}
/* D3 Styles */
svg {
display: block;
}
#chart, svg {
margin: 0px;
padding: 10px 0;
height: 420px;
width: 100%;
}
#chart .nvtooltip > h3 {
font-size: 14px;
}