Skip to content

Commit

Permalink
use lesshat for the vendor prefix on transform
Browse files Browse the repository at this point in the history
  • Loading branch information
AntouanK committed Nov 11, 2014
1 parent e0175e3 commit 442de53
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions docs/dist/less/components/checkbox.less
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,7 @@
box-sizing: @checkbox-box-box-sizing;
height: @checkbox-box-size;
position: @checkbox-box-position;
-webkit-transform: @checkbox-box-transform;
-moz-transform: @checkbox-box-transform;
-ms-transform: @checkbox-box-transform;
transform: @checkbox-box-transform;
.lh-transform(@checkbox-box-transform);
transform-origin: @checkbox-box-transform-origin;
width: @checkbox-box-size;
}
Expand All @@ -68,30 +65,21 @@
height: @checkbox-check-height;
left: @checkbox-check-fix-left;
position: @checkbox-check-position;
-webkit-transform: @checkbox-check-transform;
-moz-transform: @checkbox-check-transform;
-ms-transform: @checkbox-check-transform;
transform: @checkbox-check-transform;
.lh-transform(@checkbox-check-transform);
transform-origin: @checkbox-check-transform-origin;
width: @checkbox-check-height;
}

&.mui-checked {
.mui-checkbox-box {
.ease-out;
-webkit-transform: rotate(45deg) scale(0);
-moz-transform: rotate(45deg) scale(0);
-ms-transform: rotate(45deg) scale(0);
transform: rotate(45deg) scale(0);
.lh-transform(rotate(45deg) scale(0));
}

.mui-checkbox-check {
.ease-out;
height: @checkbox-checked-check-height;
-webkit-transform: @checkbox-checked-check-transform;
-moz-transform: @checkbox-checked-check-transform;
-ms-transform: @checkbox-checked-check-transform;
transform: @checkbox-checked-check-transform;
.lh-transform(@checkbox-checked-check-transform);
transition-delay: @checkbox-checked-check-transition-delay;
width: @checkbox-checked-check-width;
}
Expand Down

0 comments on commit 442de53

Please sign in to comment.