diff options
author | lksime <lkisme@me.com> | 2017-01-20 21:05:48 +0800 |
---|---|---|
committer | lksime <lkisme@me.com> | 2017-01-20 21:05:48 +0800 |
commit | 59731af139b73f4b9cd8bd0bd0602ac272538b4f (patch) | |
tree | 48711ded51c6540e6c01f439e566d22d6a6ac7a6 /client/components/cards/minicard.styl | |
parent | 38c143b8bf569d6a08caf580b20d2fa5a4ea8abf (diff) | |
download | wekan-59731af139b73f4b9cd8bd0bd0602ac272538b4f.tar.gz wekan-59731af139b73f4b9cd8bd0bd0602ac272538b4f.tar.bz2 wekan-59731af139b73f4b9cd8bd0bd0602ac272538b4f.zip |
Add checklist feature
Diffstat (limited to 'client/components/cards/minicard.styl')
-rw-r--r-- | client/components/cards/minicard.styl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/client/components/cards/minicard.styl b/client/components/cards/minicard.styl index a61f6067..12a89785 100644 --- a/client/components/cards/minicard.styl +++ b/client/components/cards/minicard.styl @@ -99,10 +99,26 @@ .badge-text vertical-align: middle + &.is-finished + background: #3cb500 + padding: 0px 3px + border-radius: 3px + color: white + + .badge-icon, + .badge-text + vertical-align: middle//didn't figure why use top, it'd be easier to fill bg if it's middle. This was introduced in commit "91cfcf7b12b5e7c137c2e765b2c378dde6b82966" & "* Improve the design of the minicards badges" was mentioned. + &.badge-comment + margin-bottom: 0.1rem + .badge-text font-size: 0.9em padding-left: 2px line-height: 14px + .check-list-text + padding-left: 0px + line-height: 12px + .minicard-members float: right |