2016-05-11 11:46:41 +02:00
|
|
|
/* universal */
|
|
|
|
.app-primary .main-enter {
|
2016-04-14 00:28:44 +02:00
|
|
|
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 {
|
2016-05-05 05:41:29 +02:00
|
|
|
overflow-x: hidden;
|
2016-05-11 11:46:41 +02:00
|
|
|
transform: translateX(0px);
|
|
|
|
transition: transform 300ms ease-in;
|
2016-04-14 00:28:44 +02:00
|
|
|
}
|
|
|
|
|
2016-05-11 11:46:41 +02:00
|
|
|
/* exited positions */
|
2016-04-14 00:28:44 +02:00
|
|
|
.app-primary.from-left .main-leave-active {
|
2016-05-11 11:46:41 +02:00
|
|
|
transform: translateX(360px);
|
|
|
|
transition: transform 300ms ease-in;
|
2016-04-14 00:28:44 +02:00
|
|
|
}
|
|
|
|
.app-primary.from-right .main-leave-active {
|
2016-05-11 11:46:41 +02:00
|
|
|
transform: translateX(-360px);
|
|
|
|
transition: transform 300ms ease-in;
|
2016-04-14 00:28:44 +02:00
|
|
|
}
|
|
|
|
|
2017-08-03 02:49:04 +02:00
|
|
|
.sidebar.from-left {
|
|
|
|
transform: translateX(-320px);
|
|
|
|
transition: transform 300ms ease-in;
|
|
|
|
}
|
|
|
|
|
2016-04-14 00:28:44 +02:00
|
|
|
/* loader transitions */
|
|
|
|
.loader-enter, .loader-leave-active {
|
|
|
|
opacity: 0.0;
|
2016-05-11 11:46:41 +02:00
|
|
|
transition: opacity 150 ease-in;
|
2016-04-14 00:28:44 +02:00
|
|
|
}
|
|
|
|
.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);
|
2016-04-14 00:28:44 +02:00
|
|
|
}
|
|
|
|
|