From f3ef15bd73966878373726f59c2fd4e0fab5831b Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Tue, 29 Sep 2020 15:51:35 +0200 Subject: [PATCH] =?UTF-8?q?:bug:=20r=C3=A9pare=20la=20v=C3=A9rification=20?= =?UTF-8?q?de=20branche=20sur=20la=20version=20legacy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mon-entreprise/source/components/ui/Card.css | 9 ++++++--- mon-entreprise/webpack.prod.legacyBrowser.js | 1 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/mon-entreprise/source/components/ui/Card.css b/mon-entreprise/source/components/ui/Card.css index 8bb5a8470..81284c0e1 100644 --- a/mon-entreprise/source/components/ui/Card.css +++ b/mon-entreprise/source/components/ui/Card.css @@ -4,10 +4,10 @@ padding-left: 1rem; padding-right: 1rem; background: white; - will-change: transform; + will-change: box-shadow; user-select: text; + transition: box-shadow 0.15s, border-color 0.15s; border-radius: 0.3rem; - transition: box-shadow 0.2s; } .ui__.card.disabled .ui__.button.simple, @@ -105,7 +105,10 @@ color: inherit; font-size: inherit !important; } - +.ui__.card.box.ui__.interactive.light-border:hover { + border-color: var(--lightColor); + /* border-color: var(--lightColor); */ +} .ui__.card.box .ui__.box-icon > img { margin: 0.4rem !important; transform: scale(1.5) translateY(0.1rem); diff --git a/mon-entreprise/webpack.prod.legacyBrowser.js b/mon-entreprise/webpack.prod.legacyBrowser.js index 1870e7714..96a591925 100644 --- a/mon-entreprise/webpack.prod.legacyBrowser.js +++ b/mon-entreprise/webpack.prod.legacyBrowser.js @@ -20,6 +20,7 @@ module.exports = { ...HTMLPlugins({ injectTrackingScript: true }), new MonacoWebpackPlugin(), + new EnvironmentPlugin({ HEAD: '', COMMIT_REF: '' }), new EnvironmentPlugin({ EN_SITE: '/infrance${path}', FR_SITE: '/mon-entreprise${path}'