summaryrefslogtreecommitdiff
path: root/addons/mass_mailing/static/src/less
AgeCommit message (Collapse)Author
2018-04-18[REF] *: rename all LESS files to SCSSqsm-odoo
This is a simple renaming without adaptation.
2018-02-15[MERGE] forward port branch saas-11.1 up to a277b585072Christophe Simonis
2018-02-14[MERGE] forward port branch saas-16 up to 77927559465Christophe Simonis
2018-02-14[MERGE] forward port branch saas-15 up to d24bdbde81bChristophe Simonis
2018-02-13[FIX] web_editor, mass_mailing: better transcode alignment inheritanceqsm-odoo
Browsers' default alignement of <td/> 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 <td/> and computes the real alignment for 'inherit' values when transcoding. opw-813688
2018-02-05[FIX] mass_mailing: complete commit 66aefb1723c336cc1c61fb32926ed926ba9e29e4qsm-odoo
- There should not be margins around lists - There should not be editor overlay on the whole content
2018-02-01[IMP] mass_mailing: onboardingAlexandre Kühn
Lots of small usability improvements on the mass_mailing app.
2018-01-16[IMP] mass_mailing: make basic theme behave like gmailHiral Bhavsar
- 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 <p> tags - Ordered and unordered lists should have proper margin and bullets should have black color
2018-01-12[MERGE] forward port branch saas-11.1 up to 56974322f8cChristophe Simonis
2018-01-12[MERGE] forward port branch saas-16 up to 3b7bf3a4b8bChristophe Simonis
2018-01-12[MERGE] forward port branch saas-15 up to 8962b8ecc2aChristophe Simonis
2018-01-12[FIX] mass_mailing: width of main layout in editorqsm-odoo
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.
2018-01-08[IMP] web_editor, *: change height/margin system to padding systemqsm-odoo
* 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.
2017-09-29[FIX] mass_mailing: Merge 'Basic Template' and 'Blank template'dbh
Purpose ======= Feedback from fgi: mass mail, remove first plain text template and use preview image for the second one: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrdG4zNHd3a2hueWM/view?usp=drivesdk + all the editable text should be visible: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrZ0FWZWNjcjB2OFk/view?usp=drivesdk
2017-06-01[MERGE] Forward-port saas-15 up to 17b847c0f67e51279e4c6d53e847d9918b41b7f7Olivier Dony
2017-05-17[FIX] mass_mailing, web_editor: increase mail clients compatibilityqsm-odoo
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.
2017-05-16[MERGE] Forward-port saas-15 up to 878fbc75ff9ebade92f43748500e64350367a824Olivier Dony
2017-05-15[FIX] mass_mailing: increase email clients compatibilityqsm-odoo
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 -> 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 -> Change the .o_mail_wrapper to be a <table> element instead of a <div> 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 -> <p> elements were not properly inheriting the color and font-size properties, so force the style on <p> elements. opw-743156
2017-03-13[IMP] mass_mailing: add "basic" theme for plain text mailingstefanorigano
Sometimes, there is a need for mass mailing "basic" mails with no image or style. The "basic" theme is designed for this (note that there still is the possibility to add style and images, default images are just gray placeholder).
2016-12-04[IMP] mass_mailing: CSS for mobile: avoid horz scrollbarFabien Pinckaers
2016-11-07[FIX] mass_mailing: vertical alignments & multiline textstefanorigano
* 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 <p/> elements and define default padding for parent <td/> instead. This will allow to create multiple line of text keeping a coherent margin between each <td/>. 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
2016-09-30[IMP] mass_mailing, web_editor: propose installation of mass_mailing_themesqsm-odoo
When an user starts a new mail template, he is now proposed to upgrade to enterprise to install mass_mailing_themes.
2016-09-30[IMP] mass_mailing: only keep one theme in community moduleqsm-odoo
Only keep default theme in community module and replace old enterprise ones with new ones.
2016-09-23[FIX] mass_mailing: force vertical align top on td/th elementqsm-odoo
2016-09-23[FIX] mass_mailing: fix layout issue of o_mail_header_social linksstefanorigano
Fix an issue causing a wrong icon alignment on save.
2016-09-23[FIX] mass_mailing: refactore o_mail_block_footer_tag_line snippetstefanorigano
* Remove the ability to change bg-color (colours are applied to children elements) * Fix a layout issue in theme_resto
2016-09-23[FIX] mass_mailing: review colors in snippetsstefanorigano
* Trig default ".btn.btn-link" rather than custom ".o_mail_link" (not used anymore) * Define variations when a button is inside bg-beta or bg-delta
2016-09-20[IMP] mass_mailing: review theme style location and conventionqsm-odoo
* Use the theme class selector as root for the less file -> Allow to style the editor as applied to the body -> Split in editor/color/layout/snippets * Create an assets to contain all mm themes so that the compilation is made by the odoo system, and allow minification and variable sharing between themes -> Remove css files * Reformat the LESS files content
2016-09-20[IMP] mass_mailing, web_editor: improve themes/snippets/templatesstefanorigano
2016-09-20[IMP] mass_mailing: add default layout for mail themesqsm-odoo
When there is no content in the mail, the user is now forced to choose a theme. Once the choice is made, the theme introduces default content (series of snippet to simplify user edition). The default images are also changed when the theme is switched. To do that, JS code was implemented so that on theme switch, all the images are changed to check for images in the static theme folder or use a theme related xml_id. + Refactore theme data management.
2016-09-05[REF] mass_mailing: convert templates to themes and clean codeqsm-odoo
* Remove mass mailing template switching system (lemon, airmail, ...) and replace it with a theme selector which only toggle a different class on the body. * Lint JS files. * Change the way the editor is overridden by mass_mailing in a more odoo way (put the JS in assets and check on runtime if it must be applied. + fix editor style + remove useless code + remove odoo template
2016-09-05[REF] mass_mailing: change theme/template selection and add new snippetsChristophe Matthieu
* remove theme/template selection screen for mass_mailing * allow to use different layout on edition * add new snippets
2016-02-24[REF] web,web_editor,website,report,mass_mailing,mail: LESSqsm-odoo
* Convert some CSS to LESS * Split/Join LESS files * Remove duplicates between website and web_editor * UI improvements * Allow simple customizations thanks to LESS var&mixins for website
2015-07-01[IMP] web_kanban: use flex for progress bar instead of hard-coded widthMartin Geubelle
2015-06-18[IMP] mass_mailing: improve kanban view to fit with new styleMartin Geubelle