mirror of
https://github.com/privacyguides/privacyguides.org
synced 2024-12-04 17:03:31 +01:00
27 lines
519 B
SCSS
27 lines
519 B
SCSS
|
// stylelint-disable declaration-no-important
|
||
|
|
||
|
//
|
||
|
// Utilities for common `display` values
|
||
|
//
|
||
|
|
||
|
@each $breakpoint in map-keys($grid-breakpoints) {
|
||
|
@include media-breakpoint-up($breakpoint) {
|
||
|
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
||
|
|
||
|
@each $value in $displays {
|
||
|
.d#{$infix}-#{$value} { display: $value !important; }
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
//
|
||
|
// Utilities for toggling `display` in print
|
||
|
//
|
||
|
|
||
|
@media print {
|
||
|
@each $value in $displays {
|
||
|
.d-print-#{$value} { display: $value !important; }
|
||
|
}
|
||
|
}
|