This commit is contained in:
Er2 2022-04-02 12:56:03 +03:00
parent fa7abf78f2
commit d17c7ba0ae
6 changed files with 38 additions and 26 deletions

View File

@ -4,7 +4,6 @@
*/
@import "src/hide";
@import "src/show";
@import "src/dimmer";
@import "src/mobile";
@import "src/profile";

View File

@ -3,6 +3,23 @@
* Zlib License
*/
// fix guild selector at left part
ul[data-list-id="guildsnav"] div[class^="scroller-"] {
display: flex;
flex-direction: column;
overflow: hidden !important;
& > div:nth-child(3) {
overflow: hidden scroll;
scrollbar-width: none;
flex-grow: 1;
}
& > div:nth-child(4) {
margin-top: 4px;
}
}
div[class^="messagesWrapper-"] div {
scrollbar-width: thin;
}

View File

@ -83,6 +83,9 @@ div[class^="quickswitcher-"], // Ctrl-K
div[class^="toolbar-3_"] > :nth-child(3) ~ *:not([class^="search-"]),
// Sidebar
ul[data-list-id="guildsnav"] div[class^="scroller-"] > div:nth-child(4) ~ div, // guild selector in left part
div[class^="channelNotice-"], // sh** at bottom of server name like invite people, server boost etc.
h2[class^="privateChannelsHeaderContainer"], // direct messages label
// #private-channels-0, #private-channels-1, #private-channels-2, // to check
@ -112,11 +115,3 @@ div[class^="children-"]::after, // shadow at title
width: 0 !important;
height: 0 !important;
}
div[aria-label="Servers"] ~ div
{
// FIXME: Fixed string and bottom is broken
position: absolute;
bottom: 0;
display: none;
}

View File

@ -58,7 +58,7 @@ header div[class^="nameTagNoCustomStatus-"] {
}
// Redesigned profile page
div[class^="focusLock-"]:not([aria-labelledby]) > div[class^="root-"] {
div[class^="focusLock-"]:not([aria-labelledby]) > div[class^="root-"][class*="small-"] {
flex-direction: row;
background-color: var(--background-floating) !important;
header {
@ -87,6 +87,12 @@ div[class^="focusLock-"]:not([aria-labelledby]) > div[class^="root-"] {
padding: 0;
}
}
div[class^="body-"] {
margin-left: 16px;
height: 370px;
& > *
{ padding: 0 !important; }
}
div[class^="tabBarContainer"]
{ border: none; }
div[class^="tabBar-"] {
@ -94,10 +100,14 @@ div[class^="focusLock-"]:not([aria-labelledby]) > div[class^="root-"] {
height: unset;
margin: 8px;
}
div[class^="body-"] {
margin-left: 16px;
height: 370px;
& > *
{ padding: 0 !important; }
div[class^="tabBarItem-"] {
margin-right: 0;
border-bottom: unset;
&:hover, &[class*="selected-"] {
border-right: 2px solid var(--interactive-active);
}
.top-border();
.left-border(@round);
}
}

View File

@ -53,6 +53,8 @@ div[aria-controls="billing-tab"],
div[aria-controls="keybinds-tab"],
div[aria-controls="game-activity-tab"],
div[aria-controls^="hypesquad"],
div[aria-controls="stickers-tab"],
{
display: none;
}

View File

@ -1,11 +0,0 @@
/** DisKort
* (c) Er2 2022 <er2@dismail.de>
* Zlib License
*/
div[class^="scroller-"] div[class^="tutorialContainer-"] // Add server
{
// FIXME: Fixed string and bottom is broken
display: unset;
margin: 0;
}