Commit Graph

7 Commits

Author SHA1 Message Date
Benjamin Vray 17d4df53f9 [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#516

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-10-15 12:32:22 +00:00
Benjamin Vray 83d805315c [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#490

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

X-original-commit: d8e547ceab
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-08-02 13:04:17 +00:00
Benjamin Vray 22e83be4f3 [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#270

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-07-30 15:23:21 +00:00
Benjamin Vray d3a05c4ef5 [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#54

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-07-27 08:01:34 +00:00
Benjamin Vray 695389adcd [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#50

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