diff --git a/cms/static/sass/_unit.scss b/cms/static/sass/_unit.scss index 7ed7e3ee7e..e8abf56190 100644 --- a/cms/static/sass/_unit.scss +++ b/cms/static/sass/_unit.scss @@ -75,15 +75,9 @@ &.editing { border-color: #6696d7; - &:hover { - .drag-handle, - .component-actions a { - background-color: $blue; - } - - .drag-handle { - border-color: $blue; - } + .drag-handle, + .component-actions { + display: none; } } @@ -230,14 +224,24 @@ @include edit-box; display: none; padding: 20px; - border-radius: 0 0 3px 3px; + border-radius: 2px 2px 0 0; @include linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, .1)); background-color: $blue; color: #fff; + @include box-shadow(none); .metadata_edit { margin-bottom: 20px; font-size: 13px; + + li { + margin-bottom: 10px; + } + + label { + display: inline-block; + margin-right: 10px; + } } .CodeMirror { @@ -245,6 +249,7 @@ } h3 { + margin-bottom: 10px; font-size: 18px; font-weight: 700; } diff --git a/cms/templates/component.html b/cms/templates/component.html index f0d266e2e1..648a5e3d98 100644 --- a/cms/templates/component.html +++ b/cms/templates/component.html @@ -1,9 +1,3 @@ -${preview} -
-