Mercurial > minori
comparison dep/fmt/doc/bootstrap/utilities.less @ 343:1faa72660932
*: transfer back to cmake from autotools
autotools just made lots of things more complicated than
they should have and many things broke (i.e. translations)
| author | Paper <paper@paper.us.eu.org> |
|---|---|
| date | Thu, 20 Jun 2024 05:56:06 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 342:adb79bdde329 | 343:1faa72660932 |
|---|---|
| 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 } | |
| 48 | |
| 49 | |
| 50 // For Affix plugin | |
| 51 // ------------------------- | |
| 52 | |
| 53 .affix { | |
| 54 position: fixed; | |
| 55 } |
