game/3d/cellpanel.razor.scss
/* CellPanel.razor.scss */
root {
width: 100%;
height: 100%;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
position: relative;
cursor: pointer;
transition: background-color 0.1s, transform 0.1s;
background-color: rgba(255,255,255,0.06);
border: 1px solid rgba(255,255,255,0.10);
}
root:hover {
background-color: rgba(255,255,255,0.12);
}
root.has-bomb {
background-color: rgba(83,74,183,0.35);
border-color: rgba(175,169,236,0.6);
}
root.chest {
background-color: rgba(255,243,224,0.12);
border-color: rgba(232,160,48,0.5);
}
root.chest.danger {
background-color: rgba(226,75,74,0.18);
border-color: rgba(226,75,74,0.7);
}
root.empty {
cursor: default;
}
.icon {
font-size: 26px;
line-height: 1;
}
.hits {
position: absolute;
bottom: 3px;
right: 4px;
font-size: 9px;
color: rgba(255,255,255,0.5);
}
.bomb-label {
position: absolute;
top: 2px;
left: 4px;
font-size: 9px;
font-weight: 600;
color: rgba(175,169,236,0.9);
background-color: rgba(60,52,137,0.7);
border-radius: 4px;
padding: 0 3px;
line-height: 14px;
}