gridle 1.3.26 → 1.3.27

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: 64d0c4a9dffc6f133c9c8253e08b12529c74c511
4
- data.tar.gz: f1397a73c4233a25bc6af14fe1a4273647fdf6ba
3
+ metadata.gz: 8a7e42d4f361620beea144a2a237fc5add61dbba
4
+ data.tar.gz: 113d7ad36be92c39b6768330e9ae19f61ab13478
5
5
  SHA512:
6
- metadata.gz: 545b8606dec17014a896fd3f4732a88b0eaf3e26983a78fc1a8a37ab072e7de016d7944c94d0aad3bacd69cf20b7cb8d947e547657bec6e0032b1fad87470fc8
7
- data.tar.gz: 2fa77f60f586947c6b85965ac2a1f3f65ae079fa71a1d971b64e55b867bc4e2aac88b804319454cf1d2b36cd7a6da5ed06ef8cc2584bba4690ee13261ea8b65d
6
+ metadata.gz: f6d436bc519a97772a4fbb7dc7e26056a7971182cf819129866d6dcc24b85f8594f675b87269445f5c9ed3ca7d9e33c61b0dba355220c470204b2ddb2363fa3a
7
+ data.tar.gz: 8e78044df9b95c6550298283956096c98e0401a8bf65aca2b1f537eabd204a87f6f00dc82d0a65dbd65845553c213335899464f7b5c3066e37f697d8a6c2b000
@@ -17,8 +17,8 @@ Compass::Frameworks.register('gridle', :path => extension_path)
17
17
  # a prerelease version
18
18
  # Date is in the form of YYYY-MM-DD
19
19
  module Extension
20
- VERSION = "1.3.26"
21
- DATE = "2014-07-08"
20
+ VERSION = "1.3.27"
21
+ DATE = "2014-07-14"
22
22
  end
23
23
 
24
24
  # This is where any custom SassScript should be placed. The functions will be
@@ -29,13 +29,13 @@
29
29
  // |------------------------------------------------------
30
30
  // |------------------------------------------------------
31
31
  // @created 25.03.13
32
- // @updated 08.07.14
32
+ // @updated 14.07.14
33
33
  // @author Olivier Bossel <olivier.bossel@gmail.com>
34
- // @version 1.3.26
34
+ // @version 1.3.27
35
35
  // |------------------------------------------------------
36
36
  // |------------------------------------------------------
37
37
 
38
- $_gridle-version : "1.3.26";
38
+ $_gridle-version : "1.3.27";
39
39
 
40
40
 
41
41
 
@@ -124,14 +124,14 @@
124
124
  $debug-show-class-names : _gridle_get_var_value(debug-show-class-names, $state);
125
125
 
126
126
  // vars :
127
- $width : percentage(1 / $context * $columns);
127
+ $width : percentage(1 / $context * ($columns / $name-multiplicator) );
128
128
 
129
129
  // set value :
130
130
  width:$width;
131
131
 
132
132
  // ie7 support :
