novus-nvd3-rails 1.8.0 → 1.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,645 +1,641 @@
1
- /********************
2
- * SVG CSS
3
- */
4
-
5
-
6
- svg {
7
- -webkit-touch-callout: none;
8
- -webkit-user-select: none;
9
- -khtml-user-select: none;
10
- -moz-user-select: none;
11
- -ms-user-select: none;
12
- user-select: none;
13
- /* Trying to get SVG to act like a greedy block in all browsers */
14
- display: block;
15
- width:100%;
16
- height:100%;
17
- }
18
-
19
- /********************
20
- Default CSS for an svg element nvd3 used
21
- */
22
- svg.nvd3-svg {
23
- -webkit-touch-callout: none;
24
- -webkit-user-select: none;
25
- -khtml-user-select: none;
26
- -ms-user-select: none;
27
- -moz-user-select: none;
28
- user-select: none;
29
- display: block;
30
- }
31
-
32
- /********************
33
- Box shadow and border radius styling
34
- */
35
- .nvtooltip.with-3d-shadow, .with-3d-shadow .nvtooltip {
36
- -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
37
- -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
38
- box-shadow: 0 5px 10px rgba(0,0,0,.2);
39
-
40
- -webkit-border-radius: 5px;
41
- -moz-border-radius: 5px;
42
- border-radius: 5px;
43
- }
44
-
45
- /********************
46
- * TOOLTIP CSS
47
- */
48
-
49
- .nvtooltip {
50
- position: absolute;
51
- background-color: rgba(255,255,255,1.0);
52
- padding: 1px;
53
- border: 1px solid rgba(0,0,0,.2);
54
- z-index: 10000;
55
-
56
- font-family: Arial;
57
- font-size: 13px;
58
- text-align: left;
59
- pointer-events: none;
60
-
61
- white-space: nowrap;
62
-
63
- -webkit-touch-callout: none;
64
- -webkit-user-select: none;
65
- -khtml-user-select: none;
66
- -moz-user-select: none;
67
- -ms-user-select: none;
68
- user-select: none;
69
- }
70
-
71
- /*Give tooltips that old fade in transition by
72
- putting a "with-transitions" class on the container div.
73
- */
74
- .nvtooltip.with-transitions, .with-transitions .nvtooltip {
75
- transition: opacity 50ms linear;
76
- -moz-transition: opacity 50ms linear;
77
- -webkit-transition: opacity 50ms linear;
78
-
79
- transition-delay: 200ms;
80
- -moz-transition-delay: 200ms;
81
- -webkit-transition-delay: 200ms;
82
- }
83
-
84
- .nvtooltip.x-nvtooltip,
85
- .nvtooltip.y-nvtooltip {
86
- padding: 8px;
87
- }
88
-
89
- .nvtooltip h3 {
90
- margin: 0;
91
- padding: 4px 14px;
92
- line-height: 18px;
93
- font-weight: normal;
94
- background-color: rgba(247,247,247,0.75);
95
- text-align: center;
96
-
97
- border-bottom: 1px solid #ebebeb;
98
-
99
- -webkit-border-radius: 5px 5px 0 0;
100
- -moz-border-radius: 5px 5px 0 0;
101
- border-radius: 1px 5px 0 0;
102
- }
103
-
104
- .nvtooltip p {
105
- margin: 0;
106
- padding: 5px 14px;
107
- text-align: center;
108
- }
109
-
110
- .nvtooltip span {
111
- display: inline-block;
112
- margin: 2px 0;
113
- }
114
-
115
- .nvtooltip table {
116
- margin: 6px;
117
- border-spacing:0;
118
- }
119
-
120
-
121
- .nvtooltip table td {
122
- padding: 2px 9px 2px 0;
123
- vertical-align: middle;
124
- }
125
-
126
- .nvtooltip table td.key {
127
- font-weight:normal;
128
- }
129
- .nvtooltip table td.value {
130
- text-align: right;
131
- font-weight: bold;
132
- }
133
-
134
- .nvtooltip table tr.highlight td {
135
- padding: 1px 9px 1px 0;
136
- border-bottom-style: solid;
137
- border-bottom-width: 1px;
138
- border-top-style: solid;
139
- border-top-width: 1px;
140
- }
141
-
142
- .nvtooltip table td.legend-color-guide div {
143
- width: 8px;
144
- height: 8px;
145
- vertical-align: middle;
146
- }
147
-
148
- .nvtooltip .footer {
149
- padding: 3px;
150
- text-align: center;
151
- }
152
-
153
- .nvtooltip-pending-removal {
154
- position: absolute;
155
- pointer-events: none;
156
- }
157
-
158
- .nvd3 text {
159
- font: normal 12px Arial;
160
- }
161
-
162
- .nvd3 .title {
163
- font: bold 14px Arial;
164
- }
165
-
166
- .nvd3 .nv-background {
167
- fill: white;
168
- fill-opacity: 0;
169
- }
170
-
171
- .nvd3.nv-noData {
172
- font-size: 18px;
173
- font-weight: bold;
174
- }
175
-
176
-
177
- /**********
178
- * Brush
179
- */
180
-
181
- .nv-brush .extent {
182
- fill-opacity: .125;
183
- shape-rendering: crispEdges;
184
- }
185
-
186
-
187
- /**********
188
- * Legend
189
- */
190
-
191
- .nvd3 .nv-legend .nv-series {
192
- cursor: pointer;
193
- }
194
-
195
- .nvd3 .nv-legend .nv-disabled circle {
196
- fill-opacity: 0;
197
- }
198
-
199
-
200
- /**********
201
- * Axes
202
- */
203
-
204
- .axis {
205
- opacity: 1;
206
- }
207
-
208
- .axis.nv-disabled {
209
- opacity: 0;
210
- }
211
-
212
- .nvd3 .nv-axis {
213
- pointer-events:none;
214
- }
215
-
216
- .nvd3 .nv-axis path {
217
- fill: none;
218
- stroke: #000;
219
- stroke-opacity: .75;
220
- shape-rendering: crispEdges;
221
- }
222
-
223
- .nvd3 .nv-axis path.domain {
224
- stroke-opacity: .75;
225
- }
226
-
227
- .nvd3 .nv-axis.nv-x path.domain {
228
- stroke-opacity: 0;
229
- }
230
-
231
- .nvd3 .nv-axis line {
232
- fill: none;
233
- stroke: #e5e5e5;
234
- shape-rendering: crispEdges;
235
- }
236
-
237
- .nvd3 .nv-axis .zero line,
238
- /*this selector may not be necessary*/ .nvd3 .nv-axis line.zero {
239
- stroke-opacity: .75;
240
- }
241
-
242
- .nvd3 .nv-axis .nv-axisMaxMin text {
243
- font-weight: bold;
244
- }
245
-
246
- .nvd3 .x .nv-axis .nv-axisMaxMin text,
247
- .nvd3 .x2 .nv-axis .nv-axisMaxMin text,
248
- .nvd3 .x3 .nv-axis .nv-axisMaxMin text {
249
- text-anchor: middle
250
- }
251
-
252
-
253
- /**********
254
- * Brush
255
- */
256
-
257
- .nv-brush .resize path {
258
- fill: #eee;
259
- stroke: #666;
260
- }
261
-
262
-
263
- /**********
264
- * Bars
265
- */
266
-
267
- .nvd3 .nv-bars .negative rect {
268
- zfill: brown;
269
- }
270
-
271
- .nvd3 .nv-bars rect {
272
- zfill: steelblue;
273
- fill-opacity: .75;
274
-
275
- transition: fill-opacity 250ms linear;
276
- -moz-transition: fill-opacity 250ms linear;
277
- -webkit-transition: fill-opacity 250ms linear;
278
- }
279
-
280
- .nvd3 .nv-bars rect.hover {
281
- fill-opacity: 1;
282
- }
283
-
284
- .nvd3 .nv-bars .hover rect {
285
- fill: lightblue;
286
- }
287
-
288
- .nvd3 .nv-bars text {
289
- fill: rgba(0,0,0,0);
290
- }
291
-
292
- .nvd3 .nv-bars .hover text {
293
- fill: rgba(0,0,0,1);
294
- }
295
-
296
-
297
- /**********
298
- * Bars
299
- */
300
-
301
- .nvd3 .nv-multibar .nv-groups rect,
302
- .nvd3 .nv-multibarHorizontal .nv-groups rect,
303
- .nvd3 .nv-discretebar .nv-groups rect {
304
- stroke-opacity: 0;
305
-
306
- transition: fill-opacity 250ms linear;
307
- -moz-transition: fill-opacity 250ms linear;
308
- -webkit-transition: fill-opacity 250ms linear;
309
- }
310
-
311
- .nvd3 .nv-multibar .nv-groups rect:hover,
312
- .nvd3 .nv-multibarHorizontal .nv-groups rect:hover,
313
- .nvd3 .nv-discretebar .nv-groups rect:hover {
314
- fill-opacity: 1;
315
- }
316
-
317
- .nvd3 .nv-discretebar .nv-groups text,
318
- .nvd3 .nv-multibarHorizontal .nv-groups text {
319
- font-weight: bold;
320
- fill: rgba(0,0,0,1);
321
- stroke: rgba(0,0,0,0);
322
- }
323
-
324
- /***********
325
- * Pie Chart
326
- */
327
-
328
- .nvd3.nv-pie path {
329
- stroke-opacity: 0;
330
- transition: fill-opacity 250ms linear, stroke-width 250ms linear, stroke-opacity 250ms linear;
331
- -moz-transition: fill-opacity 250ms linear, stroke-width 250ms linear, stroke-opacity 250ms linear;
332
- -webkit-transition: fill-opacity 250ms linear, stroke-width 250ms linear, stroke-opacity 250ms linear;
333
-
334
- }
335
-
336
- .nvd3.nv-pie .nv-pie-title {
337
- font-size: 24px;
338
- fill: rgba(19, 196, 249, 0.59);
339
- }
340
-
341
- .nvd3.nv-pie .nv-slice text {
342
- stroke: #000;
343
- stroke-width: 0;
344
- }
345
-
346
- .nvd3.nv-pie path {
347
- stroke: #fff;
348
- stroke-width: 1px;
349
- stroke-opacity: 1;
350
- }
351
-
352
- .nvd3.nv-pie .hover path {
353
- fill-opacity: .7;
354
- }
355
- .nvd3.nv-pie .nv-label {
356
- pointer-events: none;
357
- }
358
- .nvd3.nv-pie .nv-label rect {
359
- fill-opacity: 0;
360
- stroke-opacity: 0;
361
- }
362
-
363
- /**********
364
- * Lines
365
- */
366
-
367
- .nvd3 .nv-groups path.nv-line {
368
- fill: none;
369
- stroke-width: 1.5px;
370
- }
371
-
372
- .nvd3 .nv-groups path.nv-line.nv-thin-line {
373
- stroke-width: 1px;
374
- }
375
-
376
-
377
- .nvd3 .nv-groups path.nv-area {
378
- stroke: none;
379
- }
380
-
381
- .nvd3 .nv-line.hover path {
382
- stroke-width: 6px;
383
- }
384
-
385
- .nvd3.nv-line .nvd3.nv-scatter .nv-groups .nv-point {
386
- fill-opacity: 0;
387
- stroke-opacity: 0;
388
- }
389
-
390
- .nvd3.nv-scatter.nv-single-point .nv-groups .nv-point {
391
- fill-opacity: .5 !important;
392
- stroke-opacity: .5 !important;
393
- }
394
-
395
-
396
- .with-transitions .nvd3 .nv-groups .nv-point {
397
- transition: stroke-width 250ms linear, stroke-opacity 250ms linear;
398
- -moz-transition: stroke-width 250ms linear, stroke-opacity 250ms linear;
399
- -webkit-transition: stroke-width 250ms linear, stroke-opacity 250ms linear;
400
-
401
- }
402
-
403
- .nvd3.nv-scatter .nv-groups .nv-point.hover,
404
- .nvd3 .nv-groups .nv-point.hover {
405
- stroke-width: 7px;
406
- fill-opacity: .95 !important;
407
- stroke-opacity: .95 !important;
408
- }
409
-
410
-
411
- .nvd3 .nv-point-paths path {
412
- stroke: #aaa;
413
- stroke-opacity: 0;
414
- fill: #eee;
415
- fill-opacity: 0;
416
- }
417
-
418
-
419
-
420
- .nvd3 .nv-indexLine {
421
- cursor: ew-resize;
422
- }
423
-
424
-
425
- /**********
426
- * Distribution
427
- */
428
-
429
- .nvd3 .nv-distribution {
430
- pointer-events: none;
431
- }
432
-
433
-
434
- /**********
435
- * Scatter
436
- */
437
-
438
- .nvd3 .nv-groups .nv-point.hover {
439
- stroke-width: 20px;
440
- stroke-opacity: .5;
441
- }
442
-
443
- .nvd3 .nv-scatter .nv-point.hover {
1
+ /* nvd3 version 1.8.1 (https://github.com/novus/nvd3) 2015-06-15 */
2
+ .nvd3 .nv-axis {
3
+ pointer-events:none;
4
+ opacity: 1;
5
+ }
6
+
7
+ .nvd3 .nv-axis path {
8
+ fill: none;
9
+ stroke: #000;
10
+ stroke-opacity: .75;
11
+ shape-rendering: crispEdges;
12
+ }
13
+
14
+ .nvd3 .nv-axis path.domain {
15
+ stroke-opacity: .75;
16
+ }
17
+
18
+ .nvd3 .nv-axis.nv-x path.domain {
19
+ stroke-opacity: 0;
20
+ }
21
+
22
+ .nvd3 .nv-axis line {
23
+ fill: none;
24
+ stroke: #e5e5e5;
25
+ shape-rendering: crispEdges;
26
+ }
27
+
28
+ .nvd3 .nv-axis .zero line,
29
+ /*this selector may not be necessary*/ .nvd3 .nv-axis line.zero {
30
+ stroke-opacity: .75;
31
+ }
32
+
33
+ .nvd3 .nv-axis .nv-axisMaxMin text {
34
+ font-weight: bold;
35
+ }
36
+
37
+ .nvd3 .x .nv-axis .nv-axisMaxMin text,
38
+ .nvd3 .x2 .nv-axis .nv-axisMaxMin text,
39
+ .nvd3 .x3 .nv-axis .nv-axisMaxMin text {
40
+ text-anchor: middle
41
+ }
42
+
43
+ .nvd3 .nv-axis.nv-disabled {
44
+ opacity: 0;
45
+ }
46
+
47
+ .nvd3 .nv-bars rect {
48
+ fill-opacity: .75;
49
+
50
+ transition: fill-opacity 250ms linear;
51
+ -moz-transition: fill-opacity 250ms linear;
52
+ -webkit-transition: fill-opacity 250ms linear;
53
+ }
54
+
55
+ .nvd3 .nv-bars rect.hover {
56
+ fill-opacity: 1;
57
+ }
58
+
59
+ .nvd3 .nv-bars .hover rect {
60
+ fill: lightblue;
61
+ }
62
+
63
+ .nvd3 .nv-bars text {
64
+ fill: rgba(0,0,0,0);
65
+ }
66
+
67
+ .nvd3 .nv-bars .hover text {
68
+ fill: rgba(0,0,0,1);
69
+ }
70
+
71
+ .nvd3 .nv-multibar .nv-groups rect,
72
+ .nvd3 .nv-multibarHorizontal .nv-groups rect,
73
+ .nvd3 .nv-discretebar .nv-groups rect {
74
+ stroke-opacity: 0;
75
+
76
+ transition: fill-opacity 250ms linear;
77
+ -moz-transition: fill-opacity 250ms linear;
78
+ -webkit-transition: fill-opacity 250ms linear;
79
+ }
80
+
81
+ .nvd3 .nv-multibar .nv-groups rect:hover,
82
+ .nvd3 .nv-multibarHorizontal .nv-groups rect:hover,
83
+ .nvd3 .nv-candlestickBar .nv-ticks rect:hover,
84
+ .nvd3 .nv-discretebar .nv-groups rect:hover {
85
+ fill-opacity: 1;
86
+ }
87
+
88
+ .nvd3 .nv-discretebar .nv-groups text,
89
+ .nvd3 .nv-multibarHorizontal .nv-groups text {
90
+ font-weight: bold;
91
+ fill: rgba(0,0,0,1);
92
+ stroke: rgba(0,0,0,0);
93
+ }
94
+
95
+ /* boxplot CSS */
96
+ .nvd3 .nv-boxplot circle {
97
+ fill-opacity: 0.5;
98
+ }
99
+
100
+ .nvd3 .nv-boxplot circle:hover {
444
101
  fill-opacity: 1;
445
102
  }
446
103
 
447
-
448
- /**********
449
- * Stacked Area
450
- */
451
-
452
- .nvd3.nv-stackedarea path.nv-area {
453
- fill-opacity: .7;
454
- stroke-opacity: 0;
455
- transition: fill-opacity 250ms linear, stroke-opacity 250ms linear;
456
- -moz-transition: fill-opacity 250ms linear, stroke-opacity 250ms linear;
457
- -webkit-transition: fill-opacity 250ms linear, stroke-opacity 250ms linear;
458
- }
459
-
460
- .nvd3.nv-stackedarea path.nv-area.hover {
461
- fill-opacity: .9;
462
- }
463
-
464
-
465
- .nvd3.nv-stackedarea .nv-groups .nv-point {
466
- stroke-opacity: 0;
467
- fill-opacity: 0;
468
- }
469
-
470
-
471
- /**********
472
- * Line Plus Bar
473
- */
474
-
475
- .nvd3.nv-linePlusBar .nv-bar rect {
476
- fill-opacity: .75;
477
- }
478
-
479
- .nvd3.nv-linePlusBar .nv-bar rect:hover {
104
+ .nvd3 .nv-boxplot rect:hover {
480
105
  fill-opacity: 1;
481
106
  }
482
107
 
483
-
484
- /**********
485
- * Bullet
486
- */
487
-
488
- .nvd3.nv-bullet { font: 10px sans-serif; }
489
- .nvd3.nv-bullet .nv-measure { fill-opacity: .8; }
490
- .nvd3.nv-bullet .nv-measure:hover { fill-opacity: 1; }
491
- .nvd3.nv-bullet .nv-marker { stroke: #000; stroke-width: 2px; }
492
- .nvd3.nv-bullet .nv-markerTriangle { stroke: #000; fill: #fff; stroke-width: 1.5px; }
493
- .nvd3.nv-bullet .nv-tick line { stroke: #666; stroke-width: .5px; }
494
- .nvd3.nv-bullet .nv-range.nv-s0 { fill: #eee; }
495
- .nvd3.nv-bullet .nv-range.nv-s1 { fill: #ddd; }
496
- .nvd3.nv-bullet .nv-range.nv-s2 { fill: #ccc; }
497
- .nvd3.nv-bullet .nv-title { font-size: 14px; font-weight: bold; }
498
- .nvd3.nv-bullet .nv-subtitle { fill: #999; }
499
-
500
-
501
- .nvd3.nv-bullet .nv-range {
502
- fill: #bababa;
503
- fill-opacity: .4;
504
- }
505
- .nvd3.nv-bullet .nv-range:hover {
506
- fill-opacity: .7;
507
- }
508
-
509
-
510
- /**********
511
- * Sparkline
512
- */
513
-
514
- .nvd3.nv-sparkline path {
515
- fill: none;
516
- }
517
-
518
- .nvd3.nv-sparklineplus g.nv-hoverValue {
519
- pointer-events: none;
520
- }
521
-
522
- .nvd3.nv-sparklineplus .nv-hoverValue line {
523
- stroke: #333;
524
- stroke-width: 1.5px;
525
- }
526
-
527
- .nvd3.nv-sparklineplus,
528
- .nvd3.nv-sparklineplus g {
529
- pointer-events: all;
530
- }
531
-
532
- .nvd3 .nv-hoverArea {
533
- fill-opacity: 0;
534
- stroke-opacity: 0;
535
- }
536
-
537
- .nvd3.nv-sparklineplus .nv-xValue,
538
- .nvd3.nv-sparklineplus .nv-yValue {
539
- stroke-width: 0;
540
- font-size: .9em;
541
- font-weight: normal;
542
- }
543
-
544
- .nvd3.nv-sparklineplus .nv-yValue {
545
- stroke: #f66;
546
- }
547
-
548
- .nvd3.nv-sparklineplus .nv-maxValue {
549
- stroke: #2ca02c;
550
- fill: #2ca02c;
551
- }
552
-
553
- .nvd3.nv-sparklineplus .nv-minValue {
554
- stroke: #d62728;
555
- fill: #d62728;
556
- }
557
-
558
- .nvd3.nv-sparklineplus .nv-currentValue {
559
- font-weight: bold;
560
- font-size: 1.1em;
561
- }
562
-
563
- /**********
564
- * historical stock
565
- */
566
-
567
- .nvd3.nv-ohlcBar .nv-ticks .nv-tick {
568
- stroke-width: 1px;
569
- }
570
-
571
- .nvd3.nv-ohlcBar .nv-ticks .nv-tick.hover {
572
- stroke-width: 2px;
573
- }
574
-
575
- .nvd3.nv-ohlcBar .nv-ticks .nv-tick.positive {
576
- stroke: #2ca02c;
577
- }
578
-
579
- .nvd3.nv-ohlcBar .nv-ticks .nv-tick.negative {
580
- stroke: #d62728;
581
- }
582
-
583
- .nvd3.nv-historicalStockChart .nv-axis .nv-axislabel {
584
- font-weight: bold;
585
- }
586
-
587
- .nvd3.nv-historicalStockChart .nv-dragTarget {
588
- fill-opacity: 0;
589
- stroke: none;
590
- cursor: move;
591
- }
592
-
593
- .nvd3 .nv-brush .extent {
594
- fill-opacity: 0 !important;
595
- }
596
-
597
- .nvd3 .nv-brushBackground rect {
598
- stroke: #000;
599
- stroke-width: .4;
600
- fill: #fff;
601
- fill-opacity: .7;
602
- }
603
-
604
-
605
- /**********
606
- * Parallel Coordinates
607
- */
608
-
609
- .nvd3 .background path {
610
- fill: none;
611
- stroke: #EEE;
612
- stroke-opacity: .4;
613
- shape-rendering: crispEdges;
614
- }
615
-
616
- .nvd3 .foreground path {
617
- fill: none;
618
- stroke-opacity: .7;
619
- }
620
-
621
- .nvd3 .brush .extent {
622
- fill-opacity: .3;
623
- stroke: #fff;
624
- shape-rendering: crispEdges;
625
- }
626
-
627
- .nvd3 .axis line, .axis path {
628
- fill: none;
629
- stroke: #000;
630
- shape-rendering: crispEdges;
631
- }
632
-
633
- .nvd3 .axis text {
634
- text-shadow: 0 1px 0 #fff;
635
- }
636
-
637
- /****
638
- Interactive Layer
639
- */
640
- .nvd3 .nv-interactiveGuideLine {
641
- pointer-events:none;
642
- }
643
- .nvd3 line.nv-guideline {
644
- stroke: #ccc;
108
+ .nvd3 line.nv-boxplot-median {
109
+ stroke: black;
110
+ }
111
+
112
+ .nv-boxplot-tick:hover {
113
+ stroke-width: 2.5px;
114
+ }
115
+ /* bullet */
116
+ .nvd3.nv-bullet { font: 10px sans-serif; }
117
+ .nvd3.nv-bullet .nv-measure { fill-opacity: .8; }
118
+ .nvd3.nv-bullet .nv-measure:hover { fill-opacity: 1; }
119
+ .nvd3.nv-bullet .nv-marker { stroke: #000; stroke-width: 2px; }
120
+ .nvd3.nv-bullet .nv-markerTriangle { stroke: #000; fill: #fff; stroke-width: 1.5px; }
121
+ .nvd3.nv-bullet .nv-tick line { stroke: #666; stroke-width: .5px; }
122
+ .nvd3.nv-bullet .nv-range.nv-s0 { fill: #eee; }
123
+ .nvd3.nv-bullet .nv-range.nv-s1 { fill: #ddd; }
124
+ .nvd3.nv-bullet .nv-range.nv-s2 { fill: #ccc; }
125
+ .nvd3.nv-bullet .nv-title { font-size: 14px; font-weight: bold; }
126
+ .nvd3.nv-bullet .nv-subtitle { fill: #999; }
127
+
128
+
129
+ .nvd3.nv-bullet .nv-range {
130
+ fill: #bababa;
131
+ fill-opacity: .4;
132
+ }
133
+ .nvd3.nv-bullet .nv-range:hover {
134
+ fill-opacity: .7;
135
+ }
136
+
137
+ .nvd3.nv-candlestickBar .nv-ticks .nv-tick {
138
+ stroke-width: 1px;
139
+ }
140
+
141
+ .nvd3.nv-candlestickBar .nv-ticks .nv-tick.hover {
142
+ stroke-width: 2px;
143
+ }
144
+
145
+ .nvd3.nv-candlestickBar .nv-ticks .nv-tick.positive rect {
146
+ stroke: #2ca02c;
147
+ fill: #2ca02c;
148
+ }
149
+
150
+ .nvd3.nv-candlestickBar .nv-ticks .nv-tick.negative rect {
151
+ stroke: #d62728;
152
+ fill: #d62728;
153
+ }
154
+
155
+ .with-transitions .nv-candlestickBar .nv-ticks .nv-tick {
156
+ transition: stroke-width 250ms linear, stroke-opacity 250ms linear;
157
+ -moz-transition: stroke-width 250ms linear, stroke-opacity 250ms linear;
158
+ -webkit-transition: stroke-width 250ms linear, stroke-opacity 250ms linear;
159
+
160
+ }
161
+
162
+ .nvd3.nv-candlestickBar .nv-ticks line {
163
+ stroke: #333;
164
+ }
165
+
166
+
167
+ .nvd3 .nv-legend .nv-disabled rect {
168
+ /*fill-opacity: 0;*/
169
+ }
170
+
171
+ .nvd3 .nv-check-box .nv-box {
172
+ fill-opacity:0;
173
+ stroke-width:2;
174
+ }
175
+
176
+ .nvd3 .nv-check-box .nv-check {
177
+ fill-opacity:0;
178
+ stroke-width:4;
179
+ }
180
+
181
+ .nvd3 .nv-series.nv-disabled .nv-check-box .nv-check {
182
+ fill-opacity:0;
183
+ stroke-opacity:0;
184
+ }
185
+
186
+ .nvd3 .nv-controlsWrap .nv-legend .nv-check-box .nv-check {
187
+ opacity: 0;
188
+ }
189
+
190
+ /* line plus bar */
191
+ .nvd3.nv-linePlusBar .nv-bar rect {
192
+ fill-opacity: .75;
193
+ }
194
+
195
+ .nvd3.nv-linePlusBar .nv-bar rect:hover {
196
+ fill-opacity: 1;
197
+ }
198
+ .nvd3 .nv-groups path.nv-line {
199
+ fill: none;
200
+ }
201
+
202
+ .nvd3 .nv-groups path.nv-area {
203
+ stroke: none;
204
+ }
205
+
206
+ .nvd3.nv-line .nvd3.nv-scatter .nv-groups .nv-point {
207
+ fill-opacity: 0;
208
+ stroke-opacity: 0;
209
+ }
210
+
211
+ .nvd3.nv-scatter.nv-single-point .nv-groups .nv-point {
212
+ fill-opacity: .5 !important;
213
+ stroke-opacity: .5 !important;
214
+ }
215
+
216
+
217
+ .with-transitions .nvd3 .nv-groups .nv-point {
218
+ transition: stroke-width 250ms linear, stroke-opacity 250ms linear;
219
+ -moz-transition: stroke-width 250ms linear, stroke-opacity 250ms linear;
220
+ -webkit-transition: stroke-width 250ms linear, stroke-opacity 250ms linear;
221
+
222
+ }
223
+
224
+ .nvd3.nv-scatter .nv-groups .nv-point.hover,
225
+ .nvd3 .nv-groups .nv-point.hover {
226
+ stroke-width: 7px;
227
+ fill-opacity: .95 !important;
228
+ stroke-opacity: .95 !important;
229
+ }
230
+
231
+
232
+ .nvd3 .nv-point-paths path {
233
+ stroke: #aaa;
234
+ stroke-opacity: 0;
235
+ fill: #eee;
236
+ fill-opacity: 0;
237
+ }
238
+
239
+
240
+
241
+ .nvd3 .nv-indexLine {
242
+ cursor: ew-resize;
243
+ }
244
+
245
+ /********************
246
+ * SVG CSS
247
+ */
248
+
249
+ /********************
250
+ Default CSS for an svg element nvd3 used
251
+ */
252
+ svg.nvd3-svg {
253
+ -webkit-touch-callout: none;
254
+ -webkit-user-select: none;
255
+ -khtml-user-select: none;
256
+ -ms-user-select: none;
257
+ -moz-user-select: none;
258
+ user-select: none;
259
+ display: block;
260
+ width:100%;
261
+ height:100%;
262
+ }
263
+
264
+ /********************
265
+ Box shadow and border radius styling
266
+ */
267
+ .nvtooltip.with-3d-shadow, .with-3d-shadow .nvtooltip {
268
+ -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
269
+ -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
270
+ box-shadow: 0 5px 10px rgba(0,0,0,.2);
271
+
272
+ -webkit-border-radius: 5px;
273
+ -moz-border-radius: 5px;
274
+ border-radius: 5px;
275
+ }
276
+
277
+
278
+ .nvd3 text {
279
+ font: normal 12px Arial;
280
+ }
281
+
282
+ .nvd3 .title {
283
+ font: bold 14px Arial;
284
+ }
285
+
286
+ .nvd3 .nv-background {
287
+ fill: white;
288
+ fill-opacity: 0;
289
+ }
290
+
291
+ .nvd3.nv-noData {
292
+ font-size: 18px;
293
+ font-weight: bold;
294
+ }
295
+
296
+
297
+ /**********
298
+ * Brush
299
+ */
300
+
301
+ .nv-brush .extent {
302
+ fill-opacity: .125;
303
+ shape-rendering: crispEdges;
304
+ }
305
+
306
+ .nv-brush .resize path {
307
+ fill: #eee;
308
+ stroke: #666;
309
+ }
310
+
311
+
312
+ /**********
313
+ * Legend
314
+ */
315
+
316
+ .nvd3 .nv-legend .nv-series {
317
+ cursor: pointer;
318
+ }
319
+
320
+ .nvd3 .nv-legend .nv-disabled circle {
321
+ fill-opacity: 0;
322
+ }
323
+
324
+ /* focus */
325
+ .nvd3 .nv-brush .extent {
326
+ fill-opacity: 0 !important;
327
+ }
328
+
329
+ .nvd3 .nv-brushBackground rect {
330
+ stroke: #000;
331
+ stroke-width: .4;
332
+ fill: #fff;
333
+ fill-opacity: .7;
334
+ }
335
+
336
+
337
+ .nvd3.nv-ohlcBar .nv-ticks .nv-tick {
338
+ stroke-width: 1px;
339
+ }
340
+
341
+ .nvd3.nv-ohlcBar .nv-ticks .nv-tick.hover {
342
+ stroke-width: 2px;
343
+ }
344
+
345
+ .nvd3.nv-ohlcBar .nv-ticks .nv-tick.positive {
346
+ stroke: #2ca02c;
347
+ }
348
+
349
+ .nvd3.nv-ohlcBar .nv-ticks .nv-tick.negative {
350
+ stroke: #d62728;
351
+ }
352
+
353
+
354
+ .nvd3 .background path {
355
+ fill: none;
356
+ stroke: #EEE;
357
+ stroke-opacity: .4;
358
+ shape-rendering: crispEdges;
359
+ }
360
+
361
+ .nvd3 .foreground path {
362
+ fill: none;
363
+ stroke-opacity: .7;
364
+ }
365
+
366
+ .nvd3 .nv-parallelCoordinates-brush .extent
367
+ {
368
+ fill: #fff;
369
+ fill-opacity: .6;
370
+ stroke: gray;
371
+ shape-rendering: crispEdges;
372
+ }
373
+
374
+ .nvd3 .nv-parallelCoordinates .hover {
375
+ fill-opacity: 1;
376
+ stroke-width: 3px;
377
+ }
378
+
379
+
380
+ .nvd3 .missingValuesline line {
381
+ fill: none;
382
+ stroke: black;
383
+ stroke-width: 1;
384
+ stroke-opacity: 1;
385
+ stroke-dasharray: 5, 5;
386
+ }
387
+ .nvd3.nv-pie path {
388
+ stroke-opacity: 0;
389
+ transition: fill-opacity 250ms linear, stroke-width 250ms linear, stroke-opacity 250ms linear;
390
+ -moz-transition: fill-opacity 250ms linear, stroke-width 250ms linear, stroke-opacity 250ms linear;
391
+ -webkit-transition: fill-opacity 250ms linear, stroke-width 250ms linear, stroke-opacity 250ms linear;
392
+
393
+ }
394
+
395
+ .nvd3.nv-pie .nv-pie-title {
396
+ font-size: 24px;
397
+ fill: rgba(19, 196, 249, 0.59);
398
+ }
399
+
400
+ .nvd3.nv-pie .nv-slice text {
401
+ stroke: #000;
402
+ stroke-width: 0;
403
+ }
404
+
405
+ .nvd3.nv-pie path {
406
+ stroke: #fff;
407
+ stroke-width: 1px;
408
+ stroke-opacity: 1;
409
+ }
410
+
411
+ .nvd3.nv-pie .hover path {
412
+ fill-opacity: .7;
413
+ }
414
+ .nvd3.nv-pie .nv-label {
415
+ pointer-events: none;
416
+ }
417
+ .nvd3.nv-pie .nv-label rect {
418
+ fill-opacity: 0;
419
+ stroke-opacity: 0;
420
+ }
421
+
422
+ /* scatter */
423
+ .nvd3 .nv-groups .nv-point.hover {
424
+ stroke-width: 20px;
425
+ stroke-opacity: .5;
426
+ }
427
+
428
+ .nvd3 .nv-scatter .nv-point.hover {
429
+ fill-opacity: 1;
430
+ }
431
+ .nv-noninteractive {
432
+ pointer-events: none;
433
+ }
434
+
435
+ .nv-distx, .nv-disty {
436
+ pointer-events: none;
437
+ }
438
+
439
+ /* sparkline */
440
+ .nvd3.nv-sparkline path {
441
+ fill: none;
442
+ }
443
+
444
+ .nvd3.nv-sparklineplus g.nv-hoverValue {
445
+ pointer-events: none;
446
+ }
447
+
448
+ .nvd3.nv-sparklineplus .nv-hoverValue line {
449
+ stroke: #333;
450
+ stroke-width: 1.5px;
451
+ }
452
+
453
+ .nvd3.nv-sparklineplus,
454
+ .nvd3.nv-sparklineplus g {
455
+ pointer-events: all;
456
+ }
457
+
458
+ .nvd3 .nv-hoverArea {
459
+ fill-opacity: 0;
460
+ stroke-opacity: 0;
461
+ }
462
+
463
+ .nvd3.nv-sparklineplus .nv-xValue,
464
+ .nvd3.nv-sparklineplus .nv-yValue {
465
+ stroke-width: 0;
466
+ font-size: .9em;
467
+ font-weight: normal;
468
+ }
469
+
470
+ .nvd3.nv-sparklineplus .nv-yValue {
471
+ stroke: #f66;
472
+ }
473
+
474
+ .nvd3.nv-sparklineplus .nv-maxValue {
475
+ stroke: #2ca02c;
476
+ fill: #2ca02c;
477
+ }
478
+
479
+ .nvd3.nv-sparklineplus .nv-minValue {
480
+ stroke: #d62728;
481
+ fill: #d62728;
482
+ }
483
+
484
+ .nvd3.nv-sparklineplus .nv-currentValue {
485
+ font-weight: bold;
486
+ font-size: 1.1em;
487
+ }
488
+ /* stacked area */
489
+ .nvd3.nv-stackedarea path.nv-area {
490
+ fill-opacity: .7;
491
+ stroke-opacity: 0;
492
+ transition: fill-opacity 250ms linear, stroke-opacity 250ms linear;
493
+ -moz-transition: fill-opacity 250ms linear, stroke-opacity 250ms linear;
494
+ -webkit-transition: fill-opacity 250ms linear, stroke-opacity 250ms linear;
495
+ }
496
+
497
+ .nvd3.nv-stackedarea path.nv-area.hover {
498
+ fill-opacity: .9;
499
+ }
500
+
501
+
502
+ .nvd3.nv-stackedarea .nv-groups .nv-point {
503
+ stroke-opacity: 0;
504
+ fill-opacity: 0;
505
+ }
506
+
507
+
508
+ .nvtooltip {
509
+ position: absolute;
510
+ background-color: rgba(255,255,255,1.0);
511
+ color: rgba(0,0,0,1.0);
512
+ padding: 1px;
513
+ border: 1px solid rgba(0,0,0,.2);
514
+ z-index: 10000;
515
+ display: block;
516
+
517
+ font-family: Arial;
518
+ font-size: 13px;
519
+ text-align: left;
520
+ pointer-events: none;
521
+
522
+ white-space: nowrap;
523
+
524
+ -webkit-touch-callout: none;
525
+ -webkit-user-select: none;
526
+ -khtml-user-select: none;
527
+ -moz-user-select: none;
528
+ -ms-user-select: none;
529
+ user-select: none;
530
+ }
531
+
532
+ .nvtooltip {
533
+ background: rgba(255,255,255, 0.8);
534
+ border: 1px solid rgba(0,0,0,0.5);
535
+ border-radius: 4px;
536
+ }
537
+
538
+ /*Give tooltips that old fade in transition by
539
+ putting a "with-transitions" class on the container div.
540
+ */
541
+ .nvtooltip.with-transitions, .with-transitions .nvtooltip {
542
+ transition: opacity 50ms linear;
543
+ -moz-transition: opacity 50ms linear;
544
+ -webkit-transition: opacity 50ms linear;
545
+
546
+ transition-delay: 200ms;
547
+ -moz-transition-delay: 200ms;
548
+ -webkit-transition-delay: 200ms;
549
+ }
550
+
551
+ .nvtooltip.x-nvtooltip,
552
+ .nvtooltip.y-nvtooltip {
553
+ padding: 8px;
554
+ }
555
+
556
+ .nvtooltip h3 {
557
+ margin: 0;
558
+ padding: 4px 14px;
559
+ line-height: 18px;
560
+ font-weight: normal;
561
+ background-color: rgba(247,247,247,0.75);
562
+ color: rgba(0,0,0,1.0);
563
+ text-align: center;
564
+
565
+ border-bottom: 1px solid #ebebeb;
566
+
567
+ -webkit-border-radius: 5px 5px 0 0;
568
+ -moz-border-radius: 5px 5px 0 0;
569
+ border-radius: 5px 5px 0 0;
570
+ }
571
+
572
+ .nvtooltip p {
573
+ margin: 0;
574
+ padding: 5px 14px;
575
+ text-align: center;
576
+ }
577
+
578
+ .nvtooltip span {
579
+ display: inline-block;
580
+ margin: 2px 0;
581
+ }
582
+
583
+ .nvtooltip table {
584
+ margin: 6px;
585
+ border-spacing:0;
586
+ }
587
+
588
+
589
+ .nvtooltip table td {
590
+ padding: 2px 9px 2px 0;
591
+ vertical-align: middle;
592
+ }
593
+
594
+ .nvtooltip table td.key {
595
+ font-weight:normal;
596
+ }
597
+ .nvtooltip table td.value {
598
+ text-align: right;
599
+ font-weight: bold;
600
+ }
601
+
602
+ .nvtooltip table tr.highlight td {
603
+ padding: 1px 9px 1px 0;
604
+ border-bottom-style: solid;
605
+ border-bottom-width: 1px;
606
+ border-top-style: solid;
607
+ border-top-width: 1px;
608
+ }
609
+
610
+ .nvtooltip table td.legend-color-guide div {
611
+ width: 8px;
612
+ height: 8px;
613
+ vertical-align: middle;
614
+ }
615
+
616
+ .nvtooltip table td.legend-color-guide div {
617
+ width: 12px;
618
+ height: 12px;
619
+ border: 1px solid #999;
620
+ }
621
+
622
+ .nvtooltip .footer {
623
+ padding: 3px;
624
+ text-align: center;
625
+ }
626
+
627
+ .nvtooltip-pending-removal {
628
+ pointer-events: none;
629
+ display: none;
630
+ }
631
+
632
+
633
+ /****
634
+ Interactive Layer
635
+ */
636
+ .nvd3 .nv-interactiveGuideLine {
637
+ pointer-events:none;
638
+ }
639
+ .nvd3 line.nv-guideline {
640
+ stroke: #ccc;
645
641
  }