diff --git a/public/css/events.css b/public/css/events.css index 02c2972..87ebc48 100644 --- a/public/css/events.css +++ b/public/css/events.css @@ -341,7 +341,7 @@ /* Kristalle – mittig unten */ .bs-rarity { position: absolute; - top: 72%; + top: 62%; left: 0; right: 0; display: flex; @@ -353,6 +353,41 @@ pointer-events: none; } +/* Reichweite & Laufen Badges */ +.bs-range-race { + position: absolute; + top: 74%; + left: 0; + right: 0; + display: flex; + justify-content: center; + gap: 3px; + pointer-events: none; + z-index: 6; +} +.bs-badge-range, +.bs-badge-race { + display: flex; + align-items: center; + gap: 2px; + padding: 1px 4px; + border-radius: 20px; + font-family: "Cinzel", serif; + font-size: 8px; + font-weight: bold; + line-height: 1; +} +.bs-badge-range { + background: rgba(30, 20, 0, 0.85); + border: 1px solid #e8b84b; + color: #e8b84b; +} +.bs-badge-race { + background: rgba(0, 25, 0, 0.85); + border: 1px solid #7de87d; + color: #7de87d; +} + /* Kartenname – ganz unten */ .bs-card-name { position: absolute; diff --git a/public/js/quickmenu/events.js b/public/js/quickmenu/events.js index 69239a1..073356c 100644 --- a/public/js/quickmenu/events.js +++ b/public/js/quickmenu/events.js @@ -1,6 +1,12 @@ /* ================================ Kristall-Mapping (aus carddeck.js) ================================ */ +/* ================================ + Stat-Icons SVG +================================ */ +const BS_SVG_RANGE = ``; +const BS_SVG_RACE = ``; + const RARITY_CRYSTALS = { 1: "roter-cristal.png", 2: "blauer-cristal.png", @@ -35,6 +41,11 @@ function cardHTML(card, isFront = true) { ${card?.defends != null ? `${card.defends}` : ""} ${card?.cooldown != null ? `${card.cooldown}` : ""} ${card?.rarity ? `