From c8945679872a0708eb67a477a99a65d508c84cb0 Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Fri, 12 Jun 2015 13:59:39 +0200 Subject: Work on the card activities and comments This commit also introduces a new CSSEvents object that is used to abstract vendor specifics events related to CSS transitions and animations. Fixes #183. Fixes #179. --- client/components/cards/minicard.styl | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) (limited to 'client/components/cards/minicard.styl') diff --git a/client/components/cards/minicard.styl b/client/components/cards/minicard.styl index ebad8dec..c854b1f5 100644 --- a/client/components/cards/minicard.styl +++ b/client/components/cards/minicard.styl @@ -78,20 +78,34 @@ margin-bottom: 2px text-decoration: none word-wrap: break-word - clear: both &::selection background: transparent .minicard-labels float: right + display: flex .minicard-label - float: right width: 11px height: @width border-radius: 2px - margin-right: 3px + margin-left: 3px + + .badges + float: left + margin-top: 5px + color: darken(white, 60%) + + &:empty + display: none + + .badge + float: left + margin-right: 10px + + .badge-text + font-size: 0.9em .minicard-members float: right @@ -109,12 +123,6 @@ .minicard-members:empty display: none - .badges - float: left - - &:empty - display: none - &.minicard-composer margin-bottom: 10px -- cgit v1.2.3-1-g7c22