summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@openerp.com>2013-09-16 13:51:48 +0200
committerChristophe Matthieu <chm@openerp.com>2013-09-16 13:51:48 +0200
commit00a4fe922942dc89a542f22ee4f52d3406e33b4f (patch)
tree47e885cd287847c70a66e5f050437c77ed4ec0fc /addons/website/static/src/css
parentef0d17312108a18a5a529e1b9140ede5f3b9d890 (diff)
[IMP] website: snippet: css auto hide
bzr revid: chm@openerp.com-20130916115148-wx6a1ux1iq0dupyg
Diffstat (limited to 'addons/website/static/src/css')
-rw-r--r--addons/website/static/src/css/editor.css5
-rw-r--r--addons/website/static/src/css/editor.sass5
2 files changed, 10 insertions, 0 deletions
diff --git a/addons/website/static/src/css/editor.css b/addons/website/static/src/css/editor.css
index 4d9563fafa2..4661217b8a8 100644
--- a/addons/website/static/src/css/editor.css
+++ b/addons/website/static/src/css/editor.css
@@ -125,6 +125,7 @@ table.editorbar-panel td.selected {
/* ---- SNIPPET EDITOR ---- */
#oe_snippets {
+ display: none;
position: fixed;
left: 0px;
right: 0px;
@@ -147,6 +148,10 @@ table.editorbar-panel td.selected {
height: 140px;
}
+#website-top-navbar:hover #oe_snippets {
+ display: block;
+}
+
.oe_snippet {
display: inline-block;
vertical-align: top;
diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass
index 308a3a6b017..58801bed5f4 100644
--- a/addons/website/static/src/css/editor.sass
+++ b/addons/website/static/src/css/editor.sass
@@ -116,7 +116,9 @@ table.editorbar-panel
/* ---- SNIPPET EDITOR ---- */
+
#oe_snippets
+ display: none
position: fixed
left: 0px
right: 0px
@@ -135,6 +137,9 @@ table.editorbar-panel
.pill-content
height: 140px
+#website-top-navbar:hover #oe_snippets
+ display: block
+
.oe_snippet
display: inline-block
vertical-align: top