diff options
author | shoetten <simon@hoetten.org> | 2016-02-05 22:35:56 +0100 |
---|---|---|
committer | shoetten <simon@hoetten.org> | 2016-11-22 21:28:46 +0100 |
commit | 5dd554b99960ebd3ac599fa5afc52838c8b7155f (patch) | |
tree | 3ce70d893d6c9855c21b382d9ae88e715020a92e /client/components/cards/cardDate.styl | |
parent | 80b93ce7117326464b55a76a9efbeeff36f28248 (diff) | |
download | wekan-5dd554b99960ebd3ac599fa5afc52838c8b7155f.tar.gz wekan-5dd554b99960ebd3ac599fa5afc52838c8b7155f.tar.bz2 wekan-5dd554b99960ebd3ac599fa5afc52838c8b7155f.zip |
Color highlight start and due dates with correct timezone handling.
Diffstat (limited to 'client/components/cards/cardDate.styl')
-rw-r--r-- | client/components/cards/cardDate.styl | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/client/components/cards/cardDate.styl b/client/components/cards/cardDate.styl index e9d56f79..ab182207 100644 --- a/client/components/cards/cardDate.styl +++ b/client/components/cards/cardDate.styl @@ -26,20 +26,28 @@ &:hover, &.is-active background-color: #b3b3b3 + &.current, &.almost-due, &.due, &.long-overdue + color: #fff + &.current background-color: #42ca00 &:hover, &.is-active background-color: darken(#42ca00, 15) &.almost-due - background-color: #fad900 + background-color: #edc909 &:hover, &.is-active - background-color: darken(#fad900, 15) + background-color: darken(#edc909, 10) &.due background-color: #fa3f00 &:hover, &.is-active background-color: darken(#fa3f00, 15) + + &.long-overdue + background-color: #fd5d47 + &:hover, &.is-active + background-color: darken(#fd5d47, 7) time &::before |