compass-respond 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +16 -0
- data/VERSION.yml +1 -1
- data/lib/stylesheets/_respond-above.sass +1 -3
- data/lib/stylesheets/_respond-to.sass +3 -0
- metadata +48 -60
data/README.md
CHANGED
@@ -10,6 +10,14 @@ There are two parts to this...
|
|
10
10
|
+respond-to example
|
11
11
|
-------------------
|
12
12
|
|
13
|
+
Options:
|
14
|
+
|
15
|
+
* handhelds
|
16
|
+
* wide-handhelds
|
17
|
+
* tablets
|
18
|
+
* desktops
|
19
|
+
* retina
|
20
|
+
|
13
21
|
SASS:
|
14
22
|
|
15
23
|
@import "respond-to"
|
@@ -39,6 +47,14 @@ CSS:
|
|
39
47
|
+respond-above example
|
40
48
|
----------------------
|
41
49
|
|
50
|
+
Options:
|
51
|
+
|
52
|
+
* xs
|
53
|
+
* s
|
54
|
+
* m
|
55
|
+
* l
|
56
|
+
* xl
|
57
|
+
|
42
58
|
SASS:
|
43
59
|
|
44
60
|
@import "respond-above"
|
data/VERSION.yml
CHANGED
@@ -22,6 +22,4 @@ $respond-above-xl: 1382px !default
|
|
22
22
|
@else if $screen-size == xl
|
23
23
|
@media only screen and (min-width: $respond-above-xl)
|
24
24
|
@content
|
25
|
-
|
26
|
-
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5)
|
27
|
-
@content
|
25
|
+
|
@@ -23,3 +23,6 @@ $respond-to-desktops-min: ($respond-to-tablets-max + 1) !default
|
|
23
23
|
@else if $device == desktops
|
24
24
|
@media only screen and (min-width: $respond-to-desktops-min)
|
25
25
|
@content
|
26
|
+
@else if $device == retina
|
27
|
+
@media only screen and (-webkit-min-device-pixel-ratio: 2)
|
28
|
+
@content
|
metadata
CHANGED
@@ -1,59 +1,54 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass-respond
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 0
|
8
|
-
- 2
|
9
|
-
version: 0.0.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.3
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Mike Stenhouse
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-09-09 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: sass
|
22
|
-
|
23
|
-
|
24
|
-
requirements:
|
25
|
-
- -
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
segments:
|
28
|
-
- 3
|
29
|
-
- 2
|
30
|
-
- 0
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
31
21
|
version: 3.2.0
|
32
22
|
type: :runtime
|
33
|
-
version_requirements: *id001
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: compass
|
36
23
|
prerelease: false
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.2.0
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: compass
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
45
37
|
version: 0.11.7
|
46
38
|
type: :runtime
|
47
|
-
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 0.11.7
|
48
46
|
description: Easier media queries for Compass.
|
49
47
|
email: mike@donotremove.co.uk
|
50
48
|
executables: []
|
51
|
-
|
52
49
|
extensions: []
|
53
|
-
|
54
50
|
extra_rdoc_files: []
|
55
|
-
|
56
|
-
files:
|
51
|
+
files:
|
57
52
|
- README.md
|
58
53
|
- VERSION.yml
|
59
54
|
- Rakefile
|
@@ -61,35 +56,28 @@ files:
|
|
61
56
|
- lib/stylesheets/_respond-above.sass
|
62
57
|
- lib/stylesheets/_respond-to.sass
|
63
58
|
- lib/version.rb
|
64
|
-
has_rdoc: true
|
65
59
|
homepage: http://github.com/mikesten/compass-respond
|
66
60
|
licenses: []
|
67
|
-
|
68
61
|
post_install_message:
|
69
62
|
rdoc_options: []
|
70
|
-
|
71
|
-
require_paths:
|
63
|
+
require_paths:
|
72
64
|
- lib
|
73
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
requirements:
|
82
|
-
- -
|
83
|
-
- !ruby/object:Gem::Version
|
84
|
-
|
85
|
-
- 0
|
86
|
-
version: "0"
|
65
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
67
|
+
requirements:
|
68
|
+
- - ! '>='
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '0'
|
71
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
87
77
|
requirements: []
|
88
|
-
|
89
78
|
rubyforge_project:
|
90
|
-
rubygems_version: 1.
|
79
|
+
rubygems_version: 1.8.24
|
91
80
|
signing_key:
|
92
81
|
specification_version: 3
|
93
82
|
summary: Easier media queries for Compass.
|
94
83
|
test_files: []
|
95
|
-
|