diskort/src/profile.less

185 lines
3.3 KiB
Text
Raw Normal View History

2022-04-10 11:14:51 +00:00
2022-04-11 16:29:17 +00:00
.profile() when (@no-nitro = true) {
[class^="botTagVerified-"],
2022-04-27 08:38:24 +00:00
[class^="badgeList-"], // modal profile page
2022-04-11 16:29:17 +00:00
{ &:extend(.nitro); }
2022-04-12 17:53:03 +00:00
}
2022-04-20 18:30:40 +00:00
.profile() { // banners
2022-04-11 16:29:17 +00:00
div[class^="listItemContents-"] div[class^="userInfo"] {
padding-top: 0;
div[class^="avatar-"] {
top: 0;
}
2022-03-24 16:19:00 +00:00
}
// fixes
div.overlayBackground-arbZMT,
div.overlayBackground-H1K9ZY {
margin: 8px 0 0 0;
background: none;
padding-right: 8px;
}
div.overlayBackground-H1K9ZY {
// in settings
padding-right: 0;
margin-top: -8px;
2022-03-24 16:19:00 +00:00
div.section-3FmfOT:first-child {
// nick
margin: 0 auto;
2022-04-11 16:29:17 +00:00
}
}
div.status-b9jLr4 {
position: relative;
top: -32px;
left: calc(50% + 8px);
}
2022-04-11 16:29:17 +00:00
.profileBadges-2pItdR,
.profileBadges-31rDHI {
background: rgba(0, 0, 0, 0.1);
justify-content: left;
position: absolute;
right: 0;
left: 8px;
}
2022-03-24 16:19:00 +00:00
div.avatarWrapper-3y0KZ1,
div.avatarUploader-CHGwK7 {
position: relative;
left: 0;
margin: 0 auto;
2022-03-24 16:19:00 +00:00
}
}
2022-04-11 16:29:17 +00:00
.profile();
2022-04-20 18:30:40 +00:00
div[class^="pencilContainer-"] {
z-index: 1; // fix edit button in profile
}
2022-04-11 16:29:17 +00:00
// Profile card in settings
div.accountProfileCard-lbN7n- {
div.field-21XZwa:first-child {
2022-04-11 16:29:17 +00:00
height: 0;
div.constrainedRow-3y91Xf
{ &:extend(.hide); }
2022-04-11 16:29:17 +00:00
button {
top: -48pt;
left: 300pt;
}
}
div.userInfo-regn9W {
justify-content: left;
padding-top: 24px;
height: 56px;
button {
margin-left: 32px;
margin-top: -8px;
}
}
div.avatar-3mTjvZ {
background-color: var(--background-tertiary) !important;
.radius();
border-bottom-right-radius: 16px;
top: 0;
}
div.container-1gYwHN {
width: max-content;
margin-top: 8px;
margin-left: -22px;
background-color: var(--background-tertiary);
.radius();
border-bottom-right-radius: 16px;
height: 32px;
padding-top: 4px;
padding-right: 4px;
}
2022-03-24 16:19:00 +00:00
}
2022-04-20 18:30:40 +00:00
div[class^="banner"] {
2022-04-11 16:29:17 +00:00
position: absolute;
width: inherit;
2022-04-20 18:30:40 +00:00
max-height: 72px;
2022-04-11 16:29:17 +00:00
&:extend(.rounder);
2022-04-20 18:30:40 +00:00
div[class^="profileBannerPreview-"] &,
2022-04-11 16:29:17 +00:00
&[class*="popoutBanner"] {
.bottom-border();
2022-04-20 18:30:40 +00:00
width: 100%;
2022-04-11 16:29:17 +00:00
}
2022-03-24 16:19:00 +00:00
}
2022-04-11 16:29:17 +00:00
// Redesigned profile page
div.root-8LYsGj {
2022-04-01 18:34:22 +00:00
flex-direction: row;
2022-04-01 18:34:22 +00:00
header {
2022-04-01 18:53:24 +00:00
width: 260px;
2022-04-01 18:34:22 +00:00
margin: 24px;
div.avatar-3QF_VA {
2022-04-01 18:34:22 +00:00
top: 0; left: 0;
position: relative;
}
div.headerTop-1PNKck {
2022-04-01 18:34:22 +00:00
position: unset;
justify-content: left;
}
div.nameTag-H6kSJ0 {
2022-04-01 18:34:22 +00:00
width: 64px;
position: absolute;
2022-04-20 18:30:40 +00:00
margin-top: -64px;
2022-04-01 18:34:22 +00:00
margin-left: 130px;
}
div.customStatus-kFfkj5 {
2022-04-01 18:34:22 +00:00
margin-top: 16px;
padding: 0;
}
}
div.body-1Ukv50 {
border: none;
2022-04-02 09:56:03 +00:00
margin-left: 16px;
height: 370px;
& > *
{ padding: 0 !important; }
}
div.tabBarContainer-sCZC4w
2022-04-01 18:34:22 +00:00
{ border: none; }
div.tabBar-2hXqzU {
2022-04-01 18:34:22 +00:00
flex-direction: column;
height: unset;
margin: 8px;
}
2022-04-02 09:56:03 +00:00
div.tabBarItem-30Te4- {
2022-04-02 09:56:03 +00:00
margin-right: 0;
border-bottom: unset;
&:hover, &.selected-g-kMVV {
2022-04-11 16:29:17 +00:00
border-right: 2px solid var(--interactive-active) !important;
2022-04-02 09:56:03 +00:00
}
.radius() !important;
.left-border(@round) !important;
2022-04-01 18:34:22 +00:00
}
}
#account-info {
div.headerTop-3GPUSF {
padding-top: 108px;
}
div.profileBadges-2pItdR {
width: max-content;
.radius(8px);
padding: 2px;
}
}
#account-avatar div.avatarWrapperNormal-ahVUaC {
left: 35%;
}