singularitygs 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/singularitygs.rb
CHANGED
@@ -119,15 +119,19 @@
|
|
119
119
|
$grid: nth($grid, 1);
|
120
120
|
}
|
121
121
|
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
122
|
+
// Working with a symmetric grid
|
123
|
+
@if type-of($grid) == 'number' {
|
124
|
+
// Special treatment for non-numeric location
|
125
|
+
@if type-of($location) != 'number' {
|
126
|
+
@if $location == 'last' or $location == 'omega' {
|
127
|
+
$location: $grid - $span + 1;
|
128
|
+
}
|
129
|
+
@else {
|
130
|
+
@if $location == 'first' or $location == 'alpha' {
|
131
|
+
$row: true;
|
132
|
+
}
|
133
|
+
$location: 1;
|
129
134
|
}
|
130
|
-
$location: 1;
|
131
135
|
}
|
132
136
|
|
133
137
|
@include grid-span($span, $location, $grid, $gutter, 'float');
|
@@ -136,6 +140,7 @@
|
|
136
140
|
clear: both;
|
137
141
|
}
|
138
142
|
}
|
143
|
+
// Working with an asymmetric grid, should have location provided
|
139
144
|
@else if type-of($grid) == 'list' and $location != false {
|
140
145
|
@include grid-span($span, $location, $grid, $gutter, 'float');
|
141
146
|
}
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 1.0.
|
8
|
+
- 8
|
9
|
+
version: 1.0.8
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Scott Kellum
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2013-04-
|
18
|
+
date: 2013-04-25 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|