2020-05-09 14:45:23 +00:00
|
|
|
#state_MainMenuState {
|
|
|
|
display: flex;
|
2020-05-11 11:22:05 +00:00
|
|
|
align-items: center;
|
2020-05-09 14:45:23 +00:00
|
|
|
justify-content: center;
|
|
|
|
flex-direction: column;
|
|
|
|
|
2020-05-12 07:56:11 +00:00
|
|
|
background: rgb(140, 165, 194) center center / cover !important;
|
2020-05-11 11:11:07 +00:00
|
|
|
// background: $colorGreenBright !important;
|
2020-05-09 14:45:23 +00:00
|
|
|
|
2020-05-12 07:56:11 +00:00
|
|
|
.fullscreenBackgroundVideo {
|
|
|
|
z-index: -1;
|
|
|
|
position: fixed;
|
|
|
|
right: 50%;
|
|
|
|
bottom: 50%;
|
|
|
|
min-width: 100%;
|
|
|
|
min-height: 100%;
|
|
|
|
|
|
|
|
opacity: 0;
|
|
|
|
display: none;
|
|
|
|
transform: translate(50%, 50%);
|
|
|
|
filter: blur(10px);
|
|
|
|
|
|
|
|
$opacity: 0.2;
|
|
|
|
&.loaded {
|
|
|
|
display: block;
|
|
|
|
opacity: $opacity;
|
|
|
|
|
|
|
|
@include InlineAnimation(0.1s ease-in-out) {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: $opacity;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-09 14:45:23 +00:00
|
|
|
.logo {
|
2020-05-10 17:20:32 +00:00
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-05-09 14:45:23 +00:00
|
|
|
img {
|
|
|
|
@include S(width, 350px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-12 07:56:11 +00:00
|
|
|
.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);
|
|
|
|
border: #{D(2px)} solid rgba(0, 10, 20, 0.1);
|
|
|
|
}
|
|
|
|
|
2020-05-09 14:45:23 +00:00
|
|
|
.mainContainer {
|
2020-05-14 19:54:11 +00:00
|
|
|
@include S(margin-top, 10px);
|
2020-05-09 14:45:23 +00:00
|
|
|
display: flex;
|
2020-05-11 11:22:05 +00: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);
|
|
|
|
|
2020-05-09 14:45:23 +00:00
|
|
|
.playButton {
|
|
|
|
@include SuperHeading;
|
2020-05-11 11:11:07 +00:00
|
|
|
@include S(width, 130px);
|
2020-05-11 12:21:59 +00:00
|
|
|
@include S(padding, 15px, 20px);
|
2020-05-11 11:11:07 +00:00
|
|
|
letter-spacing: 0.3em !important;
|
2020-05-09 14:45:23 +00:00
|
|
|
color: #fff;
|
2020-05-12 07:56:11 +00:00
|
|
|
background-color: $colorGreenBright;
|
2020-05-11 11:11:07 +00:00
|
|
|
text-shadow: #{D(1px)} #{D(2px)} 0 rgba(0, 0, 0, 0.1);
|
2020-05-12 07:56:11 +00:00
|
|
|
transition: transform 0.12s ease-in-out;
|
|
|
|
&:hover {
|
|
|
|
transform: scale(1.02);
|
|
|
|
}
|
2020-05-09 14:45:23 +00:00
|
|
|
}
|
2020-05-14 19:54:11 +00:00
|
|
|
|
|
|
|
.savegames {
|
|
|
|
@include S(max-height, 92px);
|
|
|
|
overflow-y: auto;
|
|
|
|
@include S(width, 200px);
|
|
|
|
pointer-events: all;
|
|
|
|
@include S(padding-right, 5px);
|
|
|
|
display: grid;
|
|
|
|
grid-auto-flow: row;
|
|
|
|
@include S(grid-gap, 5px);
|
|
|
|
@include S(margin-top, 10px);
|
|
|
|
.savegame {
|
|
|
|
background: #eee;
|
|
|
|
@include BorderRadius(4px);
|
|
|
|
@include S(padding, 5px);
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr auto;
|
|
|
|
grid-template-rows: auto auto;
|
|
|
|
@include S(grid-column-gap, 15px);
|
|
|
|
|
|
|
|
.internalId {
|
|
|
|
grid-column: 1 / 2;
|
|
|
|
grid-row: 2 / 3;
|
|
|
|
@include SuperSmallText;
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.updateTime {
|
|
|
|
grid-column: 1 / 2;
|
|
|
|
grid-row: 1 / 2;
|
|
|
|
@include PlainText;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.resumeGame {
|
|
|
|
grid-column: 2 / 3;
|
|
|
|
grid-row: 1 / 3;
|
|
|
|
@include S(width, 30px);
|
|
|
|
@include S(height, 30px);
|
|
|
|
padding: 0;
|
|
|
|
align-self: center;
|
|
|
|
background: #44484a uiResource("icons/play.png") center center / 40% no-repeat;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-05-09 14:45:23 +00:00
|
|
|
}
|
2020-05-10 17:20:32 +00:00
|
|
|
|
|
|
|
.footer {
|
|
|
|
display: flex;
|
2020-05-11 11:22:05 +00:00
|
|
|
flex-grow: 1;
|
2020-05-11 11:11:07 +00:00
|
|
|
justify-content: center;
|
2020-05-11 11:22:05 +00:00
|
|
|
align-items: flex-end;
|
2020-05-10 17:20:32 +00:00
|
|
|
|
|
|
|
@include S(padding, 15px);
|
|
|
|
> a {
|
|
|
|
display: flex;
|
2020-05-11 11:11:07 +00:00
|
|
|
flex-direction: row;
|
2020-05-10 17:20:32 +00:00
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
justify-content: center;
|
2020-05-11 11:22:05 +00:00
|
|
|
background: #fafafa;
|
2020-05-10 17:20:32 +00:00
|
|
|
@include S(padding, 5px);
|
2020-05-11 12:21:59 +00:00
|
|
|
@include S(padding-left, 10px);
|
2020-05-10 17:20:32 +00:00
|
|
|
@include S(border-radius, 4px);
|
|
|
|
@include S(margin-left, 10px);
|
|
|
|
@include SuperSmallText();
|
|
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
text-transform: uppercase;
|
2020-05-11 11:11:07 +00:00
|
|
|
color: #616266;
|
2020-05-10 17:20:32 +00:00
|
|
|
|
2020-05-11 11:22:05 +00:00
|
|
|
transition: all 0.12s ease-in-out;
|
|
|
|
transition-property: background-color, transform;
|
2020-05-10 17:20:32 +00:00
|
|
|
pointer-events: all;
|
2020-05-11 11:11:07 +00:00
|
|
|
@include S(width, 120px);
|
2020-05-10 17:20:32 +00:00
|
|
|
@include S(height, 50px);
|
|
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
2020-05-11 11:22:05 +00:00
|
|
|
background-color: #fff;
|
|
|
|
transform: scale(1.01);
|
2020-05-10 17:20:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.thirdpartyLogo {
|
|
|
|
display: inline-block;
|
2020-05-11 12:21:59 +00:00
|
|
|
width: 80%;
|
|
|
|
height: 80%;
|
|
|
|
background: center center / 80% no-repeat;
|
2020-05-10 17:20:32 +00:00
|
|
|
&.githubLogo {
|
|
|
|
background-image: uiResource("main_menu/github.png");
|
|
|
|
}
|
|
|
|
&.discordLogo {
|
|
|
|
background-image: uiResource("main_menu/discord.png");
|
2020-05-11 12:21:59 +00:00
|
|
|
background-size: 95%;
|
2020-05-10 17:20:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-05-09 14:45:23 +00:00
|
|
|
}
|