respond-to 2.0.3 → 2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/stylesheets/_respond-to.scss +2 -4
- metadata +6 -7
@@ -6,16 +6,15 @@
|
|
6
6
|
////////////////////////
|
7
7
|
// Default the Breakpoints variable
|
8
8
|
////////////////////////
|
9
|
-
$breakpoints:
|
9
|
+
$breakpoints: () !default;
|
10
10
|
|
11
11
|
////////////////////////
|
12
12
|
// Respond-to API Mixin
|
13
13
|
////////////////////////
|
14
14
|
@mixin respond-to($context, $media: $breakpoint-default-media) {
|
15
|
-
@if $breakpoints !=
|
15
|
+
@if length($breakpoints) != 0 {
|
16
16
|
@each $bkpt in $breakpoints {
|
17
17
|
@if $context == nth($bkpt, 1) {
|
18
|
-
@debug $bkpt;
|
19
18
|
$length: length($bkpt);
|
20
19
|
$mq: false !default;
|
21
20
|
|
@@ -29,7 +28,6 @@ $breakpoints: false !default;
|
|
29
28
|
$mq: join($mq, nth($bkpt, $i));
|
30
29
|
}
|
31
30
|
}
|
32
|
-
@debug $mq;
|
33
31
|
|
34
32
|
@include breakpoint($mq, $media) {
|
35
33
|
@content;
|
metadata
CHANGED
@@ -4,9 +4,8 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 2
|
7
|
-
-
|
8
|
-
|
9
|
-
version: 2.0.3
|
7
|
+
- 1
|
8
|
+
version: "2.1"
|
10
9
|
platform: ruby
|
11
10
|
authors:
|
12
11
|
- Sam Richard
|
@@ -14,7 +13,7 @@ autorequire:
|
|
14
13
|
bindir: bin
|
15
14
|
cert_chain: []
|
16
15
|
|
17
|
-
date: 2011-07-
|
16
|
+
date: 2011-07-31 00:00:00 -04:00
|
18
17
|
default_executable:
|
19
18
|
dependencies:
|
20
19
|
- !ruby/object:Gem::Dependency
|
@@ -26,12 +25,12 @@ dependencies:
|
|
26
25
|
- !ruby/object:Gem::Version
|
27
26
|
segments:
|
28
27
|
- 1
|
29
|
-
- 0
|
30
28
|
- 1
|
31
|
-
|
29
|
+
- 1
|
30
|
+
version: 1.1.1
|
32
31
|
type: :runtime
|
33
32
|
version_requirements: *id001
|
34
|
-
description:
|
33
|
+
description: Semantic Media Query Handling
|
35
34
|
email:
|
36
35
|
- snugug@gmail.com
|
37
36
|
executables: []
|