2024-06-10 22:42:30 -05:00
|
|
|
.hotbar {
|
2024-07-23 23:27:08 -05:00
|
|
|
align-self: left;
|
2024-06-13 15:46:56 -05:00
|
|
|
--border: calc(var(--unit) * 3px);
|
2024-07-23 23:27:08 -05:00
|
|
|
background-color: rgba(02, 02, 57, 0.6);
|
2024-06-13 15:46:56 -05:00
|
|
|
border: var(--border) solid #444444;
|
2024-06-10 22:42:30 -05:00
|
|
|
box-sizing: border-box;
|
|
|
|
display: inline-block;
|
2024-07-23 23:27:08 -05:00
|
|
|
left: calc(var(--unit) * 20px);
|
2024-06-10 22:42:30 -05:00
|
|
|
line-height: 0;
|
|
|
|
position: absolute;
|
2024-07-23 23:27:08 -05:00
|
|
|
top: calc(var(--unit) * 20px);
|
|
|
|
transition: top 150ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
.label {
|
|
|
|
background-color: transparent;
|
|
|
|
color: white;
|
|
|
|
font-family: Cookbook, Georgia, 'Times New Roman', Times, serif;
|
|
|
|
left: 50%;
|
|
|
|
margin: 0;
|
|
|
|
position: absolute;
|
|
|
|
text-shadow:
|
|
|
|
0px -1px 0px black,
|
|
|
|
1px 0px 0px black,
|
|
|
|
0px 1px 0px black,
|
|
|
|
-1px 0px 0px black
|
|
|
|
;
|
|
|
|
top: -17.5px;
|
|
|
|
transform: translateX(-50%);
|
2024-06-10 22:42:30 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.slotWrapper {
|
2024-06-13 15:46:56 -05:00
|
|
|
border: var(--border) solid #999999;
|
2024-06-10 22:42:30 -05:00
|
|
|
box-sizing: border-box;
|
|
|
|
display: inline-block;
|
|
|
|
line-height: 0;
|
2024-06-13 21:54:32 -05:00
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
&.active + .slotWrapper {
|
|
|
|
border-left: none;
|
|
|
|
}
|
|
|
|
&:not(:last-child) {
|
|
|
|
border-right: none;
|
|
|
|
}
|
2024-06-10 22:42:30 -05:00
|
|
|
|
|
|
|
&.active {
|
2024-06-13 21:54:32 -05:00
|
|
|
border-right: var(--border) solid #999999;
|
2024-06-10 22:42:30 -05:00
|
|
|
border-color: yellow;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2024-06-13 15:46:56 -05:00
|
|
|
background-color: rgba(0, 0, 0, 0.2);
|
2024-06-10 22:42:30 -05:00
|
|
|
}
|
|
|
|
}
|