better
This commit is contained in:
parent
ece4b18951
commit
16120cad84
@ -226,6 +226,7 @@ body {
|
|||||||
min-height: calc(100% - 60px);
|
min-height: calc(100% - 60px);
|
||||||
margin: -7px auto;
|
margin: -7px auto;
|
||||||
> .page {
|
> .page {
|
||||||
|
position:absolute;
|
||||||
&:not(.servicepage) {
|
&:not(.servicepage) {
|
||||||
margin-top:60px;
|
margin-top:60px;
|
||||||
}
|
}
|
||||||
@ -242,6 +243,7 @@ body {
|
|||||||
&.anim-fade .page {
|
&.anim-fade .page {
|
||||||
&.animate {
|
&.animate {
|
||||||
transition: opacity 0.5s ease-out;
|
transition: opacity 0.5s ease-out;
|
||||||
|
position: absolute;
|
||||||
}
|
}
|
||||||
&.leave {
|
&.leave {
|
||||||
margin-right: -100%;
|
margin-right: -100%;
|
||||||
@ -259,6 +261,7 @@ body {
|
|||||||
&.anim-pos .page {
|
&.anim-pos .page {
|
||||||
&.animate {
|
&.animate {
|
||||||
transition: transform 0.5s ease-out;
|
transition: transform 0.5s ease-out;
|
||||||
|
position: absolute;
|
||||||
}
|
}
|
||||||
&.leave {
|
&.leave {
|
||||||
transform:translate(-100%,0)
|
transform:translate(-100%,0)
|
||||||
@ -276,6 +279,7 @@ body {
|
|||||||
&.anim-neg .page {
|
&.anim-neg .page {
|
||||||
&.animate {
|
&.animate {
|
||||||
transition: transform 0.5s ease-out;
|
transition: transform 0.5s ease-out;
|
||||||
|
position: absolute;
|
||||||
}
|
}
|
||||||
&.leave {
|
&.leave {
|
||||||
transform:translate(100%,0)
|
transform:translate(100%,0)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user