From e673c2d99703343e2df8d58f5de091d40176afef Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Sun, 9 Jan 2022 00:52:07 -0500 Subject: [PATCH] config/powercord: add snippets --- .../config/powercord/css-toggler.json | 14 ++++++- .../infinidoge/config/powercord/quickcss.css | 40 ++++++++++++++++++- 2 files changed, 51 insertions(+), 3 deletions(-) diff --git a/users/infinidoge/config/powercord/css-toggler.json b/users/infinidoge/config/powercord/css-toggler.json index 77065a5..8d3a9ee 100644 --- a/users/infinidoge/config/powercord/css-toggler.json +++ b/users/infinidoge/config/powercord/css-toggler.json @@ -40,6 +40,14 @@ }, "921928336802971699": { "title": "Horizontally Listed Media" + }, + "929485841229815859": { + "title": "Fix Server List Lag", + "description": "Fixes the server list lagging on many Linux distros" + }, + "929440925791449148": { + "title": "Jump to Message Buttons", + "description": "Replaces message links with a 'Jump to Message' button" } }, "collapsedSnippets": [ @@ -55,6 +63,8 @@ "921928336802971699", "865809923878682634", "780838821662294068", - "907333488779354112" + "907333488779354112", + "929485841229815859", + "929440925791449148" ] -} \ No newline at end of file +} diff --git a/users/infinidoge/config/powercord/quickcss.css b/users/infinidoge/config/powercord/quickcss.css index f5dfeb0..1126ca6 100644 --- a/users/infinidoge/config/powercord/quickcss.css +++ b/users/infinidoge/config/powercord/quickcss.css @@ -244,4 +244,42 @@ [id*="message-reactions"] { width: 100%; } -/** 921928336802971699 */ \ No newline at end of file +/** 921928336802971699 */ + +/** + * Snippet from #css-snippets applied the Jan 9, 2022 at 12:34:26 AM + * Created by ThatOtherAndrew#8134 (650459420635168769) + * Snippet ID: 929440925791449148 + */ +[title^="https://discord.com/channels/"], [title^="https://ptb.discord.com/channels/"], [title^="https://canary.discord.com/channels/"] { + line-height: 0; + font-size: 0; + text-decoration-color: #fff !important; +} +[title^="https://discord.com/channels/"]::before, [title^="https://ptb.discord.com/channels/"]::before, [title^="https://canary.discord.com/channels/"]::before { + content: "✉ Jump to Message"; + font-size: 16px; + user-select: text; + font-weight: 500; + transition: background-color 50ms ease-out, color 50ms ease-out; + cursor: pointer; + border-radius: 3px; + padding: 0 2px; + background: hsla(235, calc(var(--saturation-factor, 1) * 85.6%), 64.7%, 0.3); + color: hsl(236, calc(var(--saturation-factor, 1) * 83.3%), 92.9%); +} +[title^="https://discord.com/channels/"]:hover::before, [title^="https://ptb.discord.com/channels/"]:hover::before, [title^="https://canary.discord.com/channels/"]:hover::before { + background-color: hsl(235, calc(var(--saturation-factor, 1) * 85.6%), 64.7%); + color: #fff; +} +/** 929440925791449148 */ + +/** + * Snippet from #css-snippets applied the Jan 9, 2022 at 12:34:48 AM + * Created by george.#0550 (590224302578860065) + * Snippet ID: 929485841229815859 + */ +.wrapper-28eC3z svg { + overflow: hidden; +} +/** 929485841229815859 */ \ No newline at end of file