diff --git a/Plugins/EmojiStatistics/EmojiStatistics.plugin.js b/Plugins/EmojiStatistics/EmojiStatistics.plugin.js index d61e0ba71f..f50f13bf7e 100644 --- a/Plugins/EmojiStatistics/EmojiStatistics.plugin.js +++ b/Plugins/EmojiStatistics/EmojiStatistics.plugin.js @@ -256,7 +256,8 @@ class EmojiStatistics { emojipickerdiversityselector.parentElement.insertBefore(emojiStatisticsButton, emojipickerdiversityselector); emojiStatisticsButton.addEventListener("click", () => { this.showEmojiInformationModal(); - instance._reactInternalFiber.return.return.return.return.return.stateNode.close(); + let close = BDFDB.getReactValue(instance, "_reactInternalFiber.return.return.return.return.return.stateNode.close") || BDFDB.getReactValue(instance, "_reactInternalFiber.return.return.return.return.stateNode.close"); + if (close) close(); }); emojiStatisticsButton.addEventListener("mouseenter", e => { BDFDB.createTooltip("Emoji Statistics", emojiStatisticsButton, {type:"top",selector:"emojistatistics-tooltip"}); @@ -356,6 +357,9 @@ class EmojiStatistics { BDFDB.toggleEles(serverCopy, true); BDFDB.removeClass(serverCopy, BDFDB.disCN.guildunread, BDFDB.disCN.guildselected); serverCopy.style.setProperty("pointer-events", "none", "important"); + let serverInner = serverCopy.querySelector(BDFDB.dotCN.guildinner); + serverInner.style.removeProperty("background-color"); + serverInner.style.removeProperty("border-radius"); return serverCopy; } diff --git a/Themes/FullThemeDark/FullThemeDark.css b/Themes/FullThemeDark/FullThemeDark.css index 22d5971d58..37d69d1b16 100644 --- a/Themes/FullThemeDark/FullThemeDark.css +++ b/Themes/FullThemeDark/FullThemeDark.css @@ -134,7 +134,8 @@ } #app-mount .emojiPicker-3m1S-j, #app-mount .emojiPicker-3m1S-j .diversitySelector-tmmMv0 .popout-2nUePc, -#app-mount .emojiPicker-3m1S-j .stickyHeader-1SS0JU, +#app-mount .emojiPicker-3m1S-j .stickyHeader-1SS0JU, +#app-mount .emojiPicker-3m1S-j .category-2U57w6, #app-mount .emojiPicker-3m1S-j .searchBar-2_Yu-C, #app-mount #bda-qem, #app-mount #bda-qem-twitch-container, @@ -227,7 +228,7 @@ background-image: url(https://discordapp.com/assets/368c9f2ca04e43b5a5ce7380d4622149.svg); } #app-mount #bda-qem button, -#app-mount .emojiPicker-3m1S-j .category-2U57w6, +#app-mount .emojiPicker-3m1S-j .category-2U57w6, #app-mount .emojiPicker-3m1S-j .searchBar-2_Yu-C .searchBarInner-1_Tg2R input { color: #FFF; } @@ -292,7 +293,7 @@ border-color: #2F3136; } -#app-mount .backdrop-1wrmKB[style*="background-color: rgb(255, 255, 255)"] { +#app-mount .backdrop-1wrmKB[style*="background-color: rgb(255,255,255)"] { background-color: rgb(0,0,0) !important; opacity: 0.85 !important; } @@ -322,7 +323,7 @@ body #ace_settingsmenu { background-color: #36393f; border-radius: 5px; padding-right: 20px; - box-shadow: 0 0 0 1px rgba(32,34,37,.6), 0 2px 10px 0 rgba(0,0,0,.2); + box-shadow: 0 0 0 1px rgba(32,34,37,.6),0 2px 10px 0 rgba(0,0,0,.2); } body #ace_settingsmenu::-webkit-scrollbar { height: 8px; @@ -420,7 +421,7 @@ body #ace_settingsmenu input[type="checkbox"]:after { background: #f6f6f7; border-radius: 10px; transition: all .15s ease; - box-shadow: 0 3px 1px 0 rgba(0,0,0,.05), 0 2px 2px 0 rgba(0,0,0,.1), 0 3px 3px 0 rgba(0,0,0,.05); + box-shadow: 0 3px 1px 0 rgba(0,0,0,.05),0 2px 2px 0 rgba(0,0,0,.1),0 3px 3px 0 rgba(0,0,0,.05); } body #ace_settingsmenu input[type="checkbox"]:checked:after { transform: translateX(20px);