Permalink
Browse files

Removed some prefixes and other cleanup

  • Loading branch information...
1 parent 1d8180f commit e119ccf4aa056fce710582bb89c183863adef462 Phil LaPier committed Apr 10, 2013
@@ -3,11 +3,11 @@
// They will be removed in the next MAJOR version release
//************************************************************************//
@mixin box-shadow ($shadows...) {
- @include prefixer(box-shadow, $shadows, spec);
- @warn "box-shadow is deprecated and will be removed in the next major version release";
+ @include prefixer(box-shadow, $shadows, spec);
+ @warn "box-shadow is deprecated and will be removed in the next major version release";
}
@mixin background-size ($lengths...) {
@include prefixer(background-size, $lengths, spec);
- @warn "background-size is deprecated and will be removed in the next major version release";
+ @warn "background-size is deprecated and will be removed in the next major version release";
}
@@ -74,7 +74,7 @@
padding: 7px 18px;
text-decoration: none;
text-shadow: 0 1px 0 $text-shadow;
- -webkit-background-clip: padding-box;
+ background-clip: padding-box;
&:hover:not(:disabled) {
$base-color-hover: adjust-color($base-color, $saturation: -4%, $lightness: -5%);
@@ -219,7 +219,7 @@
text-align: center;
text-decoration: none;
text-shadow: 0 -1px 1px $text-shadow;
- -webkit-background-clip: padding-box;
+ background-clip: padding-box;
&:hover:not(:disabled) {
$base-color-hover: adjust-color($base-color, $lightness: -4.5%);
@@ -246,7 +246,7 @@
cursor: pointer;
@include linear-gradient ($base-color-hover, $stop-gradient-hover);
text-shadow: 0 -1px 1px $text-shadow-hover;
- -webkit-background-clip: padding-box;
+ background-clip: padding-box;
}
&:active:not(:disabled) {
@@ -3,11 +3,3 @@
font: 0/0 a;
text-shadow: none;
}
-
-// A CSS image replacement method that does not require the use of text-indent.
-//
-// Examples
-//
-// .ir {
-// @include hide-text;
-// }
@@ -1,8 +1,8 @@
@mixin perspective($depth: none) {
// none | <length>
- @include prefixer(perspective, $depth, webkit moz o spec);
+ @include prefixer(perspective, $depth, webkit moz spec);
}
@mixin perspective-origin($value: 50% 50%) {
- @include prefixer(perspective-origin, $value, webkit moz o spec);
+ @include prefixer(perspective-origin, $value, webkit moz spec);
}
@@ -5,32 +5,30 @@
@mixin transition ($properties...) {
@if length($properties) >= 1 {
- @include prefixer(transition, $properties, webkit moz ms o spec);
+ @include prefixer(transition, $properties, webkit moz spec);
}
@else {
$properties: all 0.15s ease-out 0;
- @include prefixer(transition, $properties, webkit moz ms o spec);
+ @include prefixer(transition, $properties, webkit moz spec);
}
}
@mixin transition-property ($properties...) {
-webkit-transition-property: transition-property-names($properties, 'webkit');
-moz-transition-property: transition-property-names($properties, 'moz');
- -ms-transition-property: transition-property-names($properties, 'ms');
- -o-transition-property: transition-property-names($properties, 'o');
transition-property: transition-property-names($properties, false);
}
@mixin transition-duration ($times...) {
- @include prefixer(transition-duration, $times, webkit moz ms o spec);
+ @include prefixer(transition-duration, $times, webkit moz spec);
}
@mixin transition-timing-function ($motions...) {
// ease | linear | ease-in | ease-out | ease-in-out | cubic-bezier()
- @include prefixer(transition-timing-function, $motions, webkit moz ms o spec);
+ @include prefixer(transition-timing-function, $motions, webkit moz spec);
}
@mixin transition-delay ($times...) {
- @include prefixer(transition-delay, $times, webkit moz ms o spec);
+ @include prefixer(transition-delay, $times, webkit moz spec);
}

0 comments on commit e119ccf

Please sign in to comment.