_utilities.scss (820B)
1 // 2 // Utility classes 3 // -------------------------------------------------- 4 5 6 // Floats 7 // ------------------------- 8 9 .clearfix { 10 @include clearfix; 11 } 12 .center-block { 13 @include center-block; 14 } 15 .pull-right { 16 float: right !important; 17 } 18 .pull-left { 19 float: left !important; 20 } 21 22 23 // Toggling content 24 // ------------------------- 25 26 // Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1 27 .hide { 28 display: none !important; 29 } 30 .show { 31 display: block !important; 32 } 33 .invisible { 34 visibility: hidden; 35 } 36 .text-hide { 37 @include text-hide; 38 } 39 40 41 // Hide from screenreaders and browsers 42 // 43 // Credit: HTML5 Boilerplate 44 45 .hidden { 46 display: none !important; 47 } 48 49 50 // For Affix plugin 51 // ------------------------- 52 53 .affix { 54 position: fixed; 55 }