summaryrefslogtreecommitdiff
path: root/addons/website_theme_install/static
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2017-07-03 13:36:46 +0200
committerqsm-odoo <qsm@odoo.com>2017-07-03 13:36:46 +0200
commit42621febc12da80fdff4758ac85d6718db21f3d5 (patch)
tree3e93066243065491b4b35712ecd7bb414c2c42b7 /addons/website_theme_install/static
parent9a07a4599ce08bd1e3a74579a982fa3a58dc6cb2 (diff)
[IMP] website_theme_install: optimize animation
Following commit 828c7c3da92970e3f0836a62f858ac2f5229947a: the kanban record animation when a theme is hovered was blurry with chrome and laggy with firefox (with linux at least). This commit removes the scale part of the animation which was the cause of this.
Diffstat (limited to 'addons/website_theme_install/static')
-rw-r--r--addons/website_theme_install/static/src/less/website_theme_install.less2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_theme_install/static/src/less/website_theme_install.less b/addons/website_theme_install/static/src/less/website_theme_install.less
index fa5812fbb27..f72d98eb4f0 100644
--- a/addons/website_theme_install/static/src/less/website_theme_install.less
+++ b/addons/website_theme_install/static/src/less/website_theme_install.less
@@ -96,7 +96,7 @@
&:not(.o_theme_installed) {
.o_theme_preview_top:hover {
.o-transition(all, .3s);
- .o-transform(scale(1.0125) translateY(-5px));
+ .o-transform(translateY(-10px));
border-color: darken(@o-theme-kanban-gray, 26%);
box-shadow: 0 15px 12px -8px rgba(0, 0, 0, .4);