mirror of
https://github.com/jasny/bootstrap.git
synced 2026-04-24 03:00:49 -04:00
add utilities.less file for generic classes
This commit is contained in:
3
lib/bootstrap.less
vendored
3
lib/bootstrap.less
vendored
@@ -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";
|
||||
@@ -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
23
lib/utilities.less
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user