apexcharts.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663
  1. .apexcharts-canvas {
  2. position: relative;
  3. user-select: none;
  4. /* cannot give overflow: hidden as it will crop tooltips which overflow outside chart area */
  5. }
  6. /* scrollbar is not visible by default for legend, hence forcing the visibility */
  7. .apexcharts-canvas ::-webkit-scrollbar {
  8. -webkit-appearance: none;
  9. width: 6px;
  10. }
  11. .apexcharts-canvas ::-webkit-scrollbar-thumb {
  12. border-radius: 4px;
  13. background-color: rgba(0, 0, 0, .5);
  14. box-shadow: 0 0 1px rgba(255, 255, 255, .5);
  15. -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
  16. }
  17. .apexcharts-canvas.apexcharts-theme-dark {
  18. background: #424242;
  19. }
  20. .apexcharts-inner {
  21. position: relative;
  22. }
  23. .apexcharts-text tspan {
  24. font-family: inherit;
  25. }
  26. .legend-mouseover-inactive {
  27. transition: 0.15s ease all;
  28. opacity: 0.20;
  29. }
  30. .apexcharts-series-collapsed {
  31. opacity: 0;
  32. }
  33. .apexcharts-tooltip {
  34. border-radius: 5px;
  35. box-shadow: 2px 2px 6px -4px #999;
  36. cursor: default;
  37. font-size: 14px;
  38. left: 62px;
  39. opacity: 0;
  40. pointer-events: none;
  41. position: absolute;
  42. top: 20px;
  43. overflow: hidden;
  44. white-space: nowrap;
  45. z-index: 12;
  46. transition: 0.15s ease all;
  47. }
  48. .apexcharts-tooltip.apexcharts-active {
  49. opacity: 1;
  50. transition: 0.15s ease all;
  51. }
  52. .apexcharts-tooltip.apexcharts-theme-light {
  53. border: 1px solid #e3e3e3;
  54. background: rgba(255, 255, 255, 0.96);
  55. }
  56. .apexcharts-tooltip.apexcharts-theme-dark {
  57. color: #fff;
  58. background: rgba(30, 30, 30, 0.8);
  59. }
  60. .apexcharts-tooltip * {
  61. font-family: inherit;
  62. }
  63. .apexcharts-tooltip-title {
  64. padding: 6px;
  65. font-size: 15px;
  66. margin-bottom: 4px;
  67. }
  68. .apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title {
  69. background: #ECEFF1;
  70. border-bottom: 1px solid #ddd;
  71. }
  72. .apexcharts-tooltip.apexcharts-theme-dark .apexcharts-tooltip-title {
  73. background: rgba(0, 0, 0, 0.7);
  74. border-bottom: 1px solid #333;
  75. }
  76. .apexcharts-tooltip-text-value,
  77. .apexcharts-tooltip-text-z-value {
  78. display: inline-block;
  79. font-weight: 600;
  80. margin-left: 5px;
  81. }
  82. .apexcharts-tooltip-text-z-label:empty,
  83. .apexcharts-tooltip-text-z-value:empty {
  84. display: none;
  85. }
  86. .apexcharts-tooltip-text-value,
  87. .apexcharts-tooltip-text-z-value {
  88. font-weight: 600;
  89. }
  90. .apexcharts-tooltip-marker {
  91. width: 12px;
  92. height: 12px;
  93. position: relative;
  94. top: 0px;
  95. margin-right: 10px;
  96. border-radius: 50%;
  97. }
  98. .apexcharts-tooltip-series-group {
  99. padding: 0 10px;
  100. display: none;
  101. text-align: left;
  102. justify-content: left;
  103. align-items: center;
  104. }
  105. .apexcharts-tooltip-series-group.apexcharts-active .apexcharts-tooltip-marker {
  106. opacity: 1;
  107. }
  108. .apexcharts-tooltip-series-group.apexcharts-active,
  109. .apexcharts-tooltip-series-group:last-child {
  110. padding-bottom: 4px;
  111. }
  112. .apexcharts-tooltip-series-group-hidden {
  113. opacity: 0;
  114. height: 0;
  115. line-height: 0;
  116. padding: 0 !important;
  117. }
  118. .apexcharts-tooltip-y-group {
  119. padding: 6px 0 5px;
  120. }
  121. .apexcharts-tooltip-candlestick {
  122. padding: 4px 8px;
  123. }
  124. .apexcharts-tooltip-candlestick>div {
  125. margin: 4px 0;
  126. }
  127. .apexcharts-tooltip-candlestick span.value {
  128. font-weight: bold;
  129. }
  130. .apexcharts-tooltip-rangebar {
  131. padding: 5px 8px;
  132. }
  133. .apexcharts-tooltip-rangebar .category {
  134. font-weight: 600;
  135. color: #777;
  136. }
  137. .apexcharts-tooltip-rangebar .series-name {
  138. font-weight: bold;
  139. display: block;
  140. margin-bottom: 5px;
  141. }
  142. .apexcharts-xaxistooltip {
  143. opacity: 0;
  144. padding: 9px 10px;
  145. pointer-events: none;
  146. color: #373d3f;
  147. font-size: 13px;
  148. text-align: center;
  149. border-radius: 2px;
  150. position: absolute;
  151. z-index: 10;
  152. background: #ECEFF1;
  153. border: 1px solid #90A4AE;
  154. transition: 0.15s ease all;
  155. }
  156. .apexcharts-xaxistooltip.apexcharts-theme-dark {
  157. background: rgba(0, 0, 0, 0.7);
  158. border: 1px solid rgba(0, 0, 0, 0.5);
  159. color: #fff;
  160. }
  161. .apexcharts-xaxistooltip:after,
  162. .apexcharts-xaxistooltip:before {
  163. left: 50%;
  164. border: solid transparent;
  165. content: " ";
  166. height: 0;
  167. width: 0;
  168. position: absolute;
  169. pointer-events: none;
  170. }
  171. .apexcharts-xaxistooltip:after {
  172. border-color: rgba(236, 239, 241, 0);
  173. border-width: 6px;
  174. margin-left: -6px;
  175. }
  176. .apexcharts-xaxistooltip:before {
  177. border-color: rgba(144, 164, 174, 0);
  178. border-width: 7px;
  179. margin-left: -7px;
  180. }
  181. .apexcharts-xaxistooltip-bottom:after,
  182. .apexcharts-xaxistooltip-bottom:before {
  183. bottom: 100%;
  184. }
  185. .apexcharts-xaxistooltip-top:after,
  186. .apexcharts-xaxistooltip-top:before {
  187. top: 100%;
  188. }
  189. .apexcharts-xaxistooltip-bottom:after {
  190. border-bottom-color: #ECEFF1;
  191. }
  192. .apexcharts-xaxistooltip-bottom:before {
  193. border-bottom-color: #90A4AE;
  194. }
  195. .apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:after {
  196. border-bottom-color: rgba(0, 0, 0, 0.5);
  197. }
  198. .apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:before {
  199. border-bottom-color: rgba(0, 0, 0, 0.5);
  200. }
  201. .apexcharts-xaxistooltip-top:after {
  202. border-top-color: #ECEFF1
  203. }
  204. .apexcharts-xaxistooltip-top:before {
  205. border-top-color: #90A4AE;
  206. }
  207. .apexcharts-xaxistooltip-top.apexcharts-theme-dark:after {
  208. border-top-color: rgba(0, 0, 0, 0.5);
  209. }
  210. .apexcharts-xaxistooltip-top.apexcharts-theme-dark:before {
  211. border-top-color: rgba(0, 0, 0, 0.5);
  212. }
  213. .apexcharts-xaxistooltip.apexcharts-active {
  214. opacity: 1;
  215. transition: 0.15s ease all;
  216. }
  217. .apexcharts-yaxistooltip {
  218. opacity: 0;
  219. padding: 4px 10px;
  220. pointer-events: none;
  221. color: #373d3f;
  222. font-size: 13px;
  223. text-align: center;
  224. border-radius: 2px;
  225. position: absolute;
  226. z-index: 10;
  227. background: #ECEFF1;
  228. border: 1px solid #90A4AE;
  229. }
  230. .apexcharts-yaxistooltip.apexcharts-theme-dark {
  231. background: rgba(0, 0, 0, 0.7);
  232. border: 1px solid rgba(0, 0, 0, 0.5);
  233. color: #fff;
  234. }
  235. .apexcharts-yaxistooltip:after,
  236. .apexcharts-yaxistooltip:before {
  237. top: 50%;
  238. border: solid transparent;
  239. content: " ";
  240. height: 0;
  241. width: 0;
  242. position: absolute;
  243. pointer-events: none;
  244. }
  245. .apexcharts-yaxistooltip:after {
  246. border-color: rgba(236, 239, 241, 0);
  247. border-width: 6px;
  248. margin-top: -6px;
  249. }
  250. .apexcharts-yaxistooltip:before {
  251. border-color: rgba(144, 164, 174, 0);
  252. border-width: 7px;
  253. margin-top: -7px;
  254. }
  255. .apexcharts-yaxistooltip-left:after,
  256. .apexcharts-yaxistooltip-left:before {
  257. left: 100%;
  258. }
  259. .apexcharts-yaxistooltip-right:after,
  260. .apexcharts-yaxistooltip-right:before {
  261. right: 100%;
  262. }
  263. .apexcharts-yaxistooltip-left:after {
  264. border-left-color: #ECEFF1;
  265. }
  266. .apexcharts-yaxistooltip-left:before {
  267. border-left-color: #90A4AE;
  268. }
  269. .apexcharts-yaxistooltip-left.apexcharts-theme-dark:after {
  270. border-left-color: rgba(0, 0, 0, 0.5);
  271. }
  272. .apexcharts-yaxistooltip-left.apexcharts-theme-dark:before {
  273. border-left-color: rgba(0, 0, 0, 0.5);
  274. }
  275. .apexcharts-yaxistooltip-right:after {
  276. border-right-color: #ECEFF1;
  277. }
  278. .apexcharts-yaxistooltip-right:before {
  279. border-right-color: #90A4AE;
  280. }
  281. .apexcharts-yaxistooltip-right.apexcharts-theme-dark:after {
  282. border-right-color: rgba(0, 0, 0, 0.5);
  283. }
  284. .apexcharts-yaxistooltip-right.apexcharts-theme-dark:before {
  285. border-right-color: rgba(0, 0, 0, 0.5);
  286. }
  287. .apexcharts-yaxistooltip.apexcharts-active {
  288. opacity: 1;
  289. }
  290. .apexcharts-yaxistooltip-hidden {
  291. display: none;
  292. }
  293. .apexcharts-xcrosshairs,
  294. .apexcharts-ycrosshairs {
  295. pointer-events: none;
  296. opacity: 0;
  297. transition: 0.15s ease all;
  298. }
  299. .apexcharts-xcrosshairs.apexcharts-active,
  300. .apexcharts-ycrosshairs.apexcharts-active {
  301. opacity: 1;
  302. transition: 0.15s ease all;
  303. }
  304. .apexcharts-ycrosshairs-hidden {
  305. opacity: 0;
  306. }
  307. .apexcharts-selection-rect {
  308. cursor: move;
  309. }
  310. .svg_select_boundingRect, .svg_select_points_rot {
  311. pointer-events: none;
  312. opacity: 0;
  313. visibility: hidden;
  314. }
  315. .apexcharts-selection-rect + g .svg_select_boundingRect,
  316. .apexcharts-selection-rect + g .svg_select_points_rot {
  317. opacity: 0;
  318. visibility: hidden;
  319. }
  320. .apexcharts-selection-rect + g .svg_select_points_l,
  321. .apexcharts-selection-rect + g .svg_select_points_r {
  322. cursor: ew-resize;
  323. opacity: 1;
  324. visibility: visible;
  325. }
  326. .svg_select_points {
  327. fill: #efefef;
  328. stroke: #333;
  329. rx: 2;
  330. }
  331. .apexcharts-canvas.apexcharts-zoomable .hovering-zoom {
  332. cursor: crosshair
  333. }
  334. .apexcharts-canvas.apexcharts-zoomable .hovering-pan {
  335. cursor: move
  336. }
  337. .apexcharts-zoom-icon,
  338. .apexcharts-zoomin-icon,
  339. .apexcharts-zoomout-icon,
  340. .apexcharts-reset-icon,
  341. .apexcharts-pan-icon,
  342. .apexcharts-selection-icon,
  343. .apexcharts-menu-icon,
  344. .apexcharts-toolbar-custom-icon {
  345. cursor: pointer;
  346. width: 20px;
  347. height: 20px;
  348. line-height: 24px;
  349. color: #6E8192;
  350. text-align: center;
  351. }
  352. .apexcharts-zoom-icon svg,
  353. .apexcharts-zoomin-icon svg,
  354. .apexcharts-zoomout-icon svg,
  355. .apexcharts-reset-icon svg,
  356. .apexcharts-menu-icon svg {
  357. fill: #6E8192;
  358. }
  359. .apexcharts-selection-icon svg {
  360. fill: #444;
  361. transform: scale(0.76)
  362. }
  363. .apexcharts-theme-dark .apexcharts-zoom-icon svg,
  364. .apexcharts-theme-dark .apexcharts-zoomin-icon svg,
  365. .apexcharts-theme-dark .apexcharts-zoomout-icon svg,
  366. .apexcharts-theme-dark .apexcharts-reset-icon svg,
  367. .apexcharts-theme-dark .apexcharts-pan-icon svg,
  368. .apexcharts-theme-dark .apexcharts-selection-icon svg,
  369. .apexcharts-theme-dark .apexcharts-menu-icon svg,
  370. .apexcharts-theme-dark .apexcharts-toolbar-custom-icon svg {
  371. fill: #f3f4f5;
  372. }
  373. .apexcharts-canvas .apexcharts-zoom-icon.apexcharts-selected svg,
  374. .apexcharts-canvas .apexcharts-selection-icon.apexcharts-selected svg,
  375. .apexcharts-canvas .apexcharts-reset-zoom-icon.apexcharts-selected svg {
  376. fill: #008FFB;
  377. }
  378. .apexcharts-theme-light .apexcharts-selection-icon:not(.apexcharts-selected):hover svg,
  379. .apexcharts-theme-light .apexcharts-zoom-icon:not(.apexcharts-selected):hover svg,
  380. .apexcharts-theme-light .apexcharts-zoomin-icon:hover svg,
  381. .apexcharts-theme-light .apexcharts-zoomout-icon:hover svg,
  382. .apexcharts-theme-light .apexcharts-reset-icon:hover svg,
  383. .apexcharts-theme-light .apexcharts-menu-icon:hover svg {
  384. fill: #333;
  385. }
  386. .apexcharts-selection-icon,
  387. .apexcharts-menu-icon {
  388. position: relative;
  389. }
  390. .apexcharts-reset-icon {
  391. margin-left: 5px;
  392. }
  393. .apexcharts-zoom-icon,
  394. .apexcharts-reset-icon,
  395. .apexcharts-menu-icon {
  396. transform: scale(0.85);
  397. }
  398. .apexcharts-zoomin-icon,
  399. .apexcharts-zoomout-icon {
  400. transform: scale(0.7)
  401. }
  402. .apexcharts-zoomout-icon {
  403. margin-right: 3px;
  404. }
  405. .apexcharts-pan-icon {
  406. transform: scale(0.62);
  407. position: relative;
  408. left: 1px;
  409. top: 0px;
  410. }
  411. .apexcharts-pan-icon svg {
  412. fill: #fff;
  413. stroke: #6E8192;
  414. stroke-width: 2;
  415. }
  416. .apexcharts-pan-icon.apexcharts-selected svg {
  417. stroke: #008FFB;
  418. }
  419. .apexcharts-pan-icon:not(.apexcharts-selected):hover svg {
  420. stroke: #333;
  421. }
  422. .apexcharts-toolbar {
  423. position: absolute;
  424. z-index: 11;
  425. max-width: 176px;
  426. text-align: right;
  427. border-radius: 3px;
  428. padding: 0px 6px 2px 6px;
  429. display: flex;
  430. justify-content: space-between;
  431. align-items: center;
  432. }
  433. .apexcharts-menu {
  434. background: #fff;
  435. position: absolute;
  436. top: 100%;
  437. border: 1px solid #ddd;
  438. border-radius: 3px;
  439. padding: 3px;
  440. right: 10px;
  441. opacity: 0;
  442. min-width: 110px;
  443. transition: 0.15s ease all;
  444. pointer-events: none;
  445. }
  446. .apexcharts-menu.apexcharts-menu-open {
  447. opacity: 1;
  448. pointer-events: all;
  449. transition: 0.15s ease all;
  450. }
  451. .apexcharts-menu-item {
  452. padding: 6px 7px;
  453. font-size: 12px;
  454. cursor: pointer;
  455. }
  456. .apexcharts-theme-light .apexcharts-menu-item:hover {
  457. background: #eee;
  458. }
  459. .apexcharts-theme-dark .apexcharts-menu {
  460. background: rgba(0, 0, 0, 0.7);
  461. color: #fff;
  462. }
  463. @media screen and (min-width: 768px) {
  464. .apexcharts-canvas:hover .apexcharts-toolbar {
  465. opacity: 1;
  466. }
  467. }
  468. .apexcharts-datalabel.apexcharts-element-hidden {
  469. opacity: 0;
  470. }
  471. .apexcharts-pie-label,
  472. .apexcharts-datalabels,
  473. .apexcharts-datalabel,
  474. .apexcharts-datalabel-label,
  475. .apexcharts-datalabel-value {
  476. cursor: default;
  477. pointer-events: none;
  478. }
  479. .apexcharts-pie-label-delay {
  480. opacity: 0;
  481. animation-name: opaque;
  482. animation-duration: 0.3s;
  483. animation-fill-mode: forwards;
  484. animation-timing-function: ease;
  485. }
  486. .apexcharts-canvas .apexcharts-element-hidden {
  487. opacity: 0;
  488. }
  489. .apexcharts-hide .apexcharts-series-points {
  490. opacity: 0;
  491. }
  492. .apexcharts-gridline,
  493. .apexcharts-annotation-rect,
  494. .apexcharts-tooltip .apexcharts-marker,
  495. .apexcharts-area-series .apexcharts-area,
  496. .apexcharts-line,
  497. .apexcharts-zoom-rect,
  498. .apexcharts-toolbar svg,
  499. .apexcharts-area-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,
  500. .apexcharts-line-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,
  501. .apexcharts-radar-series path,
  502. .apexcharts-radar-series polygon {
  503. pointer-events: none;
  504. }
  505. /* markers */
  506. .apexcharts-marker {
  507. transition: 0.15s ease all;
  508. }
  509. @keyframes opaque {
  510. 0% {
  511. opacity: 0;
  512. }
  513. 100% {
  514. opacity: 1;
  515. }
  516. }
  517. /* Resize generated styles */
  518. @keyframes resizeanim {
  519. from {
  520. opacity: 0;
  521. }
  522. to {
  523. opacity: 0;
  524. }
  525. }
  526. .resize-triggers {
  527. animation: 1ms resizeanim;
  528. visibility: hidden;
  529. opacity: 0;
  530. }
  531. .resize-triggers,
  532. .resize-triggers>div,
  533. .contract-trigger:before {
  534. content: " ";
  535. display: block;
  536. position: absolute;
  537. top: 0;
  538. left: 0;
  539. height: 100%;
  540. width: 100%;
  541. overflow: hidden;
  542. }
  543. .resize-triggers>div {
  544. background: #eee;
  545. overflow: auto;
  546. }
  547. .contract-trigger:before {
  548. width: 200%;
  549. height: 200%;
  550. }