2012-03-20 23:43:21 +00:00
|
|
|
|
|
|
|
/********************
|
|
|
|
* HTML CSS
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
.chartWrap {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-05-10 22:13:31 +00:00
|
|
|
|
2012-03-20 23:43:21 +00:00
|
|
|
/********************
|
|
|
|
* TOOLTIP CSS
|
|
|
|
*/
|
|
|
|
|
|
|
|
.nvtooltip {
|
|
|
|
position: absolute;
|
|
|
|
background-color: rgba(255,255,255,1);
|
|
|
|
padding: 10px;
|
|
|
|
border: 1px solid #ddd;
|
2012-05-14 17:14:12 +00:00
|
|
|
z-index: 10000;
|
2012-03-20 23:43:21 +00:00
|
|
|
|
|
|
|
font-family: Arial;
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
|
|
transition: opacity 500ms linear;
|
|
|
|
-moz-transition: opacity 500ms linear;
|
|
|
|
-webkit-transition: opacity 500ms linear;
|
|
|
|
|
2012-04-05 20:49:27 +00:00
|
|
|
transition-delay: 500ms;
|
2012-03-20 23:43:21 +00:00
|
|
|
-moz-transition-delay: 500ms;
|
|
|
|
-webkit-transition-delay: 500ms;
|
|
|
|
|
|
|
|
-moz-box-shadow: 4px 4px 12px rgba(0,0,0,.5);
|
|
|
|
-webkit-box-shadow: 4px 4px 12px rgba(0,0,0,.5);
|
|
|
|
box-shadow: 4px 4px 12px rgba(0,0,0,.5);
|
|
|
|
|
|
|
|
-moz-border-radius: 15px;
|
|
|
|
border-radius: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nvtooltip h3 {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nvtooltip p {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2012-04-05 05:24:39 +00:00
|
|
|
text-align: center;
|
2012-03-20 23:43:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.nvtooltip span {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 2px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/********************
|
|
|
|
* SVG CSS
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2012-03-22 23:26:02 +00:00
|
|
|
svg {
|
|
|
|
-webkit-touch-callout: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-khtml-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
svg text {
|
2012-03-20 23:43:21 +00:00
|
|
|
font: 12px sans-serif;
|
|
|
|
}
|
|
|
|
|
2012-05-10 22:13:31 +00:00
|
|
|
svg .title {
|
|
|
|
font: bold 14px Arial;
|
|
|
|
}
|
2012-03-20 23:43:21 +00:00
|
|
|
|
|
|
|
/**********
|
|
|
|
* Brush
|
|
|
|
*/
|
|
|
|
|
|
|
|
.brush .extent {
|
|
|
|
stroke: #666;
|
|
|
|
fill-opacity: .125;
|
|
|
|
shape-rendering: crispEdges;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**********
|
|
|
|
* Legend
|
|
|
|
*/
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .legend .series {
|
2012-03-20 23:43:21 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .legend .disabled circle {
|
2012-03-20 23:43:21 +00:00
|
|
|
fill-opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**********
|
|
|
|
* Axes
|
|
|
|
*/
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .axis path {
|
2012-03-20 23:43:21 +00:00
|
|
|
fill: none;
|
|
|
|
stroke: #000;
|
|
|
|
stroke-opacity: .75;
|
|
|
|
shape-rendering: crispEdges;
|
|
|
|
}
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .axis path.domain {
|
2012-03-20 23:43:21 +00:00
|
|
|
stroke-opacity: .75;
|
|
|
|
}
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .axis line {
|
2012-03-20 23:43:21 +00:00
|
|
|
fill: none;
|
|
|
|
stroke: #000;
|
|
|
|
stroke-opacity: .25;
|
|
|
|
shape-rendering: crispEdges;
|
|
|
|
}
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .axis line.zero {
|
2012-03-20 23:43:21 +00:00
|
|
|
stroke-opacity: .75;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**********
|
|
|
|
* Bars
|
|
|
|
*/
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .bars .negative rect {
|
2012-05-10 22:13:31 +00:00
|
|
|
zfill: brown;
|
2012-05-10 16:10:15 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .bars rect {
|
2012-05-10 22:13:31 +00:00
|
|
|
zfill: steelblue;
|
2012-03-20 23:43:21 +00:00
|
|
|
cursor: pointer;
|
2012-05-23 22:37:28 +00:00
|
|
|
fill-opacity: .75;
|
|
|
|
}
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .bars rect:hover {
|
2012-05-23 22:37:28 +00:00
|
|
|
fill-opacity: 1;
|
2012-03-20 23:43:21 +00:00
|
|
|
}
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .bars .hover rect {
|
2012-03-20 23:43:21 +00:00
|
|
|
fill: lightblue;
|
|
|
|
}
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .bars text {
|
2012-03-20 23:43:21 +00:00
|
|
|
fill: rgba(0,0,0,0);
|
|
|
|
}
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .bars .hover text {
|
2012-03-20 23:43:21 +00:00
|
|
|
fill: rgba(0,0,0,1);
|
|
|
|
}
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .x.axis text {
|
2012-05-10 22:13:31 +00:00
|
|
|
transform: rotate(90);
|
|
|
|
}
|
2012-05-30 19:18:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
/**********
|
|
|
|
* Bars
|
|
|
|
*/
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .multibar .groups rect {
|
2012-05-30 19:18:18 +00:00
|
|
|
stroke-opacity: 0;
|
|
|
|
}
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .multibar .groups rect:hover {
|
2012-05-30 19:18:18 +00:00
|
|
|
fill-opacity: 1;
|
|
|
|
}
|
|
|
|
|
2012-05-09 19:08:25 +00:00
|
|
|
/***********
|
|
|
|
* Pie Chart
|
|
|
|
*/
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .pie .hover path {
|
2012-05-09 19:08:25 +00:00
|
|
|
fill: lightblue;
|
|
|
|
}
|
2012-03-20 23:43:21 +00:00
|
|
|
|
|
|
|
/**********
|
|
|
|
* Lines
|
|
|
|
*/
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .groups path {
|
2012-03-20 23:43:21 +00:00
|
|
|
fill: none;
|
2012-06-01 21:11:19 +00:00
|
|
|
stroke-width: 2.5px;
|
2012-03-20 23:43:21 +00:00
|
|
|
stroke-linecap: round;
|
|
|
|
shape-rendering: geometricPrecision;
|
|
|
|
|
|
|
|
transition: stroke-width 250ms linear;
|
|
|
|
-moz-transition: stroke-width 250ms linear;
|
|
|
|
-webkit-transition: stroke-width 250ms linear;
|
|
|
|
|
|
|
|
transition-delay: 250ms
|
|
|
|
-moz-transition-delay: 250ms;
|
|
|
|
-webkit-transition-delay: 250ms;
|
|
|
|
}
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .line.hover path {
|
2012-03-20 23:43:21 +00:00
|
|
|
stroke-width: 6px;
|
|
|
|
}
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .groups .point {
|
2012-03-20 23:43:21 +00:00
|
|
|
transition: all 250ms linear;
|
|
|
|
-moz-transition: all 250ms linear;
|
|
|
|
-webkit-transition: all 250ms linear;
|
|
|
|
}
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .groups .point.hover {
|
2012-03-20 23:43:21 +00:00
|
|
|
stroke-width: 20px;
|
|
|
|
stroke-opacity: .5;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .point-paths path {
|
2012-03-20 23:43:21 +00:00
|
|
|
stroke: #aaa;
|
|
|
|
stroke-opacity: 0;
|
|
|
|
fill: #eee;
|
|
|
|
fill-opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-03-22 23:26:02 +00:00
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .indexLine {
|
2012-03-22 23:26:02 +00:00
|
|
|
cursor: ew-resize;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-03-20 23:43:21 +00:00
|
|
|
/**********
|
|
|
|
* Scatter
|
|
|
|
*/
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .groups .point {
|
2012-03-20 23:43:21 +00:00
|
|
|
transition: all 250ms linear;
|
|
|
|
-moz-transition: all 250ms linear;
|
|
|
|
-webkit-transition: all 250ms linear;
|
|
|
|
}
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .groups .point.hover {
|
2012-03-20 23:43:21 +00:00
|
|
|
stroke-width: 20px;
|
|
|
|
stroke-opacity: .5;
|
|
|
|
}
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .scatter .point.hover {
|
2012-03-20 23:43:21 +00:00
|
|
|
fill-opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
.group.hover .point {
|
|
|
|
fill-opacity: 1;
|
|
|
|
}
|
|
|
|
*/
|
2012-04-03 20:35:59 +00:00
|
|
|
|
|
|
|
|
|
|
|
/**********
|
|
|
|
* Stacked Area
|
|
|
|
*/
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .stackedarea path.area {
|
2012-05-28 20:51:33 +00:00
|
|
|
fill-opacity: .65;
|
|
|
|
stroke-opacity: .65;
|
2012-04-08 09:50:16 +00:00
|
|
|
stroke-width: 0.1px;
|
2012-05-28 20:51:33 +00:00
|
|
|
|
|
|
|
transition: all 500ms linear;
|
|
|
|
-moz-transition: all 500ms linear;
|
|
|
|
-webkit-transition: all 500ms linear;
|
|
|
|
|
|
|
|
/*
|
|
|
|
transition-delay: 500ms;
|
|
|
|
-moz-transition-delay: 500ms;
|
|
|
|
-webkit-transition-delay: 500ms;
|
|
|
|
*/
|
|
|
|
|
2012-04-03 20:35:59 +00:00
|
|
|
}
|
2012-05-28 06:50:36 +00:00
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .stackedarea path.area.hover {
|
2012-05-28 20:51:33 +00:00
|
|
|
fill-opacity: .85;
|
|
|
|
stroke-opacity: .85;
|
2012-05-28 06:50:36 +00:00
|
|
|
}
|
2012-05-27 23:52:28 +00:00
|
|
|
/*
|
2012-05-28 06:03:23 +00:00
|
|
|
.d3stackedarea .groups path {
|
2012-04-05 05:24:39 +00:00
|
|
|
stroke-opacity: 0;
|
|
|
|
}
|
2012-05-27 23:52:28 +00:00
|
|
|
*/
|
2012-04-05 05:24:39 +00:00
|
|
|
|
2012-04-03 20:35:59 +00:00
|
|
|
|
2012-05-27 23:52:28 +00:00
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .stackedarea .groups .point {
|
2012-04-05 05:24:39 +00:00
|
|
|
stroke-opacity: 0;
|
|
|
|
fill-opacity: 0;
|
|
|
|
transition: all 250ms linear;
|
|
|
|
-moz-transition: all 250ms linear;
|
|
|
|
-webkit-transition: all 250ms linear;
|
|
|
|
}
|
2012-04-03 20:35:59 +00:00
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .stackedarea .groups .point.hover {
|
2012-04-05 05:24:39 +00:00
|
|
|
stroke-width: 20px;
|
|
|
|
stroke-opacity: .75;
|
|
|
|
fill-opacity: 1;
|
|
|
|
}
|
2012-05-24 06:22:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**********
|
|
|
|
* Line Plus Bar
|
|
|
|
*/
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .linePlusBar .bar rect {
|
2012-05-24 06:22:58 +00:00
|
|
|
fill-opacity: .75;
|
|
|
|
}
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .linePlusBar .bar rect:hover {
|
2012-05-24 06:22:58 +00:00
|
|
|
fill-opacity: 1;
|
|
|
|
}
|
2012-05-24 22:33:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
/**********
|
|
|
|
* Bullet
|
|
|
|
*/
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .bullet { font: 10px sans-serif; cursor: pointer; }
|
|
|
|
.nvd3 .bullet rect { fill-opacity: .6; }
|
|
|
|
.nvd3 .bullet rect:hover { fill-opacity: 1; }
|
|
|
|
.nvd3 .bullet .marker { stroke: #000; stroke-width: 2px; }
|
|
|
|
.nvd3 .bullet .markerTriangle { stroke: #000; fill: #fff; stroke-width: 1.5px; }
|
|
|
|
.nvd3 .bullet .tick line { stroke: #666; stroke-width: .5px; }
|
|
|
|
.nvd3 .bullet .range.s0 { fill: #eee; }
|
|
|
|
.nvd3 .bullet .range.s1 { fill: #ddd; }
|
|
|
|
.nvd3 .bullet .range.s2 { fill: #ccc; }
|
|
|
|
.nvd3 .bullet .measure.s0 { fill: steelblue; }
|
|
|
|
.nvd3 .bullet .measure.s1 { fill: darkblue; }
|
|
|
|
.nvd3 .bullet .title { font-size: 14px; font-weight: bold; }
|
|
|
|
.nvd3 .bullet .subtitle { fill: #999; }
|
2012-05-26 17:26:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**********
|
|
|
|
* Sparkline plus
|
|
|
|
*/
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .sparklineplus .hoverValue line {
|
2012-05-26 17:26:47 +00:00
|
|
|
stroke: #f44;
|
2012-05-27 23:52:28 +00:00
|
|
|
stroke-width: 1.5px;
|
2012-05-26 17:26:47 +00:00
|
|
|
}
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .sparklineplus,
|
|
|
|
.nvd3 .sparklineplus g {
|
2012-05-26 17:26:47 +00:00
|
|
|
pointer-events: all;
|
|
|
|
}
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .sparklineplus .hoverArea {
|
2012-05-26 17:26:47 +00:00
|
|
|
fill-opacity: 0;
|
|
|
|
stroke-opacity: 0;
|
|
|
|
}
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .sparklineplus .xValue,
|
|
|
|
.nvd3 .sparklineplus .yValue {
|
2012-05-26 17:26:47 +00:00
|
|
|
stroke: #666;
|
2012-05-27 23:52:28 +00:00
|
|
|
font-size: .5em;
|
2012-05-26 17:26:47 +00:00
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2012-06-01 21:11:19 +00:00
|
|
|
.nvd3 .sparklineplus .yValue {
|
2012-05-26 17:26:47 +00:00
|
|
|
stroke: #f66;
|
|
|
|
}
|