Skip to content

Commit

Permalink
add "transform" vendor prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AntouanK committed Nov 10, 2014
1 parent 552f408 commit e0175e3
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions docs/dist/less/components/checkbox.less
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@
input {
display: @checkbox-input-display;
}
.mui-checkbox-label {

.mui-checkbox-label {
position: relative;
left: @checkbox-label-spacing;
padding: 0 5px;
}
}

.mui-checkbox-box {
.ease-out;
background-color: @checkbox-box-background-color;
Expand All @@ -52,6 +52,9 @@
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;
transform-origin: @checkbox-box-transform-origin;
width: @checkbox-box-size;
Expand All @@ -65,6 +68,9 @@
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;
transform-origin: @checkbox-check-transform-origin;
width: @checkbox-check-height;
Expand All @@ -73,15 +79,21 @@
&.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);
}

.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;
transition-delay: @checkbox-checked-check-transition-delay;
width: @checkbox-checked-check-width;
}
}
}
}

0 comments on commit e0175e3

Please sign in to comment.