-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from fkleon/feature-mixed-bag
Mixed bag of changes
- Loading branch information
Showing
11 changed files
with
220 additions
and
203 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,100 +1,100 @@ | ||
@use 'chartist/dist/index' as chartist with ( | ||
$ct-series-colors: ( | ||
// percentiles | ||
#d70206, | ||
#e68507, | ||
#59922b, | ||
// children | ||
#0544d3, | ||
#d17905, | ||
#59922b, | ||
#d70206, | ||
#6b0392, | ||
#f4c63d, | ||
#453d3f, | ||
#e6805e, | ||
#dda458, | ||
#eacf7d, | ||
#86797d, | ||
#b2c326, | ||
#6188e2, | ||
#a748ca | ||
) | ||
$ct-series-colors: ( | ||
// percentiles | ||
#d70206, | ||
#e68507, | ||
#59922b, | ||
// children | ||
#0544d3, | ||
#d17905, | ||
#59922b, | ||
#d70206, | ||
#6b0392, | ||
#f4c63d, | ||
#453d3f, | ||
#e6805e, | ||
#dda458, | ||
#eacf7d, | ||
#86797d, | ||
#b2c326, | ||
#6188e2, | ||
#a748ca, | ||
) | ||
); | ||
|
||
#chart { | ||
height: 50vh; | ||
height: 50vh; | ||
} | ||
|
||
/* Use this selector to override the line style on a given series */ | ||
.ct-series-a .ct-line { | ||
/* Set the colour of this series line */ | ||
//stroke: red; | ||
/* Control the thickness of your lines */ | ||
stroke-width: 1px; | ||
/* Create a dashed line with a pattern */ | ||
stroke-dasharray: 10px 10px; | ||
/* Set the colour of this series line */ | ||
//stroke: red; | ||
/* Control the thickness of your lines */ | ||
stroke-width: 1px; | ||
/* Create a dashed line with a pattern */ | ||
stroke-dasharray: 10px 10px; | ||
} | ||
|
||
.ct-series-b .ct-line { | ||
//stroke: orange; | ||
stroke-width: 1px; | ||
stroke-dasharray: 5px 5px; | ||
//stroke: orange; | ||
stroke-width: 1px; | ||
stroke-dasharray: 5px 5px; | ||
} | ||
|
||
.ct-series-c .ct-line { | ||
//stroke: green; | ||
stroke-width: 1px; | ||
stroke-dasharray: 10px 10px; | ||
//stroke: green; | ||
stroke-width: 1px; | ||
stroke-dasharray: 10px 10px; | ||
} | ||
|
||
// percentiles | ||
.ct-series-a .ct-point, | ||
.ct-series-b .ct-point, | ||
.ct-series-c .ct-point { | ||
display: none; | ||
display: none; | ||
} | ||
|
||
.ct-legend { | ||
margin-top: 1em; | ||
margin-top: 1em; | ||
position: relative; | ||
z-index: 10; | ||
|
||
li { | ||
//display: inline flow-root; | ||
position: relative; | ||
z-index: 10; | ||
padding-left: 23px; | ||
padding-right: 23px; | ||
margin-bottom: 3px; | ||
} | ||
|
||
li { | ||
//display: inline flow-root; | ||
position: relative; | ||
padding-left: 23px; | ||
padding-right: 23px; | ||
margin-bottom: 3px; | ||
} | ||
li:before { | ||
width: 12px; | ||
height: 12px; | ||
position: absolute; | ||
left: 0; | ||
content: ''; | ||
border: 3px solid transparent; | ||
border-radius: 2px; | ||
} | ||
|
||
li:before { | ||
width: 12px; | ||
height: 12px; | ||
position: absolute; | ||
left: 0; | ||
content: ''; | ||
border: 3px solid transparent; | ||
border-radius: 2px; | ||
} | ||
li.inactive:before { | ||
background: transparent; | ||
} | ||
|
||
li.inactive:before { | ||
background: transparent; | ||
} | ||
&.ct-legend-inside { | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
} | ||
|
||
&.ct-legend-inside { | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
} | ||
|
||
@for $i from 1 through length(chartist.$ct-series-names) { | ||
$n: nth(chartist.$ct-series-names, $i); | ||
$c: nth(chartist.$ct-series-colors, $i); | ||
@for $i from 1 through length(chartist.$ct-series-names) { | ||
$n: nth(chartist.$ct-series-names, $i); | ||
$c: nth(chartist.$ct-series-colors, $i); | ||
|
||
.ct-series-#{$n}:before { | ||
background-color: $c; | ||
border-color: $c; | ||
} | ||
.ct-series-#{$n}:before { | ||
background-color: $c; | ||
border-color: $c; | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.