xfghmfxg
This commit is contained in:
parent
7690907085
commit
7098caee6b
@ -719,25 +719,19 @@ body {
|
|||||||
border-color: rgba(255, 215, 80, 0.6);
|
border-color: rgba(255, 215, 80, 0.6);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hand-Slot: Karte ist drin → Hintergrund + Overlay entfernen */
|
/* Hand-Slot: Karte ist drin
|
||||||
|
- backdrop-filter weg (kein Frosted-Glass-Schleier)
|
||||||
|
- background weg (kein dunkler Durchschein)
|
||||||
|
- overflow:hidden clippt das absolute-img auf den border-radius
|
||||||
|
- ::before Gradient-Overlay ausblenden */
|
||||||
.hand-slot.hand-slot--filled {
|
.hand-slot.hand-slot--filled {
|
||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
backdrop-filter: none !important;
|
backdrop-filter: none !important;
|
||||||
|
overflow: hidden !important;
|
||||||
}
|
}
|
||||||
.hand-slot.hand-slot--filled::before {
|
.hand-slot.hand-slot--filled::before {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
/* 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);
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
object-fit: cover;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Hand-Slot: Karte ist spielbereit (CD = 0) */
|
/* Hand-Slot: Karte ist spielbereit (CD = 0) */
|
||||||
.hand-slot.hand-slot-ready {
|
.hand-slot.hand-slot-ready {
|
||||||
|
|||||||
@ -157,7 +157,7 @@
|
|||||||
border: 1px solid rgba(200, 150, 42, 0.4) !important;
|
border: 1px solid rgba(200, 150, 42, 0.4) !important;
|
||||||
}
|
}
|
||||||
.hand-slot-card > img {
|
.hand-slot-card > img {
|
||||||
border-radius: calc(var(--s) * 7);
|
border-radius: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.hand-slot-card:hover {
|
.hand-slot-card:hover {
|
||||||
@ -465,7 +465,8 @@
|
|||||||
? `<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'"
|
||||||
title="${card.name}"
|
title="${card.name}"
|
||||||
style="width:100%;height:100%;object-fit:cover;border-radius:7px;display:block;">
|
draggable="false"
|
||||||
|
style="position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;">
|
||||||
${statsHtml}${readyBadge}`
|
${statsHtml}${readyBadge}`
|
||||||
: `<div style="display:flex;flex-direction:column;align-items:center;
|
: `<div style="display:flex;flex-direction:column;align-items:center;
|
||||||
justify-content:center;height:100%;gap:4px;font-family:Cinzel,serif;">
|
justify-content:center;height:100%;gap:4px;font-family:Cinzel,serif;">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user