Commit Graph

37 Commits

Author SHA1 Message Date
Benjamin Vray 5ce9cc6f2d [FIX] theme_*: fix breadcrumb color
*: anelusia, anelusia, enark, kiddo, loftspace, notes

- Install Website e-commerce.
- Select the "Kea" theme for your website.
- Go to the "/shop" page.
- Click on "Desks" category to go to the "/shop/category/desks-1" page.
- Click on edit to enter edit mode.
- Click on the "theme" tab.
- Change the website background color to "black".
- Bug: The breadcrumb has an ugly white background instead of no
background color, as in the "default" theme. Also, the "active"
breadcrumb item is hidden due to white text on a white background.

This commit removes the white background from the breadcrumb for all
themes that use it. This ensures the same appearance as other themes.

opw-4232082

closes odoo/design-themes#1017

X-original-commit: fe91239586
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
2024-11-22 07:47:20 +00:00
Brieuc-brd 40ac649c88 [FIX] theme_anelusia, *: adapt mismatched theme images
*: theme_bistro, theme_buzzy, theme_clean, theme_kea, theme_kiddo,
theme_notes, theme_real_estate, theme_vehicle, theme_avantgarde

Prior to this change, some themes were still using default images for
certain snippets.
These images didn't correspond to the subject of the chosen theme.

This commit replaces these images with more relevant ones.

task-4215915

closes odoo/design-themes#958

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-30 22:10:00 +00:00
qsm-odoo 04f90cd883 [FIX] test_themes, theme_*: fix errors in theme tours
Also disable the two theme tours that currently do not pass (for some
reason, they are not even starting at all). To fix later.

Part-of: odoo/design-themes#969
Related: odoo/odoo#182029
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-30 05:37:10 +00:00
Benjamin Vray dddd841c9b [FIX] theme_*: rename the dragNDrop function to insertSnippet
This commit replaces the "dragNDrop" function used in theme tours with
"insertSnippet" because the function name has changed. Now, users no
longer need to drag and drop categories onto the page from the snippet
menu. Instead, they now need to click on them.

task-4072655

closes odoo/design-themes#916

Related: odoo/odoo#180471
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-30 02:25:33 +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
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) 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) 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
Chrysanthe (chgo) ee272e02b0 [IMP] theme_*: adapt s_intro_pill across themes
*: 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 occurrences of the `s_intro_pill` snippet across
design-themes.

task-4077581
Part of task-4077427

closes odoo/design-themes#882

Related: odoo/odoo#175615
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
2024-09-16 13:34:33 +00:00
Brieuc-brd b26761eb98 [IMP] theme_anelusia, *: adapt s_company_team_shapes
*: theme_artists, theme_avantgarde, theme_aviato, theme_beauty,
theme_bewise, theme_bistro, theme_cobalt, theme_graphene, theme_kea,
theme_kiddo, theme_loftspace, theme_monglia, theme_nano, theme_notes,
theme_orchid, theme_paptic, theme_treehouse, theme_yes, theme_zap

This commit adapts customizations for `s_company_team_shapes`.

task-4140941
Part of task-4077427

compa

closes odoo/design-themes#888

Related: odoo/odoo#178367
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
2024-08-30 13:10:11 +00:00
Brieuc-brd 4f98d0449e [IMP] theme_anelusia, *: optimize team snippet images
*: 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>
2024-08-30 13:10:11 +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 Morel 67053ce2bf [IMP] *: website tour utils uses non-default exports
closes odoo/design-themes#884

Related: odoo/odoo#177327
Related: odoo/enterprise#68655
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2024-08-23 08:15:12 +00:00
Xavier Luyckx (xlu) 7e7ca555f3 [IMP] theme_*: update theme screenshots
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

closes odoo/design-themes#758

Related: odoo/odoo#149989
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
2024-08-14 17:06:05 +00:00
Benjamin Vray 2b3b8b49b4 [IMP] test_themes, theme_* : Adapts tours for new dragNDrop system
Following the change in the way of dragging and dropping a snippet onto
the page (by selecting it from a dialog displaying the actual previews
of snippets). The themes tours have been adapted to this change in this
commit.

task-3919405

closes odoo/design-themes#817

