-
-
Notifications
You must be signed in to change notification settings - Fork 176
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 #11 from ramiy/master
Version 0.9.0
- Loading branch information
Showing
13 changed files
with
513 additions
and
396 deletions.
There are no files selected for viewing
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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 |
---|---|---|
@@ -0,0 +1,92 @@ | ||
/* | ||
* Chart labels | ||
*/ | ||
.charts-css { | ||
|
||
&.bar { | ||
|
||
&:not(.show-labels) { | ||
--labels-size: 0; | ||
|
||
tbody tr th { | ||
display: none; | ||
} | ||
} | ||
&.show-labels { | ||
--labels-size: 80px; | ||
|
||
tbody tr th { | ||
display: flex; | ||
justify-content: var(--labels-align, center); | ||
align-items: center; | ||
flex-direction: column; | ||
} | ||
|
||
tr.hide-label th, | ||
th.hide-label { | ||
display: none; | ||
} | ||
} | ||
&.labels-align-start { | ||
tbody tr th { | ||
align-items: var(--labels-align, flex-start); | ||
} | ||
} | ||
&.labels-align-end { | ||
tbody tr th { | ||
align-items: var(--labels-align, flex-end); | ||
} | ||
} | ||
&.labels-align-center { | ||
tbody tr th { | ||
align-items: var(--labels-align, center); | ||
} | ||
} | ||
|
||
} | ||
|
||
&.column, | ||
&.area, | ||
&.line { | ||
|
||
&:not(.show-labels) { | ||
--labels-size: 0; | ||
|
||
tbody tr th { | ||
display: none; | ||
} | ||
} | ||
&.show-labels { | ||
--labels-size: 1.5rem; | ||
|
||
tbody tr th { | ||
display: flex; | ||
justify-content: var(--labels-align, center); | ||
align-items: center; | ||
flex-direction: column; | ||
} | ||
|
||
tr.hide-label th, | ||
th.hide-label { | ||
display: none; | ||
} | ||
} | ||
&.labels-align-start { | ||
tbody tr th { | ||
justify-content: var(--labels-align, flex-start); | ||
} | ||
} | ||
&.labels-align-end { | ||
tbody tr th { | ||
justify-content: var(--labels-align, flex-end); | ||
} | ||
} | ||
&.labels-align-center { | ||
tbody tr th { | ||
justify-content: var(--labels-align, center); | ||
} | ||
} | ||
|
||
} | ||
|
||
} |
Oops, something went wrong.