ui/spawnmenuhost.razor.scss
@import "/UI/Theme.scss";

SpawnMenuHost
{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	color: $menu-color;
	justify-content: center;
	font-family: $body-font;
	font-size: 14px;
	font-weight: 600;
	z-index: 1000;
	pointer-events: none;
}

SpawnMenuHost .menu-wrapper
{
	width: 100%;
	height: 100%;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.1s ease-out;
}

SpawnMenuHost.open .menu-wrapper
{
	opacity: 1;
	pointer-events: all;
}

// windows over the menu, they are the only thing in it that takes the mouse
SpawnMenuHost .modal-layer
{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	justify-content: center;
	align-items: center;
	pointer-events: none;
	z-index: 10;
}

// nothing darkens the game behind the menu
SpawnMenuHost .menu-backdrop
{
	display: none;
}

SpawnMenuHost .menu-slide
{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	transform: translateY( -180px );
	transition: transform 0.1s ease-out;
}

SpawnMenuHost.open .menu-slide
{
	transform: translateY( 0px );
}