diff --git a/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_banner.jpg b/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_banner.jpg deleted file mode 100755 index 59e90bc0046..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_banner.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_event.jpg b/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_event.jpg deleted file mode 100755 index 2af23b4f136..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_event.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_image.jpg b/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_image.jpg deleted file mode 100755 index f3003107735..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_image.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_image_text.jpg b/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_image_text.jpg deleted file mode 100755 index 85c6795bc0a..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_image_text.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_text_image.jpg b/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_text_image.jpg deleted file mode 100755 index 46ac685df6c..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_text_image.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_three_cols_1.jpg b/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_three_cols_1.jpg deleted file mode 100755 index ba47973b427..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_three_cols_1.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_three_cols_2.jpg b/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_three_cols_2.jpg deleted file mode 100755 index c1e48ec82ae..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_three_cols_2.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_three_cols_3.jpg b/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_three_cols_3.jpg deleted file mode 100755 index adf7686eaa9..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_three_cols_3.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_two_cols_1.jpg b/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_two_cols_1.jpg deleted file mode 100755 index 2b76274d3df..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_two_cols_1.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_two_cols_2.jpg b/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_two_cols_2.jpg deleted file mode 100755 index c3c644ceacc..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_block_two_cols_2.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_logo.png b/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_logo.png deleted file mode 100755 index 1396468359d..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_airmail/s_default_image_logo.png and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_imgs/airmail_thumb_large.png b/addons/mass_mailing/static/src/img/theme_imgs/airmail_thumb_large.png deleted file mode 100755 index 0546e634929..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_imgs/airmail_thumb_large.png and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_imgs/airmail_thumb_logo.png b/addons/mass_mailing/static/src/img/theme_imgs/airmail_thumb_logo.png deleted file mode 100755 index 7101775ff34..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_imgs/airmail_thumb_logo.png and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_imgs/airmail_thumb_small.png b/addons/mass_mailing/static/src/img/theme_imgs/airmail_thumb_small.png deleted file mode 100755 index 221540bf7f4..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_imgs/airmail_thumb_small.png and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_imgs/default_thumb_large.png b/addons/mass_mailing/static/src/img/theme_imgs/default_thumb_large.png old mode 100755 new mode 100644 diff --git a/addons/mass_mailing/static/src/img/theme_imgs/default_thumb_logo.png b/addons/mass_mailing/static/src/img/theme_imgs/default_thumb_logo.png old mode 100755 new mode 100644 diff --git a/addons/mass_mailing/static/src/img/theme_imgs/default_thumb_small.png b/addons/mass_mailing/static/src/img/theme_imgs/default_thumb_small.png old mode 100755 new mode 100644 diff --git a/addons/mass_mailing/static/src/img/theme_imgs/newsletter_thumb_large.png b/addons/mass_mailing/static/src/img/theme_imgs/newsletter_thumb_large.png deleted file mode 100755 index 0b2c469aa9f..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_imgs/newsletter_thumb_large.png and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_imgs/newsletter_thumb_logo.png b/addons/mass_mailing/static/src/img/theme_imgs/newsletter_thumb_logo.png deleted file mode 100755 index 60b3d2fcb9d..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_imgs/newsletter_thumb_logo.png and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_imgs/newsletter_thumb_small.png b/addons/mass_mailing/static/src/img/theme_imgs/newsletter_thumb_small.png deleted file mode 100755 index 1cc74a20574..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_imgs/newsletter_thumb_small.png and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_imgs/resto_thumb_large.png b/addons/mass_mailing/static/src/img/theme_imgs/resto_thumb_large.png deleted file mode 100755 index 4b5f3d01781..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_imgs/resto_thumb_large.png and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_imgs/resto_thumb_logo.png b/addons/mass_mailing/static/src/img/theme_imgs/resto_thumb_logo.png deleted file mode 100755 index 9e45931bbdc..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_imgs/resto_thumb_logo.png and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_imgs/resto_thumb_small.png b/addons/mass_mailing/static/src/img/theme_imgs/resto_thumb_small.png deleted file mode 100755 index 68c0f3495b2..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_imgs/resto_thumb_small.png and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_imgs/tech_thumb_large.png b/addons/mass_mailing/static/src/img/theme_imgs/tech_thumb_large.png deleted file mode 100755 index dc992cd423e..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_imgs/tech_thumb_large.png and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_imgs/tech_thumb_logo.png b/addons/mass_mailing/static/src/img/theme_imgs/tech_thumb_logo.png deleted file mode 100755 index 2bcf3a62349..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_imgs/tech_thumb_logo.png and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_imgs/tech_thumb_small.png b/addons/mass_mailing/static/src/img/theme_imgs/tech_thumb_small.png deleted file mode 100755 index 0d189dd2299..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_imgs/tech_thumb_small.png and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_banner.jpg b/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_banner.jpg deleted file mode 100755 index 8f837a55b19..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_banner.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_event.jpg b/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_event.jpg deleted file mode 100755 index 0b11910b534..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_event.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_image.jpg b/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_image.jpg deleted file mode 100755 index 09f4e2f5e8d..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_image.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_image_text.jpg b/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_image_text.jpg deleted file mode 100755 index cbee8e6dcc0..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_image_text.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_text_image.jpg b/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_text_image.jpg deleted file mode 100755 index 32a2c86d1bd..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_text_image.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_three_cols_1.jpg b/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_three_cols_1.jpg deleted file mode 100755 index 2d2c7a07cf5..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_three_cols_1.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_three_cols_2.jpg b/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_three_cols_2.jpg deleted file mode 100755 index 264ff911794..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_three_cols_2.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_three_cols_3.jpg b/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_three_cols_3.jpg deleted file mode 100755 index 6ce7085e354..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_three_cols_3.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_two_cols_1.jpg b/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_two_cols_1.jpg deleted file mode 100755 index a8b2283e08f..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_two_cols_1.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_two_cols_2.jpg b/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_two_cols_2.jpg deleted file mode 100755 index 461f62d25f2..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_block_two_cols_2.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_logo.png b/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_logo.png deleted file mode 100644 index 064f09c1a0a..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_newsletter/s_default_image_logo.png and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_banner.jpg b/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_banner.jpg deleted file mode 100755 index ff792179ae0..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_banner.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_event.jpg b/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_event.jpg deleted file mode 100755 index f6e5b5e5a0d..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_event.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_image.jpg b/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_image.jpg deleted file mode 100755 index 3baa1c2c054..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_image.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_image_text.jpg b/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_image_text.jpg deleted file mode 100755 index 12202654a54..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_image_text.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_text_image.jpg b/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_text_image.jpg deleted file mode 100755 index da0628f3e7e..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_text_image.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_three_cols_1.jpg b/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_three_cols_1.jpg deleted file mode 100755 index 04865427530..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_three_cols_1.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_three_cols_2.jpg b/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_three_cols_2.jpg deleted file mode 100755 index 98f3e5dd916..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_three_cols_2.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_three_cols_3.jpg b/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_three_cols_3.jpg deleted file mode 100755 index 1d0ca076cd0..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_three_cols_3.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_two_cols_1.jpg b/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_two_cols_1.jpg deleted file mode 100755 index de516297c59..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_two_cols_1.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_two_cols_2.jpg b/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_two_cols_2.jpg deleted file mode 100755 index 1f00cfad6c3..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_resto/s_default_image_block_two_cols_2.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_resto/s_default_image_logo.png b/addons/mass_mailing/static/src/img/theme_resto/s_default_image_logo.png deleted file mode 100755 index 6aab7fc27e2..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_resto/s_default_image_logo.png and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_banner.jpg b/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_banner.jpg deleted file mode 100755 index 0c571542311..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_banner.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_event.jpg b/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_event.jpg deleted file mode 100644 index 65eafe14ac6..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_event.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_image.jpg b/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_image.jpg deleted file mode 100755 index 729547cb164..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_image.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_image_text.jpg b/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_image_text.jpg deleted file mode 100755 index 4dc41edd353..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_image_text.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_text_image.jpg b/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_text_image.jpg deleted file mode 100755 index 3c86e53e822..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_text_image.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_three_cols_1.jpg b/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_three_cols_1.jpg deleted file mode 100755 index 5f49e2a8f0d..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_three_cols_1.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_three_cols_2.jpg b/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_three_cols_2.jpg deleted file mode 100755 index adfa8c9f5e4..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_three_cols_2.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_three_cols_3.jpg b/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_three_cols_3.jpg deleted file mode 100755 index 8bfd0a93a2d..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_three_cols_3.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_two_cols_1.jpg b/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_two_cols_1.jpg deleted file mode 100755 index eaf6bc21d50..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_two_cols_1.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_two_cols_2.jpg b/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_two_cols_2.jpg deleted file mode 100755 index fbaa3d3ee81..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_tech/s_default_image_block_two_cols_2.jpg and /dev/null differ diff --git a/addons/mass_mailing/static/src/img/theme_tech/s_default_image_logo.png b/addons/mass_mailing/static/src/img/theme_tech/s_default_image_logo.png deleted file mode 100644 index 53b2f37da96..00000000000 Binary files a/addons/mass_mailing/static/src/img/theme_tech/s_default_image_logo.png and /dev/null differ diff --git a/addons/mass_mailing/static/src/js/mass_mailing_editor.js b/addons/mass_mailing/static/src/js/mass_mailing_editor.js index 0cb446d3d99..3054b491aec 100644 --- a/addons/mass_mailing/static/src/js/mass_mailing_editor.js +++ b/addons/mass_mailing/static/src/js/mass_mailing_editor.js @@ -165,7 +165,7 @@ snippets_editor.Class.include({ all_classes += " " + classname; var images_info = _.defaults($theme.data("imagesInfo") || {}, {all: {}}); _.each(images_info, function (info) { - info = _.defaults(info, {module: "mass_mailing", format: "jpg"}); + info = _.defaults(info, images_info.all, {module: "mass_mailing", format: "jpg"}); }); return { name: name, diff --git a/addons/mass_mailing/static/src/less/themes/theme_airmail.less b/addons/mass_mailing/static/src/less/themes/theme_airmail.less deleted file mode 100644 index e34cd8b0b00..00000000000 --- a/addons/mass_mailing/static/src/less/themes/theme_airmail.less +++ /dev/null @@ -1,211 +0,0 @@ -// lessc@1.4.2 - -// ============================ -// Mass Mailing "Theme Airmail" -// ============================ - -@o_mm_airmail_color_alpha: #EAECED; -@o_mm_airmail_color_beta: white; -@o_mm_airmail_color_gamma: #FB3C6B; -@o_mm_airmail_color_delta: darken(@o_mm_airmail_color_gamma, 5%); -@o_mm_airmail_color_epsilon: black; -@o_mm_airmail_color_zeta: #a17e92; - -.o_airmail_theme { - // ===== Colors ===== - .bg-beta { - background-color: @o_mm_airmail_color_gamma; - } - .text-beta { - color: @o_mm_airmail_color_gamma; - } - .bg-delta { - background-color: @o_mm_airmail_color_zeta; - } - - // ===== Layout ===== - &.o_layout { - background-color: @o_mm_airmail_color_alpha; - - > .o_mail_wrapper { - background: rgba(0, 0, 0, 0); - background: transparent; - border: none; - - > * { - margin-bottom: 16px; - } - } - } - - // ===== Snippets (general) ===== - .o_mail_snippet_general { - background-color: @o_mm_airmail_color_beta; - color: @o_mm_airmail_color_epsilon; - - .btn.btn-primary { - color: @o_mm_airmail_color_beta; - background-color: @o_mm_airmail_color_gamma; - } - - a, .btn.btn-link { - color: @o_mm_airmail_color_delta; - } - - .bg-beta, .bg-delta { - h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { - color: @o_mm_airmail_color_beta; - } - } - - .bg-beta { - .btn.btn-primary { - color: @o_mm_airmail_color_delta; - background-color: @o_mm_airmail_color_beta; - font-weight: bold; - } - } - } - - // ===== Snippets (specific) ===== - .o_mail_block_header_social, .o_mail_block_header_text_social, .o_mail_block_header_logo { - margin-bottom: 0; - - .o_mail_snippet_general { - background: rgba(0,0,0,0); - background: transparent; - } - - .o_mail_h_padding { - padding-left: 0; - padding-right: 0; - } - - .o_mail_header_social { - margin-right: 0px; - a { - color: darken(@o_mm_airmail_color_alpha, 40%); - } - } - } - - .o_mail_block_event { - margin-left: 0; - margin-right: 0; - } - - .o_mail_block_footer_separator { - margin-left: 0; - margin-right: 0; - } - - .o_mail_block_image { - .o_mail_h_padding { - padding: 0; - .o_mail_col_mv { - padding-left: 20px; - padding-right: 20px; - } - > img { - padding: 0; - margin-bottom: 15px; - } - } - } - - .o_mail_block_footer_separator { - .o_mail_snippet_general { - background: rgba(0,0,0,0); - background: transparent; - - .separator { - height: 3px; - background-color: darken(@o_mm_airmail_color_alpha, 10%); - border-bottom: 2px solid darken(white, 3%); - } - } - } - - .o_mail_block_two_cols, .o_mail_block_three_cols { - @tmp-gap: 10px; - - table { - width: 110%; - max-width: (600+(@tmp-gap*2)); - margin: auto (@tmp-gap*-1); - } - .o_mail_snippet_general { - background: rgba(0,0,0,0); - background: transparent; - } - .o_mail_col_container { - padding: 0 0 (@tmp-gap*2); - margin: 0 @tmp-gap; - border-top: 1px solid darken(@o_mm_airmail_color_beta, 10%); - border-bottom: 1px solid darken(@o_mm_airmail_color_alpha, 5%); - background-color: @o_mm_airmail_color_beta; - - > * { - padding: 0 (@tmp-gap*2); - } - - img { - padding: 0!important; - } - } - } - - .o_mail_block_footer_tag_line { - table.o_mail_h_padding { - padding-left: 0; - padding-right: 0; - } - } - - .o_mail_block_image_text { - .o_mail_img_container { - padding: 0 - } - } - - .o_mail_block_text_image { - .o_mail_img_container { - padding: 0 - } - } - - .o_mail_block_footer_social { - .o_mail_snippet_general { - background: rgba(0,0,0,0); - background: transparent; - margin-top: 30px; - border-top: 1px solid darken(@o_mm_airmail_color_alpha, 10%); - } - - .o_mail_footer_social { - border: none; - a { - color: darken(@o_mm_airmail_color_alpha, 40%); - } - } - - .o_mail_footer_links a { - color: darken(@o_mm_airmail_color_alpha, 40%); - } - - .o_mail_footer_copy { - font-weight: bold; - font-size: 9px; - color: darken(@o_mm_airmail_color_alpha, 30%); - } - - &.o_mail_footer_social_left { - .o_mail_footer_description { - padding-left: 0; - } - .o_mail_footer_social { - padding-right: 0; - } - } - } -} diff --git a/addons/mass_mailing/static/src/less/themes/theme_newsletter.less b/addons/mass_mailing/static/src/less/themes/theme_newsletter.less deleted file mode 100644 index cfb12a803d4..00000000000 --- a/addons/mass_mailing/static/src/less/themes/theme_newsletter.less +++ /dev/null @@ -1,48 +0,0 @@ -// lessc@1.4.2 - -// =============================== -// Mass Mailing "Theme Newsletter" -// =============================== - -@o_mm_news_color_alpha: #f5f5f5; -@o_mm_news_color_beta: #ffffff; -@o_mm_news_color_gamma: #1cc1a9; -@o_mm_news_color_delta: #464646; -@o_mm_news_color_epsilon: darken(@o_mm_news_color_gamma, 5%); -@o_mm_news_color_zeta: #906784; -@o_mm_news_color_eta: #87a6b5; - -.o_newsletter_theme { - // ===== Colors ===== - .bg-beta { - background-color: @o_mm_news_color_zeta; - color: @o_mm_news_color_beta; - } - .text-beta { - color: @o_mm_news_color_zeta; - } - .bg-delta { - background-color: @o_mm_news_color_eta; - } - - // ===== Snippets (general) ===== - .o_mail_snippet_general { - .btn.btn-primary { - color: @o_mm_news_color_beta; - background-color: @o_mm_news_color_gamma; - } - a, .btn.btn-link { - color: @o_mm_news_color_epsilon; - } - - .bg-delta { - .btn.btn-primary { - color: @o_mm_news_color_beta; - background-color: @o_mm_news_color_zeta; - } - a, .btn.btn-link { - color: @o_mm_news_color_zeta; - } - } - } -} diff --git a/addons/mass_mailing/static/src/less/themes/theme_resto.less b/addons/mass_mailing/static/src/less/themes/theme_resto.less deleted file mode 100644 index 9c3486fb834..00000000000 --- a/addons/mass_mailing/static/src/less/themes/theme_resto.less +++ /dev/null @@ -1,132 +0,0 @@ -// lessc@1.4.2 - -// ========================== -// Mass Mailing "Theme Resto" -// ========================== - -@o_mm_resto_color_alpha: #f0ede0; -@o_mm_resto_color_beta: #ffffff; -@o_mm_resto_color_gamma: #E96D1F; -@o_mm_resto_color_delta: #712b22; -@o_mm_resto_color_epsilon: darken(@o_mm_resto_color_gamma, 5%); -@o_mm_resto_color_zeta: #795745; - -.o_resto_theme { - // ===== Editor ===== - &#web_editor_inside_iframe { - background-color: @o_mm_resto_color_alpha; - } - - // ===== Colors ===== - .bg-beta { - background-color: @o_mm_resto_color_zeta; - color: @o_mm_resto_color_beta; - } - .text-beta { - color: @o_mm_resto_color_zeta; - } - .bg-delta { - background-color: @o_mm_resto_color_gamma; - color: @o_mm_resto_color_beta; - } - .text-delta { - color: @o_mm_resto_color_epsilon; - } - - // ===== Layout ===== - &.o_layout { - background-color: @o_mm_resto_color_alpha; - - > .o_mail_wrapper { - border: none; - background-color:transparent; - } - } - - // ===== Snippets (general) ===== - .o_mail_snippet_general { - background: rgba(0,0,0,0); - background: transparent; - color: @o_mm_resto_color_delta; - - .btn.btn-primary { - color: @o_mm_resto_color_beta; - background-color: @o_mm_resto_color_gamma; - } - - a, .btn.btn-link { - font-weight: normal; - color: @o_mm_resto_color_epsilon; - } - - .separator { - background-color: lighten(@o_mm_resto_color_zeta, 20%); - } - - .bg-beta, .bg-delta { - h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { - color: @o_mm_resto_color_beta; - } - } - - .bg-delta { - background-color: @o_mm_resto_color_gamma; - color: @o_mm_resto_color_beta; - - a, .btn.btn-link { - color: @o_mm_resto_color_zeta; - } - - .btn.btn-primary { - color: @o_mm_resto_color_beta; - background-color: @o_mm_resto_color_zeta; - } - } - } - - h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { - color: darken(@o_mm_resto_color_zeta, 10%); - font-weight: bold; - } - - // ===== Snippets (specific) ===== - .o_mail_block_header_social, .o_mail_block_header_text_social, .o_mail_block_header_logo { - .o_mail_snippet_general { - border-bottom: 5px solid @o_mm_resto_color_gamma; - } - - .o_mail_header_social { - a { - color: @o_mm_resto_color_gamma; - } - } - } - - .o_mail_block_footer_tag_line { - margin-left: 20px; - margin-right: 20px; - } - - .o_mail_block_steps { - border-top: 2px solid @o_mm_resto_color_gamma; - background: @o_mm_resto_color_beta; - } - - .o_mail_block_event { - .o_mail_snippet_general{ - background: darken(@o_mm_resto_color_beta, 2%); - } - } - - .o_mail_block_header_social, .o_mail_block_header_text_social, .o_mail_block_header_logo, .o_mail_block_steps, .o_mail_block_event, .o_mail_block_banner { - margin-left: 20px; - margin-right: 20px; - } - - .o_mail_block_footer_social { - .o_mail_table_styles { - border-top: 2px solid lighten(@o_mm_resto_color_zeta, 20%); - padding-top: 20px; - } - } -} diff --git a/addons/mass_mailing/static/src/less/themes/theme_tech.less b/addons/mass_mailing/static/src/less/themes/theme_tech.less deleted file mode 100644 index 68702080a69..00000000000 --- a/addons/mass_mailing/static/src/less/themes/theme_tech.less +++ /dev/null @@ -1,178 +0,0 @@ -// lessc@1.4.2 - -// ========================= -// Mass Mailing "Theme Tech" -// ========================= - -@o_mm_tech_color_alpha: #333; -@o_mm_tech_color_beta: white; -@o_mm_tech_color_gamma: #59cdcd; -@o_mm_tech_color_delta: #bdbdbd; -@o_mm_tech_color_epsilon: black; -@o_mm_tech_color_zeta: #a17e92; - -.o_tech_theme { - // ===== Colors ===== - .bg-beta { - background-color: @o_mm_tech_color_gamma; - - .btn.btn-primary { - color: @o_mm_tech_color_gamma; - background-color: @o_mm_tech_color_beta; - } - } - .text-beta { - color: @o_mm_tech_color_gamma; - } - .bg-delta { - background-color: @o_mm_tech_color_zeta; - } - - // ===== Layout ===== - &.o_layout { - background-color: @o_mm_tech_color_alpha; - - > .o_mail_wrapper { - background-color: transparent; - color: @o_mm_tech_color_delta; - border: none; - } - } - - // ===== Snippets (general) ===== - .o_mail_snippet_general { - .btn.btn-primary { - color: @o_mm_tech_color_beta; - background-color: @o_mm_tech_color_gamma; - } - - .o_mail_full_width_padding { - padding-left: 20px; - padding-right: 20px; - } - - a, .btn.btn-link { - font-weight: normal; - color: @o_mm_tech_color_gamma; - } - - h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { - color: darken(@o_mm_tech_color_beta, 10%); - } - - .bg-beta, .bg-delta { - h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { - color: @o_mm_tech_color_beta; - } - } - - .bg-beta { - .btn.btn-primary { - color: @o_mm_tech_color_gamma; - background-color: @o_mm_tech_color_beta; - } - } - } - - // ===== Snippets (specific) ===== - .o_mail_block_header_social, .o_mail_block_header_text_social, .o_mail_block_header_logo { - .o_mail_snippet_general { - margin-top: 10px; - margin-bottom: 25px; - padding-left: 20px; - padding-right: 20px; - - > table { - max-width: 560px; - border-bottom: 1px solid darken(@o_mm_tech_color_beta, 60%); - } - } - - .o_mail_h_padding.o_mail_v_padding { - padding: 10px 0 5px; - } - - .o_mail_header_social { - margin-right: 0px; - a { - color: darken(@o_mm_tech_color_beta, 40%); - } - } - } - - .o_mail_block_footer_separator { - .separator { - height: 1px; - background-color: darken(@o_mm_tech_color_beta, 60%); - } - } - - .o_mail_block_event { - margin-left: 20px; - margin-right: 20px; - - h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { - color: @o_mm_tech_color_alpha; - } - } - - .o_mail_block_discount2 { - .o_code { - color: @o_mm_tech_color_alpha; - } - } - - .o_mail_block_footer_separator { - margin-left: 0; - margin-right: 0; - } - - .o_mail_block_steps { - background-color: transparent; - - h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { - color: @o_mm_tech_color_alpha; - } - - .o_mail_full_width_padding > tbody > tr { - background-color: @o_mm_tech_color_beta; - color: @o_mm_tech_color_alpha; - } - } - - .o_mail_block_footer_social { - .o_mail_snippet_general { - background: rgba(0,0,0,0); - background: transparent; - } - - .o_mail_table_styles { - border-top: none; - } - - .o_mail_footer_social { - a { - color: darken(@o_mm_tech_color_beta, 40%); - } - } - - .o_mail_footer_links a { - color: darken(@o_mm_tech_color_beta, 40%); - } - - .o_mail_footer_copy { - font-weight: bold; - font-size: 9px; - color: darken(@o_mm_tech_color_beta, 30%); - } - - &.o_mail_footer_social_left { - .o_mail_footer_description { - padding-left: 0; - } - .o_mail_footer_social { - padding-right: 0; - } - } - } -} diff --git a/addons/mass_mailing/views/editor_field_html.xml b/addons/mass_mailing/views/editor_field_html.xml index 175e557a733..1e175e41402 100644 --- a/addons/mass_mailing/views/editor_field_html.xml +++ b/addons/mass_mailing/views/editor_field_html.xml @@ -1,12 +1,7 @@ - - - - - - - - -