Small changes to accomodate Sass language advancements. Negation is now 'not' and @else exists.
This commit is contained in:
parent
e10cc76ca5
commit
595b1a0849
@ -49,7 +49,7 @@
|
|||||||
+span(!n)
|
+span(!n)
|
||||||
@if !last
|
@if !last
|
||||||
+last
|
+last
|
||||||
@if !!last
|
@else
|
||||||
:margin-right = !layout_grid_margin
|
:margin-right = !layout_grid_margin
|
||||||
|
|
||||||
// Mixin to a column to append n empty cols.
|
// Mixin to a column to append n empty cols.
|
||||||
@ -66,7 +66,7 @@
|
|||||||
:position relative
|
:position relative
|
||||||
@if !last
|
@if !last
|
||||||
:margin-left = (-!layout_grid_outer_width * !n) + !layout_grid_margin
|
:margin-left = (-!layout_grid_outer_width * !n) + !layout_grid_margin
|
||||||
@if !!last
|
@else
|
||||||
:margin-left = -!layout_grid_outer_width * !n
|
:margin-left = -!layout_grid_outer_width * !n
|
||||||
|
|
||||||
// mixin to a column to push it n columns to the right
|
// mixin to a column to push it n columns to the right
|
||||||
|
@ -65,7 +65,7 @@
|
|||||||
+span(!n)
|
+span(!n)
|
||||||
@if !last
|
@if !last
|
||||||
+last
|
+last
|
||||||
@if !!last
|
@else
|
||||||
:margin-right = !layout_liquid_margin
|
:margin-right = !layout_liquid_margin
|
||||||
|
|
||||||
=append(!n)
|
=append(!n)
|
||||||
|
Loading…
Reference in New Issue
Block a user