gridstrap 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 02ecc324af2e0c564f93956fe1469bc884b70332
4
- data.tar.gz: c726b95cba678a964089b87dc3212a9488cff0e9
3
+ metadata.gz: 9278f2b04aa29907c7e6ae080f2cd0d64b7d2e96
4
+ data.tar.gz: f6b0964d2888e03201f5049cc46af5e15a8243f3
5
5
  SHA512:
6
- metadata.gz: d46d6f48b8cec96f0c2a762c5ba619b95d43c6fa1474145ff0c4b4c13448b643442cf87f01a112470184ca9fbb9aa636327f7447a07a6a74ac54bdeb884b6924
7
- data.tar.gz: 76ef3a19030b9087f4e5270617fcd2ce09a6b5edcbf5303532e9ebb71e2c3cf7779191dabf4523fdef4a43eed95ae9cf3f7d0198053c8fc1700cf750d9e5e0a4
6
+ metadata.gz: cfbd7e131a18f9de630d01e27f3fcb43b4b25584b7acd66a92b1fb033eb0ab87167d2d05dc8701346a287bca2491ffe58c117b801d422af3f0fe84e0e7fb2e1a
7
+ data.tar.gz: 16d919368905794aa6026927b32fd36a74b6d970ba65481f5c33bdc431912e2d454cd6bd332473f217756a5a7676928a658a13a82934cf0278a6884579cead6b
@@ -1,3 +1,6 @@
1
+ @import "compass/css3/box-sizing";
2
+ @import "compass/utilities/general/clearfix";
3
+
1
4
  // Variable setup mixin.
2
5
  //
3
6
  // Pass a list of column modifiers you intend to use.
@@ -143,15 +146,15 @@
143
146
 
144
147
  // Add classes/modifiers for each column number
145
148
  @for $i from 1 through $gridstrap-cols {
146
- $width: ($i / $gridstrap-cols) * 100%;
149
+ $gs-col-width: ($i / $gridstrap-cols) * 100%;
147
150
 
148
151
  .col-#{$midfix}#{$i} {
149
- width: $width;
152
+ width: $gs-col-width;
150
153
  }
151
154
 
152
155
  @if $gridstrap-use-span {
153
156
  .span-#{$midfix}#{$i} {
154
- width: $width;
157
+ width: $gs-col-width;
155
158
  }
156
159
  }
157
160
 
@@ -167,14 +170,14 @@
167
170
  .offset-#{$midfix}#{$i} {
168
171
  @if $gridstrap-use-rtl {
169
172
  .ltr &{
170
- margin-left: $width;
173
+ margin-left: $gs-col-width;
171
174
  }
172
175
  .rtl &{
173
- margin-right: $width;
176
+ margin-right: $gs-col-width;
174
177
  }
175
178
  }
176
179
  @else {
177
- margin-left: $width;
180
+ margin-left: $gs-col-width;
178
181
  }
179
182
  }
180
183
  }
@@ -182,14 +185,14 @@
182
185
  .push-#{$midfix}#{$i} {
183
186
  @if $gridstrap-use-rtl {
184
187
  .ltr &{
185
- left: $width;
188
+ left: $gs-col-width;
186
189
  }
187
190
  .rtl &{
188
- right: $width;
191
+ right: $gs-col-width;
189
192
  }
190
193
  }
191
194
  @else {
192
- left: $width;
195
+ left: $gs-col-width;
193
196
  }
194
197
  }
195
198
  }
@@ -197,14 +200,14 @@
197
200
  .pull-#{$midfix}#{$i} {
198
201
  @if $gridstrap-use-rtl {
199
202
  .ltr &{
200
- right: $width;
203
+ right: $gs-col-width;
201
204
  }
202
205
  .rtl &{
203
- left: $width;
206
+ left: $gs-col-width;
204
207
  }
205
208
  }
206
209
  @else {
207
- right: $width;
210
+ right: $gs-col-width;
208
211
  }
209
212
  }
210
213
  }
@@ -1,6 +1,6 @@
1
1
  @mixin gridstrap-build-down {
2
2
  @include gridstrap-build-simple;
3
-
3
+
4
4
  .container {
5
5
  width: $md-screen - $gridstrap-gutter;
6
6
  }
@@ -11,7 +11,7 @@
11
11
  @include gridstrap-setup-columns("lg");
12
12
 
13
13
  // Large (Widescreen) and up
14
- @include lg-screen-min {
14
+ @include lg-screen {
15
15
  .container {
16
16
  width: $lg-screen - $gridstrap-gutter;
17
17
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gridstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doug Wollison
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-01 00:00:00.000000000 Z
11
+ date: 2014-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: compass
@@ -74,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
74
  version: '0'
75
75
  requirements: []
76
76
  rubyforge_project:
77
- rubygems_version: 2.0.3
77
+ rubygems_version: 2.0.14
78
78
  signing_key:
79
79
  specification_version: 4
80
80
  summary: A bootstrap inspired grid system kit for Compass.