This commit is contained in:
Mirco Wittrien 2021-05-21 19:53:04 +02:00
parent 56e761952f
commit a05df442f6
2 changed files with 12 additions and 8 deletions

View File

@ -7786,10 +7786,7 @@ module.exports = (_ => {
}; };
InternalBDFDB._processUserInfoNode = function (user, wrapper) { InternalBDFDB._processUserInfoNode = function (user, wrapper) {
if (!user || !wrapper) return; if (!user || !wrapper) return;
if (InternalData.UserBackgrounds[user.id]) { if (InternalData.UserBackgrounds[user.id]) for (let property in InternalData.UserBackgrounds[user.id]) wrapper.style.setProperty(property, InternalData.UserBackgrounds[user.id][property], "important");
wrapper.setAttribute(InternalData.userBannerAttribute, true);
for (let property in InternalData.UserBackgrounds[user.id]) wrapper.style.setProperty(property, InternalData.UserBackgrounds[user.id][property], "important");
}
}; };
InternalBDFDB.processMessageHeader = function (e) { InternalBDFDB.processMessageHeader = function (e) {
if (e.instance.props.message && e.instance.props.message.author) { if (e.instance.props.message && e.instance.props.message.author) {

View File

@ -8,6 +8,9 @@
top: 76px !important; top: 76px !important;
margin-top: var(--user-background, -60px) !important; margin-top: var(--user-background, -60px) !important;
} }
#app-mount .activity-fViXj7 {
border-color: transparent !important;
}
.userPopout-3XzG_A { .userPopout-3XzG_A {
width: 300px !important; width: 300px !important;
@ -29,13 +32,13 @@
max-height: var(--user-background, 60px); max-height: var(--user-background, 60px);
} }
.userPopout-3XzG_A .headerStreaming-2FjmGz::before { .userPopout-3XzG_A .headerStreaming-2FjmGz::before {
background: #593695; background: var(--user-background, #593695) var(--user-popout-position, center)/cover no-repeat;
} }
.userPopout-3XzG_A .headerSpotify-zpWxgT::before { .userPopout-3XzG_A .headerSpotify-zpWxgT::before {
background: #1db954; background: var(--user-background, #1db954) var(--user-popout-position, center)/cover no-repeat;
} }
.userPopout-3XzG_A .headerXbox-3G-4PF::before { .userPopout-3XzG_A .headerXbox-3G-4PF::before {
background: #107c10; background: var(--user-background, #107c10) var(--user-popout-position, center)/cover no-repeat;
} }
.userPopout-3XzG_A .headerTop-3C2Zn0 { .userPopout-3XzG_A .headerTop-3C2Zn0 {
position: relative; position: relative;
@ -45,9 +48,10 @@
padding: 64px 16px 16px; padding: 64px 16px 16px;
} }
.userPopout-3XzG_A .activity-11LB_k { .userPopout-3XzG_A .activity-11LB_k {
background: transparent;
border-color: transparent;
padding: 16px 0; padding: 16px 0;
margin: 0 16px; margin: 0 16px;
border-bottom: 1px solid var(--background-accent);
} }
.userPopout-3XzG_A .avatarWrapper-3H_478 { .userPopout-3XzG_A .avatarWrapper-3H_478 {
border-radius: 50%; border-radius: 50%;
@ -136,6 +140,9 @@
background: var(--brand-experiment, #5865f2); background: var(--brand-experiment, #5865f2);
color: #fff; color: #fff;
} }
#app-mount .userPopout-3XzG_A .date-YN6TCS {
color: var(--header-secondary);
}
.userPopout-3XzG_A .customStatus-1bh2V9 { .userPopout-3XzG_A .customStatus-1bh2V9 {
color: var(--header-secondary); color: var(--header-secondary);
width: 100%; width: 100%;