summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2020-07-01 14:52:06 +0000
committerqsm-odoo <qsm@odoo.com>2020-07-14 14:43:16 +0000
commitf16113a06e31c0dd04f13be5537d24a8e3d4f96a (patch)
tree3f636fd512ce1d8b2bb7b953ce6fe7e56c2438c5 /addons/website/static/src/xml
parent6c31104fa99e3e9b5c28195a0c4060d95c78b94e (diff)
[IMP] web_editor, *: review the editor design CSS
*: web, mass_mailing, website, website_form, website_sale New CSS design of the editor (step 1/x). This work is unfortunately far from perfect but is a first step towards what we want. In particular, much CSS linked to elements that are meant to be removed/moved in the upcoming weeks was done in a huge rush but will thus hopefully be removed/reviewed before the 14.0 release. As the design is now far more complex including gradients and other "complex" elements, it was also very difficult to keep a design based on css-variable so this system was removed, which means that the editor now appears the same everywhere (backend, frontend, ...). The original goal of this system was to have an adapted style for backend, frontend and website visitors. Unfortunately, the current result was a very good frontend editor design, a not-so-good backend editor design (for mass mailing at least) and a totally unadapted design for the website visitors. Making this perfect will be achievable by loading different assets for those 3 areas and hopefully those assets will only differ by the values of editor scss variables. Part of https://github.com/odoo/odoo/pull/53930 task-2157252
Diffstat (limited to 'addons/website/static/src/xml')
-rw-r--r--addons/website/static/src/xml/website.editor.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml
index 998c60f4963..bea9661aa21 100644
--- a/addons/website/static/src/xml/website.editor.xml
+++ b/addons/website/static/src/xml/website.editor.xml
@@ -13,9 +13,9 @@
<!-- Editor top bar which contains the summernote tools and save/discard buttons -->
<t t-name="website.editorbar">
<div id="web_editor-top-edit">
- <form class="navbar-form text-muted">
- <button type="button" class="btn btn-secondary" data-action="cancel" accesskey="j"><i class="fa fa-times"/> Discard</button>
- <button type="button" class="btn btn-primary" data-action="save" accesskey="s"><i class="fa fa-floppy-o"/> Save</button>
+ <form class="o_we_website_top_actions">
+ <button type="button" class="btn btn-primary" data-action="save" accesskey="s">Save</button>
+ <button type="button" class="btn btn-secondary" data-action="cancel" accesskey="j">Discard</button>
</form>
</div>
</t>