diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
| commit | 3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch) | |
| tree | a44932296ef4a9b71d5f010906253d8c53727726 /addons/mass_mailing/static/src/css | |
| parent | 0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff) | |
initial commit 2
Diffstat (limited to 'addons/mass_mailing/static/src/css')
| -rw-r--r-- | addons/mass_mailing/static/src/css/basic_theme_readonly.css | 7 | ||||
| -rw-r--r-- | addons/mass_mailing/static/src/css/email_template.css | 21 |
2 files changed, 28 insertions, 0 deletions
diff --git a/addons/mass_mailing/static/src/css/basic_theme_readonly.css b/addons/mass_mailing/static/src/css/basic_theme_readonly.css new file mode 100644 index 00000000..340eec95 --- /dev/null +++ b/addons/mass_mailing/static/src/css/basic_theme_readonly.css @@ -0,0 +1,7 @@ +/* We want to show system's default font in the mail sent with the basic theme. + And so we remove font-family from basic theme while saving. But by doing so + in readonly mode is not getting proper font in odoo. So we added if from here. + */ +#wrapwrap .o_layout.o_basic_theme { + font-family: -apple-system, "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; +} diff --git a/addons/mass_mailing/static/src/css/email_template.css b/addons/mass_mailing/static/src/css/email_template.css new file mode 100644 index 00000000..edd9c0c3 --- /dev/null +++ b/addons/mass_mailing/static/src/css/email_template.css @@ -0,0 +1,21 @@ +.openerp .oe_kanban_email_template { + width: 360px; + height: 340px; +} + +.openerp .oe_kanban_email_template .oe_kanban_content{ + height: 320px; + overflow: hidden !important; +} + +.kanban_html_preview { + pointer-events: none; + width: 600px; + -webkit-transform: scale(.50); + -ms-transform: scale(.50); + transform: scale(.50); + -webkit-transform-origin: 0 0; + -ms-transform-origin: 0 0; + transform-origin: 0 0; + margin: 0; +} |
