welcomepopup.cs.scss
// Same measurements and colours as VendorMenu / InvestmentMenu, so the
// first thing a new player sees already looks like the rest of the hideout.
WelcomePopup {
position: absolute;
width: 100%;
height: 100%;
align-items: center;
justify-content: center;
display: none;
font-family: Poppins;
color: white;
&.show {
display: flex;
pointer-events: all;
// Dims the room behind it - this one should read as "stop and
// read", not as another panel floating over the game.
background-color: rgba( black, 0.45 );
}
.window {
flex-direction: column;
width: 900px;
}
.header {
width: 100%;
padding: 16px 24px;
background-color: rgba( black, 0.75 );
border-radius: 4px 4px 0px 0px;
.title {
font-size: 28px;
font-weight: bold;
text-transform: uppercase;
}
}
.body {
flex-direction: column;
width: 100%;
padding: 24px;
background-color: rgba( black, 0.6 );
backdrop-filter: blur( 16px );
border-radius: 0px 0px 4px 4px;
.blurb {
font-size: 16px;
color: rgba( white, 0.6 );
margin-bottom: 20px;
}
.steps {
flex-direction: column;
margin-bottom: 20px;
.step {
flex-direction: row;
align-items: flex-start;
padding: 12px;
background-color: rgba( white, 0.05 );
border-radius: 3px;
margin-bottom: 6px;
.number {
width: 36px;
height: 36px;
flex-shrink: 0;
align-items: center;
justify-content: center;
margin-right: 16px;
border-radius: 18px;
background-color: rgba( #7ed957, 0.15 );
border: 1px solid rgba( #7ed957, 0.5 );
font-size: 18px;
font-weight: bold;
color: #7ed957;
}
.stepText {
flex-direction: column;
flex-grow: 1;
flex-shrink: 1;
.stepHeading {
font-size: 18px;
font-weight: bold;
text-transform: uppercase;
margin-bottom: 2px;
}
.stepBody {
font-size: 16px;
color: rgba( white, 0.75 );
}
}
}
}
.footer {
flex-direction: row;
align-items: center;
justify-content: space-between;
.tagline {
font-size: 18px;
font-style: italic;
color: rgba( white, 0.45 );
}
.dismiss {
align-items: center;
justify-content: center;
padding: 12px 40px;
background-color: rgba( #7ed957, 0.15 );
border: 1px solid rgba( #7ed957, 0.5 );
border-radius: 3px;
cursor: pointer;
transition: background-color 0.1s ease-out;
.dismissLabel {
font-size: 20px;
font-weight: bold;
text-transform: uppercase;
}
&:hover {
background-color: rgba( #7ed957, 0.3 );
}
}
}
}
}