boarding_pass 0.1.6 → 0.1.7

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.
@@ -14,15 +14,30 @@
14
14
  opacity: #{$level};
15
15
  }
16
16
 
17
- // Media Queries
18
- @mixin retina {
19
- @media only screen and (-moz-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5){
20
- @content;
21
- }
22
- }
23
-
24
17
  // Remove margins & style from a list
25
18
  @mixin unstyled-list {
26
19
  list-style: none outside;
27
20
  margin: 0;
28
21
  }
22
+
23
+ // Prepend selectors with a class specific to old IE
24
+ @mixin media-ie($args...) {
25
+
26
+ @if length($args) > 0 {
27
+ @include media($args) {
28
+ @content;
29
+ }
30
+ }
31
+
32
+ .old-ie & {
33
+ @content;
34
+ }
35
+
36
+ }
37
+
38
+ // Add min-width to containers for old IE
39
+ @mixin ie-width {
40
+ .old-ie & {
41
+ min-width: $breakpoint-ipad;
42
+ }
43
+ }
@@ -1,3 +1,3 @@
1
1
  module BoardingPass
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boarding_pass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: