Commit 327a951c authored by Mark Otto's avatar Mark Otto

Move mixin to mixins.less

parent 03e67e44
...@@ -400,6 +400,16 @@ ...@@ -400,6 +400,16 @@
margin-bottom: ((@navbar-height - @element-height) / 2); 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 // Grid System
...@@ -491,5 +501,5 @@ ...@@ -491,5 +501,5 @@
color: @text-color; color: @text-color;
border-color: @border-color; border-color: @border-color;
background-color: @background-color; background-color: @background-color;
} }
} }
...@@ -34,12 +34,6 @@ ...@@ -34,12 +34,6 @@
} }
// Visibility utilities // Visibility utilities
.responsive-visibility() {
display: block !important;
tr& { display: table-row !important; }
th&,
td& { display: table-cell !important; }
}
// For Phones // For Phones
.visible-sm { .visible-sm {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment