|
|
|
@each $breakpoint in map-keys($grid-breakpoints) { |
|
|
|
|
|
@include media-breakpoint-up($breakpoint) { |
|
$infix: breakpoint-infix($breakpoint, $grid-breakpoints); |
|
|
|
|
|
@each $key, $utility in $utilities { |
|
|
|
|
|
@if type-of($utility) == "map" and (map-get($utility, responsive) or $infix == "") { |
|
@include generate-utility($utility, $infix); |
|
} |
|
} |
|
} |
|
} |
|
|
|
|
|
@media (min-width: $rfs-mq-value) { |
|
@each $breakpoint in map-keys($grid-breakpoints) { |
|
$infix: breakpoint-infix($breakpoint, $grid-breakpoints); |
|
|
|
@if (map-get($grid-breakpoints, $breakpoint) < $rfs-breakpoint) { |
|
|
|
@each $key, $utility in $utilities { |
|
|
|
|
|
@if type-of($utility) == "map" and map-get($utility, rfs) and (map-get($utility, responsive) or $infix == "") { |
|
@include generate-utility($utility, $infix, true); |
|
} |
|
} |
|
} |
|
} |
|
} |
|
|
|
|
|
|
|
@media print { |
|
@each $key, $utility in $utilities { |
|
|
|
|
|
@if type-of($utility) == "map" and map-get($utility, print) == true { |
|
@include generate-utility($utility, "-print"); |
|
} |
|
} |
|
} |
|
|