From 5637dea11458166508747bb1bc7be3603c06d602 Mon Sep 17 00:00:00 2001 From: Cocographique Date: Thu, 16 Aug 2018 12:52:52 +0200 Subject: [PATCH] [IMP] web_editor, website: review we options' style --- addons/web_editor/static/src/js/editor/snippets.editor.js | 1 + addons/web_editor/static/src/scss/web_editor.ui.scss | 6 +++--- addons/website/views/snippets.xml | 4 ---- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/addons/web_editor/static/src/js/editor/snippets.editor.js b/addons/web_editor/static/src/js/editor/snippets.editor.js index f5cbb34c802..baff8a591e8 100644 --- a/addons/web_editor/static/src/js/editor/snippets.editor.js +++ b/addons/web_editor/static/src/js/editor/snippets.editor.js @@ -288,6 +288,7 @@ var SnippetEditor = Widget.extend({ option.__order = i++; return option.attachTo($el); }); + $ul.append($('
', {class: 'dropdown-divider mt-2'})); var $parents = this.$target.parents(); _.each($parents, function (parent) { diff --git a/addons/web_editor/static/src/scss/web_editor.ui.scss b/addons/web_editor/static/src/scss/web_editor.ui.scss index 66529d61839..d2fefe9f23a 100644 --- a/addons/web_editor/static/src/scss/web_editor.ui.scss +++ b/addons/web_editor/static/src/scss/web_editor.ui.scss @@ -410,7 +410,7 @@ html[lang] > body.editor_enable [data-oe-translation-state] { &.show .btn { // background-color: $o-we-color-light; &:active, &:focus, &:active:focus { - outline: none; + box-shadow: none; } &:before, &:after { width: 9px; @@ -497,7 +497,7 @@ html[lang] > body.editor_enable [data-oe-translation-state] { } &.o_main_header { - padding-left: 8px; + padding-left: 10px; } &.o_parent_editor_header { position: relative; @@ -516,7 +516,7 @@ html[lang] > body.editor_enable [data-oe-translation-state] { ~ .dropdown-submenu .dropdown-item, ~ .dropdown-item { font-size: 11px; - opacity: 0.8; + opacity: 0.7; &:hover { opacity: 1; } diff --git a/addons/website/views/snippets.xml b/addons/website/views/snippets.xml index 0735de588c0..8307339ce21 100644 --- a/addons/website/views/snippets.xml +++ b/addons/website/views/snippets.xml @@ -1036,7 +1036,6 @@ Double
-