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(50,50,50,1.0);
37 font-family: sans-serif;
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(100,100,100,0.75);
78 border-bottom: 1px solid #gray;
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 sans-serif;
146 fill: rgb(200, 200, 200);
150 font: bold 14px Arial;
153 .nvd3 .nv-background {
157 pointer-events: none;
173 shape-rendering: crispEdges;
182 .nvd3 .nv-legend .nv-series {
186 .nvd3 .nv-legend .disabled circle {
198 .nvd3 .nv-axis path {
200 stroke: rgb(200, 200, 200);
202 shape-rendering: crispEdges;
205 .nvd3 .nv-axis path.domain {
209 .nvd3 .nv-axis.nv-x path.domain {
213 .nvd3 .nv-axis line {
216 stroke: rgb(50, 50, 50);
218 shape-rendering: crispEdges;
221 .nvd3 .nv-axis .zero line,
222 /*this selector may not be necessary*/ .nvd3 .nv-axis line.zero {
226 .nvd3 .nv-axis .nv-axisMaxMin text {
230 .nvd3 .x .nv-axis .nv-axisMaxMin text,
231 .nvd3 .x2 .nv-axis .nv-axisMaxMin text,
232 .nvd3 .x3 .nv-axis .nv-axisMaxMin text {
242 .nv-brush .resize path {
253 .nvd3 .nv-bars .negative rect {
257 .nvd3 .nv-bars rect {
261 transition: fill-opacity 250ms linear;
262 -moz-transition: fill-opacity 250ms linear;
263 -webkit-transition: fill-opacity 250ms linear;
266 .nvd3 .nv-bars rect.hover {
270 .nvd3 .nv-bars .hover rect {
274 .nvd3 .nv-bars text {
278 .nvd3 .nv-bars .hover text {
287 .nvd3 .nv-multibar .nv-groups rect,
288 .nvd3 .nv-multibarHorizontal .nv-groups rect,
289 .nvd3 .nv-discretebar .nv-groups rect {
292 transition: fill-opacity 250ms linear;
293 -moz-transition: fill-opacity 250ms linear;
294 -webkit-transition: fill-opacity 250ms linear;
297 .nvd3 .nv-multibar .nv-groups rect:hover,
298 .nvd3 .nv-multibarHorizontal .nv-groups rect:hover,
299 .nvd3 .nv-discretebar .nv-groups rect:hover {
303 .nvd3 .nv-discretebar .nv-groups text,
304 .nvd3 .nv-multibarHorizontal .nv-groups text {
307 stroke: rgba(0,0,0,0);
316 transition: fill-opacity 250ms linear, stroke-width 250ms linear, stroke-opacity 250ms linear;
317 -moz-transition: fill-opacity 250ms linear, stroke-width 250ms linear, stroke-opacity 250ms linear;
318 -webkit-transition: fill-opacity 250ms linear, stroke-width 250ms linear, stroke-opacity 250ms linear;
322 .nvd3.nv-pie .nv-slice text {
333 .nvd3.nv-pie .hover path {
336 .nvd3.nv-pie .nv-label {
337 pointer-events: none;
339 .nvd3.nv-pie .nv-label rect {
348 .nvd3 .nv-groups path.nv-line {
352 stroke-linecap: round;
353 shape-rendering: geometricPrecision;
355 transition: stroke-width 250ms linear;
356 -moz-transition: stroke-width 250ms linear;
357 -webkit-transition: stroke-width 250ms linear;
359 transition-delay: 250ms
360 -moz-transition-delay: 250ms;
361 -webkit-transition-delay: 250ms;
365 .nvd3 .nv-groups path.nv-line.nv-thin-line {
370 .nvd3 .nv-groups path.nv-area {
373 stroke-linecap: round;
374 shape-rendering: geometricPrecision;
377 transition: stroke-width 250ms linear;
378 -moz-transition: stroke-width 250ms linear;
379 -webkit-transition: stroke-width 250ms linear;
381 transition-delay: 250ms
382 -moz-transition-delay: 250ms;
383 -webkit-transition-delay: 250ms;
387 .nvd3 .nv-line.hover path {
392 .nvd3.scatter .groups .point {
398 .nvd3.nv-line .nvd3.nv-scatter .nv-groups .nv-point {
403 .nvd3.nv-scatter.nv-single-point .nv-groups .nv-point {
404 fill-opacity: .5 !important;
405 stroke-opacity: .5 !important;
409 .with-transitions .nvd3 .nv-groups .nv-point {
410 transition: stroke-width 250ms linear, stroke-opacity 250ms linear;
411 -moz-transition: stroke-width 250ms linear, stroke-opacity 250ms linear;
412 -webkit-transition: stroke-width 250ms linear, stroke-opacity 250ms linear;
416 .nvd3.nv-scatter .nv-groups .nv-point.hover,
417 .nvd3 .nv-groups .nv-point.hover {
419 fill-opacity: .95 !important;
420 stroke-opacity: .95 !important;
424 .nvd3 .nv-point-paths path {
433 .nvd3 .nv-indexLine {
442 .nvd3 .nv-distribution {
443 pointer-events: none;
452 /* **Attempting to remove this for useVoronoi(false), need to see if it's required anywhere
453 .nvd3 .nv-groups .nv-point {
454 pointer-events: none;
458 .nvd3 .nv-groups .nv-point.hover {
463 .nvd3 .nv-scatter .nv-point.hover {
468 .nv-group.hover .nv-point {
478 .nvd3.nv-stackedarea path.nv-area {
486 transition: fill-opacity 250ms linear, stroke-opacity 250ms linear;
487 -moz-transition: fill-opacity 250ms linear, stroke-opacity 250ms linear;
488 -webkit-transition: fill-opacity 250ms linear, stroke-opacity 250ms linear;
491 transition-delay: 500ms;
492 -moz-transition-delay: 500ms;
493 -webkit-transition-delay: 500ms;
498 .nvd3.nv-stackedarea path.nv-area.hover {
505 .d3stackedarea .groups path {
512 .nvd3.nv-stackedarea .nv-groups .nv-point {
518 .nvd3.nv-stackedarea .nv-groups .nv-point.hover {
530 .nvd3.nv-linePlusBar .nv-bar rect {
534 .nvd3.nv-linePlusBar .nv-bar rect:hover {
543 .nvd3.nv-bullet { font: 10px sans-serif; }
544 .nvd3.nv-bullet .nv-measure { fill-opacity: .8; }
545 .nvd3.nv-bullet .nv-measure:hover { fill-opacity: 1; }
546 .nvd3.nv-bullet .nv-marker { stroke: #000; stroke-width: 2px; }
547 .nvd3.nv-bullet .nv-markerTriangle { stroke: #000; fill: #fff; stroke-width: 1.5px; }
548 .nvd3.nv-bullet .nv-tick line { stroke: #666; stroke-width: .5px; }
549 .nvd3.nv-bullet .nv-range.nv-s0 { fill: #eee; }
550 .nvd3.nv-bullet .nv-range.nv-s1 { fill: #ddd; }
551 .nvd3.nv-bullet .nv-range.nv-s2 { fill: #ccc; }
552 .nvd3.nv-bullet .nv-title { font-size: 14px; font-weight: bold; }
553 .nvd3.nv-bullet .nv-subtitle { fill: #999; }
556 .nvd3.nv-bullet .nv-range {
560 .nvd3.nv-bullet .nv-range:hover {
570 .nvd3.nv-sparkline path {
574 .nvd3.nv-sparklineplus g.nv-hoverValue {
575 pointer-events: none;
578 .nvd3.nv-sparklineplus .nv-hoverValue line {
583 .nvd3.nv-sparklineplus,
584 .nvd3.nv-sparklineplus g {
588 .nvd3 .nv-hoverArea {
593 .nvd3.nv-sparklineplus .nv-xValue,
594 .nvd3.nv-sparklineplus .nv-yValue {
603 .nvd3.nv-sparklineplus .nv-yValue {
607 .nvd3.nv-sparklineplus .nv-maxValue {
612 .nvd3.nv-sparklineplus .nv-minValue {
617 .nvd3.nv-sparklineplus .nv-currentValue {
630 .nvd3.nv-ohlcBar .nv-ticks .nv-tick {
634 .nvd3.nv-ohlcBar .nv-ticks .nv-tick.hover {
638 .nvd3.nv-ohlcBar .nv-ticks .nv-tick.positive {
642 .nvd3.nv-ohlcBar .nv-ticks .nv-tick.negative {
646 .nvd3.nv-historicalStockChart .nv-axis .nv-axislabel {
650 .nv-axislabel { font-weight: bold; }
652 .nvd3.nv-historicalStockChart .nv-dragTarget {
658 .nvd3 .nv-brush .extent {
660 cursor: ew-resize !important;
662 fill-opacity: 0 !important;
665 .nvd3 .nv-brushBackground rect {
680 * 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
682 .nvd3.nv-indentedtree .name {
686 .nvd3.nv-indentedtree .clickable {
691 .nvd3.nv-indentedtree span.clickable:hover {
693 text-decoration: underline;
697 .nvd3.nv-indentedtree .nv-childrenCount {
698 display: inline-block;
702 .nvd3.nv-indentedtree .nv-treeicon {
709 .nvd3.nv-indentedtree .nv-treeicon.nv-folded {
717 * Parallel Coordinates
720 .nvd3 .background path {
724 shape-rendering: crispEdges;
727 .nvd3 .foreground path {
733 .nvd3 .brush .extent {
736 shape-rendering: crispEdges;
739 .nvd3 .axis line, .axis path {
742 shape-rendering: crispEdges;
746 text-shadow: 0 1px 0 #fff;
752 .nvd3 .nv-interactiveGuideLine {
755 .nvd3 line.nv-guideline {