1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-27 12:56:01 +01:00
metamask-extension/ui/app/css/transitions.css

43 lines
973 B
CSS
Raw Normal View History

2016-05-11 11:46:41 +02:00
/* universal */
.app-primary .main-enter {
position: absolute;
width: 100%;
}
/* center position */
2016-05-11 11:46:41 +02:00
.app-primary.from-right .main-enter-active,
.app-primary.from-left .main-enter-active {
overflow-x: hidden;
2016-05-11 11:46:41 +02:00
transform: translateX(0px);
transition: transform 300ms ease-in;
}
2016-05-11 11:46:41 +02:00
/* exited positions */
.app-primary.from-left .main-leave-active {
2016-05-11 11:46:41 +02:00
transform: translateX(360px);
transition: transform 300ms ease-in;
}
.app-primary.from-right .main-leave-active {
2016-05-11 11:46:41 +02:00
transform: translateX(-360px);
transition: transform 300ms ease-in;
}
/* loader transitions */
.loader-enter, .loader-leave-active {
opacity: 0.0;
2016-05-11 11:46:41 +02:00
transition: opacity 150 ease-in;
}
.loader-enter-active, .loader-leave {
opacity: 1.0;
2016-05-11 11:46:41 +02:00
transition: opacity 150 ease-in;
}
/* entering positions */
.app-primary.from-right .main-enter:not(.main-enter-active) {
transform: translateX(360px);
}
.app-primary.from-left .main-enter:not(.main-enter-active) {
transform: translateX(-360px);
}