Commit Graph

7 Commits

Author SHA1 Message Date
Benjamin Vray 2483f047bd [FIX] website_animate: fix save animated snippet
Before this commit, when dropping custom snippet (or saved snippet)
containing an animation in the page, the animated element of the
snippet remained hidden.

task-2664876

closes odoo/design-themes#517

X-original-commit: 17d4df53f9
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-10-15 14:19:30 +00:00
Benjamin Vray b3c19b1fef [FIX] website_animate: fix each time it becomes visible option
Before this commit, the option "each time it becomes visible" did not
work in edit mode.

task-2630112

closes odoo/design-themes#491

X-original-commit: 87233c988b
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-08-23 13:57:58 +00:00
Benjamin Vray e61b107d35 [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#473

X-original-commit: 7c2962779b
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-08-02 14:44:48 +00:00
Benjamin Vray e1d105abaa [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#470

X-original-commit: 22e83be4f3
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-07-30 17:19:13 +00:00
Benjamin Vray 3425f69b7e [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#57

X-original-commit: d3a05c4ef5
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-07-27 10:18:47 +00:00
Benjamin Vray f9434c22cc [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#52

X-original-commit: ad7389630c
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-07-26 14:24:09 +00:00
Jeremy Kersten cb1e3be3f8 [ADD] theme 14.0 2021-05-10 15:45:35 +02:00