ui/optionsmenu.razor.scss
OptionsMenu {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(black, 0.7);
font-family: "Cal Sans";
color: white;
font-size: 32px;
padding: 220px 64px 16px 64px;
justify-content: space-between;
align-items: center;
flex-direction: column;
z-index: 1000;
.blank {
height: 650px;
}
.title {
position: relative;
font-size: 64px;
text-shadow: 8px 8px 0px black;
margin-top: 13px;
font-family: Poppins;
font-weight: 700;
}
.timer {
position: relative;
color: #ff7777;
font-size: 42px;
font-weight: bold;
padding: 4px 10px;
//text-shadow: 3px 3px 0px black;
text-stroke: 8px #222;
white-space: pre;
justify-content: center;
align-items: center;
text-align: center;
background-color: #0002;
backdrop-filter: blur( 1px );
}
.difficulty {
position: absolute;
top: 5%;
color: #ff7777;
font-size: 42px;
font-weight: bold;
text-stroke: 8px #222;
justify-content: center;
align-items: center;
text-align: center;
background-color: #0002;
backdrop-filter: blur( 1px );
padding: 8px;
}
> .content {
position: relative;
width: 600px;
height: 1800px;
//flex-grow: 1;
flex-direction: column;
justify-content: flex-start;
align-items: center;
gap: 4px;
margin-top: 24px;
padding-top: 96px;
padding-left: 20px;
padding-right: 20px;
//border: 1px solid red;
background-position: center;
background-size: 100% 100%;
background-image: url("/textures/ui/panel/options_panel.png");
.header {
position: relative;
font-size: 42px;
text-shadow: 4px 4px 0px black;
padding-top: 48px;
}
.option_label {
//align-content: flex-end;
justify-content: flex-end;
width: 150px;
font-size: 22px;
color: #ffffffbb;
padding-right: 8px;
line-height: 22px;
flex-wrap: nowrap;
}
.option_row {
flex-direction: row;
align-items: center;
pointer-events: all;
margin-right: 14px;
//border: 1px solid green;
}
.slider_row {
margin-top: -2px;
}
.crosshair_row {
margin-top: 32px;
}
.crosshair_label {
font-size: 22px;
}
.section_spacer {
height: 12px;
flex-shrink: 0;
}
.toggle_row {
margin-top: 6px;
}
.toggle_label {
font-size: 24px;
line-height: 24px;
}
.second_toggle_row {
margin-top: 16px;
}
.gear_button {
position: absolute;
left: 92px;
bottom: 228px;
width: 50px;
height: 50px;
margin-top: 0;
font-family: "Segoe UI Symbol";
font-size: 32px;
line-height: 72px;
color: #ffffffcc;
background-color: rgba(black, 0.4);
border: 4px solid black;
text-align: center;
justify-content: center;
align-items: center;
border-radius: 8px;
cursor: pointer;
&:hover {
color: white;
background-color: rgba(black, 0.6);
sound-in: ui.button.over;
}
&:active {
sound-in: ui.button.press;
}
}
.switchcontrol {
padding-left: 4px;
pointer-events: all;
.switch-frame {
//width: 120px;
height: 20px;
background-color: #444;
border: 3px solid black;
.switch-inner {
background-color: #777;
width: 42px;
height: 42px;
border: 6px solid black;
}
}
&.active {
.switch-frame {
background-color: #fff;
}
}
}
}
button {
position: relative;
width: 206px;
height: 80px;
flex-shrink: 0;
//background-color: #4CAF50;
border: none;
color: white;
//padding: 15px 32px;
text-align: center;
font-size: 32px;
margin-top: 16px;
cursor: pointer;
//box-shadow: 6px 6px 0px black;
cursor: "select-cursor";
pointer-events: all;
background-position: center;
background-size: 100% 100%;
//border: 1px solid red;
InputHint.inputbutton {
position: absolute;
right: -8px;
top: -8px;
pointer-events: none;
font-size: 15px;
width: 40px;
padding: 8px;
opacity: 1.5;
img {
background-image-tint: rgba(230, 255, 240, 0.8);
}
}
}
.close_button {
background-image: url("/textures/ui/panel/options_close_button.png");
&.controller {
background-image: url("/textures/ui/panel/options_close_button_controller.png");
}
&:hover {
background-image: url("/textures/ui/panel/options_close_button_hover.png");
sound-in: ui.button.over;
}
&:active {
background-image: url("/textures/ui/panel/options_close_button_active.png");
sound-in: ui.button.press;
}
&.controller.ctrl-held {
background-image: url("/textures/ui/panel/options_close_button_controller_hover.png");
}
&.controller.ctrl-activated {
background-image: url("/textures/ui/panel/options_close_button_controller_active.png");
}
}
}