diff options
author | Marc Hartmayer <hello@hartmayer.com> | 2020-06-09 23:32:00 +0200 |
---|---|---|
committer | Marc Hartmayer <hello@hartmayer.com> | 2020-06-09 23:40:44 +0200 |
commit | 5755ece33e9fc5967c0b726abed0912fde9612db (patch) | |
tree | a226c3a2cbecec2bc2900bcd7ed6dcfe90466107 /client/components/cards/checklists.styl | |
parent | 2a25318ba8c262ed3282b50a83f5a8c0ecb212a1 (diff) | |
download | wekan-5755ece33e9fc5967c0b726abed0912fde9612db.tar.gz wekan-5755ece33e9fc5967c0b726abed0912fde9612db.tar.bz2 wekan-5755ece33e9fc5967c0b726abed0912fde9612db.zip |
Add user option to hide finished checklist items
Add a user option to hide finished items in a checklist.
Diffstat (limited to 'client/components/cards/checklists.styl')
-rw-r--r-- | client/components/cards/checklists.styl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/client/components/cards/checklists.styl b/client/components/cards/checklists.styl index 0a6d688b..f8c36a12 100644 --- a/client/components/cards/checklists.styl +++ b/client/components/cards/checklists.styl @@ -16,6 +16,10 @@ textarea.js-add-checklist-item, textarea.js-edit-checklist-item &:hover color: inherit +.checklists-title + display: flex + justify-content: space-between + .checklist-title .checkbox float: left @@ -99,6 +103,15 @@ textarea.js-add-checklist-item, textarea.js-edit-checklist-item margin-top: 3px display: flex background: darken(white, 3%) + opacity: 1 + transition: height 0ms 400ms, opacity 400ms 0ms + height: auto + overflow: hidden + + &.is-checked.invisible + opacity: 0 + height: 0 + transition: height 0ms 0ms, opacity 600ms 0ms &.placeholder background: darken(white, 20%) |