sass/susy/language/susy/_isolate.scss in susy-2.1.3 vs sass/susy/language/susy/_isolate.scss in susy-2.2.0.beta.2
- old
+ new
@@ -8,17 +8,18 @@
// - $location: <span>
@mixin isolate(
$isolate: 1
) {
$inspect: $isolate;
+
$output: (
push: isolate($isolate),
flow: susy-get(flow, $isolate),
);
- @include isolate-output($output...);
@include susy-inspect(isolate, $inspect);
+ @include isolate-output($output...);
}
// Isolate [function]
// ------------------
@@ -28,11 +29,11 @@
$isolate: 1
) {
$isolate: parse-span($isolate);
$isolation: susy-get(span, $isolate);
- @if $isolation and not get-location($isolate) {
+ @if $isolation and not(get-location($isolate)) {
$new: (
span: null,
location: $isolation,
);
$isolate: map-merge($isolate, $new);
@@ -51,10 +52,10 @@
) {
$location : get-location($input);
$columns : susy-get(columns, $input);
$width : null;
- @if type-of($location) == number and not unitless($location) {
+ @if type-of($location) == number and not(unitless($location)) {
$width: $location;
} @else if $location {
$push: $location - 1;
@if $push > 0 {
$push: map-merge($input, (