From: Lauri Svan Date: Thu, 24 Jul 2014 13:23:26 +0000 (+0300) Subject: Fixes #5492: Switch now respects -speed and -ease in animation X-Git-Tag: v5.3.2~26^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5493%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fixes #5492: Switch now respects -speed and -ease in animation --- 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 {