This commit is contained in:
Mirco Wittrien 2023-08-07 16:07:03 +02:00
parent 197af6b003
commit 49cb71d585
2 changed files with 14 additions and 3 deletions

View File

@ -1434,6 +1434,7 @@
"CallCurrent": {"props": ["wrapper", "fullScreen"]},
"CallDetails": {"props": ["container", "hotspot"]},
"CallIncoming": {"props": ["wrapper", "mainChannelInfo"]},
"CallScreenshare": {"props": ["videoControls", "topControls", "screenMessage"]},
"Card": {"props": ["card", "cardBrand"]},
"Category": {"props": ["wrapper", "children", "addButtonIcon"]},
"CategoryArrow": {"props": ["arrow", "open"]},
@ -2043,6 +2044,10 @@
"callincomingroot": ["CallIncoming", "root"],
"callincomingtitle": ["CallIncoming", "title"],
"callincomingwrapper": ["CallIncoming", "wrapper"],
"callscreensharebottomcontrols": ["CallScreenshare", "bottomControls"],
"callscreensharechatbutton": ["CallScreenshare", "chatButton"],
"callscreensharetopcontrols": ["CallScreenshare", "topControls"],
"callscreensharevideocontrols": ["CallScreenshare", "videoControls"],
"card": ["Card", "card"],
"cardbrand": ["Card", "cardBrand"],
"cardbrandoutline": ["Card", "cardBrandOutline"],

View File

@ -2,7 +2,7 @@
* @name OldTitleBar
* @author DevilBro
* @authorId 278543574059057154
* @version 1.7.6
* @version 1.7.7
* @description Allows you to switch to Discord's old Titlebar
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -162,10 +162,16 @@ module.exports = (_ => {
justify-content: flex-end;
}
${BDFDB.dotCNS.chatthreadsidebaropen + BDFDB.dotCN._oldtitlebartoolbar},
${BDFDB.dotCNS.callcurrentchatsidebaropen + BDFDB.dotCN._oldtitlebartoolbar} {
${BDFDB.dotCNS.chatthreadsidebaropen} > div:first-child ${BDFDB.dotCN._oldtitlebartoolbar},
${BDFDB.dotCNS.callcurrentchatsidebaropen} > div:first-child ${BDFDB.dotCN._oldtitlebartoolbar} {
display: none;
}
${BDFDB.dotCNS.callscreensharevideocontrols}:has(${BDFDB.dotCNS.callscreensharetopcontrols + BDFDB.dotCN._oldtitlebartoolbar}) ~ div ${BDFDB.dotCN.callscreenchatbutton} {
margin-right: 137px;
}
${BDFDB.dotCNS.callscreensharevideocontrols}:has(${BDFDB.dotCNS.callscreensharetopcontrols + BDFDB.dotCN._oldtitlebartoolbar} div:nth-child(6)) ~ div ${BDFDB.dotCN.callscreenchatbutton} {
margin-right: 194px;
}
${BDFDB.dotCN._oldtitlebarsettingstoolbar} {
display: flex;