stuff
This commit is contained in:
parent
1deb4cd66f
commit
b29f84ff85
|
@ -4404,7 +4404,6 @@
|
||||||
var DiscordClassModules = {};
|
var DiscordClassModules = {};
|
||||||
DiscordClassModules.BDFDB = {
|
DiscordClassModules.BDFDB = {
|
||||||
BDFDBundefined: "BDFDB_undefined",
|
BDFDBundefined: "BDFDB_undefined",
|
||||||
avatarBadgeWrapper: "wrapper-hd42F_",
|
|
||||||
avatarStatusHovered: "statusHovered-gF2976",
|
avatarStatusHovered: "statusHovered-gF2976",
|
||||||
cardInner: "inner-OP_8zd",
|
cardInner: "inner-OP_8zd",
|
||||||
cardWrapper: "card-rT4Wbb",
|
cardWrapper: "card-rT4Wbb",
|
||||||
|
@ -4936,7 +4935,6 @@
|
||||||
autocompleteselected: ["Autocomplete", "selectorSelected"],
|
autocompleteselected: ["Autocomplete", "selectorSelected"],
|
||||||
autocompleteselector: ["Autocomplete", "selector"],
|
autocompleteselector: ["Autocomplete", "selector"],
|
||||||
avatar: ["Avatar", "avatar"],
|
avatar: ["Avatar", "avatar"],
|
||||||
avatarbadgewrapper: ["BDFDB", "avatarBadgeWrapper"],
|
|
||||||
avatarcursordefault: ["Avatar", "cursorDefault"],
|
avatarcursordefault: ["Avatar", "cursorDefault"],
|
||||||
avataricon: ["AvatarIcon", "icon"],
|
avataricon: ["AvatarIcon", "icon"],
|
||||||
avatariconactivelarge: ["AvatarIcon", "iconActiveLarge"],
|
avatariconactivelarge: ["AvatarIcon", "iconActiveLarge"],
|
||||||
|
@ -8436,6 +8434,11 @@
|
||||||
text-decoration: line-through;
|
text-decoration: line-through;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
${BDFDB.dotCN.avatarwrapper + BDFDB.dotCN.messageavatar} {
|
||||||
|
overflow: visible;
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
${BDFDB.dotCN.favbuttoncontainer} {
|
${BDFDB.dotCN.favbuttoncontainer} {
|
||||||
display: flex;
|
display: flex;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -9731,9 +9734,9 @@
|
||||||
InternalBDFDB._processAvatarRender = function (user, avatar) {
|
InternalBDFDB._processAvatarRender = function (user, avatar) {
|
||||||
if (BDFDB.ReactUtils.isValidElement(avatar) && BDFDB.ObjectUtils.is(user)) {
|
if (BDFDB.ReactUtils.isValidElement(avatar) && BDFDB.ObjectUtils.is(user)) {
|
||||||
let changed = false;
|
let changed = false;
|
||||||
if (avatar.type == "img") avatar = BDFDB.ReactUtils.createElement("div", {
|
if (avatar.type == "img") avatar = BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Avatar, Object.assign({}, avatar.props, {
|
||||||
className: BDFDB.disCN.avatarbadgewrapper,
|
className: BDFDB.DOMUtils.formatClassName((avatar.props.className || "").replace(BDFDB.disCN.avatar, "")),
|
||||||
children: avatar
|
size: BDFDB.LibraryComponents.Avatar.Sizes.SIZE_40
|
||||||
});
|
});
|
||||||
avatar.props["user_by_BDFDB"] = user.id;
|
avatar.props["user_by_BDFDB"] = user.id;
|
||||||
if (BDFDB_Patrons.includes(user.id) && BDFDB.DataUtils.get(BDFDB, "settings", "showSupportBadges")) {
|
if (BDFDB_Patrons.includes(user.id) && BDFDB.DataUtils.get(BDFDB, "settings", "showSupportBadges")) {
|
||||||
|
|
|
@ -70,7 +70,6 @@
|
||||||
left: 7px !important;
|
left: 7px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wrapper-hd42F_.supporter-Z3FfwL:after,
|
|
||||||
.wrapper-3t9DeA.supporter-Z3FfwL:after {
|
.wrapper-3t9DeA.supporter-Z3FfwL:after {
|
||||||
content: "" !important;
|
content: "" !important;
|
||||||
-webkit-mask: var(--supporterbadge) center/cover no-repeat !important;
|
-webkit-mask: var(--supporterbadge) center/cover no-repeat !important;
|
||||||
|
@ -88,7 +87,6 @@
|
||||||
left: -1px !important;
|
left: -1px !important;
|
||||||
bottom: -1px !important;
|
bottom: -1px !important;
|
||||||
}
|
}
|
||||||
.wrapper-hd42F_.supporter-Z3FfwL,
|
|
||||||
.wrapper-3t9DeA.supporter-Z3FfwL [mask="url(#svg-mask-avatar-default)"] {
|
.wrapper-3t9DeA.supporter-Z3FfwL [mask="url(#svg-mask-avatar-default)"] {
|
||||||
-webkit-mask: url('data:image/svg+xml; utf8, <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 1 1"><circle fill="white" cx="0.5" cy="0.5" r="0.5"></circle><rect fill="black" x="-0.15" y="0.6375" width="0.5" height="0.5" rx="0.13125" ry="0.13125"></rect></svg>');
|
-webkit-mask: url('data:image/svg+xml; utf8, <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 1 1"><circle fill="white" cx="0.5" cy="0.5" r="0.5"></circle><rect fill="black" x="-0.15" y="0.6375" width="0.5" height="0.5" rx="0.13125" ry="0.13125"></rect></svg>');
|
||||||
}
|
}
|
||||||
|
|
|
@ -70,7 +70,6 @@
|
||||||
left: 7px !important;
|
left: 7px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wrapper-hd42F_.dev-A7f2Rx:after,
|
|
||||||
.wrapper-3t9DeA.dev-A7f2Rx:after {
|
.wrapper-3t9DeA.dev-A7f2Rx:after {
|
||||||
content: "" !important;
|
content: "" !important;
|
||||||
-webkit-mask: var(--themedevbadge) center/cover no-repeat !important;
|
-webkit-mask: var(--themedevbadge) center/cover no-repeat !important;
|
||||||
|
@ -88,7 +87,6 @@
|
||||||
left: -1px !important;
|
left: -1px !important;
|
||||||
bottom: -1px !important;
|
bottom: -1px !important;
|
||||||
}
|
}
|
||||||
.wrapper-hd42F_.dev-A7f2Rx,
|
|
||||||
.wrapper-3t9DeA.dev-A7f2Rx [mask="url(#svg-mask-avatar-default)"] {
|
.wrapper-3t9DeA.dev-A7f2Rx [mask="url(#svg-mask-avatar-default)"] {
|
||||||
-webkit-mask: url('data:image/svg+xml; utf8, <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 1 1"><circle fill="white" cx="0.5" cy="0.5" r="0.5"></circle><rect fill="black" x="-0.15" y="0.6375" width="0.5" height="0.5" rx="0.13125" ry="0.13125"></rect></svg>');
|
-webkit-mask: url('data:image/svg+xml; utf8, <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 1 1"><circle fill="white" cx="0.5" cy="0.5" r="0.5"></circle><rect fill="black" x="-0.15" y="0.6375" width="0.5" height="0.5" rx="0.13125" ry="0.13125"></rect></svg>');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue