Last active
December 12, 2015 20:13
-
-
Save hauber/c4656b79098b4c5e6bf4 to your computer and use it in GitHub Desktop.
Color every second task in CheckVist. Each sublist starts with the same color, i. e. the first and/or the last subtask might have the same color than the previous/following task one level up.
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
/* set the background-color for every second task */ | |
li.task:nth-of-type(2n+1) > div.coreDiv { | |
background-color: darkgray; | |
} | |
li.task:nth-of-type(2n) > div.coreDiv { | |
background-color: lightgray; | |
} | |
/* active selection should remain visible */ | |
li.selectedTask > div.coreDiv { | |
background-color: lightgoldenrodyellow !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment