Permalink
Browse files

Addresses Issue #805: Stray commas added when default transition valu…

…es are used. Test case included.
  • Loading branch information...
doctyper committed Mar 24, 2012
1 parent b40fa29 commit 8a45ed8961bb604be48ea19d13674750552343f3
@@ -95,7 +95,7 @@ $transitionable-prefixed-values: transform, transform-origin !default;
$transition-10: false
) {
@if $transition-1 == default {
- $transition-1 : (compact($default-transition-property, $default-transition-duration, $default-transition-function, $default-transition-delay));
+ $transition-1 : compact($default-transition-property $default-transition-duration $default-transition-function $default-transition-delay);
}
$transition : compact($transition-1, $transition-2, $transition-3, $transition-4, $transition-5, $transition-6, $transition-7, $transition-8, $transition-9, $transition-10);
@@ -69,3 +69,10 @@
-ms-transition-property: opacity, -ms-transform, left;
-o-transition-property: opacity, -o-transform, left;
transition-property: opacity, transform, left; }
+
+.default-transition {
+ -webkit-transition: all 1s;
+ -moz-transition: all 1s;
+ -ms-transition: all 1s;
+ -o-transition: all 1s;
+ transition: all 1s; }
@@ -10,3 +10,4 @@
.multiple-transitions { @include transition(transform 0.6s ease-out, opacity 0.2s ease-in) }
.transition-property { @include transition-property(transform); }
.multiple-transition-properties { @include transition-property((opacity, transform, left)); }
+.default-transition { @include transition(); }

0 comments on commit 8a45ed8

Please sign in to comment.