From 073bfc5b5b54510d906bf0629950e7224cfc66d9 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Thu, 8 Dec 2016 13:39:53 +0100 Subject: [IMP] web_editor: use select2 in HTML/CSS editor The select DOM element which allows to select the template or the LESS file to edit has been replaced by a select2 element to improve usability. - Add search bar - Allow to add "customized", "unsaved changes" and level indentation a better way (styled and icons) - Add debug info (full less url / xml_id) only in debug, in small --- addons/web_editor/static/src/less/web_editor.ui.components.less | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'addons/web_editor/static/src/less/web_editor.ui.components.less') diff --git a/addons/web_editor/static/src/less/web_editor.ui.components.less b/addons/web_editor/static/src/less/web_editor.ui.components.less index 709e9b03b2e..1ef94f63822 100644 --- a/addons/web_editor/static/src/less/web_editor.ui.components.less +++ b/addons/web_editor/static/src/less/web_editor.ui.components.less @@ -132,7 +132,6 @@ .o-flex(0, 0, auto); .o-flex-display(); .o-align-items(center); - .o-justify-content(space-between); padding: @grid-gutter-width/4; > .o_ace_type_switcher > button::after { @@ -153,11 +152,11 @@ margin-right: @grid-gutter-width/4; } } - } - > select { - .o-flex(0, 1, auto); - min-width: 60px; + &.o_res_list { + .o-flex(1, 1, auto); + min-width: 60px; + } } } #ace-view-id { -- cgit v1.2.3