Commit Graph

61 Commits

Author SHA1 Message Date
Soukéina Bojabza d8e52e96b5 [FIX] theme_*: adapt s_carousel_intro without display: flex
*: bewise, loftspace, monglia, notes, vehicle

In the community PR, the `s_carousel_intro` snippet has been modified in
order to not be in `display: flex` anymore.

This commit adapts this snippet customizations to these changes. More
precisely, it adapts the vertical padding and the grid areas to the text
content, in order to avoid having an overflow.

It also fixes the "Monglia" customization by removing the background
color of the slides, in order to make the added shape visible.

Related to task-4077628

closes odoo/design-themes#915

Related: odoo/odoo#180515
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-27 10:57:57 +00:00
Soukéina Bojabza b96d4ca9c6 [FIX] theme_bewise, *: adapt s_image_title without display: flex
*: vehicle

In the community PR, the `s_image_title` snippet has been modified in
order to not be in `display: flex` anymore, as it could cause issues
with images. The same visual was obtained by setting a `grid-area` in a
way that the text block is at the bottom right.

This commit adapts this snippet customizations to these changes. More
precisely, it adapts the `grid-area` and padding to the text content, in
order to avoid having an overflow while still looking like before.

Related to task-4105319

Part-of: odoo/design-themes#915
Related: odoo/odoo#180515
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-27 10:57:57 +00:00
Xavier Luyckx (xlu) 8fda02fca5 [IMP] theme_vehicule: improve theme
task-4178091
Part of task-4177975

closes odoo/design-themes#924

Signed-off-by: Outagant Mehdi (mou) <mou@odoo.com>
2024-09-26 11:42:41 +00:00
Benoit Socias 38a02a269a [FIX] theme_*: fix used separators in class and style updates
*: anelusia, artists, avantgarde, aviato, bistro, bookstore, buzzy,
   clean, enark, graphene, kea, kiddo, monglia, nano, notes,
   odoo_experts, paptic, real_estate, treehouse, vehicle, yes, zap

This commit fixes the wrong separators used when updating class and
style attributes.

task-4206845

Part-of: odoo/design-themes#933
Related: odoo/odoo#181194
Signed-off-by: Alice Gaudon (agau) <agau@odoo.com>
2024-09-26 08:40:55 +00:00
Chrysanthe (chgo) 75fc5fbaf0 [IMP] theme_*: adapt s_empowerment
task-4077615
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>
2024-09-21 16:34:54 +00:00
Antoine (anso) 05fdc8e75f [IMP] theme_*: adapt s_product_list
task-4048196
Part of task-3619705

Part-of: odoo/design-themes#919
Related: odoo/odoo#180736
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-21 16:34:53 +00:00
Chrysanthe (chgo) bb8254a09f [IMP] theme_*: adapt s_images_constellation
task-4105366
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>
2024-09-21 16:34:53 +00:00
Chrysanthe (chgo) cf5f4cc189 [FIX] theme_*: adapt s_key_benefits col-lg-* xpath selectors
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>
2024-09-21 16:34:53 +00:00
Brieuc-brd 46f0c8aa96 [IMP] theme_*: adapt s_quotes_carousel_minimal
task-4166189
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>
2024-09-21 16:34:53 +00:00
Brieuc-brd 42a2d6e3a6 [IMP] theme_*: adapt s_carousel_intro
task-4077628
Part of task-4077427

Part-of: odoo/design-themes#919
Related: odoo/odoo#180736
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-21 16:34:53 +00:00
mano-odoo 8e2ad3496f [IMP] theme_*: adapt s_cards_grid
task-4104964

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>
2024-09-21 16:34:53 +00:00
Xavier Luyckx (xlu) 2c8892ab4d [IMP] theme_*: adapt s_card_offset
task-4105038

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>
2024-09-21 16:34:53 +00:00
Brieuc-brd 28cc178546 [IMP] theme_*: adapt s_images_mosaic
This commit adapts images for s_images_mosaic, added in
https://github.com/odoo/odoo/pull/176575

task-4105446
Part of task-4077427

Part-of: odoo/design-themes#919
Related: odoo/odoo#180736
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-21 16:34:53 +00:00
Brieuc-brd ebb9ca2ab3 [IMP] theme_*: adapt s_wavy_grid
This commit adapts customizations for `s_wavy_grid`, added in
https://github.com/odoo/odoo/pull/177620

