diff options
| author | Frédéric van der Essen <fva@openerp.com> | 2013-08-23 11:07:57 +0200 |
|---|---|---|
| committer | Frédéric van der Essen <fva@openerp.com> | 2013-08-23 11:07:57 +0200 |
| commit | 3ad504ffc432fe92baefbbc5429a3fabcacfd64c (patch) | |
| tree | 8e87e0a8697d0597875e7ab6ca6ea68b46ba195e /addons/website/static/src/css/editor.sass | |
| parent | 678bb7c4a0e7d68d37921ab0240279894f90961c (diff) | |
[IMP] website: cleanup drop zones css and sort out z-index issues
bzr revid: fva@openerp.com-20130823090757-ffqvcselr1merggk
Diffstat (limited to 'addons/website/static/src/css/editor.sass')
| -rw-r--r-- | addons/website/static/src/css/editor.sass | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass index 3c54a0d0aaf..45078e12b0b 100644 --- a/addons/website/static/src/css/editor.sass +++ b/addons/website/static/src/css/editor.sass @@ -51,6 +51,8 @@ z-index: 1 display: none +/* ---- SNIPPET EDITOR ---- */ + .oe_snippets position: fixed left: 0px @@ -61,6 +63,7 @@ background: rgb(40,40,40) box-shadow: 0px 10px 10px -10px black inset overflow-y: auto + z-index: 100 .oe_snippet display: inline-block @@ -76,6 +79,7 @@ overflow: hidden -webkit-user-select: none user-select: none + cursor: move .oe_snippet_thumbnail.oe_label text-align: center @@ -98,10 +102,11 @@ -webkit-transform: scale(0.095) -.oe_drop_zone +/* ---- SNIPPETS DROP ZONES ---- */ + + +.oe_drop_zone.oe_insert display: block - background: rgba(153, 0, 255, 0.17) - border-radius: 3px height: 32px margin: -16px 0px -webkit-transition: margin 250ms linear @@ -111,9 +116,6 @@ &:last-child:not(:first-child) margin-top: -24px margin-bottom: -8px - &.oe_hover - background: rgba(0, 255, 133, 0.22) - z-index: 100000 &:before content: "" display: block @@ -127,14 +129,19 @@ &.oe_hover:before border-top: dashed 2px rgba(116, 255, 161, 0.72) -.oe_hover_zone +.oe_drop_zone.oe_mutate position: absolute background: rgba(153, 0, 255, 0.17) border-radius: 3px +.oe_drop_zone + background: rgba(153, 0, 255, 0.17) + border-radius: 3px &.oe_hover background: rgba(0, 255, 133, 0.22) - z-index: 100000 + z-index: 99 + +/* ---- MOBILE PREVIEW ---- */ .oe_stop_scrolling height: 100% |
