illusion 0.2.0 → 0.2.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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/sass/_ie.scss +28 -0
  3. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 304ea17912b843bc60c6c0413f28d787b51bfdb0
4
- data.tar.gz: ebc240dee29dec04a2be15322c9dfd88c0c8de3f
3
+ metadata.gz: ace6300bba11b763c3966c8658398eccec46ccec
4
+ data.tar.gz: 4c68d2af903fcf6b1e0ebcf3f2fec78c5a4c2aea
5
5
  SHA512:
6
- metadata.gz: 6ac5a9288c41e87f212864e087c45698642815e55d9be2674b10ba135086d8db6df112d3153f8fac814b36fb3d2b4d0a2d00d0838daaf54de6457ad84e7545d3
7
- data.tar.gz: 32a938116ff25e2cf586e737230fb39b22bc42a51f2473568e362a84b55dd637670e2b5654f2d127273d2509e401a1f49e15b656cc547051f9412dd4e5ddecbf
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.0
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: