mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
c6e648d79b
inline the one remaining usage into .hidden-print's definition rm now-empty scss/_utilities-responsive.scss file [skip sauce] [skip validator]
49 lines
767 B
SCSS
49 lines
767 B
SCSS
//
|
|
// Mixins
|
|
//
|
|
|
|
@each $bp in map-keys($grid-breakpoints) {
|
|
.hidden-#{$bp}-up {
|
|
@include media-breakpoint-up($bp) {
|
|
display: none !important;
|
|
}
|
|
}
|
|
.hidden-#{$bp}-down {
|
|
@include media-breakpoint-down($bp) {
|
|
display: none !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
// Print utilities
|
|
//
|
|
// Media queries are placed on the inside to be mixin-friendly.
|
|
|
|
.visible-print-block {
|
|
display: none !important;
|
|
|
|
@media print {
|
|
display: block !important;
|
|
}
|
|
}
|
|
.visible-print-inline {
|
|
display: none !important;
|
|
|
|
@media print {
|
|
display: inline !important;
|
|
}
|
|
}
|
|
.visible-print-inline-block {
|
|
display: none !important;
|
|
|
|
@media print {
|
|
display: inline-block !important;
|
|
}
|
|
}
|
|
|
|
.hidden-print {
|
|
@media print {
|
|
display: none !important;
|
|
}
|
|
}
|