From 4128f37a1f32cc29ab0f97a45db3de22b5588e20 Mon Sep 17 00:00:00 2001 From: Brian Talbot Date: Thu, 10 Jan 2013 13:18:26 -0500 Subject: [PATCH] studio - moving a component's static view visually below modal while editing --- cms/static/sass/_unit.scss | 11 ++++++++--- cms/templates/component.html | 18 +++++++++++------- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/cms/static/sass/_unit.scss b/cms/static/sass/_unit.scss index 62586a2baf..23d708dbc1 100644 --- a/cms/static/sass/_unit.scss +++ b/cms/static/sass/_unit.scss @@ -245,8 +245,8 @@ &.editing { border: 1px solid $lightBluishGrey2; - z-index: 9999; - + z-index: auto; + .drag-handle, .component-actions { display: none; @@ -284,12 +284,17 @@ overflow-x: auto; } + .wrapper-component-editor { + z-index: 9999; + position: relative; + } + .component-editor { @include edit-box; + @include box-shadow(none); display: none; padding: 20px; border-radius: 2px 2px 0 0; - @include box-shadow(none); .metadata_edit { margin-bottom: 20px; diff --git a/cms/templates/component.html b/cms/templates/component.html index b7ad9c3c33..639d22ea12 100644 --- a/cms/templates/component.html +++ b/cms/templates/component.html @@ -1,13 +1,17 @@ -
-
- ${editor} -
- Save - Cancel +
+
+
+ ${editor} +
+ Save + Cancel +
+ -${preview} \ No newline at end of file +${preview} +