<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/mass_mailing/static/src/less/themes/theme_default.less, branch 14.0</title>
<subtitle>The current checkout of upstream Odoo</subtitle>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/'/>
<entry>
<title>[REF] *: rename all LESS files to SCSS</title>
<updated>2018-04-18T13:59:15+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2018-03-12T15:27:41+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=b04dec4025013c60e4857c1e177bb20d811cd41a'/>
<id>b04dec4025013c60e4857c1e177bb20d811cd41a</id>
<content type='text'>
This is a simple renaming without adaptation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a simple renaming without adaptation.
</pre>
</div>
</content>
</entry>
<entry>
<title>[MERGE] forward port branch saas-11.1 up to a277b585072</title>
<updated>2018-02-15T10:52:10+00:00</updated>
<author>
<name>Christophe Simonis</name>
<email>chs@odoo.com</email>
</author>
<published>2018-02-15T10:52:10+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=3b959c313d49889c8c81f37545d9028c63904484'/>
<id>3b959c313d49889c8c81f37545d9028c63904484</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] web_editor, mass_mailing: better transcode alignment inheritance</title>
<updated>2018-02-13T12:37:50+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2018-02-13T11:04:51+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=32bdadad1314360b1c5d4734435f481d2545bbf1'/>
<id>32bdadad1314360b1c5d4734435f481d2545bbf1</id>
<content type='text'>
Browsers' default alignement of &lt;td/&gt; is 'inherit'. Some mail clients do
not set this value properly though and even if it is explicitely set,
they do not compute the final value well.

As a fix, this commit forces the 'inherit' value on &lt;td/&gt; and computes
the real alignment for 'inherit' values when transcoding.

opw-813688
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Browsers' default alignement of &lt;td/&gt; is 'inherit'. Some mail clients do
not set this value properly though and even if it is explicitely set,
they do not compute the final value well.

As a fix, this commit forces the 'inherit' value on &lt;td/&gt; and computes
the real alignment for 'inherit' values when transcoding.

opw-813688
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] mass_mailing: make basic theme behave like gmail</title>
<updated>2018-01-16T12:26:08+00:00</updated>
<author>
<name>Hiral Bhavsar</name>
<email>hbh@odoo.com</email>
</author>
<published>2017-11-22T13:03:47+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=66aefb1723c336cc1c61fb32926ed926ba9e29e4'/>
<id>66aefb1723c336cc1c61fb32926ed926ba9e29e4</id>
<content type='text'>
- Not any text by default
- No padding in sent layout (add padding to the editor for readability)
- Apply font size like gmail
- Line spacing should behave like in gmail, so no margin on &lt;p&gt; tags
- Ordered and unordered lists should have proper margin and bullets
  should have black color
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Not any text by default
- No padding in sent layout (add padding to the editor for readability)
- Apply font size like gmail
- Line spacing should behave like in gmail, so no margin on &lt;p&gt; tags
- Ordered and unordered lists should have proper margin and bullets
  should have black color
</pre>
</div>
</content>
</entry>
<entry>
<title>[MERGE] forward port branch saas-11.1 up to 56974322f8c</title>
<updated>2018-01-12T18:13:10+00:00</updated>
<author>
<name>Christophe Simonis</name>
<email>chs@odoo.com</email>
</author>
<published>2018-01-12T18:13:10+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=03a36a9bbadbf874837ff85692a1d8f1c13cc36d'/>
<id>03a36a9bbadbf874837ff85692a1d8f1c13cc36d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] mass_mailing: width of main layout in editor</title>
<updated>2018-01-12T10:48:35+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2018-01-12T09:40:10+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=4357783a5813ac3d28218cebd179a61e1b5b9b83'/>
<id>4357783a5813ac3d28218cebd179a61e1b5b9b83</id>
<content type='text'>
Commit https://github.com/odoo/odoo/commit/bee3253b44850c0d563ee8973556ece33376781b
changed the main layout width computation so that it is compatible with
mail clients but broke the preview in the editor.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit https://github.com/odoo/odoo/commit/bee3253b44850c0d563ee8973556ece33376781b
changed the main layout width computation so that it is compatible with
mail clients but broke the preview in the editor.
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] web_editor, *: change height/margin system to padding system</title>
<updated>2018-01-08T12:54:25+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2017-10-31T11:42:23+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=2303dcb2a9547c0a1cb2a176ff2fb398a9752b2d'/>
<id>2303dcb2a9547c0a1cb2a176ff2fb398a9752b2d</id>
<content type='text'>
* web, website, mass_mailing

Before this commit, the editor allowed defining the margin of some
elements and the height of some elements. There were three main
problems with this system:

1) When an user dragged the arrow, he often expected to change the
   size of the element while he was in fact changing the margin

2) When changing the margin, you increase the space between two
   elements but with a white space (while most users want a space
   with the same color of the block they are resizing = padding)

3) When changing the height, the user was able to hide snippet parts
   and the height was not consistent accross screen sizes

Now, the only thing you can edit is padding. There is only one arrow
for each direction, which allows increasing spacing and consistent
dimension at the same time.
The only feature that is lost with this change is the ability to
control vertical alignement of colored columns. This is not a problem
as colored columns are rare in our current snippets and there still
have the possibility to add margin classes by hand if necessary (there
are also plans to control vertical alignement another way).

Note: margin classes are kept for compatibility.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* web, website, mass_mailing

Before this commit, the editor allowed defining the margin of some
elements and the height of some elements. There were three main
problems with this system:

1) When an user dragged the arrow, he often expected to change the
   size of the element while he was in fact changing the margin