133
133
  @if $ie7-support == true {
134
- *width: expression((this.parentNode.clientWidth/#{$context}*#{$columns} - parseInt(this.currentStyle['paddingLeft']) - parseInt(this.currentStyle['paddingRight'])) + 'px');
134
+ *width: expression((this.parentNode.clientWidth/#{$context}*#{($columns / $name-multiplicator)} - parseInt(this.currentStyle['paddingLeft']) - parseInt(this.currentStyle['paddingRight'])) + 'px');
135
135
  }
136
136
 
137
137
  // debug :
@@ -139,16 +139,16 @@
139
139
  #{$gridle-debug-selector} {
140
140
  &:before {
141
141
  @if $name == default {
142
- content:"grid-#{$name}-#{$columns * $name-multiplicator}";
142
+ content:"grid-#{$name}-#{$columns}";
143
143
  } @else {
144
- content:"grid-#{$name}-#{$columns * $name-multiplicator}" !important;
144
+ content:"grid-#{$name}-#{$columns}" !important;
145
145
  }
146
146
  }
147
147
  &.parent:before {
148
148
  @if $name == default {
149
- content:"grid-parent-#{$name}-#{$columns * $name-multiplicator}";
149
+ content:"grid-parent-#{$name}-#{$columns}";
150
150
  } @else {
151
- content:"grid-parent-#{$name}-#{$columns * $name-multiplicator}" !important;
151
+ content:"grid-parent-#{$name}-#{$columns}" !important;
152
152
  }
153
153
  }
154
154
  }
@@ -187,7 +187,7 @@
187
187
  $debug-show-class-names : _gridle_get_var_value(debug-show-class-names, $state);
188
188
 
189
189
  // vars :
190
- $width : percentage(1 / $context) * $columns;
190
+ $width : percentage(1 / $context) * ($columns / $name-multiplicator);
191
191
  @if $direction == rtl { $width : $width*-1; }
192
192
  left:$width;
193
193
 
@@ -196,9 +196,9 @@
196
196
  #{$gridle-debug-selector} {
197
197
  &:after {
198
198
  @if $name == default {
199
- content:"push-#{$name}-#{$columns * $name-multiplicator}";
199
+ content:"push-#{$name}-#{$columns}";
200
200
  } @else {
201
- content:"push-#{$name}-#{$columns * $name-multiplicator}" !important;
201
+ content:"push-#{$name}-#{$columns}" !important;
202
202
  }
203
203
  }
204
204
  }
@@ -238,7 +238,7 @@
238
238
  $debug-show-class-names : _gridle_get_var_value(debug-show-class-names, $state);
239
239
 
240
240
  // vars :
241
- $width : percentage(1 / $context) * $columns;
241
+ $width : percentage(1 / $context) * ($columns / $name-multiplicator);
242
242
  @if $direction == rtl { $width : $width*-1; }
243
243
  right:$width;
244
244
 
@@ -247,9 +247,9 @@
247
247
  #{$gridle-debug-selector} {
248
248
  &:after {
249
249
  @if $name == default {
250
- content:"pull-#{$name}-#{$columns * $name-multiplicator}";
250
+ content:"pull-#{$name}-#{$columns}";
251
251
  } @else {
252
- content:"pull-#{$name}-#{$columns * $name-multiplicator}" !important;
252
+ content:"pull-#{$name}-#{$columns}" !important;
253
253
  }
254
254
  }
255
255
  }
@@ -289,7 +289,7 @@
289
289
  $debug-show-class-names : _gridle_get_var_value(debug-show-class-names, $state);
290
290
 
291
291
  // vars :
292
- $width : percentage(1 / $context) * $columns;
292
+ $width : percentage(1 / $context) * ($columns / $name-multiplicator);
293
293
 
294
294
  // set value :
295
295
  @if $direction == rtl { margin-right:$width; }
@@ -300,9 +300,9 @@
300
300
  #{$gridle-debug-selector} {
301
301
  &:after {
302
302
  @if $name == default {
303
- content:"prefix-#{$name}-#{$columns * $name-multiplicator}";
303
+ content:"prefix-#{$name}-#{$columns}";
304
304
  } @else {
305
- content:"prefix-#{$name}-#{$columns * $name-multiplicator}" !important;
305
+ content:"prefix-#{$name}-#{$columns}" !important;
306
306
  }
307
307
  }
308
308
  }
@@ -342,7 +342,7 @@
342
342
  $debug-show-class-names : _gridle_get_var_value(debug-show-class-names, $state);
343
343
 
344
344
  // vars :
345
- $width : percentage(1 / $context) * $columns;
345
+ $width : percentage(1 / $context) * ($columns / $name-multiplicator);
346
346
 
347
347
  // set value :
348
348
  @if $direction == rtl { margin-left:$width; }
@@ -353,9 +353,9 @@
353
353
  #{$gridle-debug-selector} {
354
354
  &:after {
355
355
  @if $name == default {
356
- content:"suffix-#{$name}-#{$columns * $name-multiplicator}";
356
+ content:"suffix-#{$name}-#{$columns}";
357
357
  } @else {
358
- content:"suffix-#{$name}-#{$columns * $name-multiplicator}" !important;
358
+ content:"suffix-#{$name}-#{$columns}" !important;
359
359
  }
360
360
  }
361
361
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gridle
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.26
4
+ version: 1.3.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olivier Bossel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-08 00:00:00.000000000 Z
11
+ date: 2014-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass