From c7feaa137303a7eb3e9e18d8af7f16dfeea5253b Mon Sep 17 00:00:00 2001 From: Brian Talbot Date: Fri, 14 Dec 2012 10:54:44 -0500 Subject: [PATCH] editing - revised unit editor styling --- cms/static/sass/_unit.scss | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/cms/static/sass/_unit.scss b/cms/static/sass/_unit.scss index 0fb9e9b75d..f0eb32980c 100644 --- a/cms/static/sass/_unit.scss +++ b/cms/static/sass/_unit.scss @@ -42,7 +42,7 @@ } h2 { - margin: 30px 40px; + margin: 30px 40px 30px 0; color: #646464; font-size: 19px; font-weight: 300; @@ -468,17 +468,21 @@ body.unit { .component { - padding-top: 30px; + padding-top: 30px; - .component-actions { - @include box-sizing(border-box); - position: absolute; - width: 811px; - padding: 15px; - top: 0; - left: 0; - border-bottom: 1px solid $lightBluishGrey2; - background: $lightGrey; - } + .component-actions { + @include box-sizing(border-box); + position: absolute; + width: 811px; + padding: 15px; + top: 0; + left: 0; + border-bottom: 1px solid $lightBluishGrey2; + background: $lightGrey; } + + &.editing { + padding-top: 0; + } + } }