Commit Graph

23 Commits

Author SHA1 Message Date
Benjamin Vray 8b5b11f574 [FIX] website_animate: fix drag n drop an animated snippet
Before this commit, when drag n drop a snippet to move it in a website
page, the snippet was invisible after the drop.

task-2215118

closes odoo/design-themes#474

X-original-commit: 7c2962779b
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-08-02 15:04:49 +00:00
Benjamin Vray 51abb093c7 [IMP] website_animate: hide horizontal scrollbar during animation
Before this commit, when animated elements with a css translate
overflowed the #wrapwrap (before and during animations), a horizontal
scrollbar was visible on the #wrapwrap until the end of the animation.

After this commit, the horizontal scrollbar is no longer visible at
any time during the animations.

task-2215118

closes odoo/design-themes#471

X-original-commit: 22e83be4f3
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-07-30 17:46:20 +00:00
Benjamin Vray 6f0f8e22ab [FIX] website_animate: fix start of animations
Before this commit, the calculation of the top position of the
animated elements did not take into account the fact that the
scrollable element is no longer the body. And therefore the animations
never started.

task-2215118

closes odoo/design-themes#58

X-original-commit: d3a05c4ef5
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-07-27 10:58:55 +00:00
Samuel Degueldre 743de8db40 [FIX] test_themes: adapt TestThemesWebsiteSelector to new registry
In odoo/odoo#72675 the registry for navbar widgets was changed to use
the new registry class introduced with the wowl webclient, this use site
was not adapted, causing a crash on startup.

closes odoo/design-themes#55

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-07-27 09:03:46 +00:00
Benjamin Vray ac8bdd7329 [FIX] website_animate: fix "rotate in down" animations
The animations "Rotate In-Down-Left" and "Rotate In-Down-Right" were
not done correctly because we were trying to get the position of the
element (by not taking CSS transforms into calculations) via the
matrix of the css transform and it does not work if there is a
transform-origin on the element.

task-2215118

closes odoo/design-themes#53

X-original-commit: ad7389630c
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-07-26 15:06:54 +00:00
Xavier-Do 8dc887764b [FIX] *: add explicit license to all manifest
The license is missing in most enterprise manifest so
the decision was taken to make it explicit in all cases.
When not defined, a warning will be triggered starting from
14.0 when falling back on the default LGPL-3.

closes odoo/design-themes#48

Related: odoo/odoo#74245
Related: odoo/enterprise#19862
Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
2021-07-26 13:09:57 +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
Sébastien Mottet (oms) e05e835b28 [FIX] theme_*: check cta_btn_text is not False before applying upper
The themes cobalt, paptic and vehicle apply upper on cta_btn_text for some
snippets. In some case cta_btn_text is a boolean (False) and not a string.
We must check cta_btn_text is not False before calling upper on it.

task-2518565

closes odoo/design-themes#33

Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2021-07-07 09:26:38 +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
Sébastien Mottet (oms) 20cca57c52 [IMP] website: change CTA based on website main objective
If user selects 'schedule appointments' as main objective in the configurator
and if the website_calendar module is installed then the Call To Action of
snippets s_banner, s_cover and s_call_to_action is changed to 'Schedule an
appointment' and redirect user to '/calendar' on click.

task-2518565

closes odoo/design-themes#5

Related: odoo/odoo#71162
Related: odoo/enterprise#18690
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2021-06-29 12:57:11 +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
Younn Olivier da5c40ff38 [IMP] theme_*: use theme colors for snippets background
This commit changes the bg-200 static color that some snippets were
using, for the second theme color so that blocks backgrounds connect
well together.

task-2542318

closes odoo/design-themes#15

Related: odoo/odoo#71426
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-06-10 13:39:33 +00:00
Sébastien Mottet (oms) d45c99eb23 [FIX] theme_avantgarde: fix duplicated theme_avantgarde.s_cover view
task-2518565

closes odoo/design-themes#4

Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2021-06-01 14:42:49 +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 5cbf95db80 [FIX] theme_avantgarde: add missing snippet in tour
This was probably removed at some point because the snippet was empty
but it is not anymore in 14.3 so we need it for shape connection.

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

X-original-commit: 3a2396e3a0
2021-06-04 15:52:42 +00:00
qsm-odoo 336d7d9fe2 [IMP] test_themes: add a test which goes over all theme tours
Part of https://github.com/odoo/design-themes/pull/2
task-2491890

X-original-commit: 52d224fd9b
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
qsm-odoo c74c9fcad1 [FIX] theme_cobalt, theme_paptic: restore proper asset order
Error made during migration of assets, those files became prepend to
the bundle instead of append to... hopefully these are the only ones.

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

X-original-commit: 1fe3c6aecc
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 2bdf71a2b2 [ADD] theme saas-14.2 2021-05-10 15:46:35 +02:00
Jeremy Kersten f8d6990b6b [ADD] theme saas-14.1 2021-05-10 15:46:29 +02:00
Jeremy Kersten cb1e3be3f8 [ADD] theme 14.0 2021-05-10 15:45:35 +02:00