summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@openerp.com>2013-09-13 12:19:11 +0200
committerChristophe Matthieu <chm@openerp.com>2013-09-13 12:19:11 +0200
commit5086f1e1e13a06d9250ff28e5bf48dbe8cbd0a8a (patch)
treedea8100dee2d5cf7a2a598722ec05349e0aa2fcb /addons/website/static/src/css
parentaaa0f7eaca49d731987288a17bd38ff38984663f (diff)
[IMP] website editor snippet: vertical selector (eg.: used for drag and drop column)
bzr revid: chm@openerp.com-20130913101911-467bx9ddykv23ae6
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