diff options
| author | Mark Otto <[email protected]> | 2012-01-08 15:38:57 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-01-08 15:38:57 -0800 |
| commit | eaa8220d70f84a710c9dfa1bd49a7c35bcab1a3b (patch) | |
| tree | eb0e7c8b99dc3cbb14797580fbbf5b0ea7cf7a05 /lib | |
| parent | e654ec13369761e252aa279d5e0a1002ba23cfb7 (diff) | |
| download | bootstrap-eaa8220d70f84a710c9dfa1bd49a7c35bcab1a3b.tar.xz bootstrap-eaa8220d70f84a710c9dfa1bd49a7c35bcab1a3b.zip | |
add utilities.less file for generic classes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/bootstrap.less | 3 | ||||
| -rw-r--r-- | lib/scaffolding.less | 16 | ||||
| -rw-r--r-- | lib/utilities.less | 23 |
3 files changed, 26 insertions, 16 deletions
diff --git a/lib/bootstrap.less b/lib/bootstrap.less index 2bec3dd01..57ada98a9 100644 --- a/lib/bootstrap.less +++ b/lib/bootstrap.less @@ -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";
\ No newline at end of file diff --git a/lib/scaffolding.less b/lib/scaffolding.less index a1f41ab66..a0d54a886 100644 --- a/lib/scaffolding.less +++ b/lib/scaffolding.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 // ----------- diff --git a/lib/utilities.less b/lib/utilities.less new file mode 100644 index 000000000..d60d22031 --- /dev/null +++ b/lib/utilities.less @@ -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; +} |
