add utilities.less file for generic classes

This commit is contained in:
Mark Otto
2012-01-08 15:38:57 -08:00
parent e654ec1336
commit eaa8220d70
5 changed files with 47 additions and 33 deletions

3
lib/bootstrap.less vendored
View File

@@ -52,5 +52,8 @@
@import "labels.less";
@import "progress-bars.less";
// Utility classes
@import "utilities.less"; // Has to be last to override when necessary
// Responsive
@import "responsive.less";

View File

@@ -70,22 +70,6 @@ a {
}
}
// Quick floats
.pull-right {
float: right;
}
.pull-left {
float: left;
}
// Toggling content
.hide {
display: none;
}
.show {
display: block;
}
// GRID SYSTEM
// -----------

23
lib/utilities.less Normal file
View File

@@ -0,0 +1,23 @@
// UTILITY CLASSES
// ---------------
// Quick floats
.pull-right {
float: right;
}
.pull-left {
float: left;
}
// Toggling content
.hide {
display: none;
}
.show {
display: block;
}
// Visibility
.invisible {
visibility: hidden;
}