bugfixes, old status icons

This commit is contained in:
Er2 2022-04-20 21:30:40 +03:00
parent 2871447406
commit 8d1bf41e37
3 changed files with 25 additions and 8 deletions

View file

@ -8,6 +8,7 @@
[class*="perks-"], [class*="perks-"],
[class*="nitro"], [class*="nitro"],
[class^="upsell"], [class^="upsell"],
[class*="Upsell"],
[class^="availabilityIndicator-"], [class^="availabilityIndicator-"],
div[class^="serverBoostTabItem-"], div[class^="serverBoostTabItem-"],
div[class*="hero"], div[class*="hero"],

View file

@ -24,7 +24,7 @@ div[class^="accountProfileCard-"] div[class^="userInfo-"] {
[class^="profileBadges-"], [class^="profileBadges-"],
{ &:extend(.nitro); } { &:extend(.nitro); }
} }
.profile() when (@no-banner = true) { .profile() { // banners
div[class^="listItemContents-"] div[class^="userInfo"] { div[class^="listItemContents-"] div[class^="userInfo"] {
padding-top: 0; padding-top: 0;
div[class^="avatar-"] { div[class^="avatar-"] {
@ -53,6 +53,10 @@ div[class^="accountProfileCard-"] div[class^="userInfo-"] {
} }
.profile(); .profile();
div[class^="pencilContainer-"] {
z-index: 1; // fix edit button in profile
}
// Profile card in settings // Profile card in settings
div[class^="accountProfileCard-"] { div[class^="accountProfileCard-"] {
div[class^="field-"]:nth-child(1) { div[class^="field-"]:nth-child(1) {
@ -67,15 +71,15 @@ div[class^="accountProfileCard-"] {
} }
} }
div[class^="banner-"] { div[class^="banner"] {
position: absolute; position: absolute;
width: inherit; width: inherit;
max-height: 84px; max-height: 72px;
&:extend(.rounder); &:extend(.rounder);
div[class^="profileBannerPreview-"] &,
&[class*="popoutBanner"] { &[class*="popoutBanner"] {
position: relative;
max-height: 128px;
.bottom-border(); .bottom-border();
width: 100%;
} }
} }
@ -110,7 +114,7 @@ div[class^="focusLock-"]:not([aria-labelledby]) > div[class^="root-"][class*="sm
div[class^="nameTag"] { div[class^="nameTag"] {
width: 64px; width: 64px;
position: absolute; position: absolute;
margin-top: -84px; margin-top: -64px;
margin-left: 130px; margin-left: 130px;
} }

View file

@ -36,6 +36,12 @@ div[class^="role-"] {
background: unset; background: unset;
} }
div[class^="statusItem-"] foreignObject,
rect[class^="pointerEvents-"],
{
mask: url(#svg-mask-status-online);
}
// Round // Round
// UI parts // UI parts
li[class^="channel-"], li[class^="channel-"],
@ -123,6 +129,11 @@ div[class^="attachedBars-"]
{ position: relative; } { position: relative; }
div[class^="channelTextArea-"] { div[class^="channelTextArea-"] {
&[class*="channelTextAreaDisabled-"]
button[class^="attachButton-"] {
display: none;
}
& > div[class^="scrollableContainer-"] { & > div[class^="scrollableContainer-"] {
background-color: unset; background-color: unset;
opacity: 1; opacity: 1;
@ -142,11 +153,12 @@ div[class^="channelTextArea-"] {
padding: 8px; padding: 8px;
width: auto; width: auto;
height: auto; height: auto;
margin-right: 8px;
} }
div[class^="textArea-"] { div[class^="textArea-"] {
margin-left: 8px; &:not([class*="textAreaDisabled-"])
.right-border(); { .right-border(); }
div > * { left: (@roundest / 2); } div > * { left: (@roundest / 2); }
} }