srjrt
This commit is contained in:
parent
0e5164de23
commit
7690907085
@ -727,8 +727,9 @@ body {
|
||||
.hand-slot.hand-slot--filled::before {
|
||||
display: none !important;
|
||||
}
|
||||
/* Karten-Bild immer über dem ::before pseudo-element */
|
||||
.hand-slot img {
|
||||
/* Karten-Bild über dem ::before pseudo-element
|
||||
NUR für hand-slot-card (nicht für den Deck-Stapel mit position:absolute imgs) */
|
||||
.hand-slot-card img {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
border-radius: calc(var(--s) * 9);
|
||||
|
||||
@ -429,7 +429,7 @@
|
||||
|
||||
if (!state) {
|
||||
slot.innerHTML = '<span class="hs-icon">🃏</span>';
|
||||
slot.classList.remove("hand-slot-ready");
|
||||
slot.classList.remove("hand-slot-ready", "hand-slot--filled");
|
||||
slot.draggable = false;
|
||||
delete slot.dataset.cardSlotId;
|
||||
return;
|
||||
@ -474,6 +474,7 @@
|
||||
</div>${statsHtml}${readyBadge}`;
|
||||
|
||||
slot.classList.toggle("hand-slot-ready", isReady);
|
||||
slot.classList.add("hand-slot--filled"); // Hintergrund + ::before entfernen
|
||||
|
||||
// Drag & Drop: nur wenn Karte bereit UND mein Zug
|
||||
if (isReady && isMyTurn) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user