responder 0.0.1.alpha.7 → 0.0.1
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.
- data/README.md +3 -3
- data/lib/responder/version.rb +1 -1
- data/scss/responder.scss +2 -2
- metadata +8 -12
data/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Magic media queries for your Compass project. You define the breakpoints, Responder takes care of the rest.
|
|
4
4
|
|
|
5
|
-
Forget about
|
|
5
|
+
Forget about long lists of unmanageable and unreusable variables and mixins. Responder is the simplest and fastest way to start using media queries in your project. In a matter of seconds you're ready to go.
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
@@ -42,7 +42,7 @@ Responder will do the math for you and convert your breakpoint values into ems.
|
|
|
42
42
|
|
|
43
43
|
$responder-ems-context: $my-own-context;
|
|
44
44
|
|
|
45
|
-
**I
|
|
45
|
+
**I prefer pixel breakpoints!** Easy:
|
|
46
46
|
|
|
47
47
|
$responder-use-ems: false;
|
|
48
48
|
|
|
@@ -93,7 +93,7 @@ For each breakpoint you've defined you now have 3 available parameters for the r
|
|
|
93
93
|
|
|
94
94
|
#### Breakpoint Groups
|
|
95
95
|
|
|
96
|
-
You might have noticed from the example above that we
|
|
96
|
+
You might have noticed from the example above that we were able to `respond-to(mobile-only)`, but how? We didn't define any mobile (only) breakpoint in our list. Well, that's some of the magic behind Responder. It automatically creates breakpoint groups based on your breakpoint names.
|
|
97
97
|
|
|
98
98
|
Groups are sets of breakpoints whose names share the same root followed by a dash (-). For example `mobile` is the group Responder creates for the `mobile-portrait` and `mobile-landscape` breakpoints.
|
|
99
99
|
|
data/lib/responder/version.rb
CHANGED
data/scss/responder.scss
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// =============================================================================
|
|
2
2
|
// Responder
|
|
3
3
|
//
|
|
4
|
-
// Magic media queries for your Compass project. You define the breakpoints,
|
|
4
|
+
// Magic media queries for your Compass project. You define the breakpoints,
|
|
5
5
|
// Responder takes care of the rest.
|
|
6
6
|
//
|
|
7
7
|
// More info, installation and usage:
|
|
8
|
-
// https://github.com/danielguillan/
|
|
8
|
+
// https://github.com/danielguillan/responder
|
|
9
9
|
//
|
|
10
10
|
// Table of contents:
|
|
11
11
|
// 1. Variables
|
metadata
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: responder
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
5
|
-
prerelease:
|
|
4
|
+
hash: 29
|
|
5
|
+
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
9
|
- 1
|
|
10
|
-
|
|
11
|
-
- 7
|
|
12
|
-
version: 0.0.1.alpha.7
|
|
10
|
+
version: 0.0.1
|
|
13
11
|
platform: ruby
|
|
14
12
|
authors:
|
|
15
13
|
- Daniel Guillan
|
|
@@ -17,7 +15,7 @@ autorequire:
|
|
|
17
15
|
bindir: bin
|
|
18
16
|
cert_chain: []
|
|
19
17
|
|
|
20
|
-
date: 2012-10-
|
|
18
|
+
date: 2012-10-15 00:00:00 Z
|
|
21
19
|
dependencies:
|
|
22
20
|
- !ruby/object:Gem::Dependency
|
|
23
21
|
name: sass
|
|
@@ -110,14 +108,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
110
108
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
111
109
|
none: false
|
|
112
110
|
requirements:
|
|
113
|
-
- - "
|
|
111
|
+
- - ">="
|
|
114
112
|
- !ruby/object:Gem::Version
|
|
115
|
-
hash:
|
|
113
|
+
hash: 3
|
|
116
114
|
segments:
|
|
117
|
-
-
|
|
118
|
-
|
|
119
|
-
- 1
|
|
120
|
-
version: 1.3.1
|
|
115
|
+
- 0
|
|
116
|
+
version: "0"
|
|
121
117
|
requirements: []
|
|
122
118
|
|
|
123
119
|
rubyforge_project:
|