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