summaryrefslogtreecommitdiff
path: root/addons/website_form/views
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_form/views
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_form/views')
-rw-r--r--addons/website_form/views/snippets/s_website_form.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website_form/views/snippets/s_website_form.xml b/addons/website_form/views/snippets/s_website_form.xml
index 4b3d9c9a790..2f9e343e681 100644
--- a/addons/website_form/views/snippets/s_website_form.xml
+++ b/addons/website_form/views/snippets/s_website_form.xml
@@ -92,14 +92,14 @@
<we-button data-multi-checkbox-display="horizontal">Horizontal</we-button>
<we-button data-multi-checkbox-display="vertical">Vertical</we-button>
</we-select>
- <we-input string="Label Name" data-set-label-text=""/>
+ <we-input string="Label Name" class="o_we_large_input" data-set-label-text=""/>
<we-select string="Label Position" data-no-preview="true">
<we-button data-select-label-position="none">None</we-button>
<we-button data-select-label-position="top">Top</we-button>
<we-button data-select-label-position="left">Left</we-button>
<we-button data-select-label-position="right">Right</we-button>
</we-select>
- <we-input string="Input Placeholder" data-name="placeholder_opt" data-set-placeholder=""/>
+ <we-input string="Input Placeholder" class="o_we_large_input" data-name="placeholder_opt" data-set-placeholder=""/>
<we-checkbox string="Required" data-name="required_opt" data-no-preview="true"
data-toggle-required="s_website_form_required"/>
<we-checkbox string="Hidden" data-name="hidden_opt" data-no-preview="true"