diff options
author | Lauri Ojansivu <x@xet7.org> | 2017-02-10 09:54:23 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2017-02-10 09:54:23 +0200 |
commit | 0065ca3ad6a3a627cde557b6c80f87c8c6267492 (patch) | |
tree | f832fde75ee9fba0310a51196c2e7ce90dedcfec /client/components/cards/minicard.styl | |
parent | 89959753cd10321fc21cf290bdd06f26b19874b9 (diff) | |
parent | 1f7d1f023ff4a6ec2e8923e54fe26c68fa7d9380 (diff) | |
download | wekan-0065ca3ad6a3a627cde557b6c80f87c8c6267492.tar.gz wekan-0065ca3ad6a3a627cde557b6c80f87c8c6267492.tar.bz2 wekan-0065ca3ad6a3a627cde557b6c80f87c8c6267492.zip |
Merge branch 'devel' into greenkeeper-xss-0.3.3
Diffstat (limited to 'client/components/cards/minicard.styl')
-rw-r--r-- | client/components/cards/minicard.styl | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/client/components/cards/minicard.styl b/client/components/cards/minicard.styl index 0f6f8ad2..12a89785 100644 --- a/client/components/cards/minicard.styl +++ b/client/components/cards/minicard.styl @@ -91,15 +91,34 @@ margin-right: 11px margin-bottom: 3px font-size: 0.9em + + &:last-of-type + margin-right: 0 .badge-icon, .badge-text - vertical-align: top + 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 |