diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2015-01-12 14:54:16 +0100 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2015-01-12 14:54:16 +0100 |
| commit | 410dbc573bbb873a447710e122faefd11075b6df (patch) | |
| tree | cc4af9e6f213579ad92a27aeaef52d8d2e0158b6 /searx/static/less/bootstrap/utilities.less | |
| parent | 12425618caacec90ac90332f580fb628ef32e213 (diff) | |
[enh] static content generalization
Diffstat (limited to 'searx/static/less/bootstrap/utilities.less')
| -rw-r--r-- | searx/static/less/bootstrap/utilities.less | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/searx/static/less/bootstrap/utilities.less b/searx/static/less/bootstrap/utilities.less new file mode 100644 index 000000000..c0becabe3 --- /dev/null +++ b/searx/static/less/bootstrap/utilities.less @@ -0,0 +1,57 @@ +// +// Utility classes +// -------------------------------------------------- + + +// Floats +// ------------------------- + +.clearfix { + .clearfix(); +} +.center-block { + .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 { + .text-hide(); +} + + +// Hide from screenreaders and browsers +// +// Credit: HTML5 Boilerplate + +.hidden { + display: none !important; + visibility: hidden !important; +} + + +// For Affix plugin +// ------------------------- + +.affix { + position: fixed; + .translate3d(0, 0, 0); +} |