Skip to content

Commit

Permalink
fix unreads
Browse files Browse the repository at this point in the history
  • Loading branch information
Leozard committed Jul 7, 2023
1 parent bf5cf31 commit ed90377
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 16 deletions.
5 changes: 4 additions & 1 deletion lib/selectors/selectorPlaceholders.scss
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,10 @@
@extend %channelWrapperMuted !optional;
}
.link-1_kTxV {
@extend %channelContent !optional;
@extend %channelLink !optional;
}
.linkTop-1W1aK6 {
@extend %channelLinkTop !optional;
}
.icon-2W8DHg {
@extend %channelIcon !optional;
Expand Down
30 changes: 15 additions & 15 deletions src/channels/channels.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
}

// CHANNEL CONTENT
%channelContent {
%channelLink {
transition: all 0.15s ease-in-out;
}
%channelContent {
%channelLink {
position: relative;
background: transparent !important;
&:before {
Expand Down Expand Up @@ -99,11 +99,11 @@
%channelWrapper {
// HOVER
&:hover {
%channelContent {
%channelLink {
&:before {
background: hsla(0, 0%, 100%, 0.1);
}
%channelMain {
%channelLinkTop {
%channelContainerDefault & {
%channelIcon,
%channelName {
Expand All @@ -115,8 +115,8 @@
}
// UNREAD
&%channelWrapperUnread {
%channelContent {
%channelMain {
%channelLink {
%channelLinkTop {
%channelName {
color: var(--channel-unread);
text-shadow: 0 0 3px;
Expand All @@ -129,8 +129,8 @@
}
}
&:hover {
%channelContent {
%channelMain {
%channelLink {
%channelLinkTop {
%channelName {
color: var(--channel-text-selected);
}
Expand All @@ -143,7 +143,7 @@
}
// SELECTED
&%channelWrapperSelected {
%channelContent {
%channelLink {
&:before {
background: hsla(0, 0%, 100%, 0.1);
}
Expand Down Expand Up @@ -176,8 +176,8 @@

// CONNECTED
&%channelWrapperConnected {
%channelContent {
%channelMain {
%channelLink {
%channelLinkTop {
%channelName {
color: $main-color;
text-shadow: 0 0 3px;
Expand All @@ -191,17 +191,17 @@
}
// MUTED
&%channelWrapperMuted {
%channelContent {
%channelMain {
%channelLink {
%channelLinkTop {
%channelIcon,
%channelName {
color: var(--muted-color);
}
}
}
&:hover {
%channelContent {
%channelMain {
%channelLink {
%channelLinkTop {
&:before {
background: hsla(0, 0%, 100%, 0.07);
}
Expand Down

0 comments on commit ed90377

Please sign in to comment.