ui/pausemenu.razor.scss
PauseMenu {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
font-family: Arial;
font-weight: bold;
color: white;
pointer-events: none;
&.closed {
display: none;
}
.pause-screen {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
align-items: center;
justify-content: center;
pointer-events: all;
}
.pause-screen-overlay {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba( 5, 6, 8, 0.72 );
pointer-events: none;
}
.pause-panel {
position: relative;
width: 760px;
max-height: 88%;
padding: 32px;
flex-direction: column;
align-items: center;
}
.pause-panel-chrome {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba( 14, 16, 19, 0.97 );
border: 1px solid rgba( 255, 255, 255, 0.16 );
box-shadow: 0px 16px 65px rgba( 0, 0, 0, 0.55 );
pointer-events: none;
}
.pause-eyebrow {
font-size: 12px;
letter-spacing: 4px;
opacity: 0.5;
margin-bottom: 8px;
}
.pause-title {
font-size: 36px;
letter-spacing: 2px;
text-align: center;
}
.pause-note {
margin-top: 9px;
font-size: 12px;
font-weight: normal;
opacity: 0.5;
text-align: center;
}
.pause-summary {
width: 100%;
margin: 16px 0;
padding: 12px;
flex-direction: column;
align-items: center;
gap: 4px;
background-color: rgba( 255, 255, 255, 0.035 );
font-size: 12px;
opacity: 0.65;
}
.pause-actions {
width: 100%;
margin-top: 22px;
flex-direction: column;
gap: 9px;
}
.pause-button {
width: 100%;
min-height: 64px;
padding: 14px 18px;
flex-direction: column;
justify-content: center;
background-color: rgba( 255, 255, 255, 0.055 );
border: 1px solid rgba( 255, 255, 255, 0.14 );
cursor: pointer;
pointer-events: all;
&:hover {
background-color: rgba( 255, 255, 255, 0.14 );
}
&.primary {
background-color: rgba( 70, 120, 90, 0.18 );
&:hover {
background-color: rgba( 70, 120, 90, 0.32 );
}
}
&.danger {
background-color: rgba( 155, 65, 60, 0.14 );
&:hover {
background-color: rgba( 155, 65, 60, 0.28 );
}
}
}
.pause-button-title {
font-size: 17px;
letter-spacing: 2px;
}
.pause-button-copy {
margin-top: 4px;
font-size: 11px;
font-weight: normal;
opacity: 0.5;
}
.pause-settings-back {
margin-top: 18px;
min-width: 180px;
min-height: 44px;
padding: 10px 18px;
align-items: center;
justify-content: center;
background-color: rgba( 255, 255, 255, 0.05 );
border: 1px solid rgba( 255, 255, 255, 0.14 );
cursor: pointer;
pointer-events: all;
letter-spacing: 2px;
font-size: 12px;
&:hover {
background-color: rgba( 255, 255, 255, 0.14 );
}
}
}