illusion 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/sass/_ie.scss +28 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ace6300bba11b763c3966c8658398eccec46ccec
|
4
|
+
data.tar.gz: 4c68d2af903fcf6b1e0ebcf3f2fec78c5a4c2aea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e264d5d8c9c474b6c840e76d9d055bd2683ed03fbb8378e37359b9b2dba9c2d1191ee9294a408c9fa32a97f64d1d06925f989068222e73bb0135e2c25e37486a
|
7
|
+
data.tar.gz: be0cdd3c3c71170941afbce62b5b12cb514a42afffff51940d993bfe5888faa60acb0a779fea3d209747cf9b7cf95a6a819da9e545013d8e772f90227d728ea4
|
data/sass/_ie.scss
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
$fix-mqs: false !default;
|
2
|
+
|
3
|
+
@mixin respond-min($width) {
|
4
|
+
// If we're outputting for a fixed media query set...
|
5
|
+
@if $fix-mqs {
|
6
|
+
// ...and if we should apply these rules...
|
7
|
+
@if $fix-mqs >= $width {
|
8
|
+
// ...output the content the user gave us.
|
9
|
+
@content;
|
10
|
+
}
|
11
|
+
} @else {
|
12
|
+
// Otherwise, output it using a regular media query
|
13
|
+
@media screen and (min-width: $width) {
|
14
|
+
@content;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
// I also have a respond-max mixin, that does what you might expect
|
20
|
+
|
21
|
+
$old-ie: false !default;
|
22
|
+
|
23
|
+
@mixin old-ie {
|
24
|
+
// Only use this content if we're dealing with old IE
|
25
|
+
@if $old-ie {
|
26
|
+
@content;
|
27
|
+
}
|
28
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: illusion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Janssens
|
@@ -91,6 +91,7 @@ files:
|
|
91
91
|
- LICENSE.txt
|
92
92
|
- README.rdoc
|
93
93
|
- lib/illusion.rb
|
94
|
+
- sass/_ie.scss
|
94
95
|
- sass/_illusion.scss
|
95
96
|
homepage: http://github.com/timble/illusion
|
96
97
|
licenses:
|