2019-12-08 00:32:00 +05:30
|
|
|
@import '~app/components/ui/fonts.scss';
|
2017-01-09 03:31:04 +05:30
|
|
|
|
|
|
|
// Original: http://codepen.io/vanderlanth/pen/rxpNMY
|
|
|
|
|
|
|
|
.page {
|
2019-11-27 14:33:32 +05:30
|
|
|
margin: 80px auto 0;
|
2017-01-09 03:31:04 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
flex-direction: column;
|
2017-01-09 03:31:04 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.loading {
|
2019-11-27 14:33:32 +05:30
|
|
|
width: 200px;
|
|
|
|
height: 100px;
|
|
|
|
margin-bottom: 50px;
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: flex-end;
|
|
|
|
animation: loadStab 1s ease-out infinite;
|
2017-01-09 03:31:04 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.cube {
|
2019-11-27 14:33:32 +05:30
|
|
|
width: 50px;
|
|
|
|
height: 50px;
|
|
|
|
background: white;
|
|
|
|
animation: cubeRotate 1s ease-out infinite;
|
2017-01-09 03:31:04 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.road {
|
2019-11-27 14:33:32 +05:30
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 1px;
|
|
|
|
background: white;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
animation: roadStab 1s ease-out infinite;
|
2017-01-09 03:31:04 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes cubeRotate {
|
2019-11-27 14:33:32 +05:30
|
|
|
0% {
|
|
|
|
transform: rotate(0deg) translate3D(0, 0, 0);
|
|
|
|
}
|
|
|
|
65% {
|
|
|
|
transform: rotate(45deg) translate3D(0, -13px, 0);
|
|
|
|
}
|
|
|
|
90% {
|
|
|
|
transform: rotate(70deg) translate3D(0, -8px, 0);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: rotate(90deg) translate3D(0, 0, 0);
|
|
|
|
}
|
2017-01-09 03:31:04 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes roadStab {
|
2019-11-27 14:33:32 +05:30
|
|
|
0% {
|
|
|
|
transform: translate3D(0, 0, 0);
|
|
|
|
}
|
|
|
|
60% {
|
|
|
|
transform: translate3D(0, 2px, 0);
|
|
|
|
}
|
|
|
|
90% {
|
|
|
|
transform: translate3D(0, 4px, 0);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: translate3D(0, 0, 0);
|
|
|
|
}
|
2017-01-09 03:31:04 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes loadStab {
|
2019-11-27 14:33:32 +05:30
|
|
|
0% {
|
|
|
|
transform: translate3D(0, 0, 0);
|
|
|
|
}
|
|
|
|
60% {
|
|
|
|
transform: translate3D(0, -2px, 0);
|
|
|
|
}
|
|
|
|
95% {
|
|
|
|
transform: translate3D(0, -2px, 0);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: translate3D(0, 0, 0);
|
|
|
|
}
|
2017-01-09 03:31:04 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
//------------------ MOUNTAINS ---------------------
|
|
|
|
|
|
|
|
.rocks {
|
2019-11-27 14:33:32 +05:30
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
position: absolute;
|
|
|
|
bottom: -50px;
|
|
|
|
left: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
animation: roadStab 1s ease-out infinite;
|
2017-01-09 03:31:04 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
@mixin rock($rockName, $bottom, $delay) {
|
2019-11-27 14:33:32 +05:30
|
|
|
.#{$rockName} {
|
|
|
|
position: absolute;
|
|
|
|
border-left: 2px solid transparent;
|
|
|
|
border-right: 2px solid transparent;
|
|
|
|
border-bottom: 4px solid white;
|
|
|
|
bottom: $bottom;
|
|
|
|
right: -2%;
|
|
|
|
animation: rockTravelling 10s $delay ease-out infinite;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include rock('rockOne', 23px, 0s);
|
|
|
|
@include rock('rockTwo', 40px, 2s);
|
2017-01-09 03:31:04 +05:30
|
|
|
@include rock('rockThree', 30px, 6s);
|
2019-11-27 14:33:32 +05:30
|
|
|
@include rock('rockFour', 10px, 4s);
|
|
|
|
@include rock('rockFive', 18px, 8s);
|
2017-01-09 03:31:04 +05:30
|
|
|
|
|
|
|
@keyframes rockTravelling {
|
2019-11-27 14:33:32 +05:30
|
|
|
0% {
|
|
|
|
right: -2%;
|
|
|
|
}
|
|
|
|
10% {
|
|
|
|
right: 8%;
|
|
|
|
}
|
|
|
|
20% {
|
|
|
|
right: 18%;
|
|
|
|
}
|
|
|
|
30% {
|
|
|
|
right: 29%;
|
|
|
|
}
|
|
|
|
40% {
|
|
|
|
right: 40%;
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
right: 51%;
|
|
|
|
}
|
|
|
|
60% {
|
|
|
|
right: 62%;
|
|
|
|
}
|
|
|
|
70% {
|
|
|
|
right: 72%;
|
|
|
|
}
|
|
|
|
80% {
|
|
|
|
right: 82%;
|
|
|
|
}
|
|
|
|
90% {
|
|
|
|
right: 92%;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
right: 102%;
|
|
|
|
}
|
2017-01-09 03:31:04 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
//------------------ CLOUDS ---------------------
|
|
|
|
|
|
|
|
.clouds {
|
2019-11-27 14:33:32 +05:30
|
|
|
width: 200%;
|
|
|
|
height: 200%;
|
|
|
|
animation: roadStab 1s ease-out infinite, cloudStab 1s ease-out infinite;
|
|
|
|
position: absolute;
|
|
|
|
bottom: -50px;
|
|
|
|
left: -50%;
|
|
|
|
overflow: hidden;
|
2017-01-09 03:31:04 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.cloud {
|
2019-11-27 14:33:32 +05:30
|
|
|
position: absolute;
|
|
|
|
will-change: animation;
|
2017-01-09 03:31:04 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
background-image: url('./cloud.svg');
|
|
|
|
background-size: cover;
|
2017-01-09 03:31:04 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.cloudOne {
|
2019-11-27 14:33:32 +05:30
|
|
|
composes: cloud;
|
2017-01-09 03:31:04 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
top: 5px;
|
|
|
|
width: 100px;
|
|
|
|
height: 32px;
|
|
|
|
animation: cloudTravelling 16s linear infinite;
|
2017-01-09 03:31:04 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.cloudTwo {
|
2019-11-27 14:33:32 +05:30
|
|
|
composes: cloud;
|
2017-01-09 03:31:04 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
top: 65px;
|
|
|
|
right: -30%;
|
|
|
|
width: 50px;
|
|
|
|
height: 16px;
|
|
|
|
animation: cloudTravelling 21s 5s linear infinite;
|
2017-01-09 03:31:04 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.cloudThree {
|
2019-11-27 14:33:32 +05:30
|
|
|
composes: cloud;
|
2017-01-09 03:31:04 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
top: 40px;
|
|
|
|
right: -30%;
|
|
|
|
width: 70px;
|
|
|
|
height: 22px;
|
|
|
|
animation: cloudTravelling 26s 11s linear infinite;
|
2017-01-09 03:31:04 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes cloudTravelling {
|
2019-11-27 14:33:32 +05:30
|
|
|
0% {
|
|
|
|
right: -30%;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
right: 110%;
|
|
|
|
}
|
2017-01-09 03:31:04 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes cloudStab {
|
2019-11-27 14:33:32 +05:30
|
|
|
0% {
|
|
|
|
transform: translate3D(0, 0, 0);
|
|
|
|
}
|
|
|
|
60% {
|
|
|
|
transform: translate3D(0, 2px, 0);
|
|
|
|
}
|
|
|
|
85% {
|
|
|
|
transform: translate3D(0, 2px, 0);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: translate3D(0, 0, 0);
|
|
|
|
}
|
2017-01-09 03:31:04 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
%text {
|
2019-11-27 14:33:32 +05:30
|
|
|
font-family: $font-family-title;
|
|
|
|
text-align: center;
|
|
|
|
padding: 0 10px;
|
|
|
|
line-height: 1.2;
|
2017-01-09 03:31:04 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.text {
|
2019-11-27 14:33:32 +05:30
|
|
|
@extend %text;
|
2017-01-09 03:31:04 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
font-size: 24px;
|
|
|
|
margin-top: 25px;
|
|
|
|
color: #666;
|
2017-01-09 03:31:04 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.subText {
|
2019-11-27 14:33:32 +05:30
|
|
|
@extend %text;
|
2017-01-09 03:31:04 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
font-size: 16px;
|
|
|
|
margin-top: 5px;
|
|
|
|
color: #9a9a9a;
|
2017-01-09 03:31:04 +05:30
|
|
|
}
|