mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-26 09:10:24 +00:00
Move mixin to mixins.less
This commit is contained in:
parent
03e67e44f9
commit
327a951ca3
2 changed files with 11 additions and 7 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue