summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css/editor.sass
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2013-10-29 09:37:18 +0100
committerFabien Meghazi <fme@openerp.com>2013-10-29 09:37:18 +0100
commit2d0158d8cc96a6bae52039b3158913c85a1d5162 (patch)
treedcb6a96db00d838552bbdeff5988e2ea9a66f1bf /addons/website/static/src/css/editor.sass
parent2fc5da3f95497820e5d8c0a92cd2491b2daef76c (diff)
[ADD] Menu drag'n dro
bzr revid: fme@openerp.com-20131029083718-e6jrinmh6z48vn5j
Diffstat (limited to 'addons/website/static/src/css/editor.sass')
-rw-r--r--addons/website/static/src/css/editor.sass29
1 files changed, 29 insertions, 0 deletions
diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass
index 5dbe7a8eee9..ca60d7e474a 100644
--- a/addons/website/static/src/css/editor.sass
+++ b/addons/website/static/src/css/editor.sass
@@ -124,6 +124,35 @@ table.editorbar-panel
background: rgb(255, 255, 182)
// }}}
+// -------- MENU -------- {{{
+body.dragging, body.dragging *
+ cursor: move !important
+
+.dragged
+ position: absolute
+ top: 0
+ opacity: .5
+ z-index: 2000
+
+ul#top_menu
+ li.placeholder
+ position: relative
+ margin: 0
+ padding: 0
+ border: none
+ &:before
+ position: absolute
+ content: ""
+ width: 0
+ height: 0
+ margin-top: -5px
+ left: -5px
+ top: -4px
+ border: 5px solid transparent
+ border-left-color: #990000
+ border-right: none
+// }}}
+
/* ---- RTE ---- */
// bootstrap makes .btn elements unselectable -> RTE double-click can't know