summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/less/web_editor.backend.less
AgeCommit message (Collapse)Author
2018-04-18[REF] *: rename all LESS files to SCSSqsm-odoo
This is a simple renaming without adaptation.
2018-04-04[FIX] web_editor: same style on `div` and `p` in backend in edit modeRomain Derie
Before this commit: In the web_editor in backend, entering edit mode would display differently text in `div` and text in `p` but not when viewing the content outside edit mode. Now, `div` and `p` won't have different style when entering edit mode.
2018-04-04[FIX] web_editor: Reduce interline in web editor html listsRomain Derie
Backport of 2b575e9 that landed in master
2018-03-15[FIX] web_editor: modal fullscreen is fullscreenNicolas Lempereur
Depending on CSS surrounding the editor, the fullscreen component could fail to set the editor fullscreen. eg. if the editor is in a modal in a modal (ie. when editing a mail template when adding an activity and creating a marketing automation campaign) the fullscreen function would set it to 184px height away 30px to the screen top. With this change, `transform` css property is unset on parent elements of the editor, this was causing the absolute editor to have an offset parent that was not the body tag. opw-1824605 closes #23682
2018-03-13[FIX] web_editor: FieldHTML: break long wordsAaron Bohy
to prevent them from overflowing the form sheet.
2017-05-04[REF] web, *: restore views designqsm-odoo
Since the new views merge, a lot of design elements were broken. This was particularly impacting the fields in the editable list view; indeed the editable list view is not using an inline form view anymore so the fields in the list were not properly styled as the LESS was still defined assuming the form view environment (for example the invalid fields were red for o2m fields in form view but not in editable list view even though they got the right CSS class). This commit refactor the LESS following these rules: - No more division of non-layout and layout rules. Dividing LESS rules in x_layout.less and x.less was a mistake. Many rules can be considered to be layout and not layout at the same time, developers always have to switch from one file part to the other, many CSS selectors (and rules!) are duplicated for nothing, ... - Field style is extracted from x_view.less and put in the new fields.less file. As before, the fields_extra.less will contain the rules specific to community so that the enterprise repo can override those by replacing the whole file. - Many classes have been renamed so that o_form_x_y becomes o_x_y as many classes can now be applied outside of form view. These classes should not be used in templates anyway. The commit also changes the DOM of fields so that it is more minimalist (no useless parent div, etc). Input elements are not automatically styled anymore, they have to get the o_input class explicitely. This allows to fix lots of small style bugs of previous versions (required monetary field had not the proper style, readonly m2m tags appeared as editable, ...). This also improves the LESS code. The editable list view should also completely stop flickering on chrome and firefox. The commit also removes the orange outline on list view dirty cells. The commit also removes deprecated static xml, LESS and other code. Notice there are still styles to restore/fix and LESS to improve.
2016-07-17[IMP] web_editor: css regular spacing between <p> to avoid bad layoutFabien Pinckaers
for email previews (e.g. sale order) [IMP] improved email template for SO, with added signature
2016-05-02[FIX] web_editor: backend colorpicker in editorqsm-odoo
The web_editor.colorpicker defines a series of color buttons which toggle the bg-* and text-* classes. The problem is that themes can define new buttons whose bg-* and text-* classes only exist in the frontend. So these buttons should not be displayed in the backend. Only solution for the current implementation is to add this ugly rule (in this backend file) which hides every button and redisplayed the default ones. This fix is temporary and has to be improved in next versions.
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