vendor/assets/stylesheets/foundation/components/_switches.scss in foundation-rails-5.3.1.0 vs vendor/assets/stylesheets/foundation/components/_switches.scss in foundation-rails-5.3.3.0
- old
+ new
@@ -77,12 +77,12 @@
display: block;
background: $switch-paddle-bg;
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 {
background: $switch-active-color;
}