diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index b1c924d4d4..6809c687e5 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -1028,8 +1028,11 @@ module.exports = (_ => { if (icon) BDFDB.DOMUtils.addClass(toast, "icon"); } else if (color) { - let rgbcolor = BDFDB.ColorUtils.convert(color, "RGB"); - if (rgbcolor) toast.style.setProperty("background-color", rgbcolor); + let rgbColor = BDFDB.ColorUtils.convert(color, "RGB"); + if (rgbColor) { + toast.style.setProperty("background-color", rgbColor); + BDFDB.DOMUtils.addClass(toast, "toast-custom"); + } } BDFDB.DOMUtils.addClass(toast, selector); toasts.appendChild(toast); @@ -7349,7 +7352,7 @@ module.exports = (_ => { delete e.returnvalue.props.userId; }; - const ContextMenuTypes = ["UserSettingsCog", "User", "Developer", "Slate", "GuildFolder", "GroupDM", "SystemMessage", "Message", "Native", "Role", "Guild", "Channel"]; + const ContextMenuTypes = ["UserSettingsCog", "UserProfileActions", "User", "Developer", "Slate", "GuildFolder", "GroupDM", "SystemMessage", "Message", "Native", "Role", "Guild", "Channel"]; const QueuedComponents = BDFDB.ArrayUtils.removeCopies([].concat(ContextMenuTypes.map(n => n + "ContextMenu"), ["GuildHeaderContextMenu", "MessageOptionContextMenu", "MessageOptionToolbar"])); InternalBDFDB.addContextListeners = function (plugin) { plugin = plugin == BDFDB && InternalBDFDB || plugin; diff --git a/Library/_res/BDFDB.raw.css b/Library/_res/BDFDB.raw.css index 9abd1d95b6..d9882e3a71 100644 --- a/Library/_res/BDFDB.raw.css +++ b/Library/_res/BDFDB.raw.css @@ -1018,6 +1018,9 @@ img:not([src]), img[src=""], img[src="null"] { background-size: 20px 20px; background-repeat: no-repeat; } +.toast.toast-custom { + color: #FFF; +} .toast.toast-brand { background-color: #7289DA; color: #FFF; diff --git a/Themes/BasicBackground/BasicBackground.css b/Themes/BasicBackground/BasicBackground.css index c7b131e6bc..95a68f7ca9 100644 --- a/Themes/BasicBackground/BasicBackground.css +++ b/Themes/BasicBackground/BasicBackground.css @@ -5216,6 +5216,38 @@ body:before { background-color: rgba(var(--vtransparencycolor), 0.2); } +/* ---- 14.13. PUBLICGUILDANNOUNCEMENT ---- */ + +#app-mount .popout-6p6fkZ { /* popout wrapper */ + background-color: transparent; + box-shadow: 0 0 0 1px rgba(var(--vtransparencycolor), 0.3), 0 2px 10px 0 rgba(var(--vtransparencycolor), 0.3); + border: none; + border-radius: 3px; + overflow: hidden; + position: relative; +} +.popout-6p6fkZ:after, +.popout-6p6fkZ:before { + content: ""; + position: absolute; + top: 0; + bottom: 0; + right: 0; + left: 0; + width: unset; + height: unset; + pointer-events: none; + z-index: -1; +} +.popout-6p6fkZ:after { + background-color: rgba(var(--vtransparencycolor), calc(var(--vtransparencyalpha) + 0.2)); +} +.popout-6p6fkZ:before { + background: var(--vpopout) center/var(--vpopoutsize); + filter: blur(var(--vpopoutblur)); + background-attachment: fixed; +} + /* ~~~~ 15. GENERAL ~~~~ */ diff --git a/Themes/BlurpleRecolor/BlurpleRecolor.css b/Themes/BlurpleRecolor/BlurpleRecolor.css index 5028936cb0..226eeb820b 100644 --- a/Themes/BlurpleRecolor/BlurpleRecolor.css +++ b/Themes/BlurpleRecolor/BlurpleRecolor.css @@ -1672,7 +1672,8 @@ .mediaBarProgress-1xaPtl:before { background-color: rgb(var(--vaccentcolor)); } -.mediaBarInteraction-37i2O4:hover .mediaBarGrabber-1FqnbN { +.mediaBarInteraction-37i2O4:hover .mediaBarGrabber-1FqnbN, +.mediaBarInteractionDragging-2QurIZ .mediaBarGrabber-1FqnbN { background-color: rgb(var(--vaccentcolor)); filter: brightness(120%); }