summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css
diff options
context:
space:
mode:
Diffstat (limited to 'addons/website/static/src/css')
-rw-r--r--addons/website/static/src/css/editor.css11
-rw-r--r--addons/website/static/src/css/editor.sass8
2 files changed, 13 insertions, 6 deletions
diff --git a/addons/website/static/src/css/editor.css b/addons/website/static/src/css/editor.css
index e895b1209ce..820329d5ed0 100644
--- a/addons/website/static/src/css/editor.css
+++ b/addons/website/static/src/css/editor.css
@@ -172,6 +172,9 @@ table.editorbar-panel td.selected {
height: 32px;
margin: -16px 0px;
-webkit-transition: margin 250ms linear;
+ position: absolute;
+ background: rgba(153, 0, 255, 0.17);
+ border-radius: 3px;
}
.oe_drop_zone.oe_insert:first-child:not(:last-child) {
margin-top: -8px;
@@ -197,11 +200,11 @@ table.editorbar-panel td.selected {
.oe_drop_zone.oe_insert.oe_hover:before {
border-top: dashed 2px rgba(116, 255, 161, 0.72);
}
-
-.oe_drop_zone.oe_overlay {
+.oe_drop_zone.oe_insert.oe_vertical {
+ width: 16px;
+ display: inline-block;
position: absolute;
- background: rgba(153, 0, 255, 0.17);
- border-radius: 3px;
+ margin: 0px !important;
}
.oe_drop_zone {
diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass
index 96c77108ff6..e19757db49c 100644
--- a/addons/website/static/src/css/editor.sass
+++ b/addons/website/static/src/css/editor.sass
@@ -178,8 +178,12 @@ table.editorbar-panel
top: 24px
&.oe_hover:before
border-top: dashed 2px rgba(116, 255, 161, 0.72)
-
-.oe_drop_zone.oe_overlay
+ &.oe_vertical
+ width: 16px
+ display: inline-block
+ position: absolute
+ margin: 0px !important
+ &.oe_overlay
position: absolute
background: rgba(153, 0, 255, 0.17)
border-radius: 3px