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.css14
-rw-r--r--addons/website/static/src/css/editor.sass13
2 files changed, 16 insertions, 11 deletions
diff --git a/addons/website/static/src/css/editor.css b/addons/website/static/src/css/editor.css
index b1d54611a76..3cf2daebebf 100644
--- a/addons/website/static/src/css/editor.css
+++ b/addons/website/static/src/css/editor.css
@@ -231,6 +231,10 @@ table.editorbar-panel td.selected {
}
/* ---- SNIPPETS DROP ZONES ---- */
+.col-md-12[data-snippet-id="colmd"] {
+ float: left;
+}
+
.oe_drop_zone.oe_insert {
display: block;
height: 48px;
@@ -241,7 +245,7 @@ table.editorbar-panel td.selected {
position: absolute;
z-index: 1000;
}
-.oe_drop_zone.oe_insert:before {
+.oe_drop_zone.oe_insert:not(.oe_vertical):before {
content: "";
display: block;
border-top: dashed 2px rgba(209, 178, 255, 0.72);
@@ -252,10 +256,10 @@ table.editorbar-panel td.selected {
border-top: dashed 2px rgba(116, 255, 161, 0.72);
}
.oe_drop_zone.oe_insert.oe_vertical {
- width: 16px;
- display: inline-block;
- position: absolute;
- margin: 0px !important;
+ width: 24px;
+ float: left;
+ position: relative;
+ margin: 0px -12px !important;
}
.oe_drop_zone.oe_insert.oe_overlay {
background: rgba(153, 0, 255, 0.17);
diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass
index a0c26e79ccf..09fb88511c6 100644
--- a/addons/website/static/src/css/editor.sass
+++ b/addons/website/static/src/css/editor.sass
@@ -206,7 +206,8 @@ table.editorbar-panel
/* ---- SNIPPETS DROP ZONES ---- */
-
+.col-md-12[data-snippet-id="colmd"]
+ float: left
.oe_drop_zone.oe_insert
display: block
height: 48px
@@ -216,7 +217,7 @@ table.editorbar-panel
width: 100%
position: absolute
z-index: 1000
- &:before
+ &:not(.oe_vertical):before
content: ""
display: block
border-top: dashed 2px rgba(209, 178, 255, 0.72)
@@ -225,10 +226,10 @@ table.editorbar-panel
&.oe_hover:before
border-top: dashed 2px rgba(116, 255, 161, 0.72)
&.oe_vertical
- width: 16px
- display: inline-block
- position: absolute
- margin: 0px !important
+ width: 24px
+ float: left
+ position: relative
+ margin: 0px -12px !important
&.oe_overlay
background: rgba(153, 0, 255, 0.17)
border-radius: 3px