Add full class names to animations.scss

pull/21833/head
Dariusz Niemczyk 2021-08-11 10:52:22 +02:00
parent c872609ed3
commit ef3737d179
No known key found for this signature in database
GPG Key ID: 28DFE7164F497CB6
1 changed files with 13 additions and 15 deletions

View File

@ -19,21 +19,19 @@ limitations under the License.
* know they should not be used anywhere outside of React Transition Groups.
*/
.mx_rtg--fade {
&-enter {
opacity: 0;
&-active {
opacity: 1;
transition: opacity 300ms ease;
}
}
&-exit {
opacity: 1;
&-active {
opacity: 0;
transition: opacity 300ms ease;
}
}
.mx_rtg--fade-enter {
opacity: 0;
}
.mx_rtg--fade-enter-active {
opacity: 1;
transition: opacity 300ms ease;
}
.mx_rtg--fade-exit {
opacity: 1;
}
.mx_rtg--fade-exit-active {
opacity: 0;
transition: opacity 300ms ease;
}