See [1], `enable_view()` is now in charge of disabling the already possibly
existing template header (and/or footer).
Disabling `website.template_header_default` was not enough, any of the other
template could have been selected by the user before updating the theme.
Note that when installing a theme the first time on a website, the error won't
occur as `_reset_default_config()` will be called through `_theme_remove()`.
[1]: https://github.com/odoo/odoo/pull/81181
Fixes https://github.com/odoo/upgrade/pull/3048
task-2593407
opw-2680866
opw-2685951
opw-2685124
opw-2679040
closesodoo/design-themes#536
Related: odoo/odoo#81181
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Before this commit:
- The assets were not enabled or disabled when installing themes because
we searched for assets with the "key" field instead of the "name" field.
- The "Ripple Effect" was not correctly installed on several themes.
Because the variable and the assets were not both activated. Even if the
variable is not used, it is still necessary for the proper functioning
of the option (e.g. _computeWidgetState).
task-2686370
closesodoo/design-themes#539
Related: odoo/odoo#79783
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
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
closesodoo/design-themes#522
Related: odoo/odoo#78617
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This is a backport of [1] which at the same time finally enables the
test to be able to test all theme tours. Notice that the tours should
be improved so that each step properly checks that the previous step
actually had an effect (as those tours are normally made to display to
the user and were not designed for testing). However, this is already
really useful as only checking if *entering* edit mode in each theme
does not crash is already covering most issues that can be created when
designing a theme at the moment.
[1]: https://github.com/odoo/design-themes/commit/52fef46388ec880af78c5a5f3e6152c4510548f4closesodoo/design-themes#533
X-original-commit: 0ed42f903c
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit removes the modified size for large (lg) buttons. They were
far too big. It also slightly changes the medium buttons accordingly.
This is not supposed to change anymore in stable versions but in this
case the big buttons were causing issues in eCommerce pages.
closesodoo/design-themes#499
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
*: theme_kea, theme_orchid, theme_nano
The theme customization of the cover snippet was not perfect for those
themes. In particular for the Kea theme where the text was not forced to
white anymore (leaving the default black) and the background filter was
pratically removed, leaving the snippet's text properly contrast with
light brackgrounds but be barely visible with dark backgrounds.
Unfortunately, the Kea theme is the most used currently, alongside the
"Software company" industry... which uses a dark background for the
cover image.
closesodoo/design-themes#526
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Before this commit, it was possible to edit the scroll button of the
cover snippet in Yes theme.
task-2656662
closesodoo/design-themes#520
X-original-commit: d90399677b
Related: odoo/odoo#78562
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Removing the container padding in some cases may be fine but cannot
be done because would create horizontal scrollbars in full-width mode
or simply on mobile devices.
To further improve with task-2241779
closesodoo/design-themes#511
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
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
closesodoo/design-themes#504
Related: odoo/odoo#77236
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Previously the configurator retrieved the snippet lists
needed to build the website pages from IAP. These lists
have been put in the theme manifests and can be accessed
from it.
Odoo PR: odoo/odoo#77243
IAP PR: odoo/iap-apps#411closesodoo/design-themes#505
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
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
closesodoo/design-themes#506
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.
task-2545207
Part-of: odoo/design-themes#500
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.
task-2555035
Part-of: odoo/design-themes#500
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.
task-2542281
Part-of: odoo/design-themes#500
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.
task-2551125
Part-of: odoo/design-themes#500
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.
task-2619127
Part-of: odoo/design-themes#500
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.
task-2585389
Part-of: odoo/design-themes#500
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.
task-2590454
Part-of: odoo/design-themes#500
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.
task-2590182
Part-of: odoo/design-themes#500
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.
task-2619534
Part-of: odoo/design-themes#500
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.
task-2557927
Part-of: odoo/design-themes#500
Theme Kiddo's design has been revamped by adding the following
improvements:
- Theme palette has been changed, using less contrasted colours.
- Fonts have been reviewed, replacing 'Bubblegum Sans' with 'Varela
Round'.
- Header and footer default values have been reviewed and changed to
'default' and 'descriptive'.
- Buttons' default design has been revamped, using now outline buttons
by default.
- Theme's tour has been reviewed and changed, using 's_picture' as a
third block.
- Theme's screenshot and description have been updated.
- Theme's tour snippet design has been revamped, by using animated
shapes ('s_banner', 's_picture'), new shapes ('s_image_text',
's_call_to_action'), a bg video + img placeholder ('s_banner'), a
illustration with dynamic colours ('s_image_text'), a new copywriting
('s_picture'), better text block design ('s_banner'), better design in
smaller viewports ('s_banner', 's_product_list') and a brand new
snippet design ('s_product_list').
- In order to add a better integration with the Website Configurator,
's_cover' design has also been improved.
Additionally, duplicated commented text lines in
'bootstrap_overridden.scss' have been removed.
task-2573229
Part-of: odoo/design-themes#500
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.
task-2612003
Part-of: odoo/design-themes#500
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.
task-2601581
Part-of: odoo/design-themes#500
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.
task-2614510
Part-of: odoo/design-themes#500
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.
task-2597387
Part-of: odoo/design-themes#500