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
@@ -4,6 +4,6 @@ require 'breakpoint'
4
4
  Compass::Frameworks.register("singularitygs", :path => "#{File.dirname(__FILE__)}/..")
5
5
 
6
6
  module SingularityGS
7
- VERSION = "1.0.2"
7
+ VERSION = "1.0.3"
8
8
  DATE = "2013-04-03"
9
9
  end
@@ -118,7 +118,7 @@
118
118
  $gutter: find-gutter($gutter);
119
119
  $row: false;
120
120
 
121
- @if type-of($grid) == 'number' or length($grid) == 1 {
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
- $grid: find-grid($columns);
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
  }
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 2
9
- version: 1.0.2
8
+ - 3
9
+ version: 1.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Scott Kellum