task-4105125
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>
2024-09-21 16:34:53 +00:00
Antoine (anso) 786b968151 [IMP] theme_*: adapt themes with new s_framed_intro snippet
*: (artists, aviato, beauty, kea, kiddo, nano, notes, orchid, vehicle,
yes, zap)

This commit adapts the design of new `s_framed_intro` snippet for
multiple themes.

task-4077595

closes odoo/design-themes#852

Related: odoo/odoo#175612
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
2024-09-19 08:43:53 +00:00
Xavier Luyckx (xlu) 0b567d15c6 [IMP] theme_*: adapt themes with new s_image_frame design
*: anelusia, artists, avantgarde, aviato, beauty, bewise, bistro,
bookstore, buzzy, clean, cobalt, enark, graphene, kiddo, monglia, nano,
notes, paptic, treehouse, vehicle, yes

This commit adapts the design of `s_image_frame` for multiple themes,
based on the new Odoo 18 snippet redesign.

task-4105328

closes odoo/design-themes#864

Part-of: task-4077427
Related: odoo/odoo#176562
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
2024-09-18 13:00:35 +00:00
Chrysanthe (chgo) 93736ae182 [IMP] theme_*: adapt s_big_number across themes
*: anelusia, artists, avantgarde, aviato, beauty, bewise, bistro,
bookstore, buzzy, clean, cobalt, enark, graphene, kea, kiddo, loftspace,
monglia, nano, notes, odoo_experts, orchid, real_estate, treehouse,
vehicle, yes, zap

This commit adapts the occurrences of the `s_big_number` snippet across
design themes.

task-4094391
Part of task-4077427

closes odoo/design-themes#894

Related: odoo/odoo#175920
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
2024-09-17 06:21:58 +00:00
Xavier Luyckx (xlu) 26dbfa11d2 [IMP] theme_*: adapt themes with new s_quadrant snippet
*: anelusia, artists, avantgarde, aviato, beauty, bewise, bistro,
bookstore, buzzy, clean, cobalt, enark, graphene, kea, kiddo, loftspace,
monglia, nano, notes, paptic, real_estate, treehouse, vehicle, yes, zap

This commit adapts the design of `s_quadrant` for multiple themes,
based on the new Odoo 18 snippet redesign.

task-4105045

closes odoo/design-themes#874

Part-of: task-4077427
Related: odoo/odoo#177058
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
2024-09-08 13:57:33 +00:00
stefanorigano (SRI) e7a6c43233 [IMP] theme_*: adapt s_three_columns and s_comparisons
*: 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

closes odoo/design-themes#868

Related: odoo/odoo#176684
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
2024-09-06 16:26:46 +00:00
Antoine (anso) 6fc1519894 [IMP] theme_*: adapt themes with new s_sidegrid snippet
*: (anelusia, artists, aviato, beauty, bewise, bistro, bookstore, enark,
graphene, kiddo, loftspace, monglia, notes, real_estate, vehicle, yes,
zap)

This commit adapts the design of new `s_sidegrid` snippet for
multiple themes.

task-4077589

closes odoo/design-themes#853

Related: odoo/odoo#175616
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
2024-09-06 13:58:51 +00:00
Antoine (anso) 9ec27a5330 [IMP] theme_*: adapt themes with new s_striped_top snippet
*: (anelusia, artists, aviato, beauty, bewise, bistro, bookstore, buzzy,
clean, enark, graphene, kea, kiddo, loftspace, monglia, notes,
odoo_experts, orchid, real_estate, vehicle, yes, zap)

This commit adapts the design of new `s_striped_top` snippet for
multiple themes.

task-4077621

closes odoo/design-themes#850

Related: odoo/odoo#175525
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
2024-09-05 13:48:44 +00:00
Brieuc-brd 421d9acaf4 [IMP] theme_anelusia, *: adapt s_key_images
*: theme_aviato, theme_beauty, theme_bewise, theme_bistro,
theme_bookstore, theme_buzzy, theme_clean, theme_cobalt, theme_enark,
theme_graphene, theme_kea, theme_kiddo, theme_monglia, theme_nano,
theme_notes, theme_odoo_experts, theme_orchid, theme_paptic,
theme_real_estate, theme_treehouse, theme_vehicle, theme_yes, theme_zap

