diskort/src/settings.less

84 lines
1.6 KiB
Plaintext

/** DisKort
* (c) Er2 2022 <er2@dismail.de>
* Zlib License
*/
// New sidebar in settings
div[class^="standardSidebarView-"] {
flex-direction: column;
div[class^="sidebarRegion-"] {
overflow: auto hidden;
scrollbar-width: thin;
background: var(--background-secondary); // bugfix
flex-basis: unset; // bugfix to normalize height
div[class^="header-"],
div[class^="separator-"]
{ display: none; }
& > div {
overflow: auto hidden !important;
justify-content: left;
max-width: 100%;
& > nav {
padding: 0;
& > div {
flex-direction: row;
height: @tab-height;
}
}
}
}
div[class^="contentRegion-"] {
overflow-y: auto;
scrollbar-width: thin;
* {
max-width: 100%;
}
}
}
div[aria-controls*="nitro"],
div[aria-controls="library-inventory-tab"],
div[aria-controls="subscriptions-tab"],
div[aria-controls="billing-tab"],
div[aria-controls="keybinds-tab"],
div[aria-controls="game-activity-tab"],
div[aria-controls^="hypesquad"],
{
display: none;
}
#connections-tab div[class^="children-"] {
flex-direction: row;
div[class^="accountList-"] {
margin-right: @div-width;
height: 100%; // decreases height? 0_0
}
div[class^="connectionList-"] {
width: 100%;
}
}
#notifications-tab div[class^="children"] {
div:nth-child(6)
{ display: none; }
}
div[class^="accountProfileCard-"] {
div[class^="field-"]:nth-child(1) {
height: 0;
div[class^="constrainedRow-"] {
display: none;
}
button {
top: -48pt;
left: 60vh;
}
}
}