diff options
| author | Christophe Matthieu <chm@openerp.com> | 2013-09-20 12:08:21 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@openerp.com> | 2013-09-20 12:08:21 +0200 |
| commit | efa72cae7b75f19fd4498d2ff6b17ccbb9dad5f9 (patch) | |
| tree | e62b7b3d847b04de3ecf97e790a40c037eca000a /addons/website/static/src/css | |
| parent | cd47d71e3022d6945b86233afa2eb765c0f9e15a (diff) | |
[FIX] website snippet: drop zone for column with firefox
bzr revid: chm@openerp.com-20130920100821-qyy7n8j8612pzg3k
Diffstat (limited to 'addons/website/static/src/css')
| -rw-r--r-- | addons/website/static/src/css/editor.css | 14 | ||||
| -rw-r--r-- | addons/website/static/src/css/editor.sass | 13 |
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 |
