Commit Graph

108 Commits

Author SHA1 Message Date
Romeo Fragomeli 54cca0eaf6 [REF] *: BS5: migration
Automated change made by a lot of RegEx to change all think that is
possible to automate.

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

Task ID: 2766483

Part-of: odoo/design-themes#580
2022-07-07 13:29:20 +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
Carlos Valverde 5b04bc356b [FIX] theme_avantgarde: fix color variable in some snippets
This commit fixes the previously hardcoded color customisations in theme
Avantgarde's snippets, by using proper color variables, which allow the
snippet customisations to change dynamically.

While theoretically unstable (changing views), this was judged safe
enough for 15.0 (it would require someone to xpath a theme.ir.ui.view in
this specific theme, targeting an inline style to break; and it does not
change the current websites at all (just new dropped snippets)).

closes odoo/design-themes#579

X-original-commit: 65baa9bb4a
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-07-01 17:48:02 +02:00
Younn Olivier 163a8b6fae [IMP] test_themes: adapt to website_preview client action
This commit removes the tooltips shown when hovering over a theme in
the website switcher dropdown. This feature will be reimplemented later,
patching the WebsiteSwitcherSystray component.

It also adapts the ?fw= url parameter to force a website id during the
tours.

task-2687506

closes odoo/design-themes#572

Related: odoo/odoo#89223
Related: odoo/enterprise#28448
Related: odoo/upgrade#3464
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-06-24 12:39:29 +02:00
Romain Derie ab4f5e6178 [IMP] test_themes: add a test for the _post_copy() community fix
Now, `_post_copy()` is only called when the module is installed for the
first time on a website, not when the module is updated.

See counterpart commit in community for more details.

opw-2824045

closes odoo/design-themes#571

X-original-commit: 0e324061d1
Related: odoo/odoo#93109
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2022-06-08 16:50:59 +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
Gorash 93e2ca6de4 [IMP] *: remove _render from ir.ui.view
Follow adaptations made in the render api at odoo/odoo#85110

closes odoo/design-themes#554

Related: odoo/enterprise#24622
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2022-03-29 10:56:01 +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
Julien Castiaux 168e013b22 [REF] core: HTTPocalypse
Comprehensive refactor of the HTTP framework. Discussions, rationnals
and changes are found on GitHub.

closes odoo/design-themes#524

Pr: odoo/odoo#78857
Task: 2571224
Related: odoo/enterprise#21849
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2022-02-24 13:30:54 +00:00
Romain Derie cf5197e544 [FIX] theme_*: enable footer/header template correctly
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

closes odoo/design-themes#548

X-original-commit: 9a289ea574
Related: odoo/odoo#81953
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2021-12-28 11:47:07 +00:00
Benjamin Vray b4e6d51f56 [FIX] theme_*: fix the activation and deactivation of assets
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

closes odoo/design-themes#546

X-original-commit: 77b2b97f3d
Related: odoo/odoo#81833
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-12-23 15:07:08 +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
Martin Trigaux 99a3c80a00 [I18N] *: export source terms
closes odoo/design-themes#543

X-original-commit: 7d05d98ab3
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-12-13 13:17:53 +00:00
qsm-odoo 751cdc54e6 [FIX] test_themes: add a test which goes over all theme tours
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/52fef46388ec880af78c5a5f3e6152c4510548f4

closes odoo/design-themes#535

X-original-commit: 208f6134a6
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-12-09 10:27:10 +00:00
Brieuc-brd ae199ad589 [IMP] theme_kiddo: redesign of the theme
This commit introduces a redesign of the Kiddo theme.
It also moves 6 svg icons from the "static/src/img/snippets/" to
"static/shapes" to allow the use of the dynamic colors in the Web
Editor.

task-2687297

closes odoo/design-themes#529

Related: odoo/odoo#80658
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-12-07 11:00:49 +00:00
xlu-odoo 0fc0d85c2c [FIX] theme_vehicle: fix btn-lg size
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.

closes odoo/design-themes#528

X-original-commit: 65aefeb3e9
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-11-10 12:12:05 +00:00
qsm-odoo 66aa5f3080 [FIX] *: increase text contrast for cover snippet
*: 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.

closes odoo/design-themes#527

X-original-commit: 1b4b65ff81
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-11-08 09:25:50 +00:00
Benjamin Vray b9db7c0e73 [FIX] theme_yes: prevent scroll button editing
Before this commit, it was possible to edit the scroll button of the
cover snippet in Yes theme.

task-2656662

closes odoo/design-themes#523

X-original-commit: 9e62a84326
Related: odoo/odoo#78637
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-10-19 15:59:09 +00:00
qsm-odoo 6e2840ee64 [FIX] theme_nano: remove breaking container padding removals
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

closes odoo/design-themes#515

X-original-commit: 2ed70c99c9
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-10-05 14:17:53 +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
Sébastien Mottet (oms) 57e1e285b8 [FIX] theme_*: move snippet lists from iap to design-theme repo
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#411

