Fork-Awesome/assets/less/bootstrap-3.3.5/utilities.less

56 lines
747 B
Plaintext
Raw Normal View History

2013-10-23 23:12:39 +08:00
//
// Utility classes
// --------------------------------------------------
// Floats
// -------------------------
.clearfix {
.clearfix();
}
2014-05-15 04:13:14 +08:00
.center-block {
.center-block();
}
2013-10-23 23:12:39 +08:00
.pull-right {
float: right !important;
}
.pull-left {
float: left !important;
}
// Toggling content
// -------------------------
2014-05-15 04:13:14 +08:00
// Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1
2013-10-23 23:12:39 +08:00
.hide {
display: none !important;
}
.show {
display: block !important;
}
.invisible {
visibility: hidden;
}
.text-hide {
2014-05-15 04:13:14 +08:00
.text-hide();
}
// Hide from screenreaders and browsers
//
// Credit: HTML5 Boilerplate
.hidden {
display: none !important;
2013-10-23 23:12:39 +08:00
}
// For Affix plugin
// -------------------------
.affix {
position: fixed;
}