diff options
| author | qsm-odoo <qsm@odoo.com> | 2016-05-20 17:43:31 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2016-07-04 17:23:59 +0200 |
| commit | b309f3ab543b5195eedc5b06ad08cfa81f43171a (patch) | |
| tree | 6edfb097ef024fce18445bbe9548b6fe3a7f44fd /addons/web_editor/static/src/less/web_editor.ui.less | |
| parent | 05d064f85531d04056ad02bd2d26ef2341839f3b (diff) | |
[IMP] web_editor,website: snippet options (parent & deletion)
* Always allow to delete a part (and delete parent if empty)
* Show parent options (by displaying the snippet name if any,
"column" for col-* and "Block" otherwise)
* ...
Diffstat (limited to 'addons/web_editor/static/src/less/web_editor.ui.less')
| -rw-r--r-- | addons/web_editor/static/src/less/web_editor.ui.less | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/less/web_editor.ui.less b/addons/web_editor/static/src/less/web_editor.ui.less index 9167cbc2e2a..d52fdac720f 100644 --- a/addons/web_editor/static/src/less/web_editor.ui.less +++ b/addons/web_editor/static/src/less/web_editor.ui.less @@ -347,6 +347,9 @@ html[lang] > body.editor_enable{ background-color: darken(@o-we-color-danger, 20%); } } + &.oe_snippet_parent > i { + .scaleX(-1); + } } // CUSTOMIZE MENU BUTTON @@ -444,6 +447,29 @@ html[lang] > body.editor_enable{ color: @odoo-brand-optional; } } + &.dropdown-header { + color: wheat; + font-weight: bold; + + &:hover { + background-color: initial; + } + + &.o_main_header { + padding-left: 4px; + } + &.o_parent_editor_header { + &::before { + content: "\f148"; + .o-position-absolute(@top: 0, @left: 5px); + font-family: FontAwesome; + .scaleX(-1); + } + ~ li:not(.dropdown-header) { + padding-left: 16px; + } + } + } } } } |
