nv.d3.css 12 KB

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