vendormenu.cs.scss
VendorMenu {
position: absolute;
width: 100%;
height: 100%;
align-items: center;
justify-content: center;
display: none;
font-family: Poppins;
color: white;
&.show {
display: flex;
flex-direction: column;
pointer-events: all;
}
.header {
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 900px;
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;
}
.cash {
font-size: 28px;
font-weight: bold;
color: #7ed957;
flex-grow: 1;
text-align: right;
margin-right: 20px;
}
.close {
font-size: 26px;
color: rgba( white, 0.55 );
padding: 0px 8px;
cursor: pointer;
transition: color 0.1s ease-out;
&:hover {
color: #e53935;
}
}
}
.columns {
flex-direction: row;
width: 900px;
background-color: rgba( black, 0.6 );
backdrop-filter: blur( 16px );
border-radius: 0px 0px 4px 4px;
padding: 16px;
}
.column {
flex-direction: column;
width: 50%;
padding: 8px;
.columnTitle {
font-size: 18px;
text-transform: uppercase;
color: rgba( white, 0.6 );
margin-bottom: 8px;
}
}
.entry {
flex-direction: row;
align-items: center;
padding: 10px 12px;
margin-bottom: 6px;
background-color: rgba( white, 0.07 );
border-radius: 3px;
transition: background-color 0.1s ease-out;
&:hover {
background-color: rgba( white, 0.16 );
}
.icon {
width: 48px;
height: 24px;
margin-right: 10px;
}
.name {
font-size: 18px;
flex-grow: 1;
}
.cost {
font-size: 18px;
color: #7ed957;
}
&.equipped {
background-color: rgba( #7ed957, 0.22 );
.cost {
color: rgba( white, 0.5 );
}
}
&.unaffordable {
opacity: 0.4;
.cost {
color: #e53935;
}
}
}
}