2) When changing the margin, you increase the space between two
   elements but with a white space (while most users want a space
   with the same color of the block they are resizing = padding)

3) When changing the height, the user was able to hide snippet parts
   and the height was not consistent accross screen sizes

Now, the only thing you can edit is padding. There is only one arrow
for each direction, which allows increasing spacing and consistent
dimension at the same time.
The only feature that is lost with this change is the ability to
control vertical alignement of colored columns. This is not a problem
as colored columns are rare in our current snippets and there still
have the possibility to add margin classes by hand if necessary (there
are also plans to control vertical alignement another way).

Note: margin classes are kept for compatibility.
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] mass_mailing, web_editor: increase mail clients compatibility</title>
<updated>2017-05-17T09:29:24+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2017-05-17T09:15:13+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=a83f812357baea4ec25cfa4a0da389d91d5f12f7'/>
<id>a83f812357baea4ec25cfa4a0da389d91d5f12f7</id>
<content type='text'>
Following bee3253b44850c0d563ee8973556ece33376781b, this commit is made
to increase the mail clients compatibility for the mails that are
created with the odoo mail editor.

Three new problems are handled:

- Font family of titles had to be forced too as outlook was not
  inheriting parent font family on those either.

- Default text font-size had to be forced as was not detected in
  transcoding correctly.

- text-decoration rule was decomposed in text-decoration(-line,
  -style and -color) in transcoding. Outlook is ignoring those
  three rules for some reason. As the decomposition is useless,
  the transcoder now forces the recomposition of these three rules.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Following bee3253b44850c0d563ee8973556ece33376781b, this commit is made
to increase the mail clients compatibility for the mails that are
created with the odoo mail editor.

Three new problems are handled:

- Font family of titles had to be forced too as outlook was not
  inheriting parent font family on those either.

- Default text font-size had to be forced as was not detected in
  transcoding correctly.

- text-decoration rule was decomposed in text-decoration(-line,
  -style and -color) in transcoding. Outlook is ignoring those
  three rules for some reason. As the decomposition is useless,
  the transcoder now forces the recomposition of these three rules.
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] mass_mailing: increase email clients compatibility</title>
<updated>2017-05-15T13:26:05+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2017-05-15T11:14:13+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=bee3253b44850c0d563ee8973556ece33376781b'/>
<id>bee3253b44850c0d563ee8973556ece33376781b</id>
<content type='text'>
Creating a mail template which is complex and compatible with all mail
clients is a very difficult task as each mail client supports a
different subset of basic CSS rules.

This commit fixes 3 problems which were occuring in outlook and/or
thunderbird but not in gmail:

- Main layout horizontal overflow
    -&gt; change 24px horizontal padding of main layout to 3% and set the
       width to 94% (so that the sum is 100%)

- Fixed 600px content was full width instead
    -&gt; Change the .o_mail_wrapper to be a &lt;table&gt; element instead of a
       &lt;div&gt; element. The table is full-width and contains one row of 3
       cells: an empty left one, a fixed 600px-width center one and an
       empty right one. This allows to have the same layout as before but
       without using the unsupported max-width css rule.

- Texts were not using the right color and font-size
    -&gt; &lt;p&gt; elements were not properly inheriting the color and font-size
       properties, so force the style on &lt;p&gt; elements.

opw-743156
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Creating a mail template which is complex and compatible with all mail
clients is a very difficult task as each mail client supports a
different subset of basic CSS rules.

This commit fixes 3 problems which were occuring in outlook and/or
thunderbird but not in gmail:

- Main layout horizontal overflow
    -&gt; change 24px horizontal padding of main layout to 3% and set the
       width to 94% (so that the sum is 100%)

- Fixed 600px content was full width instead
    -&gt; Change the .o_mail_wrapper to be a &lt;table&gt; element instead of a
       &lt;div&gt; element. The table is full-width and contains one row of 3
       cells: an empty left one, a fixed 600px-width center one and an
       empty right one. This allows to have the same layout as before but
       without using the unsupported max-width css rule.

- Texts were not using the right color and font-size
    -&gt; &lt;p&gt; elements were not properly inheriting the color and font-size
       properties, so force the style on &lt;p&gt; elements.

opw-743156
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] mass_mailing: vertical alignments &amp; multiline text</title>
<updated>2016-11-07T16:08:18+00:00</updated>
<author>
<name>stefanorigano</name>
<email>sri@odoo.com</email>
</author>
<published>2016-11-07T10:43:11+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=23c6c37c8dc35c591fb06e606d9a95d982187f0e'/>
<id>23c6c37c8dc35c591fb06e606d9a95d982187f0e</id>
<content type='text'>
* vertical alignment: Keep ‘vertical-align: top’ as default, but
define ‘middle’ exceptions for header and footer snippets.

* ‘comparison_table’: multiline text.
Remove inline style for inner &lt;p/&gt; elements and define default padding
for parent &lt;td/&gt; instead. This will allow to create multiple line of
text keeping a coherent margin between each &lt;td/&gt;.
A css set of rules triggering any kind of elements allow to use
multiline text for any kind of tag (p, h1, etc..)

* Footer snippets padding, minor
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* vertical alignment: Keep ‘vertical-align: top’ as default, but
define ‘middle’ exceptions for header and footer snippets.

* ‘comparison_table’: multiline text.
Remove inline style for inner &lt;p/&gt; elements and define default padding
for parent &lt;td/&gt; instead. This will allow to create multiple line of
text keeping a coherent margin between each &lt;td/&gt;.
A css set of rules triggering any kind of elements allow to use
multiline text for any kind of tag (p, h1, etc..)

* Footer snippets padding, minor
</pre>
</div>
</content>
</entry>
</feed>
