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