This commit is contained in:
Er2 2022-02-05 20:59:59 +03:00
parent 6a71457eda
commit 797a95a03c
2 changed files with 56 additions and 4 deletions

View file

@ -1,6 +1,6 @@
Zlib License Zlib License
Copyright (c) 2021 Er2 <er2@dismail.de> Copyright (c) 2022 Er2 <er2@dismail.de>
This software is provided 'as-is', without any express or implied This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages warranty. In no event will the authors be held liable for any damages

View file

@ -1,5 +1,6 @@
/** DisKort /** DisKort
* (c) Er2 2021 * (c) Er2 2022 <er2@dismail.de>
* Zlib License
*/ */
/* to hide */ /* to hide */
@ -12,17 +13,26 @@
[class^="nowPlaying"], [class^="nowPlaying"],
[class^="marketing"], [class^="marketing"],
div[class^="nameTag-"], div[class^="nameTag-"],
div[class*="member"][class*="offline"],
div[class*="hero"], div[class*="hero"],
/*div[class^="button"] button[class^="button-"],*/ /*div[class^="button"] button[class^="button-"],*/
button[class^="shinyButton"], [class*="giftButton"], button[class^="shinyButton"], [class*="giftButton"],
div[class*="premium"], div[class*="premium"],
h2[class^="privateChannelsHeaderContainer"], h2[class^="privateChannelsHeaderContainer"],
nav[class^="nav-"],
/* buttons on chat area */ /* buttons on chat area */
div[class^="channelTextArea-"] div div > div button:not([class^="emojiButton"]), div[class^="channelTextArea-"] div div > div button:not([class^="emojiButton"]),
[class^="stickerIcon-"], [class^="stickerIcon-"],
div[class^="toolbar-3_"],
#emoji-picker-tab-panel
div[class^="emojiPicker-"]
> div[class^="header-"],
nav[class^="privateChannels-"] div div
*[data-list-item-id$="nitro"],
#gif-picker-tab, #sticker-picker-tab, #gif-picker-tab, #sticker-picker-tab,
#private-channels-0, #private-channels-1, #private-channels-2 #private-channels-0, #private-channels-1, #private-channels-2
{ {
@ -33,6 +43,7 @@ div[class^="channelTextArea-"] div div > div button:not([class^="emojiButton"]),
} }
div[aria-label="Servers"] ~ div div[aria-label="Servers"] ~ div
{ {
/* FIXME: Localized string and bottom is broken */
position: absolute; position: absolute;
bottom: 0; bottom: 0;
display: none; display: none;
@ -41,7 +52,9 @@ div[aria-label="Servers"] ~ div
/* to show */ /* to show */
div[class^="scroller-"] div[class^="tutorialContainer-"] div[class^="scroller-"] div[class^="tutorialContainer-"]
{ {
/* FIXME: Look above */
display: unset; display: unset;
margin: 0;
} }
div[class^="userInfo-"] div[class^="avatar-"] { div[class^="userInfo-"] div[class^="avatar-"] {
@ -54,12 +67,31 @@ div[class^="userInfo-"] div[class^="avatar-"] {
top: 0; top: 0;
} }
#emoji-picker-tab-panel {
position: absolute;
top: 0; bottom: 0;
left: 0; right: 0;
}
#emoji-picker-tab-panel
div[class^="wrapper-"] {
top: 0;
}
/* rounder */ /* rounder */
div[class^="markup-"] pre code div[class^="markup-"] pre code,
div[class^="sidebar-"],
div[class^="container-"],
div[class^="chat-"]
{ {
border-radius: 16px; border-radius: 16px;
} }
div[class^="sidebar-"]
{
margin-right: 8px;
}
/* sharper */ /* sharper */
[class^="avatar-"] [class^="avatar-"]
{ {
@ -84,6 +116,14 @@ aside[class^="membersWrap-"]
min-width: 48px; min-width: 48px;
width: 0; width: 0;
} }
aside[class^="membersWrap-"] div[class^="content-"],
nav[class^="privateChannels-"]
div[class^="content-"]:only-child
{
height: unset !important;
}
div[class^="members-"], div[class^="members-"],
div[class^="member-"] div[class^="member-"]
{ {
@ -91,3 +131,15 @@ div[class^="member-"]
flex: 0 0 100%; flex: 0 0 100%;
margin-left: 0; margin-left: 0;
} }
section, header,
div[class^="content-"]::before,
div[class^="tabBody-"]::before
{
box-shadow: unset !important;
}
section div[class^="children-"]
{
justify-content: center;
}