pxvmc/src/w9x/channel_list.scss

741 lines
20 KiB
SCSS

[class^="base_"] > [class^="content_"] > [class^="sidebar_"] {
border-radius: 0 !important;
border-left: 4px solid var(--ThreeDFace);
padding: 2px;
box-shadow: var(--RebarBorder);
& > [class^="container_"] {
background: var(--Window) !important;
& > [class^="container_"][class*="clickable_"] {
background: var(--ThreeDFace) !important;
& > header[class^="header_"] {
padding: 0px;
padding-bottom: 2px;
height: 22px !important;
box-shadow: inset 0 -1px 0 0 var(--ThreeDHighlight), inset 0 -2px 0 0 var(--ThreeDShadow);
& > [class^="headerContent_"] {
height: 20px !important;
padding-left: 6px;
& > [class*="name_"] {
font-weight: normal;
font-size: var(--FontSize);
}
& > [class^="headerChildren_"] {
width: 20px;
height: 18px;
background-color: var(--WindowText);
mask-image: var(--ImageScrollbarDown);
mask-repeat: no-repeat;
mask-position: center;
&:has(> svg[class*="open"]) {
mask-image: var(--ImageClose);
}
& > svg {
display: none;
}
}
& > [class^="guildIconV2Container_"] {
margin-right: 2px;
}
}
}
& > [class^="animatedContainer_"] {
height: 20px !important;
& > [class^="bannerImage_"] {
height: 20px !important;
&::after {
content: "";
height: 20px !important;
width: 240px;
top: 0;
left: 0;
position: absolute;
background: linear-gradient(to top, var(--ThreeDFace) 5%, transparent 100%);
}
}
}
}
& > [class^="animatedBannerHoverLayer_"] {
display: none;
}
& > [class^="scroller_"] {
scrollbar-width: unset !important;
scrollbar-color: unset !important;
&::-webkit-scrollbar {
min-width: 16px;
width: 16px;
}
&::-webkit-scrollbar-track {
visibility: visible !important;
background-color: var(--Scrollbar) !important;
border: none;
border-radius: 0;
margin: 0;
}
&::-webkit-scrollbar-thumb,
&::-webkit-scrollbar-button:single-button {
visibility: visible !important;
border-radius: 0 !important;
background: var(--ThreeDFace) !important;
box-shadow: var(--WindowFrame);
border: none !important;
}
&::-webkit-scrollbar-button:single-button:active {
box-shadow: inset 1px 1px var(--ThreeDShadow), inset -1px -1px var(--ThreeDShadow) !important;
}
&::-webkit-scrollbar-button:single-button:vertical:decrement {
background-repeat: no-repeat !important;
background-position: center center !important;
background-image: var(--ImageScrollbarUp) !important;
}
&::-webkit-scrollbar-button:single-button:vertical:increment {
background-repeat: no-repeat !important;
background-position: center center !important;
background-image: var(--ImageScrollbarDown) !important;
}
& > [class^="content_"] {
--channel-icon: var(--WindowText);
& > div[style="height: 84px;"],
& > div[style="height: 84px;"] + div[style="height: 12px;"],
& > div[style="height: 0px;"] + div[style="height: 12px;"],
& > [class^="sectionDivider"] + div[style="height: 12px;"] {
height: 0px !important;
}
[class^="container_"]:has(> [class^="progressBarContainer_"]) {
padding: 0;
margin: 3px 2px;
&::after {
left: 0;
height: 1px;
border-bottom: solid 1px var(--ThreeDHighlight);
background-color: var(--ThreeDShadow);
width: 100%;
}
& > [class^="textArea_"] {
margin: 0;
height: 16px;
& > [class^="goalTextContainer_"],
& > [class^="progressFraction_"] {
& > [data-text-variant] {
color: var(--WindowText) !important;
font-size: var(--FontSize);
}
}
& > [class^="progressFraction_"] > [class^="count_"] {
display: none;
}
}
& > [class^="progressBarContainer_"] {
margin: 0;
margin-bottom: 3px;
border-radius: 0;
border: 1px solid transparent;
border-top-color: var(--ThreeDShadow);
border-left-color: var(--ThreeDShadow);
border-bottom-color: var(--ThreeDHighlight);
border-right-color: var(--ThreeDHighlight);
background-color: var(--ThreeDFace);
height: 14px;
width: calc(100% - 2px);
& > [class^="progressBar_"] {
height: 100%;
border-radius: 0;
background-color: var(--Selection);
background-image: none;
mask: var(--ProgressBar);
mask-repeat: repeat-x;
}
& > [class^="tadaIcon_"] {
display: none;
}
}
}
[class^="sectionDivider_"] {
height: 1px;
border-top: solid 1px var(--ThreeDShadow);
background-color: var(--ThreeDHighlight);
margin: 3px 2px;
width: calc(100% - 4px);
&
+ [class^="containerDefault_"]:has(> [class*="clickable_"])
> [class^="iconVisibility_"]
> [class^="mainContent_"]::before {
height: 0 !important;
top: 10px;
}
}
[class^="containerDefault_"] {
margin-left: 0;
padding: 0;
[class^="iconVisibility_"] {
margin-left: 0;
padding: 0;
height: unset;
color: var(--WindowText);
& > [class^="unread_"] {
display: none;
}
&[class*="modeUnread"] [class^="name_"] {
font-weight: bold;
}
&[class*="modeSelected_"] {
[class^="link_"] {
background-color: transparent !important;
[class^="name_"] {
background-color: var(--Selection);
color: var(--SelectionText);
}
}
}
&[class*="modeMuted_"] {
[class^="link_"] {
background-color: transparent !important;
[class^="name_"] {
color: var(--ThreeDShadow);
text-shadow: 1px 1px 0 var(--ThreeDHighlight);
}
}
}
&:hover [class^="link_"] {
background-color: transparent !important;
}
}
[class^="link_"] {
padding: 0;
border-radius: 0;
[class^="linkTop_"] {
justify-content: flex-start;
& > [class^="children_"] {
flex-grow: 1;
align-items: flex-end;
justify-content: flex-end;
}
}
[class^="name_"] {
line-height: 16px;
font-size: var(--FontSize);
font-weight: normal;
letter-spacing: unset;
color: var(--WindowText);
flex-grow: 0;
}
[class^="iconContainer_"] {
margin-right: 3px;
& > [class^="icon_"] {
width: 16px;
height: 16px;
}
}
[class^="channelInfo_"] {
& > [class^="wrapper_"] {
border-radius: 0;
line-height: 16px;
height: 16px;
& > [class^="users_"] {
background-color: transparent;
color: var(--WindowText);
padding-right: 6px;
width: unset;
}
& > [class^="total_"] {
background-color: transparent;
color: var(--ThreeDHighlight);
padding: 0;
&::after {
content: "/";
border: none;
left: -4px;
}
}
}
}
[class^="newChannel_"] {
position: absolute;
right: 0;
font-size: 0;
background-color: transparent !important;
border-radius: 0;
width: 16px;
height: 16px;
top: 0px;
&::after {
content: "";
width: 16px;
height: 16px;
position: absolute;
right: 0;
background-image: var(--ImageNew);
background-size: 16px;
background-position: center;
background-repeat: no-repeat;
}
}
}
&:has(> [class*="clickable_"]) {
& > [class^="iconVisibility_"] > [class^="mainContent_"] {
&::before {
content: "";
height: 8px;
width: 8px;
border-left: 1px dotted;
border-bottom: 1px dotted;
border-color: var(--ThreeDHighlight);
position: absolute;
top: 1px;
left: 9px;
}
&::after {
content: "";
display: block;
position: absolute;
top: 5px;
left: 5px;
width: 7px;
height: 7px;
border: 1px solid;
border-color: var(--ThreeDHighlight);
background-color: var(--Window);
}
& > svg {
top: 6px;
left: 6px;
width: 7px;
height: 7px;
transform: none !important;
background-color: var(--WindowText);
mask-image: var(--ImageListMinus);
mask-repeat: no-repeat;
mask-position: center;
-webkit-mask-image: var(--ImageListMinus);
-webkit-mask-repeat: no-repeat;
-webkit-mask-position: center;
z-index: 2;
& > path {
display: none;
}
}
& > [class^="name_"] {
margin-left: 38px;
line-height: 16px;
font-size: var(--FontSize);
font-weight: normal;
letter-spacing: unset;
color: var(--WindowText);
&::after {
content: "";
display: block;
width: 16px;
height: 16px;
position: absolute;
left: 19px;
top: 0;
background-image: var(--ImageFolderOpen16);
background-repeat: no-repeat;
background-position: center;
image-rendering: pixelated;
}
}
}
&
~ [class^="containerDefault_"]:has(> [class*="clickable_"])
> [class^="iconVisibility_"]
> [class^="mainContent_"]::before {
height: 14px;
top: -5px;
}
&
+ [class^="containerDefault_"]:has(> [class*="clickable_"])
> [class^="iconVisibility_"]
> [class^="mainContent_"]::before {
height: 10px;
top: -1px;
}
[class*="collapsed_"] {
& > [class^="mainContent_"] > svg {
mask-image: var(--ImageListPlus) !important;
-webkit-mask-image: var(--ImageListPlus) !important;
}
[class^="name_"]::after {
background-image: var(--ImageFolderClosed16) !important;
}
}
& ~ [class^="containerDefault_"]:not(:has(> [class*="clickable_"])) {
margin-left: 38px;
&::before {
content: "";
height: 14px;
width: 8px;
border-left: 1px dotted;
border-bottom: 1px dotted;
border-color: var(--ThreeDHighlight);
position: absolute;
top: -5px;
left: -10px;
}
&::after {
content: "";
height: 14px;
width: 0px;
border-left: 1px dotted;
border-bottom: 1px dotted;
border-color: var(--ThreeDHighlight);
position: absolute;
top: -5px;
left: -29px;
}
}
& + [class^="containerDefault_"]:not(:has(> [class*="clickable_"])) {
&::before {
top: 1px;
height: 8px;
}
&::after {
top: -1px;
height: 10px;
}
}
& ~ [class^="container_"] {
margin-left: 38px;
&::before {
content: "";
height: 100%;
width: 0px;
border-left: 1px dotted;
border-bottom: 1px dotted;
border-color: var(--ThreeDHighlight);
position: absolute;
top: -5px;
left: -10px;
}
&::after {
content: "";
height: 100%;
width: 0px;
border-left: 1px dotted;
border-bottom: 1px dotted;
border-color: var(--ThreeDHighlight);
position: absolute;
top: -5px;
left: -29px;
}
}
&:not(:has(~ [class^="containerDefault_"] > [class*="clickable_"])) {
& ~ [class^="containerDefault_"]:not(:has(> [class*="clickable_"])) {
&::after,
& > div:has(> [class*="typeVoice_"]) ~ [class^="list_"]::after,
& ~ [class^="container_"]::after {
display: none;
}
}
}
&:not(:has(~ [class^="containerDefault_"]:has(div:not([class*="clickable_"])))) {
& > div:has(> [class*="typeVoice_"]) ~ [class^="list_"]::before {
display: none;
}
}
}
& > div:has(> [class*="typeVoice_"]) ~ [class^="list_"] {
padding: 0;
margin-left: 19px;
&::before {
content: "";
width: 0px;
height: calc(100% - 16px);
border-left: 1px dotted;
border-bottom: 1px dotted;
border-color: var(--ThreeDHighlight);
position: absolute;
top: 9px;
left: -10px;
}
&::after {
content: "";
width: 0px;
height: calc(100% - 16px);
border-left: 1px dotted;
border-bottom: 1px dotted;
border-color: var(--ThreeDHighlight);
position: absolute;
top: 9px;
left: -29px;
}
& > [class^="draggable_"] {
height: unset;
overflow-x: visible;
&::before {
content: "";
height: 14px;
width: 8px;
border-left: 1px dotted;
border-bottom: 1px dotted;
border-color: var(--ThreeDHighlight);
position: absolute;
top: -5px;
left: -10px;
}
&:first-of-type::before {
top: 1px;
height: 8px;
}
& > [class^="voiceUser_"] {
height: unset;
& > [class^="content_"] {
margin: 0;
& > [class^="userAvatar_"] {
margin: 0;
margin-right: 3px;
width: 16px;
height: 16px;
}
& > [class^="usernameFont_"] {
font-size: var(--FontSize);
line-height: var(--FontSize);
}
}
}
}
}
}
[class^="container_"] {
[class^="spineBorder_"] {
display: none;
}
[class^="containerDefault_"] {
margin-left: 19px;
& > [class^="spine_"] {
display: none;
}
&::before {
content: "";
height: 14px;
width: 8px;
border-left: 1px dotted;
border-bottom: 1px dotted;
border-color: var(--ThreeDHighlight);
position: absolute;
top: -5px;
left: -10px;
}
&:first-of-type::before {
top: 1px;
height: 8px;
}
}
}
[class^="voiceUserSummary_"] {
height: 16px;
padding: 0;
margin-left: 38px;
position: relative;
&::before {
content: "";
height: 14px;
width: 8px;
border-left: 1px dotted;
border-bottom: 1px dotted;
border-color: var(--ThreeDHighlight);
position: absolute;
top: -5px;
left: -10px;
}
&::after {
content: "";
height: 14px;
width: 0px;
border-left: 1px dotted;
border-bottom: 1px dotted;
border-color: var(--ThreeDHighlight);
position: absolute;
top: -5px;
left: -29px;
}
& > [class^="container_"] {
& > svg {
margin-right: 3px;
width: 16px;
height: 16px;
}
& > [class^="avatarContainer_"],
& > [class^="avatarContainer_"] > [class^="clickableAvatar_"] {
width: 16px;
height: 16px;
}
}
}
}
}
}
}
.theme-light
[class^="base_"]
> [class^="content_"]
> [class^="sidebar_"]
> [class^="container_"]
> [class^="scroller_"]
> [class^="content_"]
[class^="containerDefault_"]
[class^="iconVisibility_"]
[class^="link_"]
[class^="channelInfo_"]
> [class^="wrapper_"]
> [class^="total_"] {
color: var(--ThreeDShadow) !important;
}
[id^="popout_"]:has(#guild-header-popout) {
top: 97px !important;
left: 58px !important;
width: 236px;
& > div {
transition: none;
transform: none;
}
#guild-header-popout {
width: 240px;
}
}
[class^="containerDefault_"] > [class^="iconVisibility_"] > [class^="mainContent_"] [class^="name_"],
[class^="membersGroup_"],
[class^="headerContent_"] > [class^="name_"] {
font-size: 16px;
text-transform: none !important;
font-weight: 600;
}
.theme-light {
[class^="base_"]
> [class^="content_"]
> [class^="sidebar_"]
> [class^="container_"]
> [class^="scroller_"]
> [class^="content_"]
[class^="containerDefault_"] {
&:has(> [class*="clickable_"]) {
& > [class^="iconVisibility_"] > [class^="mainContent_"] {
&::before,
&::after {
border-color: var(--ThreeDShadow) !important;
}
}
& ~ [class^="containerDefault_"]:not(:has(> [class*="clickable_"])) {
&::before,
&::after {
border-color: var(--ThreeDShadow) !important;
}
}
& ~ [class^="container_"] {
&::before,
&::after {
border-color: var(--ThreeDShadow) !important;
}
}
}
& > div:has(> [class*="typeVoice_"]) ~ [class^="list_"] {
&::before,
&::after,
& > [class^="draggable_"]::before {
border-color: var(--ThreeDShadow) !important;
}
}
}
[class^="container_"] [class^="containerDefault_"]::before {
border-color: var(--ThreeDShadow) !important;
}
}
[class^="flowerStarContainer_"] {
& > [class^="flowerStar_"] > path {
display: none;
}
& > [class^="childContainer_"] > svg {
width: 16px;
height: 16px;
}
}