This commit is contained in:
Mirco Wittrien 2022-04-23 19:48:23 +02:00
parent 0e6657cefa
commit ad5423019f
4 changed files with 22 additions and 9 deletions

View File

@ -2,7 +2,7 @@
* @name GameActivityToggle
* @author DevilBro
* @authorId 278543574059057154
* @version 1.1.0
* @version 1.1.1
* @description Adds a Quick-Toggle Game Activity Button
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -17,12 +17,13 @@ module.exports = (_ => {
"info": {
"name": "GameActivityToggle",
"author": "DevilBro",
"version": "1.1.0",
"version": "1.1.1",
"description": "Adds a Quick-Toggle Game Activity Button"
},
"changeLog": {
"fixed": {
"Global Hotkey": "Now properly saves"
"Global Hotkey": "Now properly saves",
"Account Switcher Overflow": "Fixed Issue, where the settings button would overflow in the account details, when the account switcher experiment was enabled"
}
}
};
@ -113,6 +114,12 @@ module.exports = (_ => {
Account: "render"
}
};
this.css = `
${BDFDB.dotCNC.accountinfowithtagasbutton + BDFDB.dotCN.accountinfowithtagless} {
min-width: unset;
}
`;
}
onStart () {

View File

@ -4483,11 +4483,14 @@ img[src="/assets/cef02719c12d8aaf38894c16dca7fbe6.svg"] { /* rolesettings addr
#app-mount .activity-1gTu-L {
padding: 0 16px 16px;
}
.userPopout-2j1gM4 .banner-1YaD3N { /* popout banner */
.userPopout-2j1gM4 .banner-1YaD3N, /* popout banner */
.menu-1QACrS .banner-1YaD3N { /* status popout banner */
-webkit-mask: url('data:image/svg+xml; utf8, <svg xmlns="http://www.w3.org/2000/svg" width="2400" height="120" viewBox="0 0 2400 120" fill="none"><path fill="black" d="M 0 0 L 0 120 L 16 120 A 46 46 0 0 1 62 76 A 46 46 0 0 1 108 120 L 2400 120 L 2400 0 L 0 0 z"/></svg>') bottom left no-repeat;
}
.userPopout-2j1gM4 .avatar-2Vndt_, /* popout avatar */
.userPopout-2j1gM4 .avatarWrapper { /* popout status everywhere */
.userPopout-2j1gM4 .avatarWrapper, /* popout status everywhere */
.menu-1QACrS .avatar-2Vndt_, /* status popout avatar */
.menu-1QACrS .avatarWrapper { /* status popout status everywhere */
background-color: transparent;
border-color: transparent;
box-sizing: content-box;

View File

@ -3318,7 +3318,8 @@ img[src='/assets/58957d928db6fb9d4658eb882f33d7bc.svg'] {
/* ---- 11.1. USERPOPOUT ---- */
#app-mount .userPopout-2j1gM4 {
#app-mount .userPopout-2j1gM4,
#app-mount .menu-1QACrS {
box-shadow: 0 0 0 1px rgba(var(--backgroundtertiary),.6), 0 2px 10px 0 rgba(0,0,0,.2);
}

View File

@ -1,5 +1,5 @@
#app-mount .userPopout-2j1gM4 .popoutBanner-3cqRD9,
#app-mount .userPopout-2j1gM4 .profileBanner-1owKI5 {
#app-mount .menu-1QACrS .popoutBanner-3cqRD9 {
height: 120px !important;
max-height: var(--user-background, 60px) !important;
}
@ -18,11 +18,13 @@
bottom: 0;
left: 0;
}
#app-mount .userPopout-2j1gM4 .avatarPositionNormal-2jWoC2 {
#app-mount .userPopout-2j1gM4 .avatarPositionNormal-2jWoC2,
#app-mount .menu-1QACrS .avatarPositionNormal-2jWoC2 {
top: 76px !important;
margin-top: var(--user-background, -60px) !important;
}
#app-mount .userPopout-2j1gM4 .headerTop-3GPUSF {
#app-mount .userPopout-2j1gM4 .headerTop-3GPUSF,
#app-mount .menu-1QACrS .headerTop-3GPUSF {
padding: 58px 16px 16px;
}
#app-mount .root-8LYsGj .headerTop-1PNKck {