diff options
Diffstat (limited to 'assets/css/bootstrap/_utilities.scss')
-rw-r--r-- | assets/css/bootstrap/_utilities.scss | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/assets/css/bootstrap/_utilities.scss b/assets/css/bootstrap/_utilities.scss new file mode 100644 index 0000000..3ad5f2e --- /dev/null +++ b/assets/css/bootstrap/_utilities.scss @@ -0,0 +1,57 @@ +// +// Utility classes +// -------------------------------------------------- + + +// Floats +// ------------------------- + +.clearfix { + @include clearfix(); +} +.center-block { + @include 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 { + @include text-hide(); +} + + +// Hide from screenreaders and browsers +// +// Credit: HTML5 Boilerplate + +.hidden { + display: none !important; + visibility: hidden !important; +} + + +// For Affix plugin +// ------------------------- + +.affix { + position: fixed; + @include translate3d(0, 0, 0); +} |