mirror of
https://github.com/Mr-Wiseguy/Zelda64Recomp.git
synced 2024-11-18 11:49:15 +01:00
109 lines
1.8 KiB
SCSS
109 lines
1.8 KiB
SCSS
|
|
// TODO: Affect all elements with launcher fade-in
|
|
// @keyframes fade-launcher-in {
|
|
// 0% {
|
|
// opacity: 0;
|
|
// }
|
|
// to {
|
|
// opacity: 1;
|
|
// }
|
|
// }
|
|
|
|
.launcher {
|
|
display: block;
|
|
position: relative;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: $color-background-1;
|
|
}
|
|
|
|
.launcher__vertical-split {
|
|
display: flex;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 50%;
|
|
bottom: 0;
|
|
left: 0;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
|
|
&--right {
|
|
right: 0;
|
|
left: 50%;
|
|
align-items: flex-end;
|
|
}
|
|
}
|
|
|
|
|
|
@keyframes slide-mm-bg-over {
|
|
0% {
|
|
transform: translateX(space(100));
|
|
}
|
|
|
|
100% {
|
|
transform: translateX(space(0));
|
|
}
|
|
}
|
|
|
|
.launcher__background-wrapper {
|
|
display: flex;
|
|
position: absolute;
|
|
top: -55vw;
|
|
right: -100%;
|
|
bottom: -50vw;
|
|
left: -70vw;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
transform: translateX(space(0));
|
|
animation: 25s cubic-out 1 slide-mm-bg-over;
|
|
}
|
|
|
|
@keyframes fade-mm-in {
|
|
0% {
|
|
opacity: 0;
|
|
}
|
|
|
|
100% {
|
|
opacity: 0.1;
|
|
}
|
|
}
|
|
|
|
.launcher__background-mm {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: auto;
|
|
height: 100%;
|
|
animation: 2.5s cubic-in-out 1 fade-mm-in;
|
|
opacity: 0.1;
|
|
}
|
|
|
|
.launcher__title-quadrant {
|
|
flex: 1 1 auto;
|
|
width: auto;
|
|
height: auto;
|
|
padding-top: space(96);
|
|
padding-left: space(96);
|
|
|
|
&--right {
|
|
padding-right: space(96);
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
|
|
.launcher__content-quadrant {
|
|
display: flex;
|
|
position: relative;
|
|
flex: 1 1 100%;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
justify-content: flex-end;
|
|
width: 100%;
|
|
height: auto;
|
|
padding: space(32);
|
|
}
|