Sha256: 5b5ea29b231d48493c150e0e964f8f3214361f66cab7db2e4b86a01b7e0dc3ae
Contents?: true
Size: 1012 Bytes
Versions: 5
Compression:
Stored size: 1012 Bytes
Contents
// Loop over each breakpoint @each $breakpoint in map-keys($grid-breakpoints) { // Generate media query if needed @include media-breakpoint-up($breakpoint) { $infix: breakpoint-infix($breakpoint, $grid-breakpoints); // Loop over each utility property @each $key, $utility in $utilities { // The utility can be disabled with `false`, thus check if the utility is a map first // Only proceed if responsive media queries are enabled or if it's the base media query @if type-of($utility) == "map" and (map-get($utility, responsive) or $infix == "") { @include generate-utility($utility, $infix); } } } } // Print utilities @media print { @each $key, $utility in $utilities { // The utility can be disabled with `false`, thus check if the utility is a map first // Then check if the utility needs print styles @if type-of($utility) == "map" and map-get($utility, print) == true { @include generate-utility($utility, "-print"); } } }
Version data entries
5 entries across 5 versions & 1 rubygems