This commit is contained in:
Er2 2022-09-17 12:08:10 +03:00
parent b843b50c44
commit 94b4dae8e7
5 changed files with 73 additions and 41 deletions

View File

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

View File

@ -32,7 +32,10 @@ button[class*="followButton-"], // at top in channels
[class^="nowPlaying"], // in friends tab
div[class^="threadSuggestionBar-"], // create thread because many replies
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.
h2[class^="privateChannelsHeaderContainer"], // direct messages label
@ -80,3 +83,8 @@ div[class^="overviewSidebar-"], // at community creation, not needed
form::before, // message input shadow
div[class^="children-"]::after, // shadow at title
{ &:extend(.hide); }
.container-3wLKDe {
background: unset !important;
}

View File

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

View File

@ -1,5 +1,5 @@
.round { .radius(@round); }
.rounder { .radius(@rounder); }
.round { .radius(@round) !important; }
.rounder { .radius(@rounder) !important; }
// Space between sidebar and chat
div[class^="sidebar-"] {
@ -84,9 +84,9 @@ article[class^="embed"] {
div[class^="layer-"] > div[class^="container-"],
div[class^="base-"] div[class^="content-"] > div:nth-child(2),
div[class^="guildList-"] div[class^="container-"],
div[class^="container"] > div,
div[class^="chat-"] > div[class^="content-"],
div.focusLock-2tveLW .wrapper-2bCXfR,
div.avatarWrapper-1B9FTW,
{ &:extend(.rounder); }
div[class^="auditLog"] {
@ -194,27 +194,35 @@ div.popoutContainer-2wbmiM,
}
// status picker
#account-status-picker + div.layer-2aCOJ3 div.scroller-1bVxF5 {
display: flex;
flex-flow: row wrap;
justify-content: space-around;
& > div.item-1OdjEX {
padding: 8px;
margin: 0;
& > div {
padding: 0;
& > div.status-2xYiEF,
& > div.description-1Dd2kv,
{ &:extend(.hide); }
}
#account-status-picker + div.layer-2aCOJ3 {
div.submenu-1apzyU {
top: -8px;
}
svg {
width: 16px;
height: 16px;
margin-left: 4px;
div.scroller-1bVxF5 {
display: flex;
flex-flow: row wrap;
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!
.vrf() when (@verifies = true) {
.verify('785219544364351499');
div.saveNoticeContainer-3t-pI1 {
width: calc(100% - 60pt);
}
#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^="checkbox"],
button[class*="button"],
code.inline,
{ &:extend(.round); }
// Rounder
div[class^="markup-"] pre code, // ```code```
span[class^="spoiler"],
span.mention,
code.inline,
[class^="item-"], // in settings
div[class^="group-"], // radiogroup
div[class*="card"],