diff options
| author | qsm-odoo <qsm@odoo.com> | 2016-09-05 13:33:17 +0100 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2016-09-05 17:07:31 +0100 |
| commit | 61e48b09fb8d9896ecea230f0d1b7de1d47cae67 (patch) | |
| tree | 3a2a992e563a37e73d02bae73e21cb240a0f2d3b /addons/mass_mailing/static/src/less | |
| parent | 71b8bc7570d1e9d691334f245d216c48f4348c64 (diff) | |
[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
Diffstat (limited to 'addons/mass_mailing/static/src/less')
| -rw-r--r-- | addons/mass_mailing/static/src/less/mass_mailing.ui.less | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/addons/mass_mailing/static/src/less/mass_mailing.ui.less b/addons/mass_mailing/static/src/less/mass_mailing.ui.less new file mode 100644 index 00000000000..9b72a72adc7 --- /dev/null +++ b/addons/mass_mailing/static/src/less/mass_mailing.ui.less @@ -0,0 +1,17 @@ +.o_mail_theme_selector { + > a { + .o-position-absolute(6px, 6px); + } + + .dropdown-menu { + .o-position-absolute(@odoo-navbar-height - 1, -1px, -1px, -1px); + margin: 0; + border-radius: 0; + overflow: auto; + background-color: @o-we-color-dark; + + > li:hover > a { + background-color: @o-we-color-darker; + } + } +} |
