singularitygs 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
data/lib/singularitygs.rb
CHANGED
@@ -118,7 +118,7 @@
|
|
118
118
|
$gutter: find-gutter($gutter);
|
119
119
|
$row: false;
|
120
120
|
|
121
|
-
@if type-of($grid) == 'number'
|
121
|
+
@if type-of($grid) == 'number' and length($grid) == 1 {
|
122
122
|
@if $location == 'last' or $location == 'omega' {
|
123
123
|
$location: length($grid) - $span + 1;
|
124
124
|
}
|
@@ -135,6 +135,9 @@
|
|
135
135
|
clear: both;
|
136
136
|
}
|
137
137
|
}
|
138
|
+
@else if type-of($grid) == 'list' and $location != false {
|
139
|
+
@include grid-span($span, $location, $grid, $gutter, 'float');
|
140
|
+
}
|
138
141
|
@else {
|
139
142
|
@warn 'Asymmetric Grids need a Location value as well as a span value in order to know where on the grid you are! Please include a location value!';
|
140
143
|
}
|
@@ -98,8 +98,5 @@
|
|
98
98
|
// Makes working with Isolation easier, as it moves Clear to a 1st class citizen of the mixin, and automatically builds the verbose grid-span mixin call
|
99
99
|
//////////////////////////////
|
100
100
|
@mixin isolation-span($span, $location, $clear: false, $columns: false, $gutter: false) {
|
101
|
-
|
102
|
-
$gutter: find-gutter($gutter);
|
103
|
-
|
104
|
-
@include grid-span($span, $location, $grid, $gutter, 'isolation', $clear);
|
101
|
+
@include grid-span($span, $location, $columns, $gutter, 'isolation', $clear);
|
105
102
|
}
|