From 4e85f36cd3bc784b34f6647ff58238163a8c1692 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Wed, 30 Dec 2020 13:50:25 +0100 Subject: [PATCH] stuff --- Themes/BlurpleRecolor/BlurpleRecolor.css | 22 ++++++++++++++++++- .../svgs}/channelnotice_upsell_bg.svg | 0 .../svgs}/channelnotice_upsell_mask.svg | 0 Themes/_res/svgs/guildsettings_insight_bg.svg | 1 + .../_res/svgs/guildsettings_insight_mask.svg | 1 + ...vg => guildsettings_partnerprogram_bg.svg} | 0 ... => guildsettings_partnerprogram_mask.svg} | 0 7 files changed, 23 insertions(+), 1 deletion(-) rename Themes/{BlurpleRecolor => _res/svgs}/channelnotice_upsell_bg.svg (100%) rename Themes/{BlurpleRecolor => _res/svgs}/channelnotice_upsell_mask.svg (100%) create mode 100644 Themes/_res/svgs/guildsettings_insight_bg.svg create mode 100644 Themes/_res/svgs/guildsettings_insight_mask.svg rename Themes/_res/svgs/{partner_program_bg.svg => guildsettings_partnerprogram_bg.svg} (100%) rename Themes/_res/svgs/{partner_program_mask.svg => guildsettings_partnerprogram_mask.svg} (100%) diff --git a/Themes/BlurpleRecolor/BlurpleRecolor.css b/Themes/BlurpleRecolor/BlurpleRecolor.css index 336253ebe1..98fd6701b4 100644 --- a/Themes/BlurpleRecolor/BlurpleRecolor.css +++ b/Themes/BlurpleRecolor/BlurpleRecolor.css @@ -683,7 +683,27 @@ bottom: 0; left: 0; background: rgb(var(--vaccentcolor)); - -webkit-mask: url('data:image/svg+xml; utf8, ') center/cover no-repeat; + -webkit-mask: url('') center/cover no-repeat; +} + /* discoverysettings partner program */ +.banner-2AwsUs[src="/assets/b3d9ebeb2259945abe78c49206f5b62d.svg"] { + object-position: -999999px -999999px; + filter: grayscale(0.5); + background: url('https://mwittrien.github.io/BetterDiscordAddons/Themes/_res/svgs/guildsettings_partnerprogram_bg.svg') center/cover no-repeat; +} +.banner-2AwsUs[src="/assets/b3d9ebeb2259945abe78c49206f5b62d.svg"] + * { + position: relative; + display: flex; + justify-content: center; +} +.banner-2AwsUs[src="/assets/b3d9ebeb2259945abe78c49206f5b62d.svg"] + *::after { + content: ""; + position: absolute; + top: -281px; + width: 428px; + height: 241px; + background: rgb(var(--vaccentcolor)); + -webkit-mask: url('https://mwittrien.github.io/BetterDiscordAddons/Themes/_res/svgs/guildsettings_partnerprogram_mask.svg') center/cover no-repeat; } .defaultIcon-2NMkWn { /* discoverysettings default guildicon */ diff --git a/Themes/BlurpleRecolor/channelnotice_upsell_bg.svg b/Themes/_res/svgs/channelnotice_upsell_bg.svg similarity index 100% rename from Themes/BlurpleRecolor/channelnotice_upsell_bg.svg rename to Themes/_res/svgs/channelnotice_upsell_bg.svg diff --git a/Themes/BlurpleRecolor/channelnotice_upsell_mask.svg b/Themes/_res/svgs/channelnotice_upsell_mask.svg similarity index 100% rename from Themes/BlurpleRecolor/channelnotice_upsell_mask.svg rename to Themes/_res/svgs/channelnotice_upsell_mask.svg diff --git a/Themes/_res/svgs/guildsettings_insight_bg.svg b/Themes/_res/svgs/guildsettings_insight_bg.svg new file mode 100644 index 0000000000..0f12183bb0 --- /dev/null +++ b/Themes/_res/svgs/guildsettings_insight_bg.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Themes/_res/svgs/guildsettings_insight_mask.svg b/Themes/_res/svgs/guildsettings_insight_mask.svg new file mode 100644 index 0000000000..3c6a2acf52 --- /dev/null +++ b/Themes/_res/svgs/guildsettings_insight_mask.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Themes/_res/svgs/partner_program_bg.svg b/Themes/_res/svgs/guildsettings_partnerprogram_bg.svg similarity index 100% rename from Themes/_res/svgs/partner_program_bg.svg rename to Themes/_res/svgs/guildsettings_partnerprogram_bg.svg diff --git a/Themes/_res/svgs/partner_program_mask.svg b/Themes/_res/svgs/guildsettings_partnerprogram_mask.svg similarity index 100% rename from Themes/_res/svgs/partner_program_mask.svg rename to Themes/_res/svgs/guildsettings_partnerprogram_mask.svg