From 8b4d980800bcf88c1b6fec08cb8b269bb243aa5e Mon Sep 17 00:00:00 2001 From: Er2 Date: Fri, 1 Apr 2022 21:34:22 +0300 Subject: [PATCH] new profile page --- src/hide.less | 1 + src/profile.less | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/src/hide.less b/src/hide.less index 710d9e8..ba11a6d 100644 --- a/src/hide.less +++ b/src/hide.less @@ -59,6 +59,7 @@ div[role="separator"]:not([id$="new-messages-bar"]), // aren't needed [class^="botTagVerified-"], [class^="bannerContainer-"], [class*="banner-"], +[class^="badgeList-"], // Settings div[class^="keybind-"], // true must know it! diff --git a/src/profile.less b/src/profile.less index 29bab27..d5b8e7a 100644 --- a/src/profile.less +++ b/src/profile.less @@ -56,3 +56,45 @@ header div[class^="nameTagNoCustomStatus-"] { margin-bottom: 48px; // some space under avatar margin-left: 160px; // after avatar, not before } + +// Redesigned profile page +div[class^="focusLock-"]:not([aria-labelledby]) > div[class^="root-"] { + flex-direction: row; + background-color: var(--background-floating) !important; + header { + margin: 24px; + + div[class^="avatar-"] { + top: 0; left: 0; + position: relative; + } + + div[class^="headerTop-"] { + position: unset; + justify-content: left; + } + + div[class^="nameTag"] { + width: 64px; + position: absolute; + margin-top: -84px; + margin-left: 130px; + } + + div[class^="customStatus"] { + margin-top: 16px; + padding: 0; + } + } + div[class^="tabBarContainer"] + { border: none; } + div[class^="tabBar-"] { + flex-direction: column; + height: unset; + margin: 8px; + } + div[class^="body-"] { + margin-left: 16px; + height: 370px; + } +}