boarding_pass 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -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
|
+
}
|