|
|
|
@ -1,37 +1,67 @@
|
|
|
|
|
#ingame_HUD_GameMenu {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 50%;
|
|
|
|
|
display: grid;
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
@include S(grid-gap, 3px);
|
|
|
|
|
left: calc(50% - #{D(50px)});
|
|
|
|
|
right: 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
grid-auto-flow: column;
|
|
|
|
|
|
|
|
|
|
button {
|
|
|
|
|
background: $colorGreenBright;
|
|
|
|
|
> .menuButtons {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-grow: 1;
|
|
|
|
|
@include S(padding, 5px, 4px);
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
|
|
|
|
|
> .button {
|
|
|
|
|
@include S(width, 30px);
|
|
|
|
|
@include S(height, 30px);
|
|
|
|
|
display: inline-block;
|
|
|
|
|
background: center center / 60% no-repeat;
|
|
|
|
|
pointer-events: all;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.12s ease-in-out;
|
|
|
|
|
transition-property: opacity, transform;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
opacity: 0.9;
|
|
|
|
|
transform: translateY(3px);
|
|
|
|
|
}
|
|
|
|
|
&.music {
|
|
|
|
|
background-image: uiResource("icons/music_on.png");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.sfx {
|
|
|
|
|
background-image: uiResource("icons/sound_on.png");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.settings {
|
|
|
|
|
background-image: uiResource("icons/settings.png");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
> button {
|
|
|
|
|
@include PlainText;
|
|
|
|
|
color: #fff;
|
|
|
|
|
border-color: rgba(0, 0, 0, 0.1);
|
|
|
|
|
@include S(padding, 5px, 5px, 5px);
|
|
|
|
|
transition: all 0.12s ease-in-out;
|
|
|
|
|
transition-property: opacity, transform;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
opacity: 0.9;
|
|
|
|
|
transform: translateY(3px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@include IncreasedClickArea(10px);
|
|
|
|
|
@include ButtonText;
|
|
|
|
|
border: #{D(2px)} solid rgba(0, 10, 20, 0.2);
|
|
|
|
|
@include S(border-width, 2px);
|
|
|
|
|
border-radius: 0 0 #{D(4px)} #{D(4px)};
|
|
|
|
|
@include S(border-top-width, 10px);
|
|
|
|
|
@include S(padding-left, 30px);
|
|
|
|
|
@include S(margin-top, -5px);
|
|
|
|
|
@include S(letter-spacing, 1px, $important: true);
|
|
|
|
|
background: center #{D(10px)} / #{D(20px)} no-repeat;
|
|
|
|
|
@include S(margin-right, 3px);
|
|
|
|
|
@include IncreasedClickArea(10px);
|
|
|
|
|
@include ButtonText;
|
|
|
|
|
@include S(min-height, 47px);
|
|
|
|
|
transition: all 0.12s ease-in-out;
|
|
|
|
|
transition-property: opacity, transform;
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
background: center #{D(10px)} / #{D(20px)} no-repeat;
|
|
|
|
|
background-color: $colorGreenBright;
|
|
|
|
|
|
|
|
|
|
&[data-button-id="shop"] {
|
|
|
|
|
background-color: rgb(141, 70, 223);
|
|
|
|
@ -42,13 +72,17 @@
|
|
|
|
|
background-image: uiResource("icons/statistics.png");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
opacity: 0.9;
|
|
|
|
|
transform: translateY(3px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.keybinding {
|
|
|
|
|
border: 0;
|
|
|
|
|
color: #fff;
|
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
|
bottom: unset;
|
|
|
|
|
// background: rgba(0, 10, 20, 0.5);
|
|
|
|
|
background: transparent;
|
|
|
|
|
@include S(top, -5px);
|
|
|
|
|
right: unset;
|
|
|
|
|