]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
issue-10628: Define variables before use in _breakpoint.scss 10629/head
authorRobert Gaul <gaulrobe@gmail.com>
Fri, 8 Sep 2017 18:55:11 +0000 (14:55 -0400)
committerRobert Gaul <gaulrobe@gmail.com>
Fri, 8 Sep 2017 18:55:11 +0000 (14:55 -0400)
scss/util/_breakpoint.scss

index dbfae8c4bcd2a6980930104a7c799dddbfb8de42..8948c7baccc5bac417e0c6ff5cc7628028b21e86 100644 (file)
@@ -323,26 +323,40 @@ $breakpoint-classes: (small medium large) !default;
   }
 }
 
+$small-up: '';
+$small-only: '';
+
 @if map-has-key($breakpoints, small) {
   $small-up: screen;
   $small-only: unquote('screen and #{breakpoint(small only)}');
 }
 
+$medium-up: '';
+$medium-only: '';
+
 @if map-has-key($breakpoints, medium) {
   $medium-up: unquote('screen and #{breakpoint(medium)}');
   $medium-only: unquote('screen and #{breakpoint(medium only)}');
 }
 
+$large-up: '';
+$large-only: '';
+
 @if map-has-key($breakpoints, large) {
   $large-up: unquote('screen and #{breakpoint(large)}');
   $large-only: unquote('screen and #{breakpoint(large only)}');
 }
 
+$xlarge-up: '';
+$xlarge-only: '';
+
 @if map-has-key($breakpoints, xlarge) {
   $xlarge-up: unquote('screen and #{breakpoint(xlarge)}');
   $xlarge-only: unquote('screen and #{breakpoint(xlarge only)}');
 }
 
+$xxlarge-up: '';
+
 @if map-has-key($breakpoints, xxlarge) {
   $xxlarge-up: unquote('screen and #{breakpoint(xxlarge)}');
 }