Add option to show wait time in game card

This commit is contained in:
redphx
2024-07-14 16:44:18 +07:00
parent fcfecf7ff9
commit 1d55026c6d
12 changed files with 242 additions and 12 deletions

View File

@@ -132,3 +132,35 @@ div[class*=SupportedInputsBadge] {
display: none;
}
}
.bx-game-tile-wait-time {
position: absolute;
top: 0;
left: 0;
z-index: 1;
background: #0000008c;
display: none;
border-radius: 0 0 4px 0;
align-items: center;
padding: 4px 8px;
a[class^=BaseItem-module__container]:focus &,
button[class^=BaseItem-module__container]:focus & {
display: flex;
}
svg {
width: 14px;
height: 16px;
margin-right: 2px;
}
span {
display: inline-block;
height: 16px;
line-height: 16px;
font-size: 12px;
font-weight: bold;
}
}