From 29b69838ab75e7264a409de70845bbf06ab2e2b9 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Tue, 29 Jan 2019 16:49:49 +0100 Subject: [PATCH] theme --- Plugins/ChatAliases/ChatAliases.plugin.js | 8 ++-- Themes/BasicBackground/BasicBackground.css | 44 +++++++--------------- 2 files changed, 18 insertions(+), 34 deletions(-) diff --git a/Plugins/ChatAliases/ChatAliases.plugin.js b/Plugins/ChatAliases/ChatAliases.plugin.js index 0a8fe255b5..d50df46f8d 100644 --- a/Plugins/ChatAliases/ChatAliases.plugin.js +++ b/Plugins/ChatAliases/ChatAliases.plugin.js @@ -36,7 +36,7 @@ class ChatAliases { for (let config of this.configs) { settingshtml += `
${config.toUpperCase()}
`; } - settingshtml += `
`; + settingshtml += `
`; for (let word in this.aliases) { settingshtml += `
`; for (let config of this.configs) { @@ -108,7 +108,7 @@ class ChatAliases { stop () { if (global.BDFDB && typeof BDFDB === "object" && BDFDB.loaded) { - BDFDB.removeEles(".autocompleteAliases", ".autocompleteAliasesRow"); + BDFDB.removeEles(".autocompleteAliases", ".autocompleteAliasesRow"); BDFDB.unloadMessage(this); } } @@ -283,8 +283,8 @@ class ChatAliases { textarea.dispatchEvent(new Event("input")); } else if (!e.ctrlKey && e.which != 16 && settings.addAutoComplete && textarea.selectionStart == textarea.selectionEnd && textarea.selectionEnd == textarea.value.length) { - clearTimeout(textarea.chataliastimeout); - textarea.chataliastimeout = setTimeout(() => {this.addAutoCompleteMenu(textarea);},100); + clearTimeout(textarea.ChatAliasAutocompleteTimeout); + textarea.ChatAliasAutocompleteTimeout = setTimeout(() => {this.addAutoCompleteMenu(textarea);},100); } if (!e.ctrlKey && e.which != 38 && e.which != 40 && !(e.which == 39 && textarea.selectionStart == textarea.selectionEnd && textarea.selectionEnd == textarea.value.length)) BDFDB.removeEles(".autocompleteAliases", ".autocompleteAliasesRow"); diff --git a/Themes/BasicBackground/BasicBackground.css b/Themes/BasicBackground/BasicBackground.css index 24ed6e7db0..38830a480a 100644 --- a/Themes/BasicBackground/BasicBackground.css +++ b/Themes/BasicBackground/BasicBackground.css @@ -206,24 +206,6 @@ button.guild-1EfMGQ { background: rgba(var(--vtransparencycolor),calc(var(--vtransparencyalpha) * 3)) !important; } -.bubble-1gL_TN:after { - border-radius: 0 !important; - top: 20px !important; - content: ""; - width: 0; - height: 0; - border: 10px solid transparent !important; - transform: none !important; -} -.bubbleRight-3KlHt0:after { - left: -30px; - border-right: 20px solid rgba(var(--vtransparencycolor),calc(var(--vtransparencyalpha) * 3)) !important; - -} -.bubbleLeft-1yuG1e:after { - right: -30px; - border-left: 20px solid rgba(var(--vtransparencycolor),calc(var(--vtransparencyalpha) * 3)) !important; -} .check-2by_h9 { -webkit-mask: url(https://discordapp.com/assets/6acb20d5e709b34b6a7f36ec13648666.svg) center/cover no-repeat !important; background: rgb(var(--vaccentcolor)) !important; @@ -325,12 +307,14 @@ button.guild-1EfMGQ { border-radius: 5px !important; } -.bubble-3we2di, .container-2VW0UT { background: rgba(var(--vtransparencycolor),0.8) !important; } +.bubble-3we2di { + background: rgba(var(--vaccentcolor),0.8) !important; +} .bubble-3we2di:before { - border-top-color: rgba(var(--vtransparencycolor),0.8) !important; + border-top-color: rgba(var(--vaccentcolor),0.8) !important; } .bar-2Qqk5Z { @@ -768,7 +752,7 @@ img[src="/assets/bfffd518c76d3f6bc5e96eb52e4ae2cf.svg"], /* ----------------------- COLORING ----------------------- */ -:not(.searchLearnMore-3SQUAj) > .anchor-3Z-8Bb:not(.embedAuthorName-3mnTWj):not(.downloadButton-1bWXpg):not(.downloadLink-1ywL9o):not([style]), +:not(.searchLearnMore-3SQUAj) > .anchor-3Z-8Bb:not(.guildsError-3cFMtY):not(.embedAuthorName-3mnTWj):not(.downloadButton-1bWXpg):not(.downloadLink-1ywL9o):not([style]), .genre-1Fi2SE, .filenameLinkWrapper-1-14c5, .announcingNitro-3Ptg6m, @@ -2643,34 +2627,34 @@ img[src*="/assets/0f4d1ff76624bb45a3fee4189279ee92.svg"] + * + *:before { -webkit-mask: url('data:image/svg+xml; utf8, ') center/cover no-repeat !important; background: rgb(var(--vaccentcolor)) !important; } -.layer-3QrUeG[aria-label="GUILD_SETTINGS"] .contentRegion-3nDuYy .contentColumn-2hrIYH > div > div > .flex-1xMQg5 + .divider-3573oO + .flex-1xMQg5:last-of-type { +.layer-3QrUeG[aria-label="GUILD_SETTINGS"] .contentRegion-3nDuYy .contentColumn-2hrIYH > div > div > .divider-3573oO + .flex-1xMQg5 + .divider-3573oO + .flex-1xMQg5:last-of-type { position: relative !important; } -.layer-3QrUeG[aria-label="GUILD_SETTINGS"] .contentRegion-3nDuYy .contentColumn-2hrIYH > div > div > .flex-1xMQg5 + .divider-3573oO + .flex-1xMQg5:last-of-type .flexChild-faoVW3:after, -.layer-3QrUeG[aria-label="GUILD_SETTINGS"] .contentRegion-3nDuYy .contentColumn-2hrIYH > div > div > .flex-1xMQg5 + .divider-3573oO + .flex-1xMQg5:last-of-type .flexChild-faoVW3:before, -.layer-3QrUeG[aria-label="GUILD_SETTINGS"] .contentRegion-3nDuYy .contentColumn-2hrIYH > div > div > .flex-1xMQg5 + .divider-3573oO + .flex-1xMQg5:last-of-type img[src="/assets/5fb477ca84edd15d9a2888ac28365acd.svg"] { +.layer-3QrUeG[aria-label="GUILD_SETTINGS"] .contentRegion-3nDuYy .contentColumn-2hrIYH > div > div > .divider-3573oO + .flex-1xMQg5 + .divider-3573oO + .flex-1xMQg5:last-of-type .flexChild-faoVW3:after, +.layer-3QrUeG[aria-label="GUILD_SETTINGS"] .contentRegion-3nDuYy .contentColumn-2hrIYH > div > div > .divider-3573oO + .flex-1xMQg5 + .divider-3573oO + .flex-1xMQg5:last-of-type .flexChild-faoVW3:before, +.layer-3QrUeG[aria-label="GUILD_SETTINGS"] .contentRegion-3nDuYy .contentColumn-2hrIYH > div > div > .divider-3573oO + .flex-1xMQg5 + .divider-3573oO + .flex-1xMQg5:last-of-type img[src="/assets/5fb477ca84edd15d9a2888ac28365acd.svg"] { width: 320px !important; height: 310px !important; opacity: 0.6 !important; pointer-events: none !important; } -.layer-3QrUeG[aria-label="GUILD_SETTINGS"] .contentRegion-3nDuYy .contentColumn-2hrIYH > div > div > .flex-1xMQg5 + .divider-3573oO + .flex-1xMQg5:last-of-type img[src="/assets/5fb477ca84edd15d9a2888ac28365acd.svg"] { +.layer-3QrUeG[aria-label="GUILD_SETTINGS"] .contentRegion-3nDuYy .contentColumn-2hrIYH > div > div > .divider-3573oO + .flex-1xMQg5 + .divider-3573oO + .flex-1xMQg5:last-of-type img[src="/assets/5fb477ca84edd15d9a2888ac28365acd.svg"] { box-sizing: border-box !important; padding-right: 340px !important; background: url('data:image/svg+xml; utf8, ') center/contain no-repeat !important; } -.layer-3QrUeG[aria-label="GUILD_SETTINGS"] .contentRegion-3nDuYy .contentColumn-2hrIYH > div > div > .flex-1xMQg5 + .divider-3573oO + .flex-1xMQg5:last-of-type .flexChild-faoVW3:after, -.layer-3QrUeG[aria-label="GUILD_SETTINGS"] .contentRegion-3nDuYy .contentColumn-2hrIYH > div > div > .flex-1xMQg5 + .divider-3573oO + .flex-1xMQg5:last-of-type .flexChild-faoVW3:before { +.layer-3QrUeG[aria-label="GUILD_SETTINGS"] .contentRegion-3nDuYy .contentColumn-2hrIYH > div > div > .divider-3573oO + .flex-1xMQg5 + .divider-3573oO + .flex-1xMQg5:last-of-type .flexChild-faoVW3:after, +.layer-3QrUeG[aria-label="GUILD_SETTINGS"] .contentRegion-3nDuYy .contentColumn-2hrIYH > div > div > .divider-3573oO + .flex-1xMQg5 + .divider-3573oO + .flex-1xMQg5:last-of-type .flexChild-faoVW3:before { content: ""; position: absolute; top: 25px; right: -15px; -webkit-mask-size: cover; } -.layer-3QrUeG[aria-label="GUILD_SETTINGS"] .contentRegion-3nDuYy .contentColumn-2hrIYH > div > div > .flex-1xMQg5 + .divider-3573oO + .flex-1xMQg5:last-of-type .flexChild-faoVW3:after { +.layer-3QrUeG[aria-label="GUILD_SETTINGS"] .contentRegion-3nDuYy .contentColumn-2hrIYH > div > div > .divider-3573oO + .flex-1xMQg5 + .divider-3573oO + .flex-1xMQg5:last-of-type .flexChild-faoVW3:after { background: url('data:image/svg+xml; utf8, ') left/contain no-repeat !important; } -.layer-3QrUeG[aria-label="GUILD_SETTINGS"] .contentRegion-3nDuYy .contentColumn-2hrIYH > div > div > .flex-1xMQg5 + .divider-3573oO + .flex-1xMQg5:last-of-type .flexChild-faoVW3:before { +.layer-3QrUeG[aria-label="GUILD_SETTINGS"] .contentRegion-3nDuYy .contentColumn-2hrIYH > div > div > .divider-3573oO + .flex-1xMQg5 + .divider-3573oO + .flex-1xMQg5:last-of-type .flexChild-faoVW3:before { -webkit-mask: url('data:image/svg+xml; utf8, ') no-repeat !important; background: rgb(var(--vaccentcolor)) !important; }