aboutsummaryrefslogtreecommitdiff
path: root/assets/css/bootstrap-3.3.2/component-animations.less
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--assets/css/bootstrap-3.3.2/component-animations.less (renamed from assets/css/lib/bootstrap/_component-animations.scss)17
1 files changed, 8 insertions, 9 deletions
diff --git a/assets/css/lib/bootstrap/_component-animations.scss b/assets/css/bootstrap-3.3.2/component-animations.less
index 8c3fd07..967715d 100644
--- a/assets/css/lib/bootstrap/_component-animations.scss
+++ b/assets/css/bootstrap-3.3.2/component-animations.less
@@ -9,7 +9,7 @@
.fade {
opacity: 0;
- @include transition(opacity .15s linear);
+ .transition(opacity .15s linear);
&.in {
opacity: 1;
}
@@ -17,19 +17,18 @@
.collapse {
display: none;
+ visibility: hidden;
- &.in { display: block; }
- // [converter] extracted tr&.in to tr.collapse.in
- // [converter] extracted tbody&.in to tbody.collapse.in
+ &.in { display: block; visibility: visible; }
+ tr&.in { display: table-row; }
+ tbody&.in { display: table-row-group; }
}
-tr.collapse.in { display: table-row; }
-
-tbody.collapse.in { display: table-row-group; }
-
.collapsing {
position: relative;
height: 0;
overflow: hidden;
- @include transition(height .35s ease);
+ .transition-property(~"height, visibility");
+ .transition-duration(.35s);
+ .transition-timing-function(ease);
}