Using transition property in lieu of @experimental mixin.

This commit is contained in:
Richard Herrera 2012-02-26 11:24:49 -08:00
parent 6a3d024cc1
commit 388e3a611f

View File

@ -46,9 +46,7 @@ $transitionable-prefixed-properties: transform, transform-origin !default;
@if $experimental-support-for-mozilla { -moz-transition-property: -moz-#{$properties}; } @if $experimental-support-for-mozilla { -moz-transition-property: -moz-#{$properties}; }
@if $experimental-support-for-microsoft { -ms-transition-property: -ms-#{$properties}; } @if $experimental-support-for-microsoft { -ms-transition-property: -ms-#{$properties}; }
@if $experimental-support-for-opera { -o-transition-property: -o-#{$properties}; } @if $experimental-support-for-opera { -o-transition-property: -o-#{$properties}; }
@include experimental(transition-property, $properties, transition-property: $properties;
not -moz, not -webkit, not -o, not -ms, not -khtml, official
);
} @else { } @else {
@include experimental(transition-property, $properties, @include experimental(transition-property, $properties,
-moz, -webkit, -o, -ms, not -khtml, official -moz, -webkit, -o, -ms, not -khtml, official
@ -116,9 +114,7 @@ $transitionable-prefixed-properties: transform, transform-origin !default;
@if $experimental-support-for-mozilla { -moz-transition: -moz-#{$property} $duration $function $delay; } @if $experimental-support-for-mozilla { -moz-transition: -moz-#{$property} $duration $function $delay; }
@if $experimental-support-for-microsoft { -ms-transition: -ms-#{$property} $duration $function $delay; } @if $experimental-support-for-microsoft { -ms-transition: -ms-#{$property} $duration $function $delay; }
@if $experimental-support-for-opera { -o-transition: -o-#{$property} $duration $function $delay; } @if $experimental-support-for-opera { -o-transition: -o-#{$property} $duration $function $delay; }
@include experimental(transition, $property $duration $function $delay, transition: $property $duration $function $delay;
not -moz, not -webkit, not -o, not -ms, not -khtml, official
);
} @else { } @else {
@if $experimental-support-for-webkit { -webkit-transition: $property $duration $function; -webkit-transition-delay: $delay; } @if $experimental-support-for-webkit { -webkit-transition: $property $duration $function; -webkit-transition-delay: $delay; }
@include experimental(transition, $property $duration $function $delay, @include experimental(transition, $property $duration $function $delay,
@ -137,9 +133,7 @@ $transitionable-prefixed-properties: transform, transform-origin !default;
@if $experimental-support-for-mozilla { -moz-transition: -moz-#{$property} $duration $function; } @if $experimental-support-for-mozilla { -moz-transition: -moz-#{$property} $duration $function; }
@if $experimental-support-for-microsoft { -ms-transition: -ms-#{$property} $duration $function; } @if $experimental-support-for-microsoft { -ms-transition: -ms-#{$property} $duration $function; }
@if $experimental-support-for-opera { -o-transition: -o-#{$property} $duration $function; } @if $experimental-support-for-opera { -o-transition: -o-#{$property} $duration $function; }
@include experimental(transition, $property $duration $function, transition: $property $duration $function;
not -moz, not -webkit, not -o, not -ms, not -khtml, official
);
} @else { } @else {
@include experimental(transition, $property $duration $function, @include experimental(transition, $property $duration $function,
-moz, -moz,
@ -251,8 +245,5 @@ $transitionable-prefixed-properties: transform, transform-origin !default;
@if $experimental-support-for-mozilla { -moz-transition: $moz-transition; } @if $experimental-support-for-mozilla { -moz-transition: $moz-transition; }
@if $experimental-support-for-microsoft { -ms-transition: $ms-transition; } @if $experimental-support-for-microsoft { -ms-transition: $ms-transition; }
@if $experimental-support-for-opera { -o-transition: $o-transition; } @if $experimental-support-for-opera { -o-transition: $o-transition; }
transition: $transition;
@include experimental(transition, $transition,
not -moz, not -webkit, not -o, not -ms, not -khtml, official
);
} }