mostly bugfixes

This commit is contained in:
Er2 2022-04-12 20:53:03 +03:00
parent 445c1f8423
commit dc0d38df01
5 changed files with 32 additions and 12 deletions

View File

@ -3,7 +3,8 @@
* Zlib License
*/
@no-nitro: false; // DO NOT CHANGE! Comment src/nitro to disable anti-nitro
@no-nitro: true;
@no-banner: false;
@round: 8px;
@rounder: 16px;

View File

@ -4,17 +4,19 @@ ul[data-list-id="guildsnav"] div[class^="scroller-"] {
flex-direction: column;
overflow: hidden !important;
& > div:nth-child(3) {
// servers
& > div[aria-label] {
overflow: hidden scroll;
scrollbar-width: none;
flex-grow: 1;
}
& > div:nth-child(4) {
margin-top: 4px;
& ~ div
{ &:extend(.hide); }
// add button
& + div {
margin-top: 4px;
// all others
& ~ div
{ &:extend(.hide); }
}
}
}

View File

@ -1,5 +1,6 @@
@no-nitro: true;
.nitroblock() when (@no-nitro = true) {
.nitro { &:extend(.hide); }
[class^="marketing"],
@ -33,3 +34,11 @@ nav[class^="privateChannels-"] div div // Nitro tab at DM
}
}
}
}
.nitroblock() when (@no-banner = true) {
[class^="bannerContainer-"],
[class*="banner-"]
{ &:extend(.hide); }
}
.nitroblock();

View File

@ -20,12 +20,11 @@ div[class^="accountProfileCard-"] div[class^="userInfo-"] {
.profile() when (@no-nitro = true) {
[class^="botTagVerified-"],
[class^="bannerContainer-"],
[class*="banner-"],
[class^="badgeList-"],
[class^="profileBadges-"],
{ &:extend(.nitro); }
}
.profile() when (@no-banner = true) {
div[class^="listItemContents-"] div[class^="userInfo"] {
padding-top: 0;
div[class^="avatar-"] {

View File

@ -212,6 +212,10 @@ div[data-list-id="audit-log"] {
#integrations-tab > div:nth-child(2) {
.horiz-tab();
img[class^="iconWrapper-"] {
width: unset;
}
button[class^="createButton-"],
[class^="sectionHeader-"],
& > div:first-child {
@ -237,6 +241,11 @@ div[data-list-id="audit-log"] {
}
}
#community-tab > div[class^="container-"] {
& > div[class^="banner-"]
{ &:extend(.hide); }
}
#discovery-tab > div[class^="container-"] {
.horiz-tab();
span[class*="Button"] {