mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-04-19 13:59:22 -04:00
104 lines
1.4 KiB
SCSS
104 lines
1.4 KiB
SCSS
@import '/styles/mainmenu.scss';
|
|
|
|
.mainmenu
|
|
{
|
|
flex-direction: column;
|
|
font-size: 14px;
|
|
pointer-events: all;
|
|
|
|
NavigationHost
|
|
{
|
|
flex-grow: 1;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
.body
|
|
{
|
|
flex-grow: 1;
|
|
flex-direction: column;
|
|
position: relative;
|
|
// width: 100%;
|
|
}
|
|
|
|
.is-vr
|
|
{
|
|
filter: drop-shadow(0px 0px 20px rgba( black, 0.5 ));
|
|
}
|
|
|
|
.side-navigation
|
|
{
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
> .mainmenu .navigator-body
|
|
{
|
|
flex-grow: 1;
|
|
|
|
&.hidden
|
|
{
|
|
display: none;
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.mainmenu-header, .mainmenu-footer
|
|
{
|
|
flex-grow: 0;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.mainmenu-header
|
|
{
|
|
height: 90px;
|
|
z-index: 10;
|
|
}
|
|
|
|
.mainmenu-footer
|
|
{
|
|
z-index: 10;
|
|
}
|
|
|
|
.mainmenu-content
|
|
{
|
|
flex-grow: 1;
|
|
width: 100%;
|
|
}
|
|
|
|
.image-viewer
|
|
{
|
|
position: absolute;
|
|
left: 0px;
|
|
right: 0px;
|
|
top: 0px;
|
|
bottom: 0px;
|
|
z-index: 1010;
|
|
transition: all 0.2s ease-out;
|
|
opacity: 0;
|
|
transform: scale( 1 );
|
|
aspect-ratio: 1.1;
|
|
background-position: center;
|
|
background-size: contain;
|
|
background-color: #111;
|
|
background-repeat: no-repeat;
|
|
margin: 20px;
|
|
pointer-events: none;
|
|
transform: scale( 0.1 );
|
|
box-shadow: 0px 0px 100px 100px rgba( black, 0.4 );
|
|
|
|
&.active
|
|
{
|
|
opacity: 1;
|
|
pointer-events: all;
|
|
transform: scale( 1 );
|
|
}
|
|
}
|
|
|
|
.tooltip
|
|
{
|
|
background-color: #656e7e;
|
|
font-family: Poppins;
|
|
border: none;
|
|
}
|