forked from thoughtbot/bourbon
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change global prefixer arguments order
- Loading branch information
Showing
6 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
@mixin appearance ($value) { | ||
@include prefixer(appearance, $value, moz, webkit, o, ms); | ||
@include prefixer(appearance, $value, webkit, moz, ms, o); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
@mixin prefixer ($property, $value, | ||
$moz: true, | ||
$webkit: true, | ||
$o: false, | ||
$ms: false, | ||
$spec: true) { | ||
@if $moz { -moz-#{$property}: $value; } | ||
$moz: true, | ||
$ms: false, | ||
$o: false, | ||
$spec: true) { | ||
@if $webkit { -webkit-#{$property}: $value; } | ||
@if $o { -o-#{$property}: $value; } | ||
@if $moz { -moz-#{$property}: $value; } | ||
@if $ms { -ms-#{$property}: $value; } | ||
@if $o { -o-#{$property}: $value; } | ||
@if $spec { #{$property}: $value; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
@mixin transform($property: none) { | ||
// none | <transform-function> | ||
@include prefixer(transform, $property, moz, webkit, o, ms); | ||
@include prefixer(transform, $property, webkit, moz, ms, o); | ||
} | ||
|
||
@mixin transform-origin($axes: 50%) { | ||
// x-axis - left | center | right | length | % | ||
// y-axis - top | center | bottom | length | % | ||
// z-axis - length | ||
@include prefixer(transform-origin, $axes, moz, webkit, o, ms); | ||
@include prefixer(transform-origin, $axes, webkit, moz, ms, o); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
@mixin user-select($arg: none) { | ||
@include prefixer(user-select, $arg, moz, webkit, not o, ms); | ||
@include prefixer(user-select, $arg, webkit, moz, ms); | ||
} |