summaryrefslogtreecommitdiff
path: root/themes/default/less/bootstrap/component-animations.less
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/less/bootstrap/component-animations.less')
-rw-r--r--themes/default/less/bootstrap/component-animations.less18
1 files changed, 18 insertions, 0 deletions
diff --git a/themes/default/less/bootstrap/component-animations.less b/themes/default/less/bootstrap/component-animations.less
new file mode 100644
index 0000000..e2b16ab
--- /dev/null
+++ b/themes/default/less/bootstrap/component-animations.less
@@ -0,0 +1,18 @@
+// COMPONENT ANIMATIONS
+// --------------------
+
+.fade {
+ .transition(opacity .15s linear);
+ opacity: 0;
+ &.in {
+ opacity: 1;
+ }
+}
+
+.collapse {
+ .transition(height .35s ease);
+ position:relative;
+ overflow:hidden;
+ height: 0;
+ &.in { height: auto; }
+}