Per @chriseppstein: we don't need to use -compass-space-list
anymore. Sass provides ()
to construct an empty space-delimited list.
This commit is contained in:
parent
4d01676a76
commit
177fda7460
@ -32,7 +32,7 @@ $transitionable-prefixed-properties: transform, transform-origin !default;
|
||||
|
||||
@mixin transition-property($properties: $default-transition-property) {
|
||||
@if type-of($properties) == string { $properties: unquote($properties); }
|
||||
$raw-properties: -compass-space-list($properties);
|
||||
$raw-properties: ($properties);
|
||||
|
||||
$webkit-transition-property: false;
|
||||
$moz-transition-property: false;
|
||||
@ -181,7 +181,7 @@ $transitionable-prefixed-properties: transform, transform-origin !default;
|
||||
$transition-10: false
|
||||
) {
|
||||
@if $transition-1 == default {
|
||||
$transition-1 : -compass-space-list(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);
|
||||
@ -207,7 +207,7 @@ $transitionable-prefixed-properties: transform, transform-origin !default;
|
||||
}
|
||||
|
||||
@mixin prefix-friendly-transition($transition) {
|
||||
$raw-transition: -compass-space-list($transition);
|
||||
$raw-transition: ($transition);
|
||||
|
||||
$webkit-transition: false;
|
||||
$moz-transition: false;
|
||||
|
Loading…
Reference in New Issue
Block a user