closes odoo/design-themes#510

X-original-commit: 285d413a44
Related: odoo/odoo#77550
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2021-09-30 17:12:08 +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 8175b84b8f [ADD] theme_buzzy: add new theme buzzy
task-2582420

closes odoo/design-themes#501

X-original-commit: b48fe33a0b
Related: odoo/odoo#77123
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-09-24 11:09:54 +00:00
xlu-odoo 32053e38d9 [ADD] theme_aviato: add new theme aviato
task-2589967

X-original-commit: 18d1f0a532
Part-of: odoo/design-themes#501
2021-09-24 11:09:53 +00:00
Cocographique 028c13f213 [REF] theme_zap: remove outdated theme description
task-2545207

X-original-commit: 041922b9ee
Part-of: odoo/design-themes#501
2021-09-24 11:09:53 +00:00
Cocographique c4ca4397ae [IMP] theme_zap: update the theme
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2545207

X-original-commit: bbdfbba0d5
Part-of: odoo/design-themes#501
2021-09-24 11:09:53 +00:00
Cocographique 6d999cfdc6 [REF] theme_yes: remove outdated theme description
task-2555035

X-original-commit: 3384ab2031
Part-of: odoo/design-themes#501
2021-09-24 11:09:53 +00:00
Elisabeth Dickinson 299d504df3 [IMP] theme_yes: update the theme
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2555035

X-original-commit: 2a2da47270
Part-of: odoo/design-themes#501
2021-09-24 11:09:52 +00:00
qsm-odoo e3e8f6796d [REF] theme_vehicle: normalize XML indentation
X-original-commit: de26d7f6a0
Part-of: odoo/design-themes#501
2021-09-24 11:09:52 +00:00
Cocographique d7fc7fef7b [REF] theme_treehouse: remove outdated theme description
task-2542281

X-original-commit: 33d50fdea5
Part-of: odoo/design-themes#501
2021-09-24 11:09:52 +00:00
Cocographique 0cdb391954 [IMP] theme_treehouse: update the theme
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2542281

X-original-commit: e18a0ff128
Part-of: odoo/design-themes#501
2021-09-24 11:09:52 +00:00
xlu-odoo 045072d101 [REF] theme_real_estate: remove outdated theme description
task-2551125

X-original-commit: 4946a528fd
Part-of: odoo/design-themes#501
2021-09-24 11:09:51 +00:00
xlu-odoo b10cfcc82b [IMP] theme_real_estate: update the theme
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2551125

X-original-commit: 42638dcf22
Part-of: odoo/design-themes#501
2021-09-24 11:09:51 +00:00
qsm-odoo 08e5a8a968 [REF] theme_paptic: normalize XML indentation
X-original-commit: bef2fc761f
Part-of: odoo/design-themes#501
2021-09-24 11:09:51 +00:00
Brieuc-brd a443f448bc [REF] theme_orchid: remove outdated theme description
task-2619127

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

task-2619127

X-original-commit: 40e8281717
Part-of: odoo/design-themes#501
2021-09-24 11:09:50 +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
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
Cocographique 9b6c4b344a [REF] theme_nano: remove outdated theme description
task-2590182

X-original-commit: 5ed3aa0044
Part-of: odoo/design-themes#501
2021-09-24 11:09:49 +00:00
Cocographique c4287ba0d4 [IMP] theme_nano: update the theme
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2590182

X-original-commit: 036df33043
Part-of: odoo/design-themes#501
2021-09-24 11:09:49 +00:00
xlu-odoo 158003bad2 [REF] theme_monglia: remove outdated theme description
task-2619534

X-original-commit: 24da809ab0
Part-of: odoo/design-themes#501
2021-09-24 11:09:48 +00:00
xlu-odoo 34fe0fa07f [IMP] theme_monglia: update the theme
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2619534

X-original-commit: a27996e809
Part-of: odoo/design-themes#501
2021-09-24 11:09:48 +00:00
Brieuc-brd a2b1aa7c14 [REF] theme_loftspace: remove outdated theme description
task-2557927

X-original-commit: 284a5e383c
Part-of: odoo/design-themes#501
2021-09-24 11:09:48 +00:00
Brieuc-brd 0fcc823bed [IMP] theme_loftspace: update the theme
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2557927

X-original-commit: 0d61d590ea
Part-of: odoo/design-themes#501
2021-09-24 11:09:48 +00:00
Carlos Valverde ff59efb1b1 [REF] theme_kiddo: remove outdated theme description
task-2573229

X-original-commit: 4acb753335
Part-of: odoo/design-themes#501
2021-09-24 11:09:47 +00:00
Carlos Valverde 7411ad6b49 [IMP] theme_kiddo: update the theme
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

X-original-commit: 0173ac6c44
Part-of: odoo/design-themes#501
2021-09-24 11:09:47 +00:00