dist/_scut.scss in scut-1.0.0 vs dist/_scut.scss in scut-1.0.1

- old
+ new

@@ -1,9 +1,9 @@ /* * Scut, a collection of Sass utilities * to ease and improve our implementations of common style-code patterns. -* v1.0.0 +* v1.0.1 * Docs at http://davidtheclark.github.io/scut */ @mixin scut-clearfix { @@ -236,11 +236,11 @@ $transition-properties: background-color, color; } // If $off IS NOT a list and $bg is TRUE, // assign background-color. - @else if $bg and not $off-is-list { + @else if $bg and not($off-is-list) { background-color: $off; $transition-properties: background-color; } // If $off IS NOT a list and $bg is FALSE, @@ -263,11 +263,11 @@ @if $on-is-list { color: nth($on, 1); background-color: nth($on, 2); } - @else if $bg and not $on-is-list { + @else if $bg and not($on-is-list) { background-color: $on; } @else { color: $on; @@ -440,35 +440,35 @@ } } // Call them all, minus exclusions! @mixin scut-reset ($exclude: false) { - @if not index($exclude, border-box) { + @if not(index($exclude, border-box)) { @include scut-reset-border-box; } - @if not index($exclude, antialias) { + @if not(index($exclude, antialias)) { @include scut-reset-antialias; } - @if not index($exclude, semanticize) { + @if not(index($exclude, semanticize)) { @include scut-reset-semanticize; } - @if not index($exclude, pointer) { + @if not(index($exclude, pointer)) { @include scut-reset-pointer; } - @if not index($exclude, form) { + @if not(index($exclude, form)) { @include scut-reset-form; } - @if not index($exclude, button) { + @if not(index($exclude, button)) { @include scut-reset-button; } - @if not index($exclude, paragraph) { + @if not(index($exclude, paragraph)) { @include scut-reset-paragraph; } - @if not index($exclude, media) { + @if not(index($exclude, media)) { @include scut-reset-media; } - @if not index($exclude, figure) { + @if not(index($exclude, figure)) { @include scut-reset-figure; } } @mixin scut-selected ( @@ -648,11 +648,11 @@ margin-right: auto; } $translate-val: null; - @if not $axis { + @if not($axis) { $translate-val: translate(-50%, -50%); } @else if $axis != x { $translate-val: translateY(-50%); } @@ -782,10 +782,10 @@ overflow: hidden; } } & > li + li:#{$pseudo} { - @if not $height { + @if not($height) { content: $divider; display: inline-block; @content; } margin-left: $space; \ No newline at end of file