diff options
| author | Mark Otto <[email protected]> | 2013-06-25 13:32:21 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-06-25 13:32:21 -0700 |
| commit | 327a951ca3754285432ae97b6c6be62dcd815905 (patch) | |
| tree | 0459764daf6876614d15460b4b543d05f591d121 | |
| parent | 03e67e44f9dfa95659ef904ad341d2301a43d82a (diff) | |
| download | bootstrap-327a951ca3754285432ae97b6c6be62dcd815905.tar.xz bootstrap-327a951ca3754285432ae97b6c6be62dcd815905.zip | |
Move mixin to mixins.less
| -rw-r--r-- | less/mixins.less | 12 | ||||
| -rw-r--r-- | less/responsive-utilities.less | 6 |
2 files changed, 11 insertions, 7 deletions
diff --git a/less/mixins.less b/less/mixins.less index 9825e9a2d..879836a8c 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -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; - } + } } diff --git a/less/responsive-utilities.less b/less/responsive-utilities.less index e6a8bf7e9..65fdc3d13 100644 --- a/less/responsive-utilities.less +++ b/less/responsive-utilities.less @@ -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 { |
