From 388e3a611fd588b56c3f6e31e922e170c5b9c906 Mon Sep 17 00:00:00 2001 From: Richard Herrera Date: Sun, 26 Feb 2012 11:24:49 -0800 Subject: [PATCH] Using transition property in lieu of @experimental mixin. --- .../stylesheets/compass/css3/_transition.scss | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/frameworks/compass/stylesheets/compass/css3/_transition.scss b/frameworks/compass/stylesheets/compass/css3/_transition.scss index c092e43c..6a865049 100644 --- a/frameworks/compass/stylesheets/compass/css3/_transition.scss +++ b/frameworks/compass/stylesheets/compass/css3/_transition.scss @@ -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-microsoft { -ms-transition-property: -ms-#{$properties}; } @if $experimental-support-for-opera { -o-transition-property: -o-#{$properties}; } - @include experimental(transition-property, $properties, - not -moz, not -webkit, not -o, not -ms, not -khtml, official - ); + transition-property: $properties; } @else { @include experimental(transition-property, $properties, -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-microsoft { -ms-transition: -ms-#{$property} $duration $function $delay; } @if $experimental-support-for-opera { -o-transition: -o-#{$property} $duration $function $delay; } - @include experimental(transition, $property $duration $function $delay, - not -moz, not -webkit, not -o, not -ms, not -khtml, official - ); + transition: $property $duration $function $delay; } @else { @if $experimental-support-for-webkit { -webkit-transition: $property $duration $function; -webkit-transition-delay: $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-microsoft { -ms-transition: -ms-#{$property} $duration $function; } @if $experimental-support-for-opera { -o-transition: -o-#{$property} $duration $function; } - @include experimental(transition, $property $duration $function, - not -moz, not -webkit, not -o, not -ms, not -khtml, official - ); + transition: $property $duration $function; } @else { @include experimental(transition, $property $duration $function, -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-microsoft { -ms-transition: $ms-transition; } @if $experimental-support-for-opera { -o-transition: $o-transition; } - - @include experimental(transition, $transition, - not -moz, not -webkit, not -o, not -ms, not -khtml, official - ); + transition: $transition; }