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>
theme_*: theme_anelusia, theme_artists
Based on the output from the test added in the previous commit, this
commit adapts references to start from a clean state.
task-4146886
closesodoo/design-themes#889
Signed-off-by: Arthur Detroux (ard) <ard@odoo.com>
This commit adds a test to ensure that assets and images referenced from
a theme do actually belong to that theme.
task-4146886
Part-of: odoo/design-themes#889
Signed-off-by: Arthur Detroux (ard) <ard@odoo.com>
*: theme_avantgarde, theme_beauty, theme_bewise, theme_bistro,
theme_cobalt, theme_graphene, theme_kea, theme_kiddo, theme_loftspace,
theme_monglia, theme_nano, theme_notes, theme_paptic, theme_yes,
theme_zap, theme_treehouse
This commit optimizes and adapts the images related to s_company_team_*
snippet to avoid using multiple versions with differents sizes and
ratios.
task-4140941
Part of task-4077427
optimize
Part-of: odoo/design-themes#888
Related: odoo/odoo#178367
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
This commit adapts the design of `s_tabs` for `theme_treehouse`, based
on the new Odoo 18 snippet redesign.
task-3657591
closesodoo/design-themes#847
Related: odoo/odoo#172717
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
*: artists, avantgarde, aviato, buzzy, orchid, paptic, real_estate,
treehouse, zap
This commit aims to adapt tests within each themes that uses the
`s_three_columns` snippet.
As we introduce the `Columns` category within the snippet modal, we are
moving the `s_three_columns` from the `Content` category to the `Columns`
one. This implies an adaptation of the tests where the `s_three_columns`
was defined as part of the `Content` category.
task-4119460
follow-up of task-3919405
closesodoo/design-themes#872
Related: odoo/odoo#176889
Signed-off-by: Robin Lejeune (role) <role@odoo.com>
*: theme_buzzy, theme_cobalt, theme_kea, theme_nano, theme_odoo_experts,
theme_paptic, theme_vehicle, theme_zap
The goal of this commit is to fix xpath after the `s_references` snippet
redesign, and eventually tweak some classes.
task-3668033
closesodoo/design-themes#838
Related: odoo/odoo#163837
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
Following the recent shift to a 4-column layout in the theme picker [1],
this commit focuses on updating a little bit the size and quality of
theme screenshot images. Providing a clearer and more visually appealing
presentation of the themes.
task-3648576
closesodoo/design-themes#758
Related: odoo/odoo#149989
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
*: theme_notes, theme_real_estate, theme_yes, theme_zap, theme_vehicle
Along with xPath adaptations, this commit also replaces a pixelated
image in the 'theme_yes'.
task-3665303
part of task-3619705
closesodoo/design-themes#839
Related: odoo/odoo#173870
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>