react-code-dataset / argon-dashboard-react /src /assets /scss /argon-dashboard /custom /charts /_chart.scss
Download argon-dashboard-react/src/assets/scss/argon-dashboard/custom/charts/_chart.scss from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 951 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/argon-dashboard-react/src/assets/scss/argon-dashboard/custom/charts/_chart.scss
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/argon-dashboard-react/src/assets/scss/argon-dashboard/custom/charts/_chart.scss
-
curl -L -o _chart.scss https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/argon-dashboard-react/src/assets/scss/argon-dashboard/custom/charts/_chart.scss
951 Bytes
| // | |
| // Chart | |
| // | |
| .chart { | |
| position: relative; | |
| height: $chart-height; | |
| } | |
| // Size variations | |
| .chart-sm { | |
| height: $chart-height-sm; | |
| } | |
| // Legend | |
| .chart-legend { | |
| display: flex; | |
| justify-content: center; | |
| margin-top: $chart-legend-margin-top; | |
| font-size: $chart-legend-font-size; | |
| text-align: center; | |
| color: $chart-legend-color; | |
| } | |
| .chart-legend-item { | |
| display: inline-flex; | |
| align-items: center; | |
| + .chart-legend-item { | |
| margin-left: 1rem; | |
| } | |
| } | |
| .chart-legend-indicator { | |
| display: inline-block; | |
| width: 0.5rem; | |
| height: 0.5rem; | |
| margin-right: 0.375rem; | |
| border-radius: 50%; | |
| } | |
| // Tooltip | |
| #chart-tooltip { | |
| z-index: 0; | |
| .arrow { | |
| top: 100%; | |
| left: 50%; | |
| transform: translateX(-50%) translateX(-.5rem); | |
| } | |
| } | |
| // Chart info overlay | |
| .chart-info-overlay { | |
| position: absolute; | |
| top: 0; | |
| left: 5%; | |
| max-width: 350px; | |
| padding: 20px; | |
| z-index: 1; | |
| } | |