Commit Graph

35 Commits

Author SHA1 Message Date
qsm-odoo 10148e0354 [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.

X-original-commit: 04f90cd883
Part-of: odoo/design-themes#971
Related: odoo/odoo#182039
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-30 16:38:13 +00:00
Chrysanthe (chgo) 54fc022773 [IMP] theme_odoo_experts: revamp the theme
task-4178086
part of task-4177975

X-original-commit: 238f347935
Part-of: odoo/design-themes#971
Related: odoo/odoo#182039
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-30 16:38:13 +00:00
Benjamin Vray cc9f79601f [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#970

X-original-commit: dddd841c9b
Related: odoo/odoo#182031
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-30 08:35:50 +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) 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
Chrysanthe (chgo) 75d48c792d [IMP] theme_* : adapt s_kickoff images within themes
*: anelusia, artists, aviato, beauty, bewise, bisro, bookstore, buzzy,
clean, cobalt, graphene, kea, kiddo loftspace, monglia, nano, notes,
odoo_experts, orchid, paptic, treehouse, vehicle, yes, zap.

This commit reviews the occurrences of the `s_kickoff` snippet across
design themes.

task-4077609
Part of task-4077427

closes odoo/design-themes#859

Related: odoo/odoo#175614
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-09-04 10:01:45 +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
Serge Bayet (seba) ace1b39d46 [IMP] *: adapt themes due to changes made in s_picture snippet
*: theme_bistro, theme_odoo_experts, theme_vehicle, theme_avantgarde,
theme_aviato, theme_bookstore, theme_enark, theme_graphene, theme_kea

This commit adapts the themes to accommodate layout changes in the
s_picture snippet.

See also : https://github.com/odoo/odoo/pull/145413
task-3626753

closes odoo/design-themes#753

Related: odoo/odoo#145413
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-02-19 19:27:13 +00:00
Arthur Detroux (ard) 9592392158 [FIX] theme_aviator, theme_odoo_experts: Update homepage tours
Since [1], some blocks in theme_aviato and theme_odoo_experts no longer
have shapes by default, so add a step to toggle a shape.

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

opw-3595512

closes odoo/design-themes#746

X-original-commit: bea0f57ca4
Related: odoo/odoo#142362
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2023-11-27 13:31:03 +00:00
Brieuc-brd 398f53bf01 [IMP] theme_*: adapt headers
Review header templates configuration for some themes.

task-3060986

closes odoo/design-themes#651

Related: odoo/odoo#119650
Related: odoo/upgrade#5214
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2023-10-25 11:37:10 +00:00
qsm-odoo 060c0421c7 [IMP] *: replace contact by sales_three header
See community commit for details.

task-3060986

Part-of: odoo/design-themes#651
2023-10-25 11:37:10 +00:00
Brieuc-brd 916cf81d02 [IMP] theme_odoo_experts: adapt s_banner
Since the redesign of the original banner snippet, the customizations
made in theme_odoo_experts 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
Romain Derie a5d1ca4651 [IMP] theme_beauty, *: rename the font "Muli" to "Mulish"
* theme_bookstore, theme_clean, theme_enark, theme_kiddo,
  theme_loftspace, theme_odoo_experts, theme_orchid

This commit will rename the font "Muli" to "Mulish" as it has been
renamed in Google Fonts.

Closes #574

Courtesy of Kaushalya Mandaliya <kma@odoo.com>

closes odoo/design-themes#638

X-original-commit: 7afe3a3438
Related: odoo/odoo#114932
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2023-03-10 14:38:56 +01: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
qsm-odoo c95aa445fa [IMP] theme_*: ease defining only one font family to use in a theme
Before this commit, if a theme wanted to define a main font for their
theme and let the "headings", "navbar" and "buttons" ones use the same
they had to add this in their map:

```
'font': XXX,
'headings-font': null,
'navbar-font': null,
'button-font': null,
```

Indeed, without setting the "null" values, those font would use YYY
which is the first font defined in the theme config, which might be
different from XXX. And if forcing XXX 4 times, like most themes do at
the moment, if the user wanted to change them all, he had to change the
4 ones instead of the main one.

Now, only the 'font' value use the first font defined in the theme
config if not explicitly set. So forcing the null values is not
necessary, it will be the default behavior.
The advantage is thus also functional, as most theme forced all their 4
fonts so changing the main one did not change the others.

task-2993054

closes odoo/design-themes#593

X-original-commit: fc64bce81e
Related: odoo/odoo#101068
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-09-26 11:36:44 +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
Brieuc-brd f3f495d29f [IMP] theme_odoo_experts: fine tune the theme with device shapes
This commit improves the global layout of theme_odoo_experts to give
more variety with the others corporate themes (buzzy, graphene, clean,
etc.).
The purpose is to have a theme that can be used to present an
application and to promote the new category of device shapes.

task-2666049

closes odoo/design-themes#525

Related: odoo/odoo#79068
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-03-08 15:54:38 +00: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
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 ccc6f5a889 [REF] theme_odoo_experts: remove outdated theme description
task-2585389

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

task-2585389

X-original-commit: b2ab9eadd5
Part-of: odoo/design-themes#501
2021-09-24 11:09:50 +00:00
Oussama MESSAOUDI 1373d63503 [IMP] theme_*: adapt to minHeight option name change
task-2471323

closes odoo/design-themes#18

Related: odoo/odoo#68825
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-07-08 08:56:27 +00:00
qsm-odoo 1e6f937fce [FIX] theme_*: use correct contact header SCSS variable
The contact header scss variable value was written with an uppercase
unlike other header scss variables. Unfortunately, fixing that typo is
not stable-friendly (as people already using the template now saved
that typo in their DB). Instead, we use that typo as default value for
the related themes.

Related to task-2368576

closes odoo/design-themes#32

X-original-commit: 20c31ada10
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-07-06 12:06:00 +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