ui/panels/difficultypanel.razor.scss
DifficultyPanel {
position: absolute;
top: 90px;
right: 32px;
width: 718px;
height: 70px;
flex-direction: row;
font-family: "Mini Pixel-7";
color: white;
font-size: 28px;
align-items: center;
gap: 4px;
background-color: #000000aa;
//padding: 0px 8px 8px 8px;
padding: 4px;
align-content: center;
justify-content: center;
align-items: center;
.header {
font-size: 36px;
margin: 12px;
color: #666;
}
.middle {
width: 90%;
flex-direction: column;
padding: 4px;
justify-content: center;
}
.difficulty_label {
//height: 60px;
//color: #ffffffbb;
font-size: 48px;
align-content: center;
justify-content: center;
padding-bottom: 4px;
}
.description {
position: absolute;
bottom: -2px;
//height: 30px;
color: #ffffff66;
font-size: 28px;
align-content: center;
justify-content: center;
//margin-bottom: 30px;
align-self: center;
}
.difficulty_button {
width: 60px;
height: 90%;
background-color: #4CAF50;
border: none;
color: white;
font-size: 54px;
padding: 6px 12px 8px 16px;
text-align: center;
align-content: center;
justify-content: center;
align-items: center;
text-align: center;
//margin-left: 4px;
cursor: pointer;
//box-shadow: 6px 6px 0px black;
//border-radius: 10px;
cursor: "select-cursor";
flex-shrink: 1;
InputHint img {
width: 32px;
}
&:hover {
background-color: #45a049;
sound-in: ui.button.over;
}
&:active {
background-color: #65c069;
sound-in: ui.button.press;
}
&.red {
background-color: #f44336;
&:hover {
background-color: #d32f2f;
}
&:active {
background-color: #f34f4f;
}
}
&.blue {
background-color: #2196F3;
&:hover {
background-color: #1e87f0;
}
&:active {
background-color: #2ea7ff;
}
}
}
.disabled_button {
background-color: #888888;
opacity: 0.5;
pointer-events: none;
//cursor: not-allowed;
}
.locked_button {
background-color: #888888;
opacity: 0.5;
pointer-events: none;
background-image: url(textures/ui/lock.png);
background-repeat: no-repeat;
background-size: cover;
}
}