From aef24ad8f179f32183c0e29c116c32f545275f31 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Mon, 20 Jul 2020 16:17:45 +0200 Subject: [PATCH] stuff --- Themes/BasicBackground/BasicBackground.css | 24 ++-------------------- Themes/BlurpleRecolor/BlurpleRecolor.css | 6 +++--- Themes/SupporterBadge.css | 22 +++++++------------- Themes/ThemeDevBadge.css | 22 +++++++------------- 4 files changed, 19 insertions(+), 55 deletions(-) diff --git a/Themes/BasicBackground/BasicBackground.css b/Themes/BasicBackground/BasicBackground.css index cd31b4d21a..3d9740e84c 100644 --- a/Themes/BasicBackground/BasicBackground.css +++ b/Themes/BasicBackground/BasicBackground.css @@ -151,8 +151,7 @@ 13. CHANNELHISTORY 14. DISPLAYLARGEMESSAGES 18. THEMESUPPORT - 1. THEMEDEVBADGE - 2. BETTERDOCSBLOCK + 1. BETTERDOCSBLOCK 19. UPDATENOTICE 20. WATERMARK */ @@ -7146,26 +7145,7 @@ body.folderContentIsOpen-zz6FgW .titleBar-AC4pGV.typeMacOS-3EmCyP .macButtons-2M /* ~~~~ 18. THEMESUPPORT ~~~~ */ -/* ---- 18.1. THEMEDEVBADGE ---- */ - -#app-mount .root-SR8cQa .wrapper-3t9DeA.dev-A7f2Rx:not(.statusHovered-gF2976):hover + .headerInfo-30uryT:before, -#app-mount .userPopout-3XzG_A .avatarWrapper-3H_478.dev-A7f2Rx:not(.statusHovered-gF2976):hover .wrapper-3t9DeA:before, -#app-mount .root-SR8cQa .wrapper-3t9DeA.supporter-Z3FfwL:not(.statusHovered-gF2976):hover + .headerInfo-30uryT:before, -#app-mount .userPopout-3XzG_A .avatarWrapper-3H_478.supporter-Z3FfwL:not(.statusHovered-gF2976):hover .wrapper-3t9DeA:before { - background-color: rgb(var(--vaccentcolor)) !important; - box-shadow: 0 2px 10px 0 rgba(var(--vtransparencycolor), 0.3) !important; - color: rgb(var(--fontwhite1)) !important; -} -#app-mount .root-SR8cQa .wrapper-3t9DeA.dev-A7f2Rx:not(.statusHovered-gF2976):hover + .headerInfo-30uryT:after, -#app-mount .root-SR8cQa .wrapper-3t9DeA.supporter-Z3FfwL:not(.statusHovered-gF2976):hover + .headerInfo-30uryT:after { - border-right-color: rgb(var(--vaccentcolor)) !important; -} -#app-mount .userPopout-3XzG_A .avatarWrapper-3H_478.dev-A7f2Rx:not(.statusHovered-gF2976):hover .wrapper-3t9DeA:after, -#app-mount .userPopout-3XzG_A .avatarWrapper-3H_478.supporter-Z3FfwL:not(.statusHovered-gF2976):hover .wrapper-3t9DeA:after { - border-top-color: rgb(var(--vaccentcolor)) !important; -} - -/* ---- 18.2. BETTERDOCSBLOCK ---- */ +/* ---- 18.1. BETTERDOCSBLOCK ---- */ html.theme-dark body #app-mount .wrapper-35wsBm .icon-3o6xvg[style*="/icons/153708594091655168" i]::before, html.theme-dark body #app-mount .embed-IeVjo6 .embedLink-1G1K1D[href*="www.discordsource." i]::before, diff --git a/Themes/BlurpleRecolor/BlurpleRecolor.css b/Themes/BlurpleRecolor/BlurpleRecolor.css index ca4acfa7a3..a16ae9814c 100644 --- a/Themes/BlurpleRecolor/BlurpleRecolor.css +++ b/Themes/BlurpleRecolor/BlurpleRecolor.css @@ -1969,10 +1969,10 @@ img[src*="/assets/0f4d1ff76624bb45a3fee4189279ee92.svg"] + * + *:before { /* ---- 15.1. THEMEDEVBADGE ---- */ -#app-mount .dev-A7f2Rx.hasBadge-4rT8_u:after { +#app-mount .dev-A7f2Rx.hasBadge-4rT8_u .badge-7R_W3s { background: rgb(var(--vaccentcolor)) !important; } -#app-mount .topSectionPlaying-1J5E4n .dev-A7f2Rx.hasBadge-4rT8_u:before, -#app-mount .headerPlaying-j0WQBV .dev-A7f2Rx.hasBadge-4rT8_u:before { +#app-mount .topSectionPlaying-1J5E4n .dev-A7f2Rx.hasBadge-4rT8_u .badge-7R_W3s, +#app-mount .headerPlaying-j0WQBV .dev-A7f2Rx.hasBadge-4rT8_u .badge-7R_W3s { background: rgb(var(--vaccentcolor)) !important; } \ No newline at end of file diff --git a/Themes/SupporterBadge.css b/Themes/SupporterBadge.css index 3a96d85ed7..5275471811 100644 --- a/Themes/SupporterBadge.css +++ b/Themes/SupporterBadge.css @@ -1,32 +1,24 @@ -:root { - --supporterbadge: url('data:image/svg+xml; utf8, ') !important; -} - -.supporter-Z3FfwL.hasBadge-4rT8_u:after { - content: "" !important; - -webkit-mask: var(--supporterbadge) center/cover no-repeat !important; +.supporter-Z3FfwL.hasBadge-4rT8_u .badge-7R_W3s { + -webkit-mask: url('data:image/svg+xml; utf8, ') center/cover no-repeat !important; background: #F96854 !important; position: absolute !important; - z-index: 2 !important; width: 14px !important; height: 14px !important; left: -2px !important; bottom: -3px !important; - pointer-events: none !important; } -.root-SR8cQa .supporter-Z3FfwL.hasBadge-4rT8_u:after, -.userPopout-3XzG_A .supporter-Z3FfwL.hasBadge-4rT8_u:after { - z-index: 1002 !important; +.root-SR8cQa .supporter-Z3FfwL.hasBadge-4rT8_u .badge-7R_W3s, +.userPopout-3XzG_A .supporter-Z3FfwL.hasBadge-4rT8_u .badge-7R_W3s { width: 22px !important; height: 22px !important; left: 0px !important; bottom: -2px !important; } -.root-SR8cQa .topSectionPlaying-1J5E4n .supporter-Z3FfwL.hasBadge-4rT8_u:after, -.userPopout-3XzG_A .headerPlaying-j0WQBV .supporter-Z3FfwL.hasBadge-4rT8_u:after { +.root-SR8cQa .topSectionPlaying-1J5E4n .supporter-Z3FfwL.hasBadge-4rT8_u .badge-7R_W3s, +.userPopout-3XzG_A .headerPlaying-j0WQBV .supporter-Z3FfwL.hasBadge-4rT8_u .badge-7R_W3s { filter: brightness(80%) !important; } -.member-3-YXUe .supporter-Z3FfwL.hasBadge-4rT8_u:after { +.member-3-YXUe .supporter-Z3FfwL.hasBadge-4rT8_u .badge-7R_W3s { width: 10px !important; height: 10px !important; left: -1px !important; diff --git a/Themes/ThemeDevBadge.css b/Themes/ThemeDevBadge.css index 2b84bf7560..592e49c691 100644 --- a/Themes/ThemeDevBadge.css +++ b/Themes/ThemeDevBadge.css @@ -1,32 +1,24 @@ -:root { - --themedevbadge: url('data:image/svg+xml; utf8, ') !important; -} - -.dev-A7f2Rx.hasBadge-4rT8_u:after { - content: "" !important; - -webkit-mask: var(--themedevbadge) center/cover no-repeat !important; +.dev-A7f2Rx.hasBadge-4rT8_u .badge-7R_W3s { + -webkit-mask: url('data:image/svg+xml; utf8, ') center/cover no-repeat !important; background: #7289DA !important; position: absolute !important; - z-index: 2 !important; width: 14px !important; height: 14px !important; left: -2px !important; bottom: -3px !important; - pointer-events: none !important; } -.root-SR8cQa .dev-A7f2Rx.hasBadge-4rT8_u:after, -.userPopout-3XzG_A .dev-A7f2Rx.hasBadge-4rT8_u:after { - z-index: 1002 !important; +.root-SR8cQa .dev-A7f2Rx.hasBadge-4rT8_u .badge-7R_W3s, +.userPopout-3XzG_A .dev-A7f2Rx.hasBadge-4rT8_u .badge-7R_W3s { width: 22px !important; height: 22px !important; left: 0px !important; bottom: -2px !important; } -.root-SR8cQa .topSectionPlaying-1J5E4n .dev-A7f2Rx.hasBadge-4rT8_u:after, -.userPopout-3XzG_A .headerPlaying-j0WQBV .dev-A7f2Rx.hasBadge-4rT8_u:after { +.root-SR8cQa .topSectionPlaying-1J5E4n .dev-A7f2Rx.hasBadge-4rT8_u .badge-7R_W3s, +.userPopout-3XzG_A .headerPlaying-j0WQBV .dev-A7f2Rx.hasBadge-4rT8_u .badge-7R_W3s { filter: brightness(80%) !important; } -.member-3-YXUe .dev-A7f2Rx.hasBadge-4rT8_u:after { +.member-3-YXUe .dev-A7f2Rx.hasBadge-4rT8_u .badge-7R_W3s { width: 10px !important; height: 10px !important; left: -1px !important;