summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/less/web_editor.common.less
AgeCommit message (Collapse)Author
2018-04-18[REF] *: rename all LESS files to SCSSqsm-odoo
This is a simple renaming without adaptation.
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-10-20[MERGE] forward port branch saas-16 up to dc2a6c6cd2aChristophe Simonis
2017-10-18[MERGE] forward port branch saas-14 up to 73822d4eafcChristophe Simonis
2017-10-18[MERGE] forward port branch 10.0 up to 2198220947eChristophe Simonis
2017-10-18[FIX] web_editor: odoo-made tables should not be layout: fixedqsm-odoo
2017-09-15[ADD] website: add new page managementrde
website.page = old ir.ui.view with page=True website.redirect is a new mechanism to replace in the futur the ir.attachment mechanism of redirect. From now, we don't have a specific /page controller to serve 'page'. We use a new model website.page which is rendered if none route matches the url and that the field 'url' on website.page matches the request.httprequest.path. The order to serve a path is: - Routes defines in controllers (/shop, /blog, ...) - ir.attachment with name matching the path - website.page with url matching the path - website.redirect with url_from matching the path - 404 To improve: - allow regexp in website.redirect model - allow to edit the view_arch from the page.management via redirect backend (needed when traceback in the page, or when modifying a js/css/less/...)
2017-02-14[IMP] web, web_editor, website: small refactoring of LESS filesqsm-odoo
This commit comments some LESS files to help the user to understand for what their content is used (preparing the LESS editor feature).
2017-02-14[FIX] web_editor: link dialog (init & classes)qsm-odoo
Commit 3c9e6c89e7207636c1bdab4ed8118c0c1089d43e made big changes to the link dialog. This commit fixes two bugs it introduced: * The color class preview was not properly set when opening a dialog (so changing nothing and saving would change the result) * New btn color classes were wrongly initialized. It did not use less generation and made the button text always white. This could introduce bugs when using different colors in themes. Note: this code is already being refactored anyway.
2017-02-10[IMP] web_editor: improve `LinkDialog` widget design and usabilityParth Gajjar
Specification ============= - no boxes around fields - use regular form style for input fields - don't split page/URL into two fields, just do one URL field, with autocomplete - Add alpha, beta, gamma, delta and epsilon color in color selection because they are used in mass mailing and themes also. - Add a selection option with label "L" inside circle for link. - Add Color selector for choosing button color - Remov select2 page selector and used jquery autocomplete on same input - Fix issue of page search in ir.http
2016-11-23[FIX] website_portal, *: correct layout issuesqsm-odoo
* web_editor, website_portal_sale, website_project, website_project_issue, website_project_issue_sheet - Use bootstrap grid the right way (missing row) - Use table-responsive for website portal tables - Remove web_editor table layout style if inside a table-responsive in mobile mode
2016-10-05[FIX] *: adapt odoo interface violetqsm-odoo
Change color #a24689 to #875A7B Commit https://github.com/odoo/enterprise/commit/8ac1c19fac7615fecd51e670f798d13158a4e53c changed the odoo interface violet by changing the main LESS variable but forgot there was many direct occurences in XML/HTML/... (for example for the mobile browser color). Even if it's community the odoo interface violet is used at many places (module description, XML demo data, ...).
2016-09-07[IMP] web_editor: change design of transparent colors palettestefanorigano
* Add a "transparent" button * Add a special background for transparent background buttons + Some minor colorpicker design change
2016-08-31[IMP] web_editor: add transparent grayscale color palettestefanorigano
These colors were usually hardcoded in some snippets (.s_banner for example) to increase text legibility over background images. This commit will let the user personalize them.
2016-07-30[FIX] website_sale: unable to edit product priceChristophe Simonis
The less refactoring in 5b65befcd889139152c590490fb8965c9f4b5279 wrongly removed the css directive that hide some elements in edit mode. As a side effect, the product price was appearing twice when editing a product. Commit 44ca4317a93c4cd9a80aadba4cebf3c708bd1513 tempt to fix it but removed the edition part. opw:683343
2016-03-01[FIX] web_editor: bg-* bootstrap colorsqsm-odoo
Wrong values for background-colors for bg-* classes of web_editor.
2016-02-26[FIX] web_editor: bootstrap colors (text-, bg-)qsm-odoo
Bootstrap handles the primary color in a different way than the other colors. So to not break the backend UI, the o-create-color-classes mixin has to consider this difference. Notice that colors management should be further improved in the future.
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
2016-02-24[REF] website,web_editor: complete restylingstefanorigano