Mercurial > wikked
comparison static/bootstrap/less/utilities.less @ 149:d29e2f337b00
Updated to Bootstrap 3.0.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 12 Dec 2013 21:54:04 -0800 |
parents | 130eccd396d8 |
children |
comparison
equal
deleted
inserted
replaced
148:f02e049d6546 | 149:d29e2f337b00 |
---|---|
1 // | 1 // |
2 // Utility classes | 2 // Utility classes |
3 // -------------------------------------------------- | 3 // -------------------------------------------------- |
4 | 4 |
5 | 5 |
6 // Quick floats | 6 // Floats |
7 // ------------------------- | |
8 | |
9 .clearfix { | |
10 .clearfix(); | |
11 } | |
12 .center-block { | |
13 .center-block(); | |
14 } | |
7 .pull-right { | 15 .pull-right { |
8 float: right; | 16 float: right !important; |
9 } | 17 } |
10 .pull-left { | 18 .pull-left { |
11 float: left; | 19 float: left !important; |
12 } | 20 } |
13 | 21 |
22 | |
14 // Toggling content | 23 // Toggling content |
24 // ------------------------- | |
25 | |
26 // Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1 | |
15 .hide { | 27 .hide { |
16 display: none; | 28 display: none !important; |
17 } | 29 } |
18 .show { | 30 .show { |
19 display: block; | 31 display: block !important; |
20 } | 32 } |
21 | |
22 // Visibility | |
23 .invisible { | 33 .invisible { |
24 visibility: hidden; | 34 visibility: hidden; |
25 } | 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 | |
26 | 50 |
27 // For Affix plugin | 51 // For Affix plugin |
52 // ------------------------- | |
53 | |
28 .affix { | 54 .affix { |
29 position: fixed; | 55 position: fixed; |
30 } | 56 } |