[MERGE] mass_mailing, *: add new mass mailing theme system
* web_editor, website -> Move some website options to web_editor to use them in mass_mailing (margin and resize) -> Rework on themes design and declaration conventions -> Review theme switching to bring default layout on first edition and to be able to define theme images -> Move theme design in their own asset -> Edition and saves fixes
@@ -34,6 +34,7 @@ professional emails and reuse templates in a few clicks.
|
||||
'views/email_template.xml',
|
||||
'security/ir.model.access.csv',
|
||||
'views/editor_field_html.xml',
|
||||
'views/themes_templates.xml',
|
||||
'views/snippets_themes.xml',
|
||||
'views/snippets_themes_options.xml',
|
||||
],
|
||||
|
||||
@@ -1,83 +0,0 @@
|
||||
@media screen and (max-width: 320px) {
|
||||
.mobile-col {
|
||||
width: 600px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ======================== TYPO ====================== */
|
||||
|
||||
.display-coupon, .display-1, .display-2, .display-3, p, th, td, a, .table-styles {
|
||||
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
|
||||
font-weight:300;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
.display-coupon {
|
||||
font-size:60px;
|
||||
}
|
||||
.display-1 {
|
||||
font-size: 30px;
|
||||
}
|
||||
.display-2 {
|
||||
font-size: 25px;
|
||||
}
|
||||
.display-3 {
|
||||
font-size: 18px;
|
||||
}
|
||||
p, th, td {
|
||||
text-align:left;
|
||||
font-size:14px;
|
||||
}
|
||||
a, a:hover {
|
||||
color: inherit;
|
||||
}
|
||||
.text-center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* ======================== MISC ====================== */
|
||||
|
||||
.horizontal-padding {
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
.vertical-padding {
|
||||
padding-top: 20px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
.no-margin {
|
||||
margin: 0;
|
||||
}
|
||||
.table-styles {
|
||||
border-collapse:separate;
|
||||
}
|
||||
.snippet-general {
|
||||
width:600px;
|
||||
margin:0 auto;
|
||||
color:#464646;
|
||||
}
|
||||
.newsletter-btn {
|
||||
-webkit-user-select: none;
|
||||
padding: 6px 12px;
|
||||
font-size: 14px;
|
||||
color: #ffffff;
|
||||
border: none;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
font-weight: 400;
|
||||
font-family: 'Helvetica';
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
background-color: #34c9a4;
|
||||
}
|
||||
|
||||
/* ======================== SNIPPETS ====================== */
|
||||
|
||||
.separator {
|
||||
height: 1px;
|
||||
background-color: #e3e3e3;
|
||||
}
|
||||
.banner {
|
||||
width:600px;
|
||||
margin:0 auto;
|
||||
padding:0;
|
||||
}
|
||||
@@ -1,77 +0,0 @@
|
||||
/*Airmail Template*/
|
||||
|
||||
.o_airmail_theme_header, .o_airmail_theme_footer {
|
||||
background-color: #d05d68;
|
||||
}
|
||||
.o_airmail_theme {
|
||||
background-color: #ededed;
|
||||
}
|
||||
.o_airmail_theme_container {
|
||||
background-color: white;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/*Colors*/
|
||||
|
||||
.o_airmail_theme .bg-alpha {
|
||||
background-color: #fff;
|
||||
}
|
||||
.o_airmail_theme .bg-alpha p, .o_airmail_theme .bg-alpha .display-1, .o_airmail_theme .bg-alpha .display-2, .o_airmail_theme .bg-alpha .display-3 {
|
||||
color: #000;
|
||||
}
|
||||
.o_airmail_theme .bg-beta {
|
||||
background-color: #6077a8;
|
||||
}
|
||||
.o_airmail_theme .bg-beta p, .o_airmail_theme .bg-beta .display-1, .o_airmail_theme .bg-beta .display-2, .o_airmail_theme .bg-beta .display-3 {
|
||||
color: #fff;
|
||||
}
|
||||
.o_airmail_theme .bg-beta .link-color {
|
||||
color: #dab4a8;
|
||||
}
|
||||
.o_airmail_theme .bg-gamma {
|
||||
background-color: #a17e92;
|
||||
}
|
||||
.o_airmail_theme .bg-gamma .link-color {
|
||||
color: #dab4a8;
|
||||
}
|
||||
.o_airmail_theme .bg-gamma p, .o_airmail_theme .bg-gamma .display-1, .o_airmail_theme .bg-gamma .display-2, .o_airmail_theme .bg-gamma .display-3 {
|
||||
color: #fff;
|
||||
}
|
||||
.o_airmail_theme .bg-delta {
|
||||
background-color: #dab4a8;
|
||||
}
|
||||
.o_airmail_theme .bg-delta p, .o_airmail_theme .bg-delta .display-1, .o_airmail_theme .bg-delta .display-2, .o_airmail_theme .bg-delta .display-3 {
|
||||
color: #000;
|
||||
}
|
||||
.o_airmail_theme .bg-epsilon {
|
||||
background-color: #d05d68;
|
||||
}
|
||||
.o_airmail_theme .bg-epsilon p, .o_airmail_theme .bg-epsilon .display-1, .o_airmail_theme .bg-epsilon .display-2, .o_airmail_theme .bg-epsilon .display-3 {
|
||||
color: #fff;
|
||||
}
|
||||
.o_airmail_theme .bg-epsilon .link-color {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/*Link color*/
|
||||
|
||||
.o_airmail_theme .link-color {
|
||||
color: #d05d68;
|
||||
}
|
||||
|
||||
/*BTN styles*/
|
||||
|
||||
.o_airmail_theme .newsletter-btn {
|
||||
color: #d05d68;
|
||||
border: 1px solid #d05d68;
|
||||
border-radius: 4px;
|
||||
background-color: transparent;
|
||||
}
|
||||
.o_airmail_theme .bg-gamma .newsletter-btn {
|
||||
color: #fff;
|
||||
border: 1px solid #fff;
|
||||
}
|
||||
.o_airmail_theme .bg-epsilon .newsletter-btn {
|
||||
color: #fff;
|
||||
border: 1px solid #fff;
|
||||
}
|
||||
@@ -1,75 +0,0 @@
|
||||
/* ======================== COLORS ====================== */
|
||||
|
||||
.o_lemon_theme {
|
||||
background-color: #fff;
|
||||
}
|
||||
.o_lemon_theme_header {
|
||||
background-color: #fe4e1e;
|
||||
}
|
||||
.o_lemon_theme_container {
|
||||
background-color: #f4ea00;
|
||||
}
|
||||
|
||||
.o_lemon_theme p {
|
||||
color: #000;
|
||||
}
|
||||
.o_lemon_theme .bg-alpha {
|
||||
background-color: #fff;
|
||||
}
|
||||
.o_lemon_theme .bg-alpha .display-1, .o_lemon_theme .bg-alpha p, .o_lemon_theme .bg-alpha .display-2, .o_lemon_theme .bg-alpha .display-3{
|
||||
color: #000;
|
||||
}
|
||||
.o_lemon_theme .bg-beta {
|
||||
background-color: #f4ea00;
|
||||
}
|
||||
.o_lemon_theme .bg-beta p, .o_lemon_theme .bg-beta .display-1, .o_lemon_theme .bg-beta .display-2, .o_lemon_theme .bg-beta .display-3 {
|
||||
color: #000;
|
||||
}
|
||||
.o_lemon_theme .bg-gamma {
|
||||
background-color: #d6d5b6;
|
||||
}
|
||||
.o_lemon_theme .bg-gamma p, .o_lemon_theme .bg-gamma .display-1, .o_lemon_theme .bg-gamma .display-2, .o_lemon_theme .bg-gamma .display-3 {
|
||||
color: #000;
|
||||
}
|
||||
.o_lemon_theme .bg-gamma .link-color {
|
||||
color: #fe4e1e;
|
||||
}
|
||||
.o_lemon_theme .bg-delta {
|
||||
background-color: #000;
|
||||
}
|
||||
.o_lemon_theme .bg-delta p, .o_lemon_theme .bg-delta .display-1, .o_lemon_theme .bg-delta .display-2, .o_lemon_theme .bg-delta .display-3 {
|
||||
color: #fff;
|
||||
}
|
||||
.o_lemon_theme .bg-delta .link-color {
|
||||
color: #fe4e1e;
|
||||
}
|
||||
.o_lemon_theme .bg-epsilon {
|
||||
background-color: #fe4e1e;
|
||||
}
|
||||
.o_lemon_theme .bg-epsilon p, .o_lemon_theme .bg-epsilon .display-1, .o_lemon_theme .bg-epsilon .display-2, .o_lemon_theme .bg-epsilon .display-3 {
|
||||
color: #fff;
|
||||
}
|
||||
.o_lemon_theme .bg-epsilon .link-color {
|
||||
color: #f4ea00;
|
||||
}
|
||||
|
||||
.o_lemon_theme .link-color {
|
||||
color: #fe4e1e;
|
||||
}
|
||||
|
||||
/*BTN styles*/
|
||||
|
||||
.o_lemon_theme .newsletter-btn {
|
||||
color: #fff;
|
||||
background-color: #fe4e1e;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/*Snippet styles*/
|
||||
|
||||
.o_lemon_theme .separator {
|
||||
background-color: #fff;
|
||||
}
|
||||
.o_lemon_theme .snippet-general {
|
||||
margin:0 auto;
|
||||
}
|
||||
@@ -1,75 +0,0 @@
|
||||
/* ======================== COLORS ====================== */
|
||||
|
||||
.o_tech_theme {
|
||||
background-color: #fff;
|
||||
}
|
||||
.o_tech_theme_header {
|
||||
background-color: #e3e3e3;
|
||||
}
|
||||
|
||||
.o_tech_theme p {
|
||||
color: #494949;
|
||||
}
|
||||
.o_tech_theme .bg-alpha {
|
||||
background-color: #fff;
|
||||
}
|
||||
.o_tech_theme .bg-alpha .display-1, .o_tech_theme .bg-alpha p, .o_tech_theme .bg-alpha .display-2, .o_tech_theme .bg-alpha .display-3{
|
||||
color: #000;
|
||||
}
|
||||
.o_tech_theme .bg-beta {
|
||||
background-color: #dadada;
|
||||
}
|
||||
.o_tech_theme .bg-beta p, .o_tech_theme .bg-beta .display-1, .o_tech_theme .bg-beta .display-2, .o_tech_theme .bg-beta .display-3 {
|
||||
color: #000;
|
||||
}
|
||||
.o_tech_theme .bg-beta .link-color {
|
||||
color: #de5745;
|
||||
}
|
||||
.o_tech_theme .bg-gamma {
|
||||
background-color: #de5745;
|
||||
}
|
||||
.o_tech_theme .bg-gamma p, .o_tech_theme .bg-gamma .display-1, .o_tech_theme .bg-gamma .display-2, .o_tech_theme .bg-gamma .display-3 {
|
||||
color: #fff;
|
||||
}
|
||||
.o_tech_theme .bg-gamma .link-color {
|
||||
color: #ccda3f;
|
||||
}
|
||||
.o_tech_theme .bg-delta {
|
||||
background-color: #4a9fba;
|
||||
}
|
||||
.o_tech_theme .bg-delta p, .o_tech_theme .bg-delta .display-1, .o_tech_theme .bg-delta .display-2, .o_tech_theme .bg-delta .display-3 {
|
||||
color: #fff;
|
||||
}
|
||||
.o_tech_theme .bg-delta .link-color {
|
||||
color: #ccda3f;
|
||||
}
|
||||
.o_tech_theme .bg-epsilon {
|
||||
background-color: #ccda3f;
|
||||
}
|
||||
.o_tech_theme .bg-epsilon p, .o_tech_theme .bg-epsilon .display-1, .o_tech_theme .bg-epsilon .display-2, .o_tech_theme .bg-epsilon .display-3 {
|
||||
color: #000;
|
||||
}
|
||||
.o_tech_theme .bg-epsilon .link-color {
|
||||
color: #de5745;
|
||||
}
|
||||
|
||||
.o_tech_theme .link-color {
|
||||
color: #ccda3f;
|
||||
}
|
||||
|
||||
/*BTN styles*/
|
||||
|
||||
.o_tech_theme .newsletter-btn {
|
||||
color: #fff;
|
||||
background-color: #ccda3f;
|
||||
font-size: 12px;
|
||||
}
|
||||
.o_tech_theme .bg-epsilon .newsletter-btn {
|
||||
background-color: #de5745;
|
||||
}
|
||||
|
||||
/*Snippet styles*/
|
||||
|
||||
.o_tech_theme .snippet-general {
|
||||
margin:0 auto;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 604 B |
|
After Width: | Height: | Size: 171 B |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 821 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 574 B |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 1017 B |
|
After Width: | Height: | Size: 722 B |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 648 B |
|
After Width: | Height: | Size: 317 B |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 746 B |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 730 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 642 B |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 622 B |
|
After Width: | Height: | Size: 149 B |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 650 B |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 611 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 692 B |
|
Before Width: | Height: | Size: 527 B After Width: | Height: | Size: 240 B |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 813 B |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 689 B |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 8.4 KiB |
|
After Width: | Height: | Size: 4.5 KiB |
|
After Width: | Height: | Size: 6.7 KiB |
|
After Width: | Height: | Size: 4.7 KiB |
|
After Width: | Height: | Size: 9.9 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 8.2 KiB |
|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 9.3 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 6.4 KiB |
|
After Width: | Height: | Size: 5.5 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 53 KiB |
|
After Width: | Height: | Size: 152 B |
|
After Width: | Height: | Size: 8.6 KiB |
|
Before Width: | Height: | Size: 51 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 153 B |
|
After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 52 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 153 B |
|
After Width: | Height: | Size: 6.4 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 156 B |
|
After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 152 B |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 144 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 24 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 4.5 KiB |
|
After Width: | Height: | Size: 74 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 65 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 6.9 KiB |
|
After Width: | Height: | Size: 9.0 KiB |
|
After Width: | Height: | Size: 37 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 56 KiB |
|
After Width: | Height: | Size: 7.6 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 6.0 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 6.8 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 28 KiB |