mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
Fix #12025 and minify styles
This commit is contained in:
parent
be6ad3fda0
commit
885a870f43
@ -607,10 +607,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.responsive-invisibility() {
|
.responsive-invisibility() {
|
||||||
&,
|
display: none !important;
|
||||||
tr&,
|
|
||||||
th&,
|
|
||||||
td& { display: none !important; }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -23,30 +23,29 @@
|
|||||||
|
|
||||||
|
|
||||||
// Visibility utilities
|
// Visibility utilities
|
||||||
.visible-xs {
|
.visible-xs,
|
||||||
|
.visible-sm,
|
||||||
|
.visible-md,
|
||||||
|
.visible-lg {
|
||||||
.responsive-invisibility();
|
.responsive-invisibility();
|
||||||
|
}
|
||||||
|
|
||||||
|
.visible-xs {
|
||||||
@media (max-width: @screen-xs-max) {
|
@media (max-width: @screen-xs-max) {
|
||||||
.responsive-visibility();
|
.responsive-visibility();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.visible-sm {
|
.visible-sm {
|
||||||
.responsive-invisibility();
|
|
||||||
|
|
||||||
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
||||||
.responsive-visibility();
|
.responsive-visibility();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.visible-md {
|
.visible-md {
|
||||||
.responsive-invisibility();
|
|
||||||
|
|
||||||
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
||||||
.responsive-visibility();
|
.responsive-visibility();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.visible-lg {
|
.visible-lg {
|
||||||
.responsive-invisibility();
|
|
||||||
|
|
||||||
@media (min-width: @screen-lg-min) {
|
@media (min-width: @screen-lg-min) {
|
||||||
.responsive-visibility();
|
.responsive-visibility();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user