This commit is contained in:
Er2 2022-09-17 12:08:10 +03:00
parent b843b50c44
commit af37e0a02d
5 changed files with 77 additions and 45 deletions

View file

@ -5,7 +5,6 @@
@no-nitro: true; @no-nitro: true;
@no-banner: false; @no-banner: false;
@verifies: true;
@round: 8px; @round: 8px;
@rounder: 16px; @rounder: 16px;

View file

@ -32,7 +32,10 @@ button[class*="followButton-"], // at top in channels
[class^="nowPlaying"], // in friends tab [class^="nowPlaying"], // in friends tab
div[class^="threadSuggestionBar-"], // create thread because many replies div[class^="threadSuggestionBar-"], // create thread because many replies
div[class^="welcomeCTA-"], // wave to say hi on server div[class^="welcomeCTA-"], // wave to say hi on server
div[role="separator"]:not([id$="new-messages-bar"]), // aren't needed .divider-IqmEqJ .content-3spvdd, // date in divider
.spine-29OFwR, // threads svg
.mainContent-20q_Hp .subtitle-3PyFgf, // forum subtitle
.scrollerInner-2PPAp2 div.box-2iMsQm, // start the conversation in forum
div[class^="channelNotice-"], // sh** at bottom of server name like invite people, server boost etc. div[class^="channelNotice-"], // sh** at bottom of server name like invite people, server boost etc.
h2[class^="privateChannelsHeaderContainer"], // direct messages label h2[class^="privateChannelsHeaderContainer"], // direct messages label
@ -80,3 +83,8 @@ div[class^="overviewSidebar-"], // at community creation, not needed
form::before, // message input shadow form::before, // message input shadow
div[class^="children-"]::after, // shadow at title div[class^="children-"]::after, // shadow at title
{ &:extend(.hide); } { &:extend(.hide); }
.container-3wLKDe {
background: unset !important;
}

View file

@ -78,21 +78,12 @@ div.optionBox-1UOevl:nth-child(2)
#privacy-\&-safety-tab { #privacy-\&-safety-tab {
.marginBottom40-fvAlAV { .marginBottom40-fvAlAV {
&:first-child div[role=radiogroup], &:first-child div[role=radiogroup],
&:nth-child(3)
{ .horiz-tab(3); } { .horiz-tab(3); }
&:nth-child(2) &:nth-child(2)
{ .horiz-tab(); } { .horiz-tab(); }
&:nth-child(3) { &:nth-child(2) > h5
h3 ~ * { { min-width: 100%; }
min-width: 100%;
}
}
&:nth-child(2), &:nth-child(3) {
& > :first-child
{ min-width: 100%; }
}
&:last-child &:last-child
{ &:extend(.hide); } { &:extend(.hide); }

View file

@ -1,5 +1,5 @@
.round { .radius(@round); } .round { .radius(@round) !important; }
.rounder { .radius(@rounder); } .rounder { .radius(@rounder) !important; }
// Space between sidebar and chat // Space between sidebar and chat
div[class^="sidebar-"] { div[class^="sidebar-"] {
@ -13,7 +13,7 @@ div[class^="repliedMessage-"] {
margin: 0; margin: 0;
border: none; border: none;
width: 4px; width: 4px;
border-radius: 2px; .radius(2px);
background: var(--interactive-muted); background: var(--interactive-muted);
left: 0; right: 100%; left: 0; right: 100%;
top: 0; bottom: 0; top: 0; bottom: 0;
@ -84,9 +84,9 @@ article[class^="embed"] {
div[class^="layer-"] > div[class^="container-"], div[class^="layer-"] > div[class^="container-"],
div[class^="base-"] div[class^="content-"] > div:nth-child(2), div[class^="base-"] div[class^="content-"] > div:nth-child(2),
div[class^="guildList-"] div[class^="container-"], div[class^="guildList-"] div[class^="container-"],
div[class^="container"] > div,
div[class^="chat-"] > div[class^="content-"], div[class^="chat-"] > div[class^="content-"],
div.focusLock-2tveLW .wrapper-2bCXfR, div.focusLock-2tveLW .wrapper-2bCXfR,
div.avatarWrapper-1B9FTW,
{ &:extend(.rounder); } { &:extend(.rounder); }
div[class^="auditLog"] { div[class^="auditLog"] {
@ -96,9 +96,9 @@ div[class^="auditLog"] {
{ .top-border(); } { .top-border(); }
} }
div[class^="messagesWrapper-"] div.content-2a4AW9
div[class^="message-"][class*="mentioned"] div.message-2CShn3.mentioned-Tre-dv
{ .left-border(4px); } { .left-border(4px) !important; }
// no shadows // no shadows
section, header, section, header,
@ -194,27 +194,35 @@ div.popoutContainer-2wbmiM,
} }
// status picker // status picker
#account-status-picker + div.layer-2aCOJ3 div.scroller-1bVxF5 { #account-status-picker + div.layer-2aCOJ3 {
display: flex; div.submenu-1apzyU {
flex-flow: row wrap; top: -8px;
justify-content: space-around;
& > div.item-1OdjEX {
padding: 8px;
margin: 0;
& > div {
padding: 0;
& > div.status-2xYiEF,
& > div.description-1Dd2kv,
{ &:extend(.hide); }
}
} }
svg { div.scroller-1bVxF5 {
width: 16px; display: flex;
height: 16px; flex-flow: row wrap;
margin-left: 4px; justify-content: space-around;
.separator-1So4YB
{ &:extend(.hide); }
& > div.item-1OdjEX {
padding: 8px;
margin: 0;
& > div {
padding: 0;
& > div.status-2xYiEF,
& > div.description-1Dd2kv,
{ &:extend(.hide); }
}
}
svg {
width: 16px;
height: 16px;
margin-left: 2px;
}
} }
} }
@ -240,9 +248,35 @@ div[id^="message-accessories-"] {
} }
} }
// Verified! div.saveNoticeContainer-3t-pI1 {
.vrf() when (@verifies = true) { width: calc(100% - 60pt);
.verify('785219544364351499'); }
#channels ul {
& > li.containerDefault-YUSmu3,
& > li.container-1Bj0eq {
margin-left: @round;
}
div.content-1gYQeQ {
margin: 0;
}
.unread-36eUEm {
left: -@round;
}
}
.spoilerText-27bIiA {
&.hidden-3B-Rum {
&:extend(.acrylic all);
position: relative;
background: unset !important;
user-select: none;
}
.inlineContent-2YnoDy {
opacity: 1 !important;
margin: 0 (@round / 2);
z-index: -2;
position: relative;
}
} }
.vrf();

View file

@ -97,13 +97,13 @@ div.bd-server-card {
div[class^="tabBarItem-"], div[class^="tabBarItem-"],
div[class^="checkbox"], div[class^="checkbox"],
button[class*="button"], button[class*="button"],
code.inline,
{ &:extend(.round); } { &:extend(.round); }
// Rounder // Rounder
div[class^="markup-"] pre code, // ```code``` div[class^="markup-"] pre code, // ```code```
span[class^="spoiler"], span[class^="spoiler"],
span.mention, span.mention,
code.inline,
[class^="item-"], // in settings [class^="item-"], // in settings
div[class^="group-"], // radiogroup div[class^="group-"], // radiogroup
div[class*="card"], div[class*="card"],