new profile popout

This commit is contained in:
Er2 2022-04-27 11:38:24 +03:00
parent ee1e4ffc43
commit 90b5e13544
1 changed files with 22 additions and 13 deletions

View File

@ -20,8 +20,7 @@ div[class^="accountProfileCard-"] div[class^="userInfo-"] {
.profile() when (@no-nitro = true) {
[class^="botTagVerified-"],
[class^="badgeList-"],
[class^="profileBadges-"],
[class^="badgeList-"], // modal profile page
{ &:extend(.nitro); }
}
.profile() { // banners
@ -34,22 +33,32 @@ div[class^="accountProfileCard-"] div[class^="userInfo-"] {
div[class^="userPopout-"],
div[class^="profileBannerPreview-"] {
div[class^="avatarWrapper"] {
top: 8px; // fix divider bug
div[class^="avatarWrapper"],
div[class*="avatarUploaderNormal-"] {
position: relative;
margin-top: 8px;
top: 8px;
left: 0;
align-self: center;
}
div[class^="headerText-"] {
display: flex;
flex-direction: column;
align-items: center;
}
div[class^="profileBadges-"] {
position: static;
justify-content: center;
}
div[class^="headerTop-"] {
padding-top: 72px; // also fix divider bug
div[class^="headerText"] {
margin-left: 96px; // fix nickname
}
padding: 8px;
margin-top: 8px;
align-self: center;
}
}
div[class^="profileBanner"] div[class*="avatar"]:not([class^="imageUploaderInner"]) {
margin-left: -8px;
margin-top: -8px;
}
}
.profile();