This commit adapts customizations for `s_key_images`, added in
https://github.com/odoo/odoo/pull/177463

task-4105059
Part of task-4077427

closes odoo/design-themes#878

Related: odoo/odoo#177463
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
2024-09-03 22:59:39 +00:00
Brieuc-brd 42bf5a5658 [IMP] theme_anelusia, *: adapt s_image_title
*: theme_artists, theme_avantgarde, theme_aviato, theme_beauty,
theme_bewise, theme_bistro, theme_bookstore, theme_buzzy, theme_clean,
theme_cobalt, theme_enark, theme_graphene, theme_kea, theme_kiddo,
theme_monglia, theme_nano, theme_notes, theme_odoo_experts,
theme_orchid, theme_paptic, theme_real_estate, theme_treehouse,
theme_vehicle, theme_yes, theme_zap, theme_loftspace

This commit adapts customizations for `s_image_title`, added in
https://github.com/odoo/odoo/pull/176631

task-4105319
Part of task-4077427

closes odoo/design-themes#867

Related: odoo/odoo#176631
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
2024-09-03 12:24:10 +00:00
Antoine (anso) a738c97c16 [IMP] theme_*: adapt themes with new s_motto snippet
*: (aviato, bistro, kea, kiddo, nano, orchid, paptic, vehicle)

This commit adapts the design of new `s_motto` snippet for multiple
themes.

task-4077607

closes odoo/design-themes#851

Related: odoo/odoo#175550
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
2024-09-03 01:55:10 +00:00
Antoine (anso) 9e3ed4d127 [IMP] theme_*: adapt themes with new s_image_punchy snippet
*: (artists, aviato, beauty, bistro, bewise, bookstore, cobalt, kiddo,
orchid, paptic, vehicle, yes)

This commit adapts the design of new `s_image_punchy` snippet for
multiple themes.

Part of task-4077427
task-4105331

closes odoo/design-themes#861

Related: odoo/odoo#176290
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
2024-09-02 12:04:45 +00:00
Xavier Luyckx (xlu) 9d99583ab9 [IMP] theme_*: adapt themes with new s_striped_centertop snippet
*: anelusia, artists, avantgarde, aviato, beauty, bewise, bistro,
bookstore, enark, graphene, kea, kiddo, loftspace, monglia, nano, notes,
odoo experts, orchid, paptic, real_estate, treehouse, vehicle, yes, zap

This commit adapts the design of new `s_striped_centertop` snippet for
multiple themes.

task-4105455

closes odoo/design-themes#869

Part-of: task-4077427
Related: odoo/odoo#176739
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
2024-09-01 09:23:40 +00:00
Antoine (anso) 3bfd4f91d5 [IMP] theme_*: adapt theme with new s_features_wall snippet
*: anelusia, artists, aviato, beauty, bewise, bistro, bookstore, enark,
kea, kiddo, loftspace, monglia, notes, orchid, paptic, real_estate,
treehouse, vehicle, yes

This commit adapts the design of new `s_features_wall` snippet for
multiple themes

Part of task-4077427
task-4105231

closes odoo/design-themes#880

Related: odoo/odoo#177546
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
2024-08-31 20:52:37 +00:00
Antoine (anso) 67bf2505a1 [IMP] theme_*: adapt theme with new s_image_hexagonal snippet
*: anelusia, artists, aviato, beauty, bewise, bistro, bookstore, buzzy,
kea, kiddo, monglia, notes, orchid, vehicle, yes

This commit adapts the design of new `s_image_hexagonal` snippet for
multiple themes

task-4094377

closes odoo/design-themes#857

Related: odoo/odoo#175813
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-08-30 07:40:07 +00:00
Xavier Luyckx (xlu) 06d4effa17 [IMP] theme_*: adapt themes with new s_freegrid snippet
anelusia, artists, avantgarde, aviato, beauty, bewise, bistro, bookstore
, buzzy, clean, cobalt, enark, graphene, kea, kiddo, loftspace, monglia,
nano, notes, odoo_experts, orchid, paptic, real_estate, treehouse,
vehicle, yes, zap

