From ef69ffecd787450939472f60c004ad062978a1d2 Mon Sep 17 00:00:00 2001 From: Ryan Keairns Date: Tue, 5 Feb 2019 11:41:53 -0600 Subject: [PATCH] anim adjustments for K7 FF (#1524) --- CHANGELOG.md | 1 + src/components/nav_drawer/_nav_drawer.scss | 2 +- src/components/nav_drawer/_variables.scss | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c2b528e3206..7d5e833e106 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## [`master`](https://github.com/elastic/eui/tree/master) +- Changed animation settings for `EuiNavDrawer` ([#1524](https://github.com/elastic/eui/pull/1524)) - Converted a number of components to support text localization ([#1504](https://github.com/elastic/eui/pull/1504)) - Updated `app_ems.svg` ([#1517](https://github.com/elastic/eui/pull/1517)) diff --git a/src/components/nav_drawer/_nav_drawer.scss b/src/components/nav_drawer/_nav_drawer.scss index de43a39a39d..78004ca67bd 100644 --- a/src/components/nav_drawer/_nav_drawer.scss +++ b/src/components/nav_drawer/_nav_drawer.scss @@ -10,7 +10,7 @@ z-index: $euiZHeader; background: $euiHeaderBackgroundColor; box-shadow: $euiNavDrawerSideShadow; - transition: width $euiAnimSpeedFast $euiAnimSlightResistance; + transition: width $euiAnimSpeedExtraFast $euiAnimSlightResistance; transition-delay: $euiNavDrawerContractingDelay; &.euiNavDrawer-isCollapsed { diff --git a/src/components/nav_drawer/_variables.scss b/src/components/nav_drawer/_variables.scss index bfb3337e0da..9cfc85fc3a8 100644 --- a/src/components/nav_drawer/_variables.scss +++ b/src/components/nav_drawer/_variables.scss @@ -11,6 +11,6 @@ $euiNavDrawerTopPosition: $euiHeaderChildSize + 1px; // Animation variables $euiNavDrawerExpandingDelay: $euiAnimSpeedNormal; -$euiNavDrawerContractingDelay: $euiAnimSpeedSlow; +$euiNavDrawerContractingDelay: $euiAnimSpeedFast; $euiNavDrawerExtendedDelay: $euiAnimSpeedExtraSlow * 2; $euiNavDrawerMenuAddedDelay: $euiAnimSpeedExtraFast;