gridle 1.3.22 → 1.3.23
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/_generate-mixins.scss +31 -9
- data/stylesheets/gridle/_gridle.scss +3 -3
- 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: 502e876a9bb32e62ab88e94a549fd5d57df92f89
|
4
|
+
data.tar.gz: 76b1f63c0af2e294d6df74cea34bf8badb3de02c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5202959a259041ddb9a81442d088acd33fc27b5495283f19410ff3eef579bb178555370e054df52b279c0bb6537bf4c743d0eadcea0a83184e08748171a633ec
|
7
|
+
data.tar.gz: 34324f0a7aa730e713a92f6bd837eeb80363387450241e62190c32b3b8fc8981474c51aac3bf62657ecca7b384df43bb97c7978c06f2b1e75b7c7e57e6eea4d0
|
data/lib/gridle.rb
CHANGED
@@ -16,8 +16,8 @@
|
|
16
16
|
# a prerelease version
|
17
17
|
# Date is in the form of YYYY-MM-DD
|
18
18
|
module Extension
|
19
|
-
VERSION = "1.3.
|
20
|
-
DATE = "2014-06-
|
19
|
+
VERSION = "1.3.23"
|
20
|
+
DATE = "2014-06-11"
|
21
21
|
end
|
22
22
|
|
23
23
|
# This is where any custom SassScript should be placed. The functions will be
|
@@ -197,7 +197,7 @@
|
|
197
197
|
|
198
198
|
// debug colors :
|
199
199
|
$debug : _gridle_get_var_value(debug, $state);
|
200
|
-
@if $debug {
|
200
|
+
@if $debug and ( $what == null or index($what, debug_colors) or index($what, helpers) ) {
|
201
201
|
// debug color classes :
|
202
202
|
#{_gridle_classname($gridle-debug-color-name-pattern, $state, 1)} {
|
203
203
|
#{$gridle-debug-selector} {
|
@@ -310,15 +310,37 @@
|
|
310
310
|
$what : null,
|
311
311
|
$scope : null
|
312
312
|
) {
|
313
|
-
//
|
314
|
-
@if $
|
315
|
-
|
316
|
-
|
317
|
-
|
313
|
+
// if the what parameter is not null, mean that we need to generate only certain classes in a certain order :
|
314
|
+
@if $what
|
315
|
+
{
|
316
|
+
// loop on each what item to generate the corresponding classes :
|
317
|
+
@each $w in $what
|
318
|
+
{
|
319
|
+
// check if a scope exist :
|
320
|
+
@if $scope {
|
321
|
+
// wrapp grid into scope :
|
322
|
+
.#{$scope} {
|
323
|
+
@include _gridle_generate_classes($stateName, ( $w ), true);
|
324
|
+
}
|
325
|
+
} @else {
|
326
|
+
// generate classes :
|
327
|
+
@include _gridle_generate_classes($stateName, ( $w ), false);
|
328
|
+
}
|
329
|
+
}
|
330
|
+
}
|
331
|
+
@else
|
332
|
+
{
|
333
|
+
// don't have any "what" parameter so generate all the classes
|
334
|
+
// check if a scope exist :
|
335
|
+
@if $scope {
|
336
|
+
// wrapp grid into scope :
|
337
|
+
.#{$scope} {
|
338
|
+
@include _gridle_generate_classes($stateName, null, true);
|
339
|
+
}
|
340
|
+
} @else {
|
341
|
+
// generate classes :
|
342
|
+
@include _gridle_generate_classes($stateName, null, false);
|
318
343
|
}
|
319
|
-
} @else {
|
320
|
-
// generate classes :
|
321
|
-
@include _gridle_generate_classes($stateName, $what, false);
|
322
344
|
}
|
323
345
|
}
|
324
346
|
$_gridle_generateOnlyOnce : true; // keep track of generate once classes
|
@@ -29,13 +29,13 @@
|
|
29
29
|
// |------------------------------------------------------
|
30
30
|
// |------------------------------------------------------
|
31
31
|
// @created 25.03.13
|
32
|
-
// @updated
|
32
|
+
// @updated 11.06.14
|
33
33
|
// @author Olivier Bossel <olivier.bossel@gmail.com>
|
34
|
-
// @version 1.3.
|
34
|
+
// @version 1.3.23
|
35
35
|
// |------------------------------------------------------
|
36
36
|
// |------------------------------------------------------
|
37
37
|
|
38
|
-
$_gridle-version : "1.3.
|
38
|
+
$_gridle-version : "1.3.23";
|
39
39
|
|
40
40
|
|
41
41
|
|
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.23
|
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-06-
|
11
|
+
date: 2014-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|