summaryrefslogtreecommitdiff
path: root/searx/static/oscar/less/bootstrap/component-animations.less
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2014-11-11 09:36:39 +0100
committerAdam Tauber <asciimoo@gmail.com>2014-11-11 09:36:39 +0100
commit0d80d5d3b45f9c761a7fd6c457538b54f6d25fce (patch)
treea669f19b5f3a6886ae8c9930e97aa97af3e00778 /searx/static/oscar/less/bootstrap/component-animations.less
parentb422788eb46906d9befbd8b7399bf4653e1fb14e (diff)
parent25312c53e170deb55bd48029e3b76b87692e1911 (diff)
Merge pull request #105 from pointhi/template_oscar
new template: oscar
Diffstat (limited to 'searx/static/oscar/less/bootstrap/component-animations.less')
-rw-r--r--searx/static/oscar/less/bootstrap/component-animations.less31
1 files changed, 31 insertions, 0 deletions
diff --git a/searx/static/oscar/less/bootstrap/component-animations.less b/searx/static/oscar/less/bootstrap/component-animations.less
new file mode 100644
index 000000000..9400a0d32
--- /dev/null
+++ b/searx/static/oscar/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);
+}