gridle 1.3.26 → 1.3.27
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.
- checksums.yaml +4 -4
- data/lib/gridle.rb +2 -2
- data/stylesheets/gridle/_gridle.scss +3 -3
- data/stylesheets/gridle/_mixins.scss +18 -18
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a7e42d4f361620beea144a2a237fc5add61dbba
|
4
|
+
data.tar.gz: 113d7ad36be92c39b6768330e9ae19f61ab13478
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6d436bc519a97772a4fbb7dc7e26056a7971182cf819129866d6dcc24b85f8594f675b87269445f5c9ed3ca7d9e33c61b0dba355220c470204b2ddb2363fa3a
|
7
|
+
data.tar.gz: 8e78044df9b95c6550298283956096c98e0401a8bf65aca2b1f537eabd204a87f6f00dc82d0a65dbd65845553c213335899464f7b5c3066e37f697d8a6c2b000
|
data/lib/gridle.rb
CHANGED
@@ -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.
|
21
|
-
DATE = "2014-07-
|
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
|
32
|
+
// @updated 14.07.14
|
33
33
|
// @author Olivier Bossel <olivier.bossel@gmail.com>
|
34
|
-
// @version 1.3.
|
34
|
+
// @version 1.3.27
|
35
35
|
// |------------------------------------------------------
|
36
36
|
// |------------------------------------------------------
|
37
37
|
|
38
|
-
$_gridle-version : "1.3.
|
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
|
142
|
+
content:"grid-#{$name}-#{$columns}";
|
143
143
|
} @else {
|
144
|
-
content:"grid-#{$name}-#{$columns
|
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
|
149
|
+
content:"grid-parent-#{$name}-#{$columns}";
|
150
150
|
} @else {
|
151
|
-
content:"grid-parent-#{$name}-#{$columns
|
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
|
199
|
+
content:"push-#{$name}-#{$columns}";
|
200
200
|
} @else {
|
201
|
-
content:"push-#{$name}-#{$columns
|
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
|
250
|
+
content:"pull-#{$name}-#{$columns}";
|
251
251
|
} @else {
|
252
|
-
content:"pull-#{$name}-#{$columns
|
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
|
303
|
+
content:"prefix-#{$name}-#{$columns}";
|
304
304
|
} @else {
|
305
|
-
content:"prefix-#{$name}-#{$columns
|
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
|
356
|
+
content:"suffix-#{$name}-#{$columns}";
|
357
357
|
} @else {
|
358
|
-
content:"suffix-#{$name}-#{$columns
|
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.
|
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-
|
11
|
+
date: 2014-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|