show disabled held piece

This commit is contained in:
2024-08-02 23:24:39 +02:00
parent d75696fbc3
commit ab023ec982
7 changed files with 46 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ body[data-bs-theme="dark"] {
background-color: rgba(37, 41, 45, 40%);
}
.mino:not(.ghost):not(.locking) {
.mino:not(.ghost):not(.locking):not(.disabled) {
padding: 1px;
position: relative;
z-index: 0;
@@ -71,6 +71,15 @@ body[data-bs-theme="dark"] {
box-shadow: 0px 0px 10px rgba(242, 255, 255, 100%);
}
.disabled.mino {
opacity: 60%;
}
.disabled.mino:before {
opacity: 50%;
box-shadow: none;
}
@keyframes locked-animation {
from {
opacity: 1;