Skip to content

Commit

Permalink
feat(toggle): add animation for windows mode toggle
Browse files Browse the repository at this point in the history
closes #5981
  • Loading branch information
brandyscarney committed Apr 11, 2016
1 parent f17f517 commit f841bef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ionic/components/toggle/toggle.wp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ $toggle-wp-handle-border-radius: 50% !default;
$toggle-wp-media-margin: 0 !default;
$toggle-wp-media-padding: 12px ($item-wp-padding-right / 2) 12px $item-wp-padding-left !default;

$toggle-wp-transition-duration: 300ms !default;

$toggle-wp-disabled-opacity: .3 !default;


Expand Down Expand Up @@ -68,6 +70,9 @@ ion-toggle {

border-radius: $toggle-wp-handle-border-radius;
background-color: $toggle-wp-handle-background-color-off;

transition-duration: $toggle-wp-transition-duration;
transition-property: transform, background-color;
}


Expand Down

0 comments on commit f841bef

Please sign in to comment.