From a786fce75ce6c55ba12183fdd4b658fb08f88e56 Mon Sep 17 00:00:00 2001 From: Androser420 <72580260+Androser420@users.noreply.github.com> Date: Thu, 7 Nov 2024 02:19:35 +0100 Subject: [PATCH 1/2] Update user profile classes --- src/main.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main.css b/src/main.css index f97b666..3e373bd 100644 --- a/src/main.css +++ b/src/main.css @@ -89,7 +89,7 @@ background: none; } /* fix bgs */ -[class^=userPanelOuter_] /* profile panel */ { +[class^='base'] [class^='content_']>[class^='outer_'] /* profile panel */ { --background-secondary-alt: var(--bg-0) !important; } [class^=childWrapper_] /* no color servers */ { @@ -203,7 +203,7 @@ svg[class^=slider_] > rect[fill='white'] /* settings checkbuttons slider */ { [class^=nowPlayingColumn_] /* friends page active now */, [class^=channelBottomBarArea_] /* chat bar */, .container_a6d69a /* forum */, -[class^=userPanelOuter_] /* dm profile panel */, +[class^='base'] [class^='content_']>[class^='outer_'] /* dm profile panel */, [class^=searchResultsWrap_] /* search results */, .scroller_fb4810 /* new thread */, [class^=chat_] > [class*=container_] /* header bar */, @@ -341,7 +341,7 @@ svg[class^=slider_] > rect[fill='white'] /* settings checkbuttons slider */ { [class^='membersWrap_']::after, [class^='privateChannels_']::after, .container_a6d69a::after, -[class^='userPanelOuter_']::after, +[class^='base'] [class^='content_']>[class^='outer_']::after, [class^='searchResultsWrap_']::after, .scroller_fb4810::after, [class^='peopleColumn_']::after, @@ -386,7 +386,7 @@ svg[class^=slider_] > rect[fill='white'] /* settings checkbuttons slider */ { .container_a6d69a::after { content: 'forum'; } -[class^='userPanelOuter_']::after { +[class^='base'] [class^='content_']>[class^='outer_']::after { content: 'profile'; } [class^='searchResultsWrap_']::after { @@ -454,12 +454,12 @@ svg[class^=slider_] > rect[fill='white'] /* settings checkbuttons slider */ { box-sizing: border-box; } /* add padding to user profile panel */ -[class^='userPanelOuter_'] { +[class^='base'] [class^='content_']>[class^='outer_'] { padding: var(--txt-pad); box-sizing: border-box; background-clip: content-box; } -[class^='userPanelInner_'] /* fix profile effects */ { +[class^='base'] [class^='content_']>[class^='outer_']>[class^='inner_'] /* fix profile effects */ { position: relative; } From 6e19a4e6de0eaba5681c4b743be04e4abdd02742 Mon Sep 17 00:00:00 2001 From: Androser420 <72580260+Androser420@users.noreply.github.com> Date: Sat, 9 Nov 2024 13:49:35 +0100 Subject: [PATCH 2/2] Update main.css --- src/main.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main.css b/src/main.css index 3e373bd..6bc3b97 100644 --- a/src/main.css +++ b/src/main.css @@ -89,7 +89,7 @@ background: none; } /* fix bgs */ -[class^='base'] [class^='content_']>[class^='outer_'] /* profile panel */ { +[class^='content_']>[class^='outer_'] /* profile panel */ { --background-secondary-alt: var(--bg-0) !important; } [class^=childWrapper_] /* no color servers */ { @@ -203,7 +203,7 @@ svg[class^=slider_] > rect[fill='white'] /* settings checkbuttons slider */ { [class^=nowPlayingColumn_] /* friends page active now */, [class^=channelBottomBarArea_] /* chat bar */, .container_a6d69a /* forum */, -[class^='base'] [class^='content_']>[class^='outer_'] /* dm profile panel */, +[class^='content_']>[class^='outer_'] /* dm profile panel */, [class^=searchResultsWrap_] /* search results */, .scroller_fb4810 /* new thread */, [class^=chat_] > [class*=container_] /* header bar */, @@ -341,7 +341,7 @@ svg[class^=slider_] > rect[fill='white'] /* settings checkbuttons slider */ { [class^='membersWrap_']::after, [class^='privateChannels_']::after, .container_a6d69a::after, -[class^='base'] [class^='content_']>[class^='outer_']::after, +[class^='content_']>[class^='outer_']::after, [class^='searchResultsWrap_']::after, .scroller_fb4810::after, [class^='peopleColumn_']::after, @@ -386,7 +386,7 @@ svg[class^=slider_] > rect[fill='white'] /* settings checkbuttons slider */ { .container_a6d69a::after { content: 'forum'; } -[class^='base'] [class^='content_']>[class^='outer_']::after { +[class^='content_']>[class^='outer_']::after { content: 'profile'; } [class^='searchResultsWrap_']::after { @@ -454,12 +454,12 @@ svg[class^=slider_] > rect[fill='white'] /* settings checkbuttons slider */ { box-sizing: border-box; } /* add padding to user profile panel */ -[class^='base'] [class^='content_']>[class^='outer_'] { +[class^='content_']>[class^='outer_'] { padding: var(--txt-pad); box-sizing: border-box; background-clip: content-box; } -[class^='base'] [class^='content_']>[class^='outer_']>[class^='inner_'] /* fix profile effects */ { +[class^='content_']>[class^='outer_']>[class^='inner_'] /* fix profile effects */ { position: relative; }