This commit adapts the design of `s_freegrid` for multiple themes, based
on the new Odoo 18 snippet redesign.

task-4104931

closes odoo/design-themes#881

Part-of: task-4077427
Related: odoo/odoo#177573
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
2024-08-29 14:54:57 +00:00
Brieuc-brd 0a5673bd37 [IMP] theme_anelusia, *: adapt s_pricelist_boxed
*: theme_anelusia, theme_artists, theme_avantgarde, theme_beauty,
theme_bewise, theme_bistro, theme_bookstore, theme_buzzy, theme_clean,
theme_cobalt, theme_enark, theme_graphene, theme_kea, theme_kiddo,
theme_loftspace, theme_monglia, theme_nano, theme_notes,
theme_odoo_experts, theme_orchid, theme_paptic, theme_real_estate,
theme_treehouse, theme_vehicle, theme_yes, theme_zap

This commit adds customizations related to s_numbers_showcase, added in
https://github.com/odoo/odoo/pull/176145

task-4094410
Part of task-4077427

closes odoo/design-themes#858

Related: odoo/odoo#176145
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-08-28 08:14:56 +00:00
Brieuc-brd f66833de41 [IMP] test_themes, *: carousels adaptations
*: theme_anelusia, theme_artists, theme_avantgarde, theme_cobalt,
theme_cobalt, theme_enark, theme_loftspace, theme_notes,
theme_odoo_experts, theme_bewise, theme_bistro, theme_buzzy,
theme_clean, theme_graphene, theme_nano, theme_treehouse, theme_yes,
theme_aviato, theme_beauty, theme_bookstore, theme_kea, theme_kiddo,
theme_monglia, theme_orchid, theme_paptic, theme_real_estate,
theme_vehicle, theme_zap

