156 lines
3.8 KiB
SCSS
156 lines
3.8 KiB
SCSS
@use "colors";
|
|
@use "images";
|
|
|
|
[class*="baseLayer-"]
|
|
> [class^="container-"]
|
|
[class^="base-"]
|
|
> [class^="content-"]
|
|
[class^="sidebar-"]
|
|
> [class^="privateChannels-"] {
|
|
& > [class^="scroller-"] {
|
|
& > [class^="content-"] {
|
|
& > [class^="channel-"] {
|
|
margin-left: 0;
|
|
max-width: unset;
|
|
|
|
& > [class^="interactive-"] {
|
|
background-color: transparent;
|
|
border-radius: 0;
|
|
padding: 0;
|
|
|
|
&[class*="linkButton-"] {
|
|
[class^="link-"] {
|
|
& > [class*="layout-"] {
|
|
height: 16px;
|
|
padding: 0;
|
|
|
|
& > [class*="avatar-"] {
|
|
width: 16px;
|
|
height: 16px;
|
|
margin-right: 4px;
|
|
|
|
& > [class*="linkButtonIcon-"] {
|
|
width: 16px;
|
|
height: 16px;
|
|
color: var(--channel-icon);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[class^="link-"] {
|
|
border-radius: 0;
|
|
padding: 2px 4px;
|
|
--channel-icon: #{colors.$highlight};
|
|
|
|
& > [class*="layout-"] {
|
|
height: 32px;
|
|
padding: 0;
|
|
|
|
[class^="avatar-"] {
|
|
margin-right: 6px;
|
|
}
|
|
}
|
|
|
|
[class^="name-"] {
|
|
font-size: 12px;
|
|
color: colors.$highlight;
|
|
line-height: 16px;
|
|
font-weight: normal;
|
|
}
|
|
|
|
&[href="/store"] > [class^="badgeContainer-"] {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
&[class*="selected-"] {
|
|
background-color: colors.$accent;
|
|
[class^="link-"] {
|
|
--channel-icon: white;
|
|
|
|
[class^="name-"] {
|
|
color: white;
|
|
}
|
|
}
|
|
}
|
|
&:hover:not([class*="selected-"]) {
|
|
[class^="link-"] {
|
|
background-color: transparent;
|
|
--channel-icon: #{colors.$c7};
|
|
[class^="name-"] {
|
|
color: colors.$c7;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
& > [class*="privateChannelsHeaderContainer-"] {
|
|
padding: 0;
|
|
height: 22px;
|
|
flex-direction: row-reverse;
|
|
background: linear-gradient(
|
|
to right,
|
|
colors.$highlight,
|
|
transparent 75%
|
|
);
|
|
align-items: center;
|
|
|
|
[class^="headerText-"] {
|
|
line-height: 21px;
|
|
font-weight: normal;
|
|
font-size: 12px;
|
|
color: colors.$c7;
|
|
text-shadow: 0px 0px 4px colors.$c0, 0px 0px 4px colors.$c0,
|
|
0px 0px 4px colors.$c0, 0px 0px 4px colors.$c0;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
&[aria-expanded] > div {
|
|
position: relative;
|
|
left: 3px;
|
|
top: 0px;
|
|
width: 16px;
|
|
height: 16px;
|
|
transition: none;
|
|
transform: none !important;
|
|
background-image: images.$CategoryArrow;
|
|
background-position: 0px 16px;
|
|
|
|
& > svg {
|
|
display: none;
|
|
}
|
|
}
|
|
&[aria-expanded="false"] > div {
|
|
background-position-y: 0px;
|
|
}
|
|
&[aria-expanded]:hover > div {
|
|
background-position-x: 16px;
|
|
}
|
|
|
|
& > [class^="privateChannelRecipientsInviteButtonIcon-"] {
|
|
position: relative;
|
|
left: 3px;
|
|
top: 0px;
|
|
width: 16px;
|
|
height: 16px;
|
|
transition: none;
|
|
transform: none !important;
|
|
background-image: images.$ButtonAdd;
|
|
margin-right: 0;
|
|
|
|
&:hover {
|
|
background-position-x: 16px;
|
|
}
|
|
|
|
& > svg > polygon {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|