Commit Graph

3 Commits

Author SHA1 Message Date
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
Jeremy Kersten cb1e3be3f8 [ADD] theme 14.0 2021-05-10 15:45:35 +02:00