aboutsummaryrefslogtreecommitdiff
path: root/themes/hugo-whisper-theme/assets/scss/bootstrap/utilities/_display.scss
diff options
context:
space:
mode:
Diffstat (limited to 'themes/hugo-whisper-theme/assets/scss/bootstrap/utilities/_display.scss')
-rwxr-xr-xthemes/hugo-whisper-theme/assets/scss/bootstrap/utilities/_display.scss26
1 files changed, 26 insertions, 0 deletions
diff --git a/themes/hugo-whisper-theme/assets/scss/bootstrap/utilities/_display.scss b/themes/hugo-whisper-theme/assets/scss/bootstrap/utilities/_display.scss
new file mode 100755
index 0000000..1303679
--- /dev/null
+++ b/themes/hugo-whisper-theme/assets/scss/bootstrap/utilities/_display.scss
@@ -0,0 +1,26 @@
+// 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; }
+ }
+}