summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css/editor.sass
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2013-12-04 11:52:12 +0100
committerXavier Morel <xmo@openerp.com>2013-12-04 11:52:12 +0100
commitb79e56d1af9a2d9e10631df79c4325ea7d0854e1 (patch)
tree4988c5293862be432856319db62a1bd01f3c38f0 /addons/website/static/src/css/editor.sass
parent31381c1469e4970dae7c0f00b49c7556cc6c3cf7 (diff)
[IMP] clarity of links edition
According to user tests, users have a hard time finding out how to edit links. Thus, add same system as image edition (a small button appearing when hovering the element). Extract and unify these two to avoid redundancies between handlings as they are broadly similar (only details such as label, positioning and size of button relative to the element being hovered really change, the lifecycle itself is the same). The main setup still isn't very clean, there might be a better way to do it. bzr revid: xmo@openerp.com-20131204105212-u0a49nbvwilgtfst
Diffstat (limited to 'addons/website/static/src/css/editor.sass')
-rw-r--r--addons/website/static/src/css/editor.sass6
1 files changed, 6 insertions, 0 deletions
diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass
index b44b7c6a4e9..7de48fdc611 100644
--- a/addons/website/static/src/css/editor.sass
+++ b/addons/website/static/src/css/editor.sass
@@ -181,6 +181,12 @@ ul.oe_menu_editor
outline: 1px solid red !important
background-color: #ffd9dd !important
+.hover-edition-button
+ position: absolute
+ top: 0
+ left: 0
+ z-index: 42
+
/* ---- SNIPPET EDITOR ---- */
#oe_snippets