breakpoint 2.0.4 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/breakpoint.rb +1 -1
- data/stylesheets/_breakpoint.scss +5 -5
- metadata +2 -2
data/lib/breakpoint.rb
CHANGED
@@ -13,7 +13,7 @@ $breakpoint-resolutions: true !default;
|
|
13
13
|
|
14
14
|
// Default No Query Options
|
15
15
|
$breakpoint-no-queries: false !default;
|
16
|
-
$breakpoint-no-query-
|
16
|
+
$breakpoint-no-query-fallbacks: false !default;
|
17
17
|
|
18
18
|
// Deftault Base Font Size
|
19
19
|
$breakpoint-base-font-size: 16px !default;
|
@@ -104,21 +104,21 @@ $breakpoint-legacy-syntax: false !default;
|
|
104
104
|
}
|
105
105
|
}
|
106
106
|
|
107
|
-
@if $breakpoint-no-query-
|
107
|
+
@if $breakpoint-no-query-fallbacks != false {
|
108
108
|
|
109
|
-
$type: type-of($breakpoint-no-query-
|
109
|
+
$type: type-of($breakpoint-no-query-fallbacks);
|
110
110
|
$print: false;
|
111
111
|
|
112
112
|
@if ($type == 'bool') {
|
113
113
|
$print: true;
|
114
114
|
}
|
115
115
|
@else if ($type == 'string') {
|
116
|
-
@if $query-fallback == $breakpoint-no-query-
|
116
|
+
@if $query-fallback == $breakpoint-no-query-fallbacks {
|
117
117
|
$print: true;
|
118
118
|
}
|
119
119
|
}
|
120
120
|
@else if ($type == 'list') {
|
121
|
-
@each $wrapper in $breakpoint-no-query-
|
121
|
+
@each $wrapper in $breakpoint-no-query-fallbacks {
|
122
122
|
@if $query-fallback == $wrapper {
|
123
123
|
$print: true;
|
124
124
|
}
|