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