Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Change global prefixer arguments order

  • Loading branch information...
commit 4f8f90948bb9b6c8142c2bba483721784a57d698 1 parent e0e093b
@renaudleo renaudleo authored
View
2  app/assets/stylesheets/css3/_appearance.scss
@@ -1,3 +1,3 @@
@mixin appearance ($value) {
- @include prefixer(appearance, $value, moz, webkit, o, ms);
+ @include prefixer(appearance, $value, webkit, moz, ms, o);
}
View
2  app/assets/stylesheets/css3/_background-size.scss
@@ -7,5 +7,5 @@
$full: compact($length-1, $length-2, $length-3, $length-4,
$length-5, $length-6, $length-7, $length-8, $length-9);
-@include prefixer(background-size, $full, moz, webkit, o, ms);
+@include prefixer(background-size, $full, webkit, moz, ms, o);
}
View
12 app/assets/stylesheets/css3/_prefixer.scss
@@ -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; }
}
View
4 app/assets/stylesheets/css3/_transform.scss
@@ -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);
}
View
10 app/assets/stylesheets/css3/_transition.scss
@@ -12,7 +12,7 @@
$full: compact($prop-1, $prop-2, $prop-3, $prop-4, $prop-5,
$prop-6, $prop-7, $prop-8, $prop-9);
- @include prefixer(transition, $full, moz, webkit, o, ms);
+ @include prefixer(transition, $full, webkit, moz, ms, o);
}
@@ -26,7 +26,7 @@
$full: compact($prop-1, $prop-2, $prop-3, $prop-4, $prop-5,
$prop-6, $prop-7, $prop-8, $prop-9);
- @include prefixer(transition-property, $full, moz, webkit, o, ms);
+ @include prefixer(transition-property, $full, webkit, moz, ms, o);
}
@mixin transition-duration ($time-1: 0,
@@ -38,7 +38,7 @@
$full: compact($time-1, $time-2, $time-3, $time-4, $time-5,
$time-6, $time-7, $time-8, $time-9);
- @include prefixer(transition-duration, $full, moz, webkit, o, ms);
+ @include prefixer(transition-duration, $full, webkit, moz, ms, o);
}
@mixin transition-timing-function ($motion-1: ease,
@@ -51,7 +51,7 @@
$motion-6, $motion-7, $motion-8, $motion-9);
// ease | linear | ease-in | ease-out | ease-in-out | cubic-bezier()
- @include prefixer(transition-timing-function, $full, moz, webkit, o, ms);
+ @include prefixer(transition-timing-function, $full, webkit, moz, ms, o);
}
@mixin transition-delay ($time-1: 0,
@@ -63,6 +63,6 @@
$full: compact($time-1, $time-2, $time-3, $time-4, $time-5,
$time-6, $time-7, $time-8, $time-9);
- @include prefixer(transition-transition-delay, $full, moz, webkit, o, ms);
+ @include prefixer(transition-transition-delay, $full, webkit, moz, ms, o);
}
View
2  app/assets/stylesheets/css3/_user-select.scss
@@ -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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.