32 lines
457 B
SCSS
32 lines
457 B
SCSS
.hotbar {
|
|
position: absolute;
|
|
width: 200px;
|
|
height: 20px;
|
|
left: 50%;
|
|
top: 2px;
|
|
|
|
.item-slot.active {
|
|
border: 1px solid rgba(255, 255, 0, 1);
|
|
|
|
&:hover {
|
|
transition: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.hotbar-inner {
|
|
transform: translateX(-50%);
|
|
height: 100%;
|
|
}
|
|
|
|
.hotbar-key {
|
|
color: white;
|
|
text-shadow: 0.25px 0.25px 0 black;
|
|
font-family: joystix;
|
|
position: absolute;
|
|
top: -1.5px;
|
|
left: -1px;
|
|
font-size: 4px;
|
|
line-height: 4px;
|
|
}
|