src/games/splendid/ResourceToken/ResourceToken.module.css
.token {
position: relative;
width: 35px;
height: 35px;
border-radius: 100%;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-weight: bold;
font-size: 18px;
}
.raised {
box-shadow: 0 1px 2px rgba(36, 36, 36, 0.15);
}
.iconBadge {
position: absolute;
width: 16px;
height: 16px;
top: -4px;
right: -4px;
padding-left: 1px;
border-radius: 100%;
background-color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
}
.token.big {
width: 40px;
height: 40px;
font-size: 20px;
}
.token.big .iconBadge {
width: 20px;
height: 20px;
font-size: 14px;
}
.token.active {
cursor: pointer;
transition: top 1s ease;
}
.token.active:hover {
position: relative;
top: -2px;
}
.disabled {
opacity: 0.4;
}
.token i.iconRemove {
position: absolute;
top: -6px;
right: -10px;
background-color: #fff;
cursor: pointer;
box-shadow: none !important;
display: none;
}
.token:hover i.iconRemove {
display: block;
}