nvd3.less 12 KB

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