summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2015-03-13 13:37:08 +0100
committerOlivier Dony <odo@openerp.com>2015-03-13 13:44:06 +0100
commit7eec97a5849befba560111bf59c73f7fbee1ce53 (patch)
tree2c866680590113f8cc492a8a14379beeab32de1e /addons/website/static/src/css
parente93ead9093fb194b8d6fde57f510d56bc0cc3e33 (diff)
[FIX] website, mass_mailing: restore original FieldTextHtml widget -> FieldTextHtmlFrame only for mass_mailing
The new `summernote in iframe` version of the FieldTextHtml widget is not ready for prime time yet. Usability is not very good when used as a replacement for the previous html editor, especially in email composer windows, and initial loading is very slow. For now we only enable it as FieldTextHtmlFrame for mass_mailing templates, where isolation of the style is important (so that recipients receive the exact same result as was displayed on screen, without side-effects caused by backend/frontend style) In master the summernote version will be improved and the old CLE version will be dropped completely.
Diffstat (limited to 'addons/website/static/src/css')
-rw-r--r--addons/website/static/src/css/website.backend.css6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/website/static/src/css/website.backend.css b/addons/website/static/src/css/website.backend.css
index 63870368a39..24879793303 100644
--- a/addons/website/static/src/css/website.backend.css
+++ b/addons/website/static/src/css/website.backend.css
@@ -4,7 +4,7 @@
.oe_WidgetWebsiteButton.success .oe_unpublish {
display: none;
}
-.oe_form_field_html iframe {
+.oe_form_field_html_frame iframe {
display: block;
width: 100%;
border: 0;
@@ -12,7 +12,7 @@
margin: 0;
min-height: 300px;
}
-.o_form_FieldTextHtml_fullscreen .oe_form_field_html iframe {
+.o_form_FieldTextHtml_fullscreen .oe_form_field_html_frame iframe {
position: absolute !important;
left: 0 !important;
right: 0 !important;
@@ -22,7 +22,7 @@
z-index: 1001 !important;
border: 0;
}
-.o_form_FieldTextHtml_fullscreen .modal .oe_form_field_html iframe {
+.o_form_FieldTextHtml_fullscreen .modal .oe_form_field_html_frame iframe {
top: 0 !important;
}
.o_form_FieldTextHtml_fullscreen .oe_webclient *, .o_form_FieldTextHtml_fullscreen .modal * {