dghjmt
This commit is contained in:
parent
408f935402
commit
17fe78bbe4
@ -412,11 +412,15 @@ body {
|
|||||||
height: calc(var(--s) * 160);
|
height: calc(var(--s) * 160);
|
||||||
border-radius: calc(var(--s) * 9);
|
border-radius: calc(var(--s) * 9);
|
||||||
border: 2px dashed rgba(255, 215, 80, 0.35);
|
border: 2px dashed rgba(255, 215, 80, 0.35);
|
||||||
|
background: rgba(10, 8, 5, 0.92); /* dunkles Backing – deckt transparente PNG-Bereiche ab */
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: border-color 0.2s ease, transform 0.2s ease;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
cursor: pointer;
|
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
transition: border-color 0.2s ease, transform 0.2s ease;
|
|
||||||
}
|
}
|
||||||
.hand-slot:hover {
|
.hand-slot:hover {
|
||||||
border-color: rgba(255, 215, 80, 0.9);
|
border-color: rgba(255, 215, 80, 0.9);
|
||||||
|
|||||||
@ -428,7 +428,7 @@
|
|||||||
if (!slot) return;
|
if (!slot) return;
|
||||||
|
|
||||||
if (!state) {
|
if (!state) {
|
||||||
slot.innerHTML = '<div style="width:100%;height:100%;display:flex;align-items:center;justify-content:center;"><span class="hs-icon">🃏</span></div>';
|
slot.innerHTML = '<span class="hs-icon">🃏</span>';
|
||||||
slot.classList.remove("hand-slot-ready", "hand-slot--filled");
|
slot.classList.remove("hand-slot-ready", "hand-slot--filled");
|
||||||
slot.draggable = false;
|
slot.draggable = false;
|
||||||
delete slot.dataset.cardSlotId;
|
delete slot.dataset.cardSlotId;
|
||||||
@ -461,7 +461,7 @@
|
|||||||
? `<div class="hand-slot-ready-badge">SPIELEN</div>`
|
? `<div class="hand-slot-ready-badge">SPIELEN</div>`
|
||||||
: "";
|
: "";
|
||||||
|
|
||||||
// Bild als normales Block-Element – kein position:absolute, kein z-index-Konflikt
|
// Bild als normales Block-Element – kein position:absolute, kein z-index
|
||||||
slot.innerHTML = card.image
|
slot.innerHTML = card.image
|
||||||
? `<img src="/images/cards/${card.image}"
|
? `<img src="/images/cards/${card.image}"
|
||||||
onerror="this.src='/images/items/rueckseite.png'"
|
onerror="this.src='/images/items/rueckseite.png'"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user