Revamp the theme design and adapt its existing snippets
task-4178083
Part of task-4177975
closesodoo/design-themes#927
Signed-off-by: Alice Gaudon (agau) <agau@odoo.com>
This commit has two main goals:
1. Adapt the copy of the `s_text_cover` snippet to fit each theme
2. Introduce custom images for each themes, as the `s_text_cover` was
always using the same image until now
This commit also fixes some conflicting classes due to a change of
`background-color` in the default snippet.
task-4119904
Part of task-3619705
Part-of: odoo/design-themes#919
Related: odoo/odoo#180736
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit adapts the xpath for the `s_key_benefits` snippet that were
targeting `col-lg-4`.
As we switched the layout of this snippet to columns, we reviewed the
layout a bit, resulting in one single `col-12` on top, rather than
`col-4` and `col-12`.
As we remove this `col-lg-4`, we need to adapt all the xpaths.
task-4188740
Part of task-4077427
Part-of: odoo/design-themes#919
Related: odoo/odoo#180736
Signed-off-by: Outagant Mehdi (mou) <mou@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit fixes a readability issue on the `s_cover` snippet.
Prior to this commit, the background was set to `o_cc4` which was quite
arbitrary, but could also create readability issues in some case.
As the image has a black filter on top of it, setting the `o_cc` class
to `o_cc5` will ensure a readable text no matter the theme/industry.
task-4190912
Part-of: odoo/design-themes#919
Related: odoo/odoo#180736
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
The "s_timeline_dot" class from the timeline snippet has been replaced by
the "o_dot" class. This commit makes the necessary adaptation in the
"Buzzy theme".
task-4105080
Part-of: odoo/design-themes#919
Related: odoo/odoo#180736
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Some snippet may come with the `fa-stack` class which breaks the
design-themes tests.
task-4156290
Part of: task-4077427
Part-of: odoo/design-themes#919
Related: odoo/odoo#180736
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit removes a `fs-5` that was added on icons within the
`s_features` snippet.
Currently, the size of icons are handled in two different ways :
1) if the icon has a `rounded` class, we have a CSS property setting
the width to a certain size.
2) if the icon doesn't have the `rounded` class, it uses the default
behaviour, meaning the `fa-*x` class will set a font-size. In this case,
as there was a `fs-*` class applied, it prevented the icon to scale.
This commit fixes the issue by removing the extra class.
task-4182400
closesodoo/design-themes#918
Related: odoo/odoo#180032
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
Commit [1] adapted the "Image Gallery" new design for the different
themes. In the `notes` and `odoo_experts` themes, the `s_image_gallery_
indicators_arrows_boxed` class was added, in order to have squared
arrows. However, this class does not exist, as the correct one is
`s_image_gallery_arrows_boxed`. This made the arrows stay as the default
ones in these themes.
Moreover, the default arrow class `s_image_gallery_arrows_default` was
not removed in the xpath, making the two classes coexist.
This commit fixes these class issues.
[1]: https://github.com/odoo/design-themes/commit/f66833de41f757c65ecf660f7bbc033b6dc64d6a
Related to task-3654328
closesodoo/design-themes#909
Related: odoo/odoo#180238
Signed-off-by: Colin Louis (loco) <loco@odoo.com>
*: theme_aviato, theme_monglia, theme_odoo_experts, theme_real_estate,
theme_yes
Since the removal of `container` divs in the `s_quotes_carousel`
snippet, this commit adapts the theme customizations.
This commit also fixes contrast issues related to the "Invert colors"
option.
task-4167538
Part of task-3619705
closesodoo/design-themes#898
Related: odoo/odoo#179389
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
*: artists, avantgarde, aviato, bookstore, buzzy, clean, graphene, kea,
kiddo, loftspace, monglia, odoo_experts, orchid, paptic, real_estate,
vehicle
This commit mirrors the changes made to the `s_three_columns` and the
`s_comparisons` snippets, adding the use of the `s_card` snippet in them
in the community counterpart.
task-4115012
part of task-3619705
closesodoo/design-themes#868
Related: odoo/odoo#176684
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
Some snippets contain incorrect font style that are not achievable using
the editor (for example: <h2 class="display-3"> in the "Key benefits"
snippet).
These snippets were adapted in the community commit linked to this one
to align with what the editor would generate if we recreated them from
scratch.
In this commit, we adapt the themes following the change in community.
We also fix a few issues (e.g., wording for the ´s_numbers´ snippet)
noticed during the changes.
task-4148057
closesodoo/design-themes#895
Related: odoo/odoo#178957
Signed-off-by: Robin Lejeune (role) <role@odoo.com>
This commit adapts the classes whitelist in `test_new_page_templates.py`
based on the new classes added during the dynamic snippets redesign.
task-3097273
closesodoo/design-themes#897
Related: odoo/odoo#135509
Related: odoo/enterprise#68754
Signed-off-by: Robin Lejeune (role) <role@odoo.com>
*: (avantgarde, enark)
This commit adapts the design of new `s_closer_look` snippet for
multiple themes.
task-4077576
closesodoo/design-themes#854
Related: odoo/odoo#175682
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
*: theme_clean, theme_kiddo, theme_loftspace, theme_monglia
Commit [1] adapted the homepage tour to the new Columns category added
in the "Add Snippet Dialog".
Unfortunately, it did not properly adapt every tour, and this was not
caught by runbot because the test was disabled during that time.
This commit fixes the leftovers.
[1]: https://github.com/odoo/design-themes/commit/a63e21e41ac0dba102b4267a775fc1ea3221addd
related to task-4119460
closesodoo/design-themes#886
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>