Commit Graph

348 Commits

Author SHA1 Message Date
Chrysanthe (chgo) 47568ec66f [IMP] theme_nano: revamp the theme
This commit revamps the design of the `theme_nano`.

task-4178081
part of task-4177975

closes odoo/design-themes#935

Related: odoo/odoo#181369
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-09-28 16:52:38 +00:00
Chrysanthe (chgo) 9763584495 [IMP] theme_yes: review theme design
task-4178092
part of task-4177975

closes odoo/design-themes#937

Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-09-28 16:52:37 +00:00
Mehdi Outagant (MOU) ab8f6a8fce [IMP] theme_*: use minimal format for highlighted text content
*: buzzy, clean, notes

A highlighted text has the following structure:

```
<span class="o_text_highlight o_text_highlight_[highlightId]"
    style="--text-highlight-width: ...; --text-highlight-color: ...;">
    <span class="o_text_highlight_item">
        text content (line 1) ...
        <svg.../>
    </span>
    [<br/>]
    <span class="o_text_highlight_item">
        text content (line 2) ...
        <svg.../>
    </span>
    ...
</span>
```

Which is saved in a minimal format that allows the JS code to rebuild
the SVGs when it's needed:

```
<span class="o_text_highlight o_text_highlight_[highlightId]"
    style="--text-highlight-width: ...; --text-highlight-color: ...;">
    text content ...
</span>
```

The goal of this commit is to use the simplified format for theme
customizations and adapt the code from the "Snippets Preview" and the
"New Page Templates Preview" to be able to build the highlights using
this format when provided in XML.

task-4215788

closes odoo/design-themes#956

Related: odoo/odoo#181884
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-28 16:52:33 +00:00
Antoine (anso) 971b323f58 [IMP] theme_paptic: theme improvement
Revamp of `theme_paptic`

task-4178088

closes odoo/design-themes#934

Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-09-28 05:24:51 +00:00
Chrysanthe (chgo) fa220d0170 [IMP] theme_loftspace: revamp the theme
This commit revamp the design of the `theme_loftspace`.

task-4178079
part of task-4177975

closes odoo/design-themes#910

Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-09-28 01:52:51 +00:00
Benoit Socias 483ea55070 [FIX] theme_clean: remove undefined configurator page template
Since [1] `s_cover` was removed from the configurator pages defined in
the manifest, however the `configurator_s_cover` template was still
defined. This leads to errors because it then inherits an non-existing
template.

This commit removes that template definition.

[1]: https://github.com/odoo/design-themes/commit/c31b3c7c8327b4d8c3924de4bfca9ca2db26148b#diff-f8f7a09e94b435b03c4d87735e873c98c519f4dc83f3b83feb99c34ea2208d6dL58

task-4178066

closes odoo/design-themes#943

Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
2024-09-27 17:00:15 +00:00
Antoine (anso) 2d06f47f79 [IMP] theme_avantgarde: theme improvement
Revamp of `theme_avantgarde`

task-4178015

closes odoo/design-themes#912

Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-09-27 14:22:10 +00:00
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 127a07fdc5 [FIX] theme_*: adapt s_card_offset without display: flex
*: anelusia, avantgarde, beauty, bistro, bookstore, enark, kiddo,
loftspace, monglia, nano, notes, odoo_experts, paptic, real_estate,
treehouse, yes, zap

In the community PR, the `s_card_offset` snippet has been modified in
order to not be in `display: flex` anymore. The visual was then kept as
close as possible to how it was before by using the grid padding.

This commit adapts this snippet customizations to these changes. More
precisely, it adapts the vertical padding to the text content, in order
to center it a bit while avoiding having an overflow.

Related to task-4105038

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
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
Soukéina Bojabza 2d2ff41168 [FIX] theme_anelusia, treehouse: fix grid classes of s_text_cover
In the community PR, the classes of the `s_text_cover` snippet have been
fixed.

This commit adapts the customizations to these class changes.

task-3665300

closes odoo/design-themes#944

Related: odoo/odoo#181532
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-09-27 10:57:53 +00:00
Brieuc-brd 7846e2cb96 [FIX] theme_kiddo: refine the theme
Since the redesign of some snippets, some customizations have been
broken. This commit adapts these customizations.
This commit also adjusts some spacing and font sizes.

task-4178078
Part of task-4177978

closes odoo/design-themes#947

Signed-off-by: Alice Gaudon (agau) <agau@odoo.com>
2024-09-27 10:57:49 +00:00
Brieuc-brd eb6db3a1cf [FIX] theme_bistro, theme_beauty: adapt tours
Following the reorganization of price list snippets, this commit adapts
the tour of themes that currently use them.

task-4212916

closes odoo/design-themes#942

Related: odoo/odoo#181510
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-26 13:15:10 +00:00
Antoine (anso) 0dd9e17b8f [IMP] theme_zap: theme improvement
Revamp of `theme_zap`

task-4178094

closes odoo/design-themes#908

