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/component-animations.less | |
| parent | 12425618caacec90ac90332f580fb628ef32e213 (diff) | |
[enh] static content generalization
Diffstat (limited to 'searx/static/less/bootstrap/component-animations.less')
| -rw-r--r-- | searx/static/less/bootstrap/component-animations.less | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/searx/static/less/bootstrap/component-animations.less b/searx/static/less/bootstrap/component-animations.less new file mode 100644 index 000000000..9400a0d32 --- /dev/null +++ b/searx/static/less/bootstrap/component-animations.less @@ -0,0 +1,31 @@ +// +// Component animations +// -------------------------------------------------- + +// Heads up! +// +// We don't use the `.opacity()` mixin here since it causes a bug with text +// fields in IE7-8. Source: https://github.com/twbs/bootstrap/pull/3552. + +.fade { + opacity: 0; + .transition(opacity .15s linear); + &.in { + opacity: 1; + } +} + +.collapse { + display: none; + + &.in { display: block; } + tr&.in { display: table-row; } + tbody&.in { display: table-row-group; } +} + +.collapsing { + position: relative; + height: 0; + overflow: hidden; + .transition(height .35s ease); +} |