This commit adapts the customizations related to `s_carousel`,
s_image_gallery` and `s_quotes_carousel` since these snippets has been
redesigned in PR[1].

task-3654328
Part of task-3619705

[1]: https://github.com/odoo/odoo/pull/172727

closes odoo/design-themes#836

Related: odoo/odoo#172727
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-08-27 08:18:59 +00:00
Chrysanthe (chgo) 3be4d83c91 [IMP] theme_*: adapt s_key_benefits within themes
*: artists, avantgarde, aviato, beauty, bewise, bistro, bookstore, buzzy,
clean, cobalt, enark, graphene, kea, kiddo, lofspace, monglia, nano,
notes, odoo_experts, orchid, paptic, real_estate, treehouse, vehicle,
yes, zap

This commit reviews the `s_key_benefits` snippet occurrences within
design themes.

task-4104927
part of task-4077427

closes odoo/design-themes#871

Related: odoo/odoo#176638
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-08-22 18:43:29 +00:00
Chrysanthe (chgo) 32298b742a [IMP] theme_*: review s_references snippet occurrences
*: 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

closes odoo/design-themes#838

Related: odoo/odoo#163837
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
2024-08-16 19:31:42 +00:00
Chrysanthe (chgo) 8d1c11aa59 [IMP] theme_*: review s_cta_box occurrences
*: anelusia, artists, avantgarde, aviato, beauty, bewise, bistro,
bookstore, buzzy, clean, cobalt, enark, graphene, kea, kiddo, loftspace,
monglia, nano, notes, odoo_experts, orchid, paptic, real_estate,
treehouse,vehicle, yes, zap.

This commit customizes the new `s_cta_box` snippet across all the design
themes.

task-4094396
Part of task-4077427

closes odoo/design-themes#863

Related: odoo/odoo#175703
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
2024-08-14 12:47:49 +00:00
Xavier Luyckx (xlu) f2b03ac7bf [IMP] theme_*: adapt themes with new s_unveil snippet
*: anelusia, avantgarde, aviato, beauty, bewise, bookstore, ernark,
graphene, kea, kiddo, loftspace, monglia, nano, notes, odoo experts,
orchid, paptic, real_estate, treehouse, vehicle, yes, zap

This commit adapts the design of new s_unveil snippet for multiple
themes.

task-4104471

closes odoo/design-themes#860

Part-of: task-4077427
Related: odoo/odoo#176167
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
2024-08-14 09:24:56 +00:00
stefanorigano (SRI) 57cf8bb724 [IMP] theme_bookstore, *: adapt to new s_masonry_block design
*: 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

closes odoo/design-themes#839

Related: odoo/odoo#173870
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
2024-08-07 10:00:54 +00:00
Chrysanthe (chgo) aa5ce391ae [IMP] review numbers snippets occurrences across design themes
This commit reviews the occurrences of the numbers snippets across
the website themes, especially broken selector.

The goal of this commit is to fix potential broken xpath as wel as
fine-tune the design if needed.

task-3924624

Part-of: odoo/design-themes#822
Related: odoo/odoo#163583
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-08-01 11:09:47 +00:00
Chrysanthe (chgo) 143585714a [IMP] theme_*: adapt s_call_to_action snippet design
This commit applies some changes to the CTA snippet
occurrences existing in design themes.

*: anelusia, artists, avantgarde, beauty, bewise, bookstore, buzzy,
clean, enark, graphene, kiddo, loftspace, monglia, notes, odoo_experts,
orchid, paptic, treehouse, vehicle, yes, zap.

task-3670312

closes odoo/design-themes#823

Related: odoo/odoo#172728
Related: odoo/enterprise#66578
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
2024-07-30 15:32:15 +00:00
Antoine (anso) 816ce83846 [IMP] theme_*: adapt themes with new s_image_wall design
*: (artists, bookstore, cobalt, enark, graphene, monglia, real_estate,
vehicle, yes, zap)

This commit adapts the design of `s_image_wall` for multiple themes,
based on the new Odoo 18 snippet redesign.

task-3654301

closes odoo/design-themes#843

Related: odoo/odoo#163839
Signed-off-by: Robin Lejeune (role) <role@odoo.com>
2024-07-29 18:54:55 +00:00
Chrysanthe (chgo) d3d4d7b900 [IMP] theme_*: review s_cover templates
This commit aims to review all the occurrences of the `s_cover`
snippet across the themes in order to fix broken selectors.

task-3665300

Part-of: odoo/design-themes#827
Related: odoo/odoo#172725
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-07-26 17:36:07 +00:00
Chrysanthe (chgo) c3bee92507 [IMP] theme_*: adapt s_image_text templates
This commit aims to review all the occurrences of the `s_image_text`
snippet across the themes in order to fix broken selectors.

task-3665301

closes odoo/design-themes#830

Related: odoo/odoo#173311
Signed-off-by: Robin Lejeune (role) <role@odoo.com>
2024-07-26 09:53:51 +00:00
Chrysanthe (chgo) 24b689a882 [IMP] theme_*: adapt s_text_image templates
This commit aims to review all the occurrences of the `s_text_image`
snippet across the themes in order to fix broken selectors.

task-3665301

Part-of: odoo/design-themes#830
Related: odoo/odoo#173311
Signed-off-by: Robin Lejeune (role) <role@odoo.com>
2024-07-26 09:53:50 +00:00
Chrysanthe (chgo) 0a64c011f5 [IMP] theme_*: review s_features_grid snippet
This commit reviews the occurrences of the features_grid snippet across
design themes.

*: theme_artists, theme_bewise, theme_bookstore, theme_buzzy,
theme_loftspace, theme_notes, theme_odoo_experts, theme_paptic,
theme_vehicle

task-3619705

closes odoo/design-themes#825

Related: odoo/odoo#172974
Signed-off-by: Arthur Detroux (ard) <ard@odoo.com>
2024-07-25 14:40:58 +00:00
Chrysanthe (chgo) 8ff74b77c6 [IMP] theme_*: review s_picture snippet occurrences
The goal of this commit is to fix xpath after the `s_picture` snippet
redesign, and eventually tweak some classes.

task-4047748

closes odoo/design-themes#824

Related: odoo/odoo#172740
Signed-off-by: Arthur Detroux (ard) <ard@odoo.com>
2024-07-24 10:26:52 +00:00
Chrysanthe (chgo) 88c8ec0d83 [IMP] website: review s_features snippet templates
The goal of this commit is to review the occurrences of the
default `s_features` snippet across design themes.

task-3657631

Part-of: odoo/design-themes#826
Related: odoo/odoo#163577
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-07-24 10:26:47 +00:00
qsm-odoo 8ab0d1cd8d [FIX] theme_*: make s_picture image responsive by default
Some themes were making the s_picture image responsive on their own. It
is now done generically, so the theme extensions must be removed to be
able to merge.

task-3266862

closes odoo/design-themes#787

X-original-commit: 08cb536b02
Related: odoo/odoo#157813
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-03-19 14:13:49 +00:00
Serge Bayet (seba) 6427cae199 [FIX] theme_vehicle: fix the vehicle s_picture theme layout
This commit addresses the issue with the customization of the s_picture
snippet within the theme_vehicle. Previously, this snippet enforced a
column height, which cannot be modified using the editor. Themes should
not impose customizations that users are unable to adjust using the
editor.

See also : odoo/odoo#145413
task-3626753

Part-of: odoo/design-themes#753
2024-02-19 19:27:13 +00:00
Benoit Socias aed6d0585b [FIX] theme_*: remove unused configurator snippets
When shapes were extracted to configurator snippets in [1], some
configurator-specific snippets were created that do not appear on pages
of the specific theme.
Because in [2] the call to `_generate_primary_snippet_templates` is done
on a full list of themes instead of only the installed ones, the problem
was not noticed: if any theme defines a block, it's website-side
configurator-specific template is generated.
This is not the case during an upgrade: the templates are generated only
for the installed themes. Because of this some "useless" configurator
templates trigger an error when importing their XML definition because
their parent template does not exist.

This commit fixes this by removing those templates.

[1]: https://github.com/odoo/design-themes/commit/d206c119720d557c11320ebb3d7339890b8f9efa
[2]: https://github.com/odoo/odoo/commit/928eeca714a161f6bc03343e4dc8af9b050b9841#diff-f49a1e9eda23df9f1d48121ba376a5fabafe70ea18b29d4eab23d737e5d4eeb6R446

closes odoo/design-themes#752

X-original-commit: 7b27828755
Related: odoo/odoo#144666
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2023-12-07 20:45:45 +00:00
Benoit Socias 76e9cbcdb6 [FIX] theme_*: remove duplicate and conflicting classes
When default snippets have been updated to rely on color presets ([1]),
some themes were not adapted accordingly.
This also happened whenever paddings of base blocks were modified.
Because of this there are elements in themes for which some classes are
applied several times, and some where classes are not removed before
adding a contradicting one.

This commit adjusts the classes so that themes neither:
- produce snippets with duplicated classes
- produce snippets with contradicting classes (e.g. two different
bottom paddings on the same element)

This commit also fixes a typo from [2] which was the source of
duplicate classes.

[1]: https://github.com/odoo/odoo/commit/5953c4df6b9c08519f64a65c1cf5d5558d59f7d4
[2]: https://github.com/odoo/design-themes/commit/299d504df31bf179775eec1d37e71605c3637460#diff-86c142838104de06e89f629c51cf791464538dc8899e6a3f00c24f69638db409R34

task-3562147

X-original-commit: f3da06dc68
Part-of: odoo/design-themes#744
2023-11-05 04:52:43 +00:00
Benoit Socias 796da67b29 [IMP] theme_*: restore base snippet shapes that do not connect blocks
In [1] all shapes were moved from the base snippet to the specific
configurator snippet. This was a bit overkill.

This commit reverts this partially so that only shapes that connect
with each other are specific to the configurator, but "intra-block"
shapes are restored onto the base snippet.
The "New page from template" snippets are adapted accordingly in order
to produce the same output as before this commit.

Restored shapes are: (label (image))
- Origins: 12 (18)
- Blob: 11 (11)
- Airy: 03 (03_001), 04 (04_001), 07 (07), 10 (10), 11 (11), 14 (14)
- Zigs: 01 (01_001), 02 (02_001)
- Wavy: 04 (10), 15 (11)
- Blocks: 02 (01_001)
- Rainy: 03 (06), 05 (10), 09 (08_001), 10 (09_001)
- Floats: all

[1]: https://github.com/odoo/design-themes/commit/d206c119720d557c11320ebb3d7339890b8f9efa

task-3555325

closes odoo/design-themes#726

Related: odoo/odoo#138748
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2023-10-25 09:56:42 +00:00