nvd3.scss 11 KB

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