apexcharts.css 11 KB

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