Commit Graph

8 Commits

Author SHA1 Message Date
Benjamin Vray e025296ccf [IMP] website_animate: review website animate
Review the module website animate to make it cleaner. Dead code, lint
files, etc. Move the WebsiteAnimate object used by a public
widget into this public widget.

Rename "Each Time It Becomes Visible" into "Animation Launch" and
replace the checkbox by a select. Reorder the options.

task-2215118

closes odoo/design-themes#8

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-08-03 10:29:32 +00:00
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
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
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