Related: odoo/odoo#166967
Related: odoo/enterprise#66150
Signed-off-by: Robin Lejeune (role) <role@odoo.com>
2024-07-23 16:22:48 +00:00
Pierre Pulinckx (PIPU) 96c4cb68ad [REF] theme_*: remove extra_trigger
In order to simplify the tours API, it was decided to remove the
extra_trigger key from the steps.
To check that an element is in the DOM, simply create a step with
a trigger.

task~3974087

closes odoo/design-themes#816

Related: odoo/odoo#171309
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-07-02 09:46:48 +00:00
Guillaume-gdi 9ca60388f1 [REM] theme_*: remove useless scss variable overrides
This commit removes the overrides of scss variables that are set to the
default value and duplicated overrides.

task-2463604

closes odoo/design-themes#768

Signed-off-by: Outagant Mehdi (mou) <mou@odoo.com>
2024-03-15 15:59:06 +00:00
Hubert Van de Walle (huvw) 3b94657c59 [FIX] theme_*: Update homepage tours
Steps to reproduce
==================

Run the `test_02_homepage_tour_every_theme` tour.

Cause of the issue
==================

There is an homepage tour for every theme. Since the owl conversion of
web_tour, none of the custom theme tour were run and for every website,
the default homepage tour was used instead.

Some updates to those themes caused the tours to fail, but since they
weren't run, no one noticed.

The issue has been fixed in community:
https://github.com/odoo/odoo/pull/142350

Solution
========

Since 1aa6700c98,
some h1 tags were replaced by h2.

Since 68c68740bf,
The banner has been replaced by a text cover.

opw-3595512

X-original-commit: 2e263a4f6b
Part-of: odoo/design-themes#746
2023-11-27 13:31:03 +00:00
Brieuc-brd 318fd652f5 [IMP] theme_notes: adapt s_banner
Since the redesign of the original banner snippet, the customizations
made in theme_notes have had to be adapted.

task-3097005

Part-of: odoo/design-themes#687
2023-10-08 10:45:47 +00:00
Pierre Pulinckx (pipu) 94b3042634 [REF] website_*: Change registerTours of tour_utils
As steps are encapsuled in an arrow function from
69a5d8e3ce47238 for steps tour definition to avoid
direct Markup(_t()) interpretation, the same is done
for registerWebsitePreviewTour() of
"odoo/addons/website/static/src/js/tours/tour_utils.js"
in this commit.

This is done in anticipation of the use of
_t() (import from @web/core/l10n/translation) with
registerWebsitePreviewTour().

task-3292454

closes odoo/design-themes#678

Related: odoo/odoo#130248
Signed-off-by: Luca Vitali (luvi) <luvi@odoo.com>
2023-08-02 13:20:26 +02:00
Bastien PIERRE b9d48ebe86 [IMP] *: Remove alias in JS files
Rename all imports with alias old system to the new js module system
Task ID: 3266759

closes odoo/design-themes#671

Related: odoo/odoo#127414
Related: odoo/enterprise#43716
Signed-off-by: Bastien Pierre (ipb) <ipb@odoo.com>
2023-07-27 11:58:31 +02:00
Benoit Socias f127ff3741 [IMP] theme_*: add precondition on tour to ensure expected theme
This commit adds a precondition to verify the presence of the specific
theme at the beginning of their tour.

See https://github.com/odoo/odoo/pull/100690.

task-2687506

closes odoo/design-themes#594

X-original-commit: 8b377af3a7
Related: odoo/odoo#101119
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2022-09-26 14:43:17 +02:00
Romeo Fragomeli ac63e031c0 [REF] *: BS5: adapt changes in media query mixin
> Media query mixins parameters have changed for a more logical approach

> media-breakpoint-down() uses the breakpoint itself instead of the next
> breakpoint (e.g., media-breakpoint-down(lg) instead of
> media-breakpoint-down(md) targets viewports smaller than lg).
> Similarly, the second parameter in media-breakpoint-between() also
> uses the breakpoint itself instead of the next breakpoint (e.g.,
> media-between(sm, lg) instead of media-breakpoint-between(sm, md)
> targets viewports between sm and lg).

https://getbootstrap.com/docs/5.1/migration/#sass

Task ID: 2766483

Part-of: odoo/design-themes#580
2022-07-07 13:29:20 +02:00
xlu-odoo 3bb934b4e3 [FIX] theme_*: use correct header SCSS variable
This commit fixes the "Contact" header and the "default" header that
were not displaying correctly (in related themes) in the web editor
panel as expected.

