diff --git a/btfl.less b/btfl.less index 069cc52..e5b2269 100644 --- a/btfl.less +++ b/btfl.less @@ -4,7 +4,6 @@ */ @no-nitro: true; -@no-banner: false; @round: 8px; @rounder: 16px; diff --git a/src/hide.less b/src/hide.less index 1327a94..ddc67fc 100644 --- a/src/hide.less +++ b/src/hide.less @@ -82,6 +82,11 @@ div[class^="overviewSidebar-"], // at community creation, not needed form::before, // message input shadow div[class^="children-"]::after, // shadow at title + +// banners are more buggy every day so it is disabled since now +.bannerSVGWrapper-qc0szY, +[class^="bannerContainer-"], +[class*="banner-"], { &:extend(.hide); } .container-3wLKDe { diff --git a/src/materials.less b/src/materials.less index 9735eaa..0c8fcbb 100644 --- a/src/materials.less +++ b/src/materials.less @@ -70,7 +70,7 @@ div[class^="chat-"] } &::before, &::after { - border-radius: inherit; + .radius(inherit); position: absolute; top: 0; bottom: 0; left: 0; right: 0; diff --git a/src/nitro.less b/src/nitro.less index 4a174a0..9182fab 100644 --- a/src/nitro.less +++ b/src/nitro.less @@ -47,10 +47,6 @@ nav div[class^="animatedContainer-"] { { &:extend(.nitro); } } -} -.nitroblock() when (@no-banner = true) { - [class^="bannerContainer-"], - [class*="banner-"] - { &:extend(.hide); } } .nitroblock(); + diff --git a/src/profile.less b/src/profile.less index 0f4b86b..cf3589c 100644 --- a/src/profile.less +++ b/src/profile.less @@ -4,7 +4,7 @@ [class^="badgeList-"], // modal profile page { &:extend(.nitro); } } -.profile() { // banners +.profile() { div[class^="listItemContents-"] div[class^="userInfo"] { padding-top: 0; div[class^="avatar-"] { @@ -50,6 +50,10 @@ margin: 0 auto; } + div.imageUploaderInner-IIRaFr { + background-color: unset; + } + div.avatarPositionPremiumBanner-2nq2Fy { top: 24px; } @@ -67,8 +71,9 @@ div.accountProfileCard-lbN7n- { div.constrainedRow-3y91Xf { &:extend(.hide); } button { - top: -48pt; - left: 300pt; + position: absolute; + right: 16px; + top: 16px; } } @@ -95,27 +100,14 @@ div.accountProfileCard-lbN7n- { margin-top: 8px; margin-left: -22px; background-color: var(--background-tertiary); - .radius(); - border-bottom-right-radius: 16px; + .radius() !important; + border-bottom-right-radius: 16px !important; height: 32px; padding-top: 4px; padding-right: 4px; } } -div[class^="banner"] { - position: absolute; - width: inherit; - max-height: 72px; - min-height: 0; - &:extend(.rounder); - div[class^="profileBannerPreview-"] &, - &[class*="popoutBanner"] { - .bottom-border(); - width: 100%; - } -} - // Redesigned profile page div.root-8LYsGj { flex-direction: row; @@ -132,6 +124,7 @@ div.root-8LYsGj { div.headerTop-1PNKck { position: unset; justify-content: left; + margin-top: 8px; } div.nameTag-H6kSJ0 { @@ -167,8 +160,8 @@ div.root-8LYsGj { &:hover, &.selected-g-kMVV { border-right: 2px solid var(--interactive-active) !important; } - .radius() !important; - .left-border(@round) !important; + .radius((@round / 4)) !important; + .left-border(@round) !important; } } @@ -178,7 +171,7 @@ div.root-8LYsGj { } div.profileBadges-2pItdR { width: max-content; - .radius(8px); + .radius(@round); padding: 2px; } } diff --git a/src/settings.less b/src/settings.less index 233b701..bcf5071 100644 --- a/src/settings.less +++ b/src/settings.less @@ -243,11 +243,6 @@ div[data-list-id="audit-log"] { } } -#community-tab > div.container-2CHEay { - & > div.banner-3-oqyl - { &:extend(.hide); } -} - #discovery-tab > div.container-26RXEg { .horiz-tab(); // disabledButtonWrapper-2Oz3aY