From 21d9c7ed48fb597af6061d9ee24a7ace453854e8 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Wed, 30 Dec 2020 16:26:36 +0100 Subject: [PATCH] stuff --- Themes/BasicBackground/BasicBackground.css | 8 ++++---- Themes/DiscordRecolor/DiscordRecolor.css | 8 ++++---- Themes/_res/svgs/discord_window_placeholder.svg | 1 + Themes/_res/svgs/fav_star.svg | 1 + Themes/_res/svgs/fav_star_empty.svg | 1 + Themes/_res/svgs/voice_level_bar.svg | 1 + 6 files changed, 12 insertions(+), 8 deletions(-) create mode 100644 Themes/_res/svgs/discord_window_placeholder.svg create mode 100644 Themes/_res/svgs/fav_star.svg create mode 100644 Themes/_res/svgs/fav_star_empty.svg create mode 100644 Themes/_res/svgs/voice_level_bar.svg diff --git a/Themes/BasicBackground/BasicBackground.css b/Themes/BasicBackground/BasicBackground.css index 1cdc1fe6cb..2f5c6045e3 100644 --- a/Themes/BasicBackground/BasicBackground.css +++ b/Themes/BasicBackground/BasicBackground.css @@ -2556,7 +2556,7 @@ body::before { } .container-3PXSwK { /* voicesettings voicebarcontainer */ - -webkit-mask: url('data:image/svg+xml; utf8, '); + -webkit-mask: url(https://mwittrien.github.io/BetterDiscordAddons/Themes/_res/svgs/voice_level_bar.svg); } .notches-1sAcEM { background: transparent !important; @@ -2891,7 +2891,7 @@ body::before { bottom: 0; left: 0; background-color: rgba(var(--vtransparencycolor), 0.5); - -webkit-mask: url('data:image/svg+xml;utf8, ') 0 0/cover no-repeat; + -webkit-mask: url(https://mwittrien.github.io/BetterDiscordAddons/Themes/_res/svgs/discord_window_placeholder.svg) 0 0/cover no-repeat; } #app-mount .exampleModal-2oh58d, /* communitysettings rules examplemodal */ #app-mount .exampleModal-2X2Vf8 { /* communitysettings welcome examplemodal */ @@ -7050,14 +7050,14 @@ html .bd-toast.toast-warn.icon::before { width: 16px; height: 16px; padding: 0; - -webkit-mask: url('data:image/svg+xml;utf8, ') center/contain no-repeat; + -webkit-mask: url(https://mwittrien.github.io/BetterDiscordAddons/Themes/_res/svgs/fav_star_empty.svg) center/contain no-repeat; } #app-mount .fav:hover, #app-mount .fav.active { background: #faa61a; } #app-mount .fav.active { - -webkit-mask: url('data:image/svg+xml;utf8, ') center/contain no-repeat; + -webkit-mask: url(https://mwittrien.github.io/BetterDiscordAddons/Themes/_res/svgs/fav_star.svg) center/contain no-repeat; } #app-mount .bd-modal-inner { /* modal container */ diff --git a/Themes/DiscordRecolor/DiscordRecolor.css b/Themes/DiscordRecolor/DiscordRecolor.css index f520ee8b1c..1571c3d2cd 100644 --- a/Themes/DiscordRecolor/DiscordRecolor.css +++ b/Themes/DiscordRecolor/DiscordRecolor.css @@ -1981,7 +1981,7 @@ img[src='/assets/bfffd518c76d3f6bc5e96eb52e4ae2cf.svg'] { } .container-3PXSwK { - -webkit-mask: url('data:image/svg+xml; utf8, '); + -webkit-mask: url(https://mwittrien.github.io/BetterDiscordAddons/Themes/_res/svgs/voice_level_bar.svg); } .notches-1sAcEM { background: transparent !important; @@ -2360,7 +2360,7 @@ img[src='/assets/bfffd518c76d3f6bc5e96eb52e4ae2cf.svg'] { bottom: 0; left: 0; background: var(--background-tertiary); - -webkit-mask: url('data:image/svg+xml;utf8, ') 0 0/cover no-repeat; + -webkit-mask: url(https://mwittrien.github.io/BetterDiscordAddons/Themes/_res/svgs/discord_window_placeholder.svg) 0 0/cover no-repeat; } #app-mount .member-1q7VfX { @@ -3864,14 +3864,14 @@ html .bd-settings-group.collapsible .bd-settings-title::after { width: 16px; height: 16px; padding: 0; - -webkit-mask: url('data:image/svg+xml;utf8, ') center/contain no-repeat; + -webkit-mask: url(https://mwittrien.github.io/BetterDiscordAddons/Themes/_res/svgs/fav_star_empty.svg) center/contain no-repeat; } #app-mount .fav:hover, #app-mount .fav.active { background: #faa61a; } #app-mount .fav.active { - -webkit-mask: url('data:image/svg+xml;utf8, ') center/contain no-repeat; + -webkit-mask: url(https://mwittrien.github.io/BetterDiscordAddons/Themes/_res/svgs/fav_star.svg) center/contain no-repeat; } #app-mount .bd-modal-wrapper .bd-modal-inner { diff --git a/Themes/_res/svgs/discord_window_placeholder.svg b/Themes/_res/svgs/discord_window_placeholder.svg new file mode 100644 index 0000000000..3eb26e2b29 --- /dev/null +++ b/Themes/_res/svgs/discord_window_placeholder.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Themes/_res/svgs/fav_star.svg b/Themes/_res/svgs/fav_star.svg new file mode 100644 index 0000000000..901c43f3e2 --- /dev/null +++ b/Themes/_res/svgs/fav_star.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Themes/_res/svgs/fav_star_empty.svg b/Themes/_res/svgs/fav_star_empty.svg new file mode 100644 index 0000000000..12e45b7c8d --- /dev/null +++ b/Themes/_res/svgs/fav_star_empty.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Themes/_res/svgs/voice_level_bar.svg b/Themes/_res/svgs/voice_level_bar.svg new file mode 100644 index 0000000000..e262951483 --- /dev/null +++ b/Themes/_res/svgs/voice_level_bar.svg @@ -0,0 +1 @@ + \ No newline at end of file