From 06b118ae33f8b1d5e7abd8b4c1a400e26f98c738 Mon Sep 17 00:00:00 2001 From: Brian Talbot Date: Fri, 15 Mar 2013 15:23:03 -0400 Subject: [PATCH] studio - sass cleanup: resolved static pages display issue after local merge master --- cms/static/sass/views/_static-pages.scss | 50 ++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/cms/static/sass/views/_static-pages.scss b/cms/static/sass/views/_static-pages.scss index bc9bccf1bb..759b03cfc7 100644 --- a/cms/static/sass/views/_static-pages.scss +++ b/cms/static/sass/views/_static-pages.scss @@ -20,6 +20,51 @@ body.course.static-pages { margin: 0 0 5px 0; } } + + .wrapper-component-editor { + z-index: 9999; + position: relative; + background: $lightBluishGrey2; + } + + .component-editor { + @include edit-box; + @include box-shadow(none); + display: none; + padding: 20px; + border-radius: 2px 2px 0 0; + + .metadata_edit { + margin-bottom: 20px; + font-size: 13px; + + li { + margin-bottom: 10px; + } + + label { + display: inline-block; + margin-right: 10px; + } + } + + h3 { + margin-bottom: 10px; + font-size: 18px; + font-weight: 700; + } + + h5 { + margin-bottom: 8px; + color: #fff; + font-weight: 700; + } + + .save-button { + margin-top: 10px; + margin: 15px 8px 0 0; + } + } } .component-editor { @@ -39,6 +84,7 @@ body.course.static-pages { } .component { + position: relative; border: 1px solid $mediumGrey; border-top: none; @@ -60,10 +106,13 @@ body.course.static-pages { } .drag-handle { + position: absolute; + display: block; top: 0; right: 0; z-index: 11; width: 35px; + height: 100%; border: none; background: url(../img/drag-handles.png) center no-repeat #fff; @@ -73,6 +122,7 @@ body.course.static-pages { } .component-actions { + position: absolute; top: 26px; right: 44px; }