From 42621febc12da80fdff4758ac85d6718db21f3d5 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Mon, 3 Jul 2017 13:36:46 +0200 Subject: [PATCH] [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. --- .../static/src/less/website_theme_install.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);