Commit | Line | Data |
---|---|---|
7b869721 S |
1 | // |
2 | // Utility classes | |
3 | // -------------------------------------------------- | |
4 | ||
5 | ||
6 | // Floats | |
7 | // ------------------------- | |
8 | ||
9 | .clearfix { | |
10 | .clearfix(); | |
11 | } | |
12 | .center-block { | |
13 | .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 | .text-hide(); | |
38 | } | |
39 | ||
40 | ||
41 | // Hide from screenreaders and browsers | |
42 | // | |
43 | // Credit: HTML5 Boilerplate | |
44 | ||
45 | .hidden { | |
46 | display: none !important; | |
47 | visibility: hidden !important; | |
48 | } | |
49 | ||
50 | ||
51 | // For Affix plugin | |
52 | // ------------------------- | |
53 | ||
54 | .affix { | |
55 | position: fixed; | |
56 | } |