2017-10-03 06:34:56 +03:00
|
|
|
// stylelint-disable declaration-no-important
|
|
|
|
|
2016-04-02 14:11:18 -07:00
|
|
|
//
|
2017-03-03 12:58:57 -08:00
|
|
|
// Utilities for common `display` values
|
2016-04-02 14:11:18 -07:00
|
|
|
//
|
|
|
|
|
2016-10-31 21:27:56 -07:00
|
|
|
@each $breakpoint in map-keys($grid-breakpoints) {
|
|
|
|
@include media-breakpoint-up($breakpoint) {
|
2016-11-28 14:23:59 -07:00
|
|
|
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
2016-10-31 21:27:56 -07:00
|
|
|
|
2018-12-29 03:54:58 +01:00
|
|
|
@each $value in $displays {
|
|
|
|
.d#{$infix}-#{$value} { display: $value !important; }
|
|
|
|
}
|
2016-10-31 21:27:56 -07:00
|
|
|
}
|
2016-04-02 14:11:18 -07:00
|
|
|
}
|
2017-03-03 12:58:57 -08:00
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// Utilities for toggling `display` in print
|
|
|
|
//
|
|
|
|
|
2018-01-17 17:29:28 -08:00
|
|
|
@media print {
|
2018-12-29 03:54:58 +01:00
|
|
|
@each $value in $displays {
|
|
|
|
.d-print-#{$value} { display: $value !important; }
|
|
|
|
}
|
2017-03-03 12:58:57 -08:00
|
|
|
}
|