_align.scss
6 years ago
_background.scss
6 years ago
_borders.scss
6 years ago
_clearfix.scss
6 years ago
_display.scss
6 years ago
_embed.scss
6 years ago
_flex.scss
6 years ago
_float.scss
6 years ago
_overflow.scss
6 years ago
_position.scss
6 years ago
_screenreaders.scss
6 years ago
_shadows.scss
6 years ago
_sizing.scss
6 years ago
_spacing.scss
6 years ago
_stretched-link.scss
6 years ago
_text.scss
6 years ago
_visibility.scss
6 years ago
_display.scss
27 lines
| 1 | // stylelint-disable declaration-no-important |
| 2 | |
| 3 | // |
| 4 | // Utilities for common `display` values |
| 5 | // |
| 6 | |
| 7 | @each $breakpoint in map-keys($grid-breakpoints) { |
| 8 | @include media-breakpoint-up($breakpoint) { |
| 9 | $infix: breakpoint-infix($breakpoint, $grid-breakpoints); |
| 10 | |
| 11 | @each $value in $displays { |
| 12 | .d#{$infix}-#{$value} { display: $value !important; } |
| 13 | } |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | |
| 18 | // |
| 19 | // Utilities for toggling `display` in print |
| 20 | // |
| 21 | |
| 22 | @media print { |
| 23 | @each $value in $displays { |
| 24 | .d-print-#{$value} { display: $value !important; } |
| 25 | } |
| 26 | } |
| 27 |