Move mixin to mixins.less

This commit is contained in:
Mark Otto 2013-06-25 13:32:21 -07:00
parent 03e67e44f9
commit 327a951ca3
2 changed files with 11 additions and 7 deletions

View File

@ -400,6 +400,16 @@
margin-bottom: ((@navbar-height - @element-height) / 2);
}
// Responsive utilities
// -------------------------
// More easily include all the states for responsive-utilities.less.
.responsive-visibility() {
display: block !important;
tr& { display: table-row !important; }
th&,
td& { display: table-cell !important; }
}
// Grid System
@ -491,5 +501,5 @@
color: @text-color;
border-color: @border-color;
background-color: @background-color;
}
}
}

View File

@ -34,12 +34,6 @@
}
// Visibility utilities
.responsive-visibility() {
display: block !important;
tr& { display: table-row !important; }
th&,
td& { display: table-cell !important; }
}
// For Phones
.visible-sm {