diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index 7c7bf5a924..9e5baf747f 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -7758,7 +7758,6 @@ module.exports = (_ => { let newProps = { className: className, style: {borderRadius: 0, overflow: "visible"}, - "custom-badge-id": customBadge ? user.id : null, children: [avatar] }; newProps[InternalData.userIdAttribute] = user.id; @@ -7790,7 +7789,6 @@ module.exports = (_ => { } if (role && !avatar.querySelector(BDFDB.dotCN.bdfdbbadge)) { if (addBadge) { - if (customBadge) avatar.setAttribute("custom-badge-id", user.id); let badge = document.createElement("div"); badge.className = BDFDB.disCN.bdfdbbadge; badge.addEventListener("mouseenter", _ => BDFDB.TooltipUtils.create(badge, role, {position: "top"})); diff --git a/Library/_res/BDFDB.data.json b/Library/_res/BDFDB.data.json index a9f3f386a8..64c288063b 100644 --- a/Library/_res/BDFDB.data.json +++ b/Library/_res/BDFDB.data.json @@ -4679,7 +4679,7 @@ } }, "BDFDB_Patrons": { - "455384923034091541": {"active": true, "t3": false, "custom": true, "text": "Allmächtig", "id": "EXITIUM"}, + "455384923034091541": {"active": true, "t3": true, "custom": true, "text": "Allmächtig", "id": "EXITIUM"}, "89482511343702016": {"active": true, "t3": false, "custom": false, "text": "", "id": "AzukiPuddles"}, "341383936984875020": {"active": true, "t3": true, "custom": false, "text": "", "id": "dannycoch (DaCo)"}, "811756093730586635": {"active": false, "t3": true, "custom": false, "text": "", "id": "Namii (RiDeLo)"}, diff --git a/Themes/_res/SupporterBadge.css b/Themes/_res/SupporterBadge.css index eefb6c7b06..07d0bb5363 100644 --- a/Themes/_res/SupporterBadge.css +++ b/Themes/_res/SupporterBadge.css @@ -1,35 +1,28 @@ -.supporter-Z3FfwL.hasBadge-4rT8_u:not(.customSupporter-thxL4U) .mask-1l8v16 { - -webkit-mask: url('data:image/svg+xml; utf8, ') center/cover no-repeat; +.supporter-Z3FfwL.hasBadge-4rT8_u .mask-1l8v16 { + -webkit-mask: url('data:image/svg+xml; utf8, ') center/cover no-repeat; } -.supporter-Z3FfwL.hasBadge-4rT8_u:not(.customSupporter-thxL4U) .avatarHint-1qgaV3 { - -webkit-mask: url('data:image/svg+xml; utf8, '); +.supporter-Z3FfwL.hasBadge-4rT8_u .avatarHint-1qgaV3 { + -webkit-mask: url('data:image/svg+xml; utf8, '); } -.supporter-Z3FfwL.hasBadge-4rT8_u:not(.customSupporter-thxL4U) .badge-7R_W3s { +.supporter-Z3FfwL.hasBadge-4rT8_u .badge-7R_W3s { -webkit-mask: url('data:image/svg+xml; utf8, ') center/cover no-repeat !important; background: #F96854 !important; position: absolute !important; - width: 30% !important; - height: 30% !important; top: 74% !important; left: 1.5% !important; + width: 30% !important; + height: 30% !important; } .root-SR8cQa .topSectionPlaying-1J5E4n .supporter-Z3FfwL.hasBadge-4rT8_u:not(.customSupporter-thxL4U) .badge-7R_W3s, .userPopout-3XzG_A .headerPlaying-j0WQBV .supporter-Z3FfwL.hasBadge-4rT8_u:not(.customSupporter-thxL4U) .badge-7R_W3s { filter: brightness(80%) !important; } -/* BEAUDEN */ -.supporter-Z3FfwL.hasBadge-4rT8_u.customSupporter-thxL4U[custombadge_id="562008872467038230"] .mask-1l8v16 { - -webkit-mask: url('data:image/svg+xml; utf8, ') center/cover no-repeat; -} -.supporter-Z3FfwL.hasBadge-4rT8_u.customSupporter-thxL4U[custombadge_id="562008872467038230"] .avatarHint-1qgaV3 { - -webkit-mask: url('data:image/svg+xml; utf8, '); -} -.supporter-Z3FfwL.hasBadge-4rT8_u.customSupporter-thxL4U[custombadge_id="562008872467038230"] .badge-7R_W3s { - background: url(https://mwittrien.github.io/BetterDiscordAddons/Themes/_res/T3Badges/562008872467038230.png) center/cover no-repeat !important; - position: absolute !important; - width: 50% !important; - height: calc(420/800 * 50%) !important; - top: 75% !important; - left: -10% !important; +/* EXITIUM */ +.supporter-Z3FfwL.hasBadge-4rT8_u.customSupporter-thxL4U[data-user-id="455384923034091541"] .badge-7R_W3s { + -webkit-mask: url('data:image/svg+xml; utf8, ') center/cover no-repeat !important; + top: 69% !important; + left: -0.5% !important; + width: 32% !important; + height: 32% !important; } \ No newline at end of file diff --git a/Themes/_res/ThemeDevBadge.css b/Themes/_res/ThemeDevBadge.css index 287c15b646..f6df96755b 100644 --- a/Themes/_res/ThemeDevBadge.css +++ b/Themes/_res/ThemeDevBadge.css @@ -1,8 +1,8 @@ .dev-A7f2Rx.hasBadge-4rT8_u .mask-1l8v16 { - -webkit-mask: url('data:image/svg+xml; utf8, ') center/cover no-repeat; + -webkit-mask: url('data:image/svg+xml; utf8, ') center/cover no-repeat; } .dev-A7f2Rx.hasBadge-4rT8_u .avatarHint-1qgaV3 { - -webkit-mask: url('data:image/svg+xml; utf8, '); + -webkit-mask: url('data:image/svg+xml; utf8, '); } .dev-A7f2Rx.hasBadge-4rT8_u .badge-7R_W3s { -webkit-mask: url('data:image/svg+xml; utf8, ') center/cover no-repeat !important;