use sass for chart styles
1 files deleted
1 files added
3 files modified
| | |
| | | margin: 2.5rem auto 0 auto |
| | | max-width: 450px !important |
| | | max-height: 450px !important |
| | | |
| | | footer |
| | | min-height: 150px |
| New file |
| | |
| | | @keyframes chartjs-render-animation |
| | | 0% |
| | | opacity: .99 |
| | | 100% |
| | | opacity: 1 |
| | | |
| | | .chartjs |
| | | &-render-monitor |
| | | animation: chartjs-render-animation 1ms |
| | | |
| | | &-size-monitor |
| | | &, &-expand, &-shrink |
| | | position: absolute |
| | | direction: ltr |
| | | left: 0 |
| | | top: 0 |
| | | right: 0 |
| | | bottom: 0 |
| | | overflow: hidden |
| | | pointer-events: none |
| | | visibility: hidden |
| | | z-index: -1 |
| | | |
| | | &-expand |
| | | > div |
| | | position: absolute |
| | | width: 1000000px |
| | | height: 1000000px |
| | | left: 0 |
| | | top: 0 |
| | | |
| | | &-shrink |
| | | > div |
| | | position: absolute |
| | | width: 200% |
| | | height: 200% |
| | | left: 0 |
| | | top: 0 |
| | |
| | | @import "utils" |
| | | @import "syntax" |
| | | @import "fonts" |
| | | |
| | | footer |
| | | min-height: 150px |
| | | @import "chart" |
| | |
| | | {{- $labels = split (delimit $labels ",") "," }} |
| | | {{- $dataTally := split (delimit $dataCompactData ",") "," }} |
| | | |
| | | <link rel="stylesheet" href='{{ absURL "js/chart.min.css" }}' /> |
| | | <script src='{{ absURL "js/chart.min.js" }}'></script> |
| | | <script> |
| | | Chart.platform.disableCSSInjection = true; |