Skip to content

Commit

Permalink
Update styles for sidebar channels
Browse files Browse the repository at this point in the history
  • Loading branch information
laCour committed Jun 17, 2017
1 parent 73a2ea2 commit 1f13038
Showing 1 changed file with 29 additions and 17 deletions.
46 changes: 29 additions & 17 deletions scss/layout/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
}

.primary_action {
&.im_name:hover .im_name_background,
&.feature_user_custom_status:hover .im_name_background,
&:not(.feature_user_custom_status):hover {
background: $color-base;
Expand Down Expand Up @@ -99,30 +100,41 @@
}
}

#channels_scroller.show_which_channel_is_active ul li.active {
.primary_action {
background: $color-base;
color: $base-font-color;

&.feature_user_custom_status .im_name_background {
#channels_scroller {
&.show_which_channel_is_active ul li.active {
.primary_action {
background: $color-base;
color: $base-font-color;

&.im_name .im_name_background {
background: $color-base;
}

&.feature_user_custom_status .im_name_background {
background: $color-base;
}

.prefix {
color: $color-highlight;
}
}

.prefix {
color: $color-highlight;
.group_close,
.im_close,
.mpim_close {
color: $base-font-color;
}
}

.group_close,
.im_close,
.mpim_close {
color: $base-font-color;
.unread_highlights,
.unread_msgs {
background: $color-red;
color: $base-font-color;
}
}

.unread_highlights,
.unread_msgs {
background: $color-red;
color: $base-font-color;
ul li.muted_channel:not(.active) .primary_action>:not(.im_name_background),
&:not(.show_which_channel_is_active) li.muted_channel .primary_action>:not(.im_name_background) {
opacity: 0.6;
}
}

Expand Down

0 comments on commit 1f13038

Please sign in to comment.