1 |
|
2 | @each $breakpoint in map-keys($grid-breakpoints) {
|
3 |
|
4 |
|
5 | @include media-breakpoint-up($breakpoint) {
|
6 | $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
7 |
|
8 |
|
9 | @each $key, $utility in $utilities {
|
10 |
|
11 |
|
12 | @if type-of($utility) == "map" and (map-get($utility, responsive) or $infix == "") {
|
13 | @include generate-utility($utility, $infix);
|
14 | }
|
15 | }
|
16 | }
|
17 | }
|
18 |
|
19 |
|
20 | @media (min-width: $rfs-mq-value) {
|
21 | @each $breakpoint in map-keys($grid-breakpoints) {
|
22 | $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
23 |
|
24 | @if (map-get($grid-breakpoints, $breakpoint) < $rfs-breakpoint) {
|
25 |
|
26 | @each $key, $utility in $utilities {
|
27 |
|
28 |
|
29 | @if type-of($utility) == "map" and map-get($utility, rfs) and (map-get($utility, responsive) or $infix == "") {
|
30 | @include generate-utility($utility, $infix, true);
|
31 | }
|
32 | }
|
33 | }
|
34 | }
|
35 | }
|
36 |
|
37 |
|
38 |
|
39 | @media print {
|
40 | @each $key, $utility in $utilities {
|
41 |
|
42 |
|
43 | @if type-of($utility) == "map" and map-get($utility, print) == true {
|
44 | @include generate-utility($utility, "-print");
|
45 | }
|
46 | }
|
47 | }
|