diff options
| author | qsm-odoo <qsm@odoo.com> | 2016-12-08 13:39:53 +0100 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2017-02-14 16:37:48 +0100 |
| commit | 073bfc5b5b54510d906bf0629950e7224cfc66d9 (patch) | |
| tree | 324bd0735cca7b53523f8c353ce3a37d50dfe655 /addons/web_editor/static/src/less | |
| parent | 198673bf35f14e3a797d2ff09208a289e12bec4e (diff) | |
[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
Diffstat (limited to 'addons/web_editor/static/src/less')
| -rw-r--r-- | addons/web_editor/static/src/less/web_editor.ui.components.less | 9 |
1 files changed, 4 insertions, 5 deletions
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 { |
