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
|
|
|
|
2016-11-28 22:23:59 +01:00
|
|
|
.d#{$infix}-none { display: none !important; }
|
|
|
|
.d#{$infix}-inline { display: inline !important; }
|
|
|
|
.d#{$infix}-inline-block { display: inline-block !important; }
|
|
|
|
.d#{$infix}-block { display: block !important; }
|
|
|
|
.d#{$infix}-table { display: table !important; }
|
|
|
|
.d#{$infix}-table-cell { display: table-cell !important; }
|
|
|
|
.d#{$infix}-flex { display: flex !important; }
|
2016-12-23 20:23:22 +01:00
|
|
|
.d#{$infix}-inline-flex { display: inline-flex !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
|
|
|
|
//
|
|
|
|
|
|
|
|
.d-print-block {
|
|
|
|
display: none !important;
|
|
|
|
|
|
|
|
@media print {
|
|
|
|
display: block !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-print-inline {
|
|
|
|
display: none !important;
|
|
|
|
|
|
|
|
@media print {
|
|
|
|
display: inline !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-print-inline-block {
|
|
|
|
display: none !important;
|
|
|
|
|
|
|
|
@media print {
|
|
|
|
display: inline-block !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-print-none {
|
|
|
|
@media print {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|