diff options
| author | Cocographique <nmi@odoo.com> | 2018-08-16 12:52:52 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-08-20 12:21:32 +0200 |
| commit | 5637dea11458166508747bb1bc7be3603c06d602 (patch) | |
| tree | 5a36cbd185411433cab4f8b9b60f9110e5e0b0a7 /addons/web_editor/static/src | |
| parent | 0da58f4133903c0eef672df77260fee5a42a4ddb (diff) | |
[IMP] web_editor, website: review we options' style
Diffstat (limited to 'addons/web_editor/static/src')
| -rw-r--r-- | addons/web_editor/static/src/js/editor/snippets.editor.js | 1 | ||||
| -rw-r--r-- | addons/web_editor/static/src/scss/web_editor.ui.scss | 6 |
2 files changed, 4 insertions, 3 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($('<div/>', {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; } |
