summaryrefslogtreecommitdiff
path: root/addons/website/data/bootstrap/component-animations.less
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2014-03-29 21:24:46 +0100
committerFabien Pinckaers <fp@tinyerp.com>2014-03-29 21:24:46 +0100
commit1c3835c83c9f8aeba2d2b89e71a09f3c860bd1c1 (patch)
tree987981ee370b96991875b44a05411ec83919c4e9 /addons/website/data/bootstrap/component-animations.less
parent2478af1b16526c94e1c477127a9d7139522bb3ed (diff)
[IMP] bootstrap less sources
bzr revid: fp@tinyerp.com-20140329202446-tz8b2rvenc6s3ds5
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);
+}