From 41e90a3556c242d57fcc535759f4d672677eb90a Mon Sep 17 00:00:00 2001 From: Lauri Svan Date: Thu, 24 Jul 2014 16:23:26 +0300 Subject: [PATCH] Fixes #5492: Switch now respects -speed and -ease in animation --- scss/foundation/components/_switches.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scss/foundation/components/_switches.scss b/scss/foundation/components/_switches.scss index 8cbab6eb7..805809549 100755 --- a/scss/foundation/components/_switches.scss +++ b/scss/foundation/components/_switches.scss @@ -79,9 +79,9 @@ $switch-active-color: $primary-color; position: absolute; top: .25rem; left: .25rem; width: $switch-height-med - 0.5rem; height: $switch-height-med - 0.5rem; - -webkit-transition: left 0.15s ease-out; - -moz-transition: left 0.15s ease-out; - transition: left 0.15s ease-out; + -webkit-transition: left $transition-speed $transition-ease; + -moz-transition: left $transition-speed $transition-ease; + transition: left $transition-speed $transition-ease; } input:checked + label { -- 2.47.2