From 61e48b09fb8d9896ecea230f0d1b7de1d47cae67 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Mon, 5 Sep 2016 13:33:17 +0100 Subject: [REF] mass_mailing: convert templates to themes and clean code * Remove mass mailing template switching system (lemon, airmail, ...) and replace it with a theme selector which only toggle a different class on the body. * Lint JS files. * Change the way the editor is overridden by mass_mailing in a more odoo way (put the JS in assets and check on runtime if it must be applied. + fix editor style + remove useless code + remove odoo template --- addons/web_editor/static/src/less/web_editor.ui.less | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'addons/web_editor/static/src/less/web_editor.ui.less') 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 c6513472fcb..bbf8b6ce764 100644 --- a/addons/web_editor/static/src/less/web_editor.ui.less +++ b/addons/web_editor/static/src/less/web_editor.ui.less @@ -125,10 +125,6 @@ html[lang] > body.editor_enable{ margin-right: 5px; } } - .o_snippet_section { - background-color: @o-we-color-darker; - text-transform: uppercase; - } .o_panel_body { &:after { content: " "; @@ -1063,14 +1059,13 @@ body.editor_enable { &.editor_enable #wrapwrap { height: 100%; - padding-top: @odoo-navbar-height; > main { height: 100%; #editable_area { position: relative; overflow: hidden; min-height: 100%; - margin: 0 auto 50px auto; + margin: 0 auto; background-color: white; } -- cgit v1.2.3