apexcharts.css 12 KB

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