toggle translate3d

This commit is contained in:
Adam Bradley
2013-11-07 13:11:46 -06:00
parent 992d8b6227
commit b09e3cf412
2 changed files with 3 additions and 3 deletions

4
dist/css/ionic.css vendored
View File

@ -3958,8 +3958,8 @@ input[type="checkbox"][readonly] {
/* the handle when the toggle is "on" */
.toggle input:checked + .track .handle {
-webkit-transform: translate(22px, 0);
transform: translate(22px, 0);
-webkit-transform: translate3d(22px, 0, 0);
transform: translate3d(22px, 0, 0);
background-color: white; }
/* make sure list item content have enough padding on right to fit the toggle */

View File

@ -61,7 +61,7 @@
/* the handle when the toggle is "on" */
.toggle input:checked + .track .handle {
@include translate($toggle-width - $toggle-handle-width - ($toggle-border-width * 2), 0);
@include translate3d($toggle-width - $toggle-handle-width - ($toggle-border-width * 2), 0, 0);
background-color: $toggle-handle-on-bg-color;
}