From 018bb343b5eadba9b8367286634c39db454a53fa Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Thu, 14 May 2015 15:21:48 +0200 Subject: Fix new list form Fixes #157. --- client/components/cards/details.styl | 80 ++++++++++++++++++------------------ 1 file changed, 40 insertions(+), 40 deletions(-) (limited to 'client/components/cards') diff --git a/client/components/cards/details.styl b/client/components/cards/details.styl index faf15d79..106a9cfd 100644 --- a/client/components/cards/details.styl +++ b/client/components/cards/details.styl @@ -1,45 +1,45 @@ @import 'nib' -.card-detail.sidebar-content - width: 496px - 2 * 20px - top: -46px !important - z-index: 20 !important - // XXX Animate apparition - - .card-detail-header - background: #F7F7F7 - border-bottom: 1px solid darken(white, 10%) - position: absolute - min-height: 38px - top: 0 - left: 0 - right: 0 - padding 7px 20px 0 - - i.fa - float: right - font-size: 1.3em - color: darken(white, 35%) - margin-top: 7px - - .card-detail-title - font-weight: bold - font-size: 1.7em - margin: 3px 0 0 - padding: 0 - - .card-detail-list - font-size: 0.85em - margin-bottom: 3px - - a.card-detail-list-title - font-weight: bold - - &.is-editable - display: inline-block - background: darken(white, 10%) - border-radius: 3px - padding: 0px 5px +.card-sidebar.sidebar + width: 496px + top: -46px + + .card-detail.sidebar-content + padding: 0 20px + z-index: 20 !important + // XXX Animate apparition + + .card-detail-header + margin: 0 -20px 5px + padding 7px 20px 0 + background: #F7F7F7 + border-bottom: 1px solid darken(white, 10%) + min-height: 38px + + i.fa + float: right + font-size: 1.3em + color: darken(white, 35%) + margin-top: 7px + + .card-detail-title + font-weight: bold + font-size: 1.7em + margin: 3px 0 0 + padding: 0 + + .card-detail-list + font-size: 0.85em + margin-bottom: 3px + + a.card-detail-list-title + font-weight: bold + + &.is-editable + display: inline-block + background: darken(white, 10%) + border-radius: 3px + padding: 0px 5px .new-comment position: relative -- cgit v1.2.3-1-g7c22