breakpoint 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +1 -0
- data/lib/breakpoint.rb +2 -2
- data/stylesheets/_breakpoint.scss +11 -1
- metadata +3 -3
data/README.markdown
CHANGED
@@ -31,6 +31,7 @@ We love contributors! Yes we do! If you would like to contribute to Breakpoint,
|
|
31
31
|
Breakpoint is designed to be a Media Query engine to power everything from design tweaks to media query contexts to full media query fallbacks. But we also know that our users will build awesome thing with these tools. Build a Breakpoint powered mixin for new media query semantics? We want to hear about it! Build something cool with Context? Let us know! If you would like to add your Awesome Thing to the list, please issue a Pull Request to add it!
|
32
32
|
|
33
33
|
* [Singularity](https://github.com/Team-Sass/Singularity) - Semantic Grid System
|
34
|
+
* [Breakpoint Slicer](https://github.com/lolmaus/breakpoint-slicer) - Quick and efficient syntax for Min/Max Width media queries
|
34
35
|
|
35
36
|
## License
|
36
37
|
|
data/lib/breakpoint.rb
CHANGED
@@ -125,8 +125,18 @@ $breakpoint-legacy-syntax: false !default;
|
|
125
125
|
}
|
126
126
|
}
|
127
127
|
|
128
|
+
// Write Fallback
|
128
129
|
@if ($query-fallback != false) and ($print == true) {
|
129
|
-
|
130
|
+
$type-fallback: type-of($query-fallback);
|
131
|
+
@debug $query-fallback;
|
132
|
+
@debug $type-fallback;
|
133
|
+
|
134
|
+
@if ($type-fallback != 'bool') {
|
135
|
+
#{$query-fallback} & {
|
136
|
+
@content;
|
137
|
+
}
|
138
|
+
}
|
139
|
+
@else {
|
130
140
|
@content;
|
131
141
|
}
|
132
142
|
}
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 2
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 2.0.
|
8
|
+
- 3
|
9
|
+
version: 2.0.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Mason Wendell
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-04-
|
18
|
+
date: 2012-04-25 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|