Signed-off-by: Alice Gaudon (agau) <agau@odoo.com>
2024-09-26 13:15:02 +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 199bd53c11 [IMP] test_themes: ensure styles only define properties once
This commit adds a test that makes sure that inline styles do not
contain the same property several times.

task-4206845

closes 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
Benoit Socias 266b35a31e [FIX] theme_*: fix duplicate inline styles
*: avantgarde, beauty, bistro, buzzy, clean, cobalt, graphene, kea, yes

This commit adapts the style attribute's add/remove operations in order
to avoid ending up with the same property defined several times.

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
Benoit Socias 6d1a98775e [IMP] test_themes: verify separators used for attributes
This commit adds a test that verifies that a specific `separator` is
used when an `attribute` tag is used with either `add` or `remove`.

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
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
Antoine (anso) 1201131f28 [IMP] theme_real_estate: theme improvement
Revamp of `theme_real_estate`

task-4178611

closes odoo/design-themes#906

Signed-off-by: Outagant Mehdi (mou) <mou@odoo.com>
2024-09-26 08:40:53 +00:00
Louis Wicket (wil) 5c76307b47 [I18N] update .tx/config
closes odoo/design-themes#939

Related: odoo/odoo#181487
Related: odoo/enterprise#70692
Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
2024-09-25 19:52:53 +00:00
Christophe Monniez 496caf91fb [REL] 18.0 2024-09-25 12:35:25 +00:00
Brieuc-brd 73d4c9ae26 [IMP] theme_buzzy: revamp the theme
task-4178061
Part of task-4177975

closes odoo/design-themes#907

Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-09-25 11:12:57 +00:00
Brieuc-brd ff95793399 [IMP] theme_enark: revamp the theme
task-4178071
Part of task-4177978

closes odoo/design-themes#932

Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
2024-09-25 08:09:27 +00:00
Xavier Luyckx (xlu) c31b3c7c83 [IMP] theme_clean: improve theme
task-4178066
Part of task-4177975

closes odoo/design-themes#929

Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
2024-09-25 08:09:15 +00:00
mano-odoo 0bb5f6c93e [IMP] theme_notes: revamp theme
Revamp the theme design and adapt its existing snippets

task-4178083
Part of task-4177975

closes odoo/design-themes#927

Signed-off-by: Alice Gaudon (agau) <agau@odoo.com>
2024-09-24 16:22:19 +00:00
mano-odoo d424e76954 [IMP] theme_graphene: revamp the theme
task-4178075
Part of task-4177975

closes odoo/design-themes#913

Signed-off-by: Robin Lejeune (role) <role@odoo.com>
2024-09-23 17:59:19 +00:00
Brieuc-brd dbfbe10d70 [IMP] theme_anelusia: revamp the theme
task-4177978
Part of task-4177975

closes odoo/design-themes#911

Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
2024-09-23 16:45:35 +00:00
mano-odoo 2e1f5eeef7 [IMP] theme_kea: revamp theme
small design fixes.

task-4178076
Part of task-4177975

closes odoo/design-themes#926

Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-09-23 15:31:16 +00:00
Brieuc-brd 97683ee283 [IMP] theme_bistro: revamp the theme
task-4178021
Part of task-4177975

closes 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:54 +00:00
Brieuc-brd f0e216f031 [IMP] theme_beauty: revamp the theme
task-4178019
Part of task-4177975

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:54 +00:00
Brieuc-brd fa78b350cc [IMP] theme_treehouse: revamp the theme
task-4178089
Part of task-4177975

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:54 +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
Chrysanthe (chgo) 3243aef15b [FIX] theme_*: fix s_text_cover design
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>
2024-09-21 16:34:53 +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
Chrysanthe (chgo) e9699d2bc3 [FIX] theme_*: fix s_cover text readability
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>
2024-09-21 16:34:53 +00:00
Chrysanthe (chgo) 21bc9a1106 [IMP] theme_*: adapt s_shape_image
task-4094366
Part of task-4077427

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
Brieuc-brd 1ae012f908 [FIX] theme_clean: adapt s_quotes_carousel first image
When redesigning the carousels, some adaptations were made for themes at
[1]. This has removed an image record, which introduced a visual issue:
it used an UI face image as a background.

This commit adapts the record to enhance the background image.

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

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 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
mano-odoo 11b9705708 [IMP] theme_*: adapt s_company_team_basic
task-4144648
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 758a0b0c36 [IMP] theme_*: adapt s_references_grid
task-4146798

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
Benjamin Vray 2e654f3175 [FIX] theme_buzzy: fix s_timeline new page
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>
2024-09-21 16:34:53 +00:00
mano-odoo 4bcd32f992 [IMP] theme_*: adapt s_company_team_detail
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>
2024-09-21 16:34:53 +00:00
mano-odoo a808eaf1c3 [FIX] test_themes: whitelist fa-stack with fa-
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>
2024-09-21 16:34:53 +00:00
mano-odoo 297eb898a5 [IMP] theme_*: adapt s_references_social
task-4146797

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