task-2713578

closes odoo/design-themes#557

X-original-commit: f403f252bc
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-04-05 08:55:32 +02:00
Jorge Pinna Puissant dc2f511202 [IMP] theme_*: enable no-unused-vars rule
closes odoo/design-themes#552

Related: odoo/enterprise#24867
Related: odoo/odoo#85569
Signed-off-by: Géry Debongnie <ged@odoo.com>
2022-03-02 13:05:46 +00:00
xlu-odoo bcb74695ed [FIX] theme_*: fix svg previews readability on safari
In Safari (14+) the CSS workaround to make block "readable" over any bg
is broken. By replacing the current CSS workaround by an appropriate
SVG filter in each themes svg, the problem will be fixed.
This commit will add the svg filter.

task-2667028

closes odoo/design-themes#538

X-original-commit: 545cf002ea
Related: odoo/odoo#81190
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-12-14 10:54:44 +00:00
stefanorigano (SRI) ad1bac9096 [REF] theme_*: inject theme's preferred palette into ui
This commit injects for each theme a "preferred" palette into the
website's UI palette list ("Theme" tab).
It also removes '$o-palette-priority-prefix' overrides, letting website
handling the palettes order.

task-2656337

closes odoo/design-themes#514

X-original-commit: 0539787e23
Related: odoo/odoo#77857
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-10-05 14:17:51 +00:00
qsm-odoo a6529ea67b [FIX] *: remove yiq threshold overrides
Many themes were overriding the yiq threshold, thus having an impact
on which of the dark or light text is used over a particuler background
by default. This is a tricky value to change and only made some sense
when the Odoo themes were defining their own color palettes. Now that
all palettes can be used in all themes, it makes no sense to change the
yiq threshold as it induces inconsistent behavior for a same palette
used in different themes. Besides, leaving the value by default is most
of the time what you want and when it is not entirely correct, the user
has full control over the color combination text colors anyway.

task-2655730

closes odoo/design-themes#507

X-original-commit: f244035809
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-09-28 09:29:25 +00:00
Design 7a9597405b [FIX] theme_*: move svg preview from iap to design-themes repo
closes odoo/design-themes#503

X-original-commit: f2453983a7
Related: odoo/odoo#77199
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-09-27 07:12:05 +00:00
Brieuc-brd decfd19652 [REF] theme_notes: remove outdated theme description
task-2590454

X-original-commit: 3ba172b8bd
Part-of: odoo/design-themes#501
2021-09-24 11:09:50 +00:00
Brieuc-brd 620da7cfa4 [IMP] theme_notes: update the theme
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2590454

X-original-commit: 352692754c
Part-of: odoo/design-themes#501
2021-09-24 11:09:49 +00:00
Brieuc-brd 34d61b2815 [IMP] theme_*: update according to new shapes
task-2319488

closes odoo/design-themes#17

Related: odoo/odoo#70843
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-06-15 12:24:08 +00:00
qsm-odoo 8e181539a5 [IMP] theme_*: remove hardcoded colors on shapes and snippets
Instead now use another custom mapping for the default colors of the
shapes which are used for the default homepage. This allows for the
built page to work with any color palette (especially useful for built
pages in the new configurator) and to handle footer/header connection.

Also change some shapes and default background colors to match what
the preview wanted directly (instead of relying on user asked change as
that would not be handled when generating the page automatically with
the configurator).

Part of https://github.com/odoo/design-themes/pull/2
task-2491890

closes odoo/design-themes#12

closes odoo/design-themes#14

Related: odoo/odoo#71665
Related: odoo/odoo#71768
X-original-commit: 845b969555
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-06-04 15:52:42 +00:00
qsm-odoo 2da6c2e84d [IMP] theme_*: remove save step from tour definition
It is now automatic as the last step of the homepage tours.

Part of https://github.com/odoo/design-themes/pull/2
task-2491890

X-original-commit: 9ee8f97264
2021-06-04 15:52:42 +00:00
Jeremy Kersten 62311833d9 [ADD] theme master 2021-05-10 15:46:48 +02:00
Jeremy Kersten 84ba083d17 [ADD] theme saas-14.3 2021-05-10 15:46:42 +02:00
Jeremy Kersten cb1e3be3f8 [ADD] theme 14.0 2021-05-10 15:45:35 +02:00