14 Box shadow and border radius styling
16 .nvtooltip.with-3d-shadow, .with-3d-shadow .nvtooltip {
17 -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
18 -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
19 box-shadow: 0 5px 10px rgba(0,0,0,.2);
21 -webkit-border-radius: 6px;
22 -moz-border-radius: 6px;
32 background-color: rgba(255,255,255,1.0);
34 border: 1px solid rgba(0,0,0,.2);
44 -webkit-touch-callout: none;
45 -webkit-user-select: none;
46 -khtml-user-select: none;
47 -moz-user-select: none;
48 -ms-user-select: none;
52 /*Give tooltips that old fade in transition by
53 putting a "with-transitions" class on the container div.
55 .nvtooltip.with-transitions, .with-transitions .nvtooltip {
56 transition: opacity 250ms linear;
57 -moz-transition: opacity 250ms linear;
58 -webkit-transition: opacity 250ms linear;
60 transition-delay: 250ms;
61 -moz-transition-delay: 250ms;
62 -webkit-transition-delay: 250ms;
65 .nvtooltip.x-nvtooltip,
66 .nvtooltip.y-nvtooltip {
75 background-color: rgba(247,247,247,0.75);
78 border-bottom: 1px solid #ebebeb;
80 -webkit-border-radius: 5px 5px 0 0;
81 -moz-border-radius: 5px 5px 0 0;
82 border-radius: 5px 5px 0 0;
92 display: inline-block;
100 .nvtooltip table td {
103 vertical-align: middle;
106 .nvtooltip table td.key {
109 .nvtooltip table td.value {
114 .nvtooltip table td.legend-color-guide div {
117 vertical-align: middle;
119 .nvtooltip-pending-removal {
121 pointer-events: none;
125 /********************
131 -webkit-touch-callout: none;
132 -webkit-user-select: none;
133 -khtml-user-select: none;
134 -moz-user-select: none;
135 -ms-user-select: none;
137 /* Trying to get SVG to act like a greedy block in all browsers */
145 font: normal 12px Arial;
149 font: bold 14px Arial;
152 .nvd3 .nv-background {
156 pointer-events: none;
172 shape-rendering: crispEdges;
181 .nvd3 .nv-legend .nv-series {
185 .nvd3 .nv-legend .disabled circle {
198 .nvd3 .nv-axis path {
202 shape-rendering: crispEdges;
205 .nvd3 .nv-axis path.domain {
209 .nvd3 .nv-axis.nv-x path.domain {
213 .nvd3 .nv-axis line {
216 shape-rendering: crispEdges;
219 .nvd3 .nv-axis .zero line,
220 /*this selector may not be necessary*/ .nvd3 .nv-axis line.zero {
224 .nvd3 .nv-axis .nv-axisMaxMin text {
228 .nvd3 .x .nv-axis .nv-axisMaxMin text,
229 .nvd3 .x2 .nv-axis .nv-axisMaxMin text,
230 .nvd3 .x3 .nv-axis .nv-axisMaxMin text {
240 .nv-brush .resize path {
251 .nvd3 .nv-bars .negative rect {
255 .nvd3 .nv-bars rect {
259 transition: fill-opacity 250ms linear;
260 -moz-transition: fill-opacity 250ms linear;
261 -webkit-transition: fill-opacity 250ms linear;
264 .nvd3 .nv-bars rect.hover {
268 .nvd3 .nv-bars .hover rect {
272 .nvd3 .nv-bars text {
276 .nvd3 .nv-bars .hover text {
285 .nvd3 .nv-multibar .nv-groups rect,
286 .nvd3 .nv-multibarHorizontal .nv-groups rect,
287 .nvd3 .nv-discretebar .nv-groups rect {
290 transition: fill-opacity 250ms linear;
291 -moz-transition: fill-opacity 250ms linear;
292 -webkit-transition: fill-opacity 250ms linear;
295 .nvd3 .nv-multibar .nv-groups rect:hover,
296 .nvd3 .nv-multibarHorizontal .nv-groups rect:hover,
297 .nvd3 .nv-discretebar .nv-groups rect:hover {
301 .nvd3 .nv-discretebar .nv-groups text,
302 .nvd3 .nv-multibarHorizontal .nv-groups text {
305 stroke: rgba(0,0,0,0);
314 transition: fill-opacity 250ms linear, stroke-width 250ms linear, stroke-opacity 250ms linear;
315 -moz-transition: fill-opacity 250ms linear, stroke-width 250ms linear, stroke-opacity 250ms linear;
316 -webkit-transition: fill-opacity 250ms linear, stroke-width 250ms linear, stroke-opacity 250ms linear;
320 .nvd3.nv-pie .nv-slice text {
331 .nvd3.nv-pie .hover path {
334 .nvd3.nv-pie .nv-label {
335 pointer-events: none;
337 .nvd3.nv-pie .nv-label rect {
346 .nvd3 .nv-groups path.nv-line {
350 stroke-linecap: round;
351 shape-rendering: geometricPrecision;
353 transition: stroke-width 250ms linear;
354 -moz-transition: stroke-width 250ms linear;
355 -webkit-transition: stroke-width 250ms linear;
357 transition-delay: 250ms
358 -moz-transition-delay: 250ms;
359 -webkit-transition-delay: 250ms;
363 .nvd3 .nv-groups path.nv-line.nv-thin-line {
368 .nvd3 .nv-groups path.nv-area {
371 stroke-linecap: round;
372 shape-rendering: geometricPrecision;
375 transition: stroke-width 250ms linear;
376 -moz-transition: stroke-width 250ms linear;
377 -webkit-transition: stroke-width 250ms linear;
379 transition-delay: 250ms
380 -moz-transition-delay: 250ms;
381 -webkit-transition-delay: 250ms;
385 .nvd3 .nv-line.hover path {
390 .nvd3.scatter .groups .point {
396 .nvd3.nv-line .nvd3.nv-scatter .nv-groups .nv-point {
401 .nvd3.nv-scatter.nv-single-point .nv-groups .nv-point {
402 fill-opacity: .5 !important;
403 stroke-opacity: .5 !important;
407 .with-transitions .nvd3 .nv-groups .nv-point {
408 transition: stroke-width 250ms linear, stroke-opacity 250ms linear;
409 -moz-transition: stroke-width 250ms linear, stroke-opacity 250ms linear;
410 -webkit-transition: stroke-width 250ms linear, stroke-opacity 250ms linear;
414 .nvd3.nv-scatter .nv-groups .nv-point.hover,
415 .nvd3 .nv-groups .nv-point.hover {
417 fill-opacity: .95 !important;
418 stroke-opacity: .95 !important;
422 .nvd3 .nv-point-paths path {
431 .nvd3 .nv-indexLine {
440 .nvd3 .nv-distribution {
441 pointer-events: none;
450 /* **Attempting to remove this for useVoronoi(false), need to see if it's required anywhere
451 .nvd3 .nv-groups .nv-point {
452 pointer-events: none;
456 .nvd3 .nv-groups .nv-point.hover {
461 .nvd3 .nv-scatter .nv-point.hover {
466 .nv-group.hover .nv-point {
476 .nvd3.nv-stackedarea path.nv-area {
484 transition: fill-opacity 250ms linear, stroke-opacity 250ms linear;
485 -moz-transition: fill-opacity 250ms linear, stroke-opacity 250ms linear;
486 -webkit-transition: fill-opacity 250ms linear, stroke-opacity 250ms linear;
489 transition-delay: 500ms;
490 -moz-transition-delay: 500ms;
491 -webkit-transition-delay: 500ms;
496 .nvd3.nv-stackedarea path.nv-area.hover {
503 .d3stackedarea .groups path {
510 .nvd3.nv-stackedarea .nv-groups .nv-point {
516 .nvd3.nv-stackedarea .nv-groups .nv-point.hover {
528 .nvd3.nv-linePlusBar .nv-bar rect {
532 .nvd3.nv-linePlusBar .nv-bar rect:hover {
541 .nvd3.nv-bullet { font: 10px sans-serif; }
542 .nvd3.nv-bullet .nv-measure { fill-opacity: .8; }
543 .nvd3.nv-bullet .nv-measure:hover { fill-opacity: 1; }
544 .nvd3.nv-bullet .nv-marker { stroke: #000; stroke-width: 2px; }
545 .nvd3.nv-bullet .nv-markerTriangle { stroke: #000; fill: #fff; stroke-width: 1.5px; }
546 .nvd3.nv-bullet .nv-tick line { stroke: #666; stroke-width: .5px; }
547 .nvd3.nv-bullet .nv-range.nv-s0 { fill: #eee; }
548 .nvd3.nv-bullet .nv-range.nv-s1 { fill: #ddd; }
549 .nvd3.nv-bullet .nv-range.nv-s2 { fill: #ccc; }
550 .nvd3.nv-bullet .nv-title { font-size: 14px; font-weight: bold; }
551 .nvd3.nv-bullet .nv-subtitle { fill: #999; }
554 .nvd3.nv-bullet .nv-range {
558 .nvd3.nv-bullet .nv-range:hover {
568 .nvd3.nv-sparkline path {
572 .nvd3.nv-sparklineplus g.nv-hoverValue {
573 pointer-events: none;
576 .nvd3.nv-sparklineplus .nv-hoverValue line {
581 .nvd3.nv-sparklineplus,
582 .nvd3.nv-sparklineplus g {
586 .nvd3 .nv-hoverArea {
591 .nvd3.nv-sparklineplus .nv-xValue,
592 .nvd3.nv-sparklineplus .nv-yValue {
601 .nvd3.nv-sparklineplus .nv-yValue {
605 .nvd3.nv-sparklineplus .nv-maxValue {
610 .nvd3.nv-sparklineplus .nv-minValue {
615 .nvd3.nv-sparklineplus .nv-currentValue {
628 .nvd3.nv-ohlcBar .nv-ticks .nv-tick {
632 .nvd3.nv-ohlcBar .nv-ticks .nv-tick.hover {
636 .nvd3.nv-ohlcBar .nv-ticks .nv-tick.positive {
640 .nvd3.nv-ohlcBar .nv-ticks .nv-tick.negative {
644 .nvd3.nv-historicalStockChart .nv-axis .nv-axislabel {
648 .nvd3.nv-historicalStockChart .nv-dragTarget {
654 .nvd3 .nv-brush .extent {
656 cursor: ew-resize !important;
658 fill-opacity: 0 !important;
661 .nvd3 .nv-brushBackground rect {
676 * TODO: the following 3 selectors are based on classes used in the example. I should either make them standard and leave them here, or move to a CSS file not included in the library
678 .nvd3.nv-indentedtree .name {
682 .nvd3.nv-indentedtree .clickable {
687 .nvd3.nv-indentedtree span.clickable:hover {
689 text-decoration: underline;
693 .nvd3.nv-indentedtree .nv-childrenCount {
694 display: inline-block;
698 .nvd3.nv-indentedtree .nv-treeicon {
705 .nvd3.nv-indentedtree .nv-treeicon.nv-folded {
713 * Parallel Coordinates
716 .nvd3 .background path {
720 shape-rendering: crispEdges;
723 .nvd3 .foreground path {
729 .nvd3 .brush .extent {
732 shape-rendering: crispEdges;
735 .nvd3 .axis line, .axis path {
738 shape-rendering: crispEdges;
742 text-shadow: 0 1px 0 #fff;
748 .nvd3 .nv-interactiveGuideLine {
751 .nvd3 line.nv-guideline {