Skip to content

Commit

Permalink
use vendor-prefix mixins for css transforms
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesjwarren committed Feb 9, 2015
1 parent 4721b06 commit 76f382b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions app/less/default/core/utilities.less
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
margin-top: 100%;
padding-right: 40px;
text-align: right;
transform: rotate(-90deg);
transform-origin: left top 0;
.rotate(-90deg);
.transform-origin(left top 0);
}

.columns-2 {
Expand Down
4 changes: 2 additions & 2 deletions app/less/default/modules/nav-counter.less
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@

.count-text {
color: @white;
transform: rotate(-90deg);
transform-origin: top left;
.rotate(-90deg);
.transform-origin(top left);
margin-left: 8px;
width: 200px;
}
Expand Down
4 changes: 2 additions & 2 deletions app/less/default/modules/project-list.less
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
.vertical-center {
position: absolute;
top: 50%;
transform: translateY(-50%);
.translate(0, -50%);
}

&:hover {
Expand Down Expand Up @@ -78,7 +78,7 @@
left: 100%;
position: absolute;
top: 50%;
transform: translateY(-50%);
.translate(0, -50%);
}
}

Expand Down
2 changes: 1 addition & 1 deletion app/less/mobile/modules/project-list.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
.vertical-center {
position: relative;
top: 0;
transform: translateY(0);
.translate(0, 0);
}

&:hover {
Expand Down
2 changes: 1 addition & 1 deletion app/less/tablet/modules/project-list.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
.vertical-center {
position: relative;
top: 0;
transform: translateY(0);
.translate(0, 0);
}

&:hover {
Expand Down

0 comments on commit 76f382b

Please sign in to comment.