gridle 1.3.3 → 1.3.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gridle.rb +4 -5
- data/stylesheets/gridle/_common-mixins.scss +19 -24
- data/stylesheets/gridle/_functions.scss +29 -31
- data/stylesheets/gridle/_generate-mixins.scss +182 -339
- data/stylesheets/gridle/_gridle.scss +4 -15
- data/stylesheets/gridle/_mixins.scss +52 -159
- data/stylesheets/gridle/_settings-mixins.scss +3 -4
- data/stylesheets/gridle/_settings.scss +0 -3
- metadata +2 -3
- data/stylesheets/gridle/_default-states.scss +0 -35
@@ -11,9 +11,8 @@
|
|
11
11
|
$settings : ()
|
12
12
|
) {
|
13
13
|
$_gridle-settings : map-merge((
|
14
|
-
name : default,
|
15
14
|
min-width : null,
|
16
|
-
max-width :
|
15
|
+
max-width : 99999999px,
|
17
16
|
query : null,
|
18
17
|
classes : true,
|
19
18
|
context : 12,
|
@@ -55,7 +54,7 @@
|
|
55
54
|
/**
|
56
55
|
* Register a clear each class
|
57
56
|
*/
|
58
|
-
@mixin gridle_register_clear_each(
|
57
|
+
@mixin gridle_register_clear_each (
|
59
58
|
$count,
|
60
59
|
$clearWhat
|
61
60
|
) {
|
@@ -126,7 +125,7 @@
|
|
126
125
|
* @para m String $device The device to use (iphone, etc...)
|
127
126
|
*/
|
128
127
|
@mixin gridle_set_debug_device(
|
129
|
-
$state :
|
128
|
+
$state : null,
|
130
129
|
$device : null
|
131
130
|
) {
|
132
131
|
|
@@ -4,8 +4,6 @@
|
|
4
4
|
// |------------------------------------------------------
|
5
5
|
// |------------------------------------------------------
|
6
6
|
|
7
|
-
$gridle-generate-json-settings : true !default;
|
8
|
-
|
9
7
|
$gridle-debug-selector : ".gridle-debug &, &.gridle-debug" !default;
|
10
8
|
|
11
9
|
$gridle-class-prefix : '' !default;
|
@@ -28,7 +26,6 @@ $gridle-vertical-align-bottom-name-pattern : ('vertical','%-','align','%-','%s
|
|
28
26
|
|
29
27
|
$gridle-hide-name-pattern : ('hide','%-','%state') !default;
|
30
28
|
$gridle-show-name-pattern : ('show','%-','%state') !default;
|
31
|
-
$gridle-show-inline-name-pattern : ('show','%-','inline','%-','%state') !default;
|
32
29
|
$gridle-not-visible-name-pattern : ('not','%-','visible','%-','%state') !default;
|
33
30
|
$gridle-visible-name-pattern : ('visible','%-','%state') !default;
|
34
31
|
|
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.11
|
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-
|
11
|
+
date: 2014-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|
@@ -35,7 +35,6 @@ files:
|
|
35
35
|
- lib/gridle.rb
|
36
36
|
- stylesheets/_gridle.scss
|
37
37
|
- stylesheets/gridle/_common-mixins.scss
|
38
|
-
- stylesheets/gridle/_default-states.scss
|
39
38
|
- stylesheets/gridle/_functions.scss
|
40
39
|
- stylesheets/gridle/_generate-mixins.scss
|
41
40
|
- stylesheets/gridle/_gridle.scss
|
@@ -1,35 +0,0 @@
|
|
1
|
-
// |------------------------------------------------------
|
2
|
-
// |------------------------------------------------------
|
3
|
-
// | Default states
|
4
|
-
// |------------------------------------------------------
|
5
|
-
// |------------------------------------------------------
|
6
|
-
|
7
|
-
// retina
|
8
|
-
@include gridle_register_state("retina", (
|
9
|
-
query : "(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)",
|
10
|
-
classes : false
|
11
|
-
) );
|
12
|
-
|
13
|
-
// tv
|
14
|
-
@include gridle_register_state("tv", (
|
15
|
-
query : "only tv",
|
16
|
-
classes : false
|
17
|
-
) );
|
18
|
-
|
19
|
-
// print
|
20
|
-
@include gridle_register_state("print", (
|
21
|
-
query : "only print",
|
22
|
-
classes : false
|
23
|
-
) );
|
24
|
-
|
25
|
-
// portrait
|
26
|
-
@include gridle_register_state("portrait", (
|
27
|
-
query : "only screen and (orientation: portrait)",
|
28
|
-
classes : false
|
29
|
-
) );
|
30
|
-
|
31
|
-
// landscape
|
32
|
-
@include gridle_register_state("landscape", (
|
33
|
-
query : "only screen and (orientation: landscape)",
|
34
|
-
classes : false
|
35
|
-
) );
|