From fa5bb8dca04e2876d9def529a77b5273b5243169 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Mon, 27 Jan 2014 18:15:12 +0100 Subject: Add Boostrap files Signed-off-by: Petr Vobornik Reviewed-by: Simo Sorce --- less/bootstrap/utilities.less | 56 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 less/bootstrap/utilities.less (limited to 'less/bootstrap/utilities.less') diff --git a/less/bootstrap/utilities.less b/less/bootstrap/utilities.less new file mode 100644 index 0000000..a260312 --- /dev/null +++ b/less/bootstrap/utilities.less @@ -0,0 +1,56 @@ +// +// Utility classes +// -------------------------------------------------- + + +// Floats +// ------------------------- + +.clearfix { + .clearfix(); +} +.center-block { + .center-block(); +} +.pull-right { + float: right !important; +} +.pull-left { + float: left !important; +} + + +// Toggling content +// ------------------------- + +// Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1 +.hide { + display: none !important; +} +.show { + display: block !important; +} +.invisible { + visibility: hidden; +} +.text-hide { + .text-hide(); +} + + +// Hide from screenreaders and browsers +// +// Credit: HTML5 Boilerplate + +.hidden { + display: none !important; + visibility: hidden !important; +} + + +// For Affix plugin +// ------------------------- + +.affix { + position: fixed; +} -- cgit