diskort/src/settings.less

253 lines
4.3 KiB
Plaintext
Raw Normal View History

2022-04-10 11:14:51 +00:00
2022-08-07 14:20:53 +00:00
div.keybind-13vtq8, // true must know it!
div.socialLinks-3ywLUf, // in settings at end
2022-04-10 11:14:51 +00:00
{ &:extend(.hide); }
// New sidebar in settings
2022-08-07 14:20:53 +00:00
div.standardSidebarView-E9Pc3j {
flex-direction: column;
2022-08-07 14:20:53 +00:00
div.sidebarRegion-1VBisG {
overflow: hidden;
flex-basis: unset; // bugfix to normalize height
2022-03-27 09:28:24 +00:00
flex-grow: 0; // fix scaling
2022-08-07 14:20:53 +00:00
div.header-2Kx1US,
div.separator-2wx7h6
{ display: none; }
& > div {
background: var(--background-primary);
scrollbar-width: thin;
overflow: auto hidden !important;
justify-content: left;
max-width: 100%;
& > nav {
padding: 0;
width: unset; // to increase size
background: var(--background-secondary); // bugfix
& > div {
2022-03-29 16:11:13 +00:00
padding-left: @rounder;
flex-direction: row;
height: @tab-height;
}
}
}
}
2022-08-07 14:20:53 +00:00
div.contentRegion-3HkfJJ {
overflow-y: auto;
scrollbar-width: thin;
* {
max-width: 100%;
}
}
}
2022-04-09 16:57:07 +00:00
#my-account-tab > div {
.horiz-tab();
& > div:first-child {
width: 50%;
2022-04-17 13:51:06 +00:00
min-width: 512px;
2022-04-09 16:57:07 +00:00
}
}
// TrY AnImAtEd AvAtAr, eh... f you
2022-08-07 14:20:53 +00:00
div.optionBox-1UOevl:nth-child(2)
{ &:extend(.nitro); }
#profile-customization-tab {
div.baseLayout-8AMrwn {
& > div:not([class]) {
width: 100%;
div.customizationSection-IGy2fS {
&:nth-child(2), &:nth-child(3)
{ &:extend(.nitro); }
}
}
}
2022-08-07 14:20:53 +00:00
div.bioTextArea-dDGOeC {
2022-04-10 17:05:22 +00:00
height: 30vh;
}
}
#privacy-\&-safety-tab {
.marginBottom40-fvAlAV {
&:first-child div[role=radiogroup],
{ .horiz-tab(3); }
&:nth-child(2)
{ .horiz-tab(); }
2022-09-17 09:08:10 +00:00
&:nth-child(2) > h5
{ min-width: 100%; }
&:last-child
{ &:extend(.hide); }
}
}
2022-04-11 16:32:48 +00:00
2022-09-14 18:44:10 +00:00
#connections-tab div.children-1xdcWE {
flex-direction: row;
2022-04-17 14:41:04 +00:00
flex-flow: row wrap;
2022-09-14 18:44:10 +00:00
div.connectionsContainer-3wRUc6 {
row-gap: 8px;
}
div.connectContainer-1hylYM,
2022-08-07 14:20:53 +00:00
div.accountList-Wii_T5 {
margin-right: @div-width;
2022-04-17 14:41:04 +00:00
width: 33%;
// auto detect
2022-08-07 14:20:53 +00:00
& + div.container-1zDvAE {
2022-04-17 14:41:04 +00:00
order: -1;
width: 100%;
}
}
2022-08-07 14:20:53 +00:00
div.connectionList-11Q_X- {
2022-04-17 14:41:04 +00:00
flex-grow: 1;
}
div.connection-YOVI9j {
height: max-content;
}
}
2022-08-07 14:20:53 +00:00
#appearance-tab div.children-1xdcWE {
2022-04-09 16:57:07 +00:00
.horiz-tab();
& > div:first-child {
width: 100%;
}
2022-08-07 14:20:53 +00:00
div.marginTop20-2T8ZJx > div.slider-1NC-Gf {
margin-top: 28px;
}
}
2022-08-07 14:20:53 +00:00
#accessibility-tab div.children-1xdcWE {
& > div {
&:nth-child(2),
&:nth-child(3),
&:nth-child(6),
&:nth-child(7)
2022-04-11 16:29:17 +00:00
{ &:extend(.hide); }
&:nth-child(4) {
margin-top: @div-width * 2;
}
}
}
2022-08-07 14:20:53 +00:00
#notifications-tab div.children-1xdcWE {
div:nth-child(6)
2022-04-11 16:29:17 +00:00
{ &:extend(.hide); }
}
2022-04-09 19:09:45 +00:00
2022-08-07 14:20:53 +00:00
#language-tab div.children-1xdcWE {
2022-04-09 19:09:45 +00:00
div div > div[role="radiogroup"] {
.horiz-tab(3);
}
}
2022-08-07 14:20:53 +00:00
#streamer-mode-tab div.children-1xdcWE {
2022-04-09 19:09:45 +00:00
.horiz-tab();
& > * {
&:nth-child(1),
&:nth-child(2)
{ width: 100%; }
}
2022-04-14 18:25:37 +00:00
h5
{ display: none; }
2022-04-09 19:09:45 +00:00
}
2022-04-10 17:05:22 +00:00
// Server settings
2022-08-07 14:20:53 +00:00
#overview-tab > div > div.children-1xdcWE > div {
2022-04-11 16:29:17 +00:00
// system messages
2022-04-10 17:05:22 +00:00
&:nth-child(3) {
.horiz-tab();
& > :nth-child(1),
& > :nth-child(2)
{ width: 100%; }
2022-04-11 16:29:17 +00:00
& > :nth-child(3) // description
2022-04-10 17:05:22 +00:00
{ display: none; }
}
2022-04-11 16:29:17 +00:00
// notification settings
2022-04-10 17:05:22 +00:00
&:nth-child(4) > div > div:last-child {
.horiz-tab();
}
2022-04-11 16:29:17 +00:00
// nitro features
2022-04-10 17:05:22 +00:00
&:nth-child(5) > div > div:last-child {
.horiz-tab(3);
2022-08-07 14:20:53 +00:00
div.divider--oiTeJ {
2022-04-10 17:05:22 +00:00
padding: 0;
margin: 0;
border: none;
}
2022-08-07 14:20:53 +00:00
& > div:first-child div.flexChild-3PzYmX
{ &:extend(.hide); }
2022-04-10 17:05:22 +00:00
}
}
#integrations-tab > div:nth-child(2) {
.horiz-tab();
2022-08-07 14:20:53 +00:00
img.iconWrapper-1sOtkE {
2022-04-12 17:53:03 +00:00
width: unset;
}
2022-04-10 17:05:22 +00:00
button[class^="createButton-"],
[class^="sectionHeader-"],
& > div:first-child {
width: 100%;
margin-bottom: @div-width * 3;
}
}
2022-08-07 14:20:53 +00:00
#widget-tab div.children-1xdcWE {
&, & > div.infoWrapper-1HtsGy {
2022-04-10 17:05:22 +00:00
.horiz-tab();
row-gap: @gap * 2;
}
2022-08-07 14:20:53 +00:00
img.infoItem-Q4HWUe
{ &:extend(.hide); }
2022-04-10 17:05:22 +00:00
2022-08-07 14:20:53 +00:00
div.infoItem-Q4HWUe,
2022-04-10 17:05:22 +00:00
& > div:first-child,
& > div:last-child {
width: 100%;
flex-basis: unset;
}
}
2022-08-07 14:20:53 +00:00
#moderation-tab > div > div.children-1xdcWE {
div[role="radiogroup"] {
.horiz-tab();
}
}
div[data-list-id="audit-log"] {
.horiz-tab();
& > * {
height: min-content;
}
}
#discovery-tab > div.container-26RXEg {
2022-04-10 17:05:22 +00:00
.horiz-tab();
2022-08-07 14:20:53 +00:00
// disabledButtonWrapper-2Oz3aY
2022-04-10 17:05:22 +00:00
span[class*="Button"] {
align-self: start;
}
}