shapez/src/css/states/main_menu.scss

103 lines
2.9 KiB
SCSS
Raw Normal View History

2020-05-09 16:45:23 +02:00
#state_MainMenuState {
display: flex;
2020-05-11 13:22:05 +02:00
align-items: center;
2020-05-09 16:45:23 +02:00
justify-content: center;
flex-direction: column;
2020-05-11 13:22:05 +02:00
background: rgb(99, 212, 169) uiResource("main_menu/bg.noinline.jpg") center center / cover !important;
2020-05-11 13:11:07 +02:00
// background: $colorGreenBright !important;
2020-05-09 16:45:23 +02:00
.logo {
display: flex;
flex-grow: 1;
align-items: center;
justify-content: center;
2020-05-09 16:45:23 +02:00
img {
@include S(width, 350px);
}
}
.mainContainer {
@include S(margin-top, 40px);
display: flex;
2020-05-11 13:22:05 +02:00
align-items: center;
justify-content: flex-start;
flex-direction: column;
background: #fafafa;
@include S(padding, 20px);
@include S(border-radius, 4px);
// border: #{D(2px)} solid rgba(0, 10, 20, 0.1);
.betaWarning {
@include S(width, 400px);
@include PlainText;
background: $colorRedBright;
@include S(padding, 10px);
@include S(border-radius, 4px);
color: #fff;
@include S(margin-bottom, 10px);
}
2020-05-11 13:11:07 +02:00
2020-05-09 16:45:23 +02:00
.playButton {
@include SuperHeading;
2020-05-11 13:11:07 +02:00
@include S(width, 130px);
2020-05-11 14:21:59 +02:00
@include S(padding, 15px, 20px);
2020-05-11 13:11:07 +02:00
letter-spacing: 0.3em !important;
2020-05-09 16:45:23 +02:00
color: #fff;
2020-05-11 13:11:07 +02:00
background-color: #55585a;
text-shadow: #{D(1px)} #{D(2px)} 0 rgba(0, 0, 0, 0.1);
2020-05-09 16:45:23 +02:00
}
}
.footer {
display: flex;
2020-05-11 13:22:05 +02:00
flex-grow: 1;
2020-05-11 13:11:07 +02:00
justify-content: center;
2020-05-11 13:22:05 +02:00
align-items: flex-end;
@include S(padding, 15px);
> a {
display: flex;
2020-05-11 13:11:07 +02:00
flex-direction: row;
align-items: center;
justify-content: center;
2020-05-11 13:22:05 +02:00
background: #fafafa;
@include S(padding, 5px);
2020-05-11 14:21:59 +02:00
@include S(padding-left, 10px);
@include S(border-radius, 4px);
@include S(margin-left, 10px);
@include SuperSmallText();
font-weight: bold;
text-transform: uppercase;
2020-05-11 13:11:07 +02:00
color: #616266;
2020-05-11 13:22:05 +02:00
transition: all 0.12s ease-in-out;
transition-property: background-color, transform;
pointer-events: all;
2020-05-11 13:11:07 +02:00
@include S(width, 120px);
@include S(height, 50px);
cursor: pointer;
&:hover {
2020-05-11 13:22:05 +02:00
background-color: #fff;
transform: scale(1.01);
}
.thirdpartyLogo {
display: inline-block;
2020-05-11 14:21:59 +02:00
width: 80%;
height: 80%;
background: center center / 80% no-repeat;
&.githubLogo {
background-image: uiResource("main_menu/github.png");
}
&.discordLogo {
background-image: uiResource("main_menu/discord.png");
2020-05-11 14:21:59 +02:00
background-size: 95%;
}
}
}
}
2020-05-09 16:45:23 +02:00
}