From f7faacfb69951d228f916c090129e1a448b0968d Mon Sep 17 00:00:00 2001 From: refact0r <34758569+refact0r@users.noreply.github.com> Date: Tue, 16 Jul 2024 15:21:22 -0700 Subject: [PATCH] fix a few things --- system24.css | 15 ++++++++++++--- test | 12 ++++++++++++ 2 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 test diff --git a/system24.css b/system24.css index b12cbd2..13cf4ae 100644 --- a/system24.css +++ b/system24.css @@ -183,7 +183,8 @@ svg[class^=slider_] > rect[fill="white"] /* settings checkbuttons slider */ { .container_a6d69a /* forum */, [class^=profilePanel_] /* dm profile panel */, [class^=searchResultsWrap_] /* search results */, -.scroller_fb4810 /* new thread */ { +.scroller_fb4810 /* new thread */, +[class^=chat_] > [class*=container_] { border: var(--border-width) solid var(--border-color); transition: border-color var(--border-transition); &:hover { @@ -261,6 +262,15 @@ svg[class^=slider_] > rect[fill="white"] /* settings checkbuttons slider */ { box-sizing: border-box; } +/* fix chat bar when no chat bar */ +[class^='form_'] > [class^='wrapper_'] { + margin: 0; + padding: 0; + height: var(--custom-channel-textarea-text-area-height); + border: var(--border-width) solid var(--border-color); + margin-top: var(--pad); +} + /* add text labels */ [class^='sidebar_'] > [class^='container_']::after, .container_fc4f04::after, @@ -478,8 +488,7 @@ aside[class^='profilePanel_'] { display: none; } /* re-add status indicators */ -[class^='wrapper_'][class*='avatar']:has(rect)::after, -[class^='wrapper_'][class*='Avatar']::after, +[class^='wrapper_'][class*='vatar']:has(rect)::after, [class^='avatar'] > [class^='wrapper_']:has(rect)::after { content: ''; display: block; diff --git a/test b/test new file mode 100644 index 0000000..6ccc50a --- /dev/null +++ b/test @@ -0,0 +1,12 @@ + +[data-list-item-id="guildsnav___home"] > [class^=childWrapper_] > svg { + display: none; +} +[data-list-item-id="guildsnav___home"] > [class^=childWrapper_]::after { + content: ' # # # # # #\A # # # # # # # # # # # # # # #\A # # # # # # # # # # # # # # # # #\A # # # # # # # # # # # # # # # # #\A # # # # # # # # # # # # # # # # # # #\A # # # # # # # # # # # # # # # # # # # \A # # # # # # # # # # # # # # # \A # # # # # # # # # # # \A# # # # # # # # # # # # #\A# # # # # # # # # # # # # # # # #\A# # # # # # # # # # # # # # # # # # # # #\A# # # # # # # # # # # # # # # # # # # # #\A# # # # # # # # # # # # # # # # #\A # # # # # # # # '; + display: block; + white-space: pre; + font-size: 1.6px; + font-weight: bold; + letter-spacing: -0.2ch; +} \ No newline at end of file