0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-21 18:54:30 +01:00

Rename _animation.scss to _transitions.scss (#21370)

* Rename _animation.scss to _transitions.scss for accuracy

* fix docs reference to file name

* cleanup line breaks
This commit is contained in:
Mark Otto 2016-12-19 21:37:09 -08:00 committed by GitHub
parent a8b3e09f22
commit 7e5f21c2b4
3 changed files with 2 additions and 4 deletions

View File

@ -104,7 +104,7 @@ The collapse plugin utilizes a few classes to handle the heavy lifting:
- `.collapse.active` shows the content - `.collapse.active` shows the content
- `.collapsing` is added when the transition starts, and removed when it finishes - `.collapsing` is added when the transition starts, and removed when it finishes
These classes can be found in `_animation.scss`. These classes can be found in `_transitions.scss`.
### Via data attributes ### Via data attributes

View File

@ -1,6 +1,5 @@
.fade { .fade {
opacity: 0; opacity: 0;
@include transition($transition-fade); @include transition($transition-fade);
&.active { &.active {
@ -31,6 +30,5 @@ tbody {
position: relative; position: relative;
height: 0; height: 0;
overflow: hidden; overflow: hidden;
@include transition($transition-collapse); @include transition($transition-collapse);
} }

2
scss/bootstrap.scss vendored
View File

@ -25,7 +25,7 @@
@import "buttons"; @import "buttons";
// Components // Components
@import "animation"; @import "transitions";
@import "dropdown"; @import "dropdown";
@import "button-group"; @import "button-group";
@import "input-group"; @import "input-group";