src/games/scrambled/Tile/index.module.scss
.tile {
cursor: auto;
opacity: 1;
user-select: none;
border-radius: 5px;
box-shadow: 3px 3px 0 0 #393434, 2px 2px 0 0 #393434, 1px 1px 0 0 #393434;
background-color: #655d5d;
color: #ffffff;
display: flex;
align-items: center;
justify-content: center;
width: 46px;
height: 46px;
position: relative;
top: -3px;
left: -3px;
font-weight: 600;
margin: 0;
transition: top 0.3s, box-shadow 0.3s, opacity 0.3s, background-color 0.3s;
&_raised {
box-shadow: 3px 3px 0 0 #393434, 2px 2px 0 0 #393434, 1px 1px 0 0 #393434,
rgba(0, 0, 0, 0.25) 3px 8px 4px 1px;
background-color: #8f8880;
top: -8px;
}
&_highlighted {
background-color: #8f8880;
}
&_separate {
margin: 0 5px 0 0;
}
&_clickable {
cursor: pointer;
}
&_used {
opacity: 0.6;
}
&_disabled {
cursor: auto;
color: #444444;
background-color: #cac6c1;
}
.letter {
font-size: 22px;
&_replacement {
opacity: 0.5;
}
}
.bonus {
position: absolute;
bottom: 0;
left: 0;
margin: 3px;
border-radius: 3px;
width: 6px;
height: 6px;
}
.points {
position: absolute;
right: 0;
bottom: 0;
margin: 2px;
font-size: 13px;
line-height: 1;
}
}