summaryrefslogtreecommitdiff
path: root/addons/website/data/bootstrap/component-animations.less
diff options
context:
space:
mode:
authorajay javiya (OpenERP) <aja@tinyerp.com>2014-03-31 09:49:56 +0530
committerajay javiya (OpenERP) <aja@tinyerp.com>2014-03-31 09:49:56 +0530
commitc4896f801ceec95fb9a7f4e592ffbfc843135cba (patch)
tree3933534acdda506195b53be129ce82c62a1d450e /addons/website/data/bootstrap/component-animations.less
parent3d8952b53477c6fc7d92353e76f56b38c14b5a8e (diff)
parentfd43cecbdadcffee2be2ff078bd32a4521ad9574 (diff)
[MERGE] : with trunk
bzr revid: aja@tinyerp.com-20140331041956-0ots0gkn1d4ffudq
Diffstat (limited to 'addons/website/data/bootstrap/component-animations.less')
-rw-r--r--addons/website/data/bootstrap/component-animations.less29
1 files changed, 29 insertions, 0 deletions
diff --git a/addons/website/data/bootstrap/component-animations.less b/addons/website/data/bootstrap/component-animations.less
new file mode 100644
index 00000000000..1efe45e2c39
--- /dev/null
+++ b/addons/website/data/bootstrap/component-animations.less
@@ -0,0 +1,29 @@
+//
+// 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/twitter/bootstrap/pull/3552.
+
+.fade {
+ opacity: 0;
+ .transition(opacity .15s linear);
+ &.in {
+ opacity: 1;
+ }
+}
+
+.collapse {
+ display: none;
+ &.in {
+ display: block;
+ }
+}
+.collapsing {
+ position: relative;
+ height: 0;
+ overflow: hidden;
+ .transition(height .35s ease);
+}