Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
[MM-23808] Fixed the experimental sidebar header to use the correct t…
Browse files Browse the repository at this point in the history
…hemeing, also fixed the border. (#5260)
  • Loading branch information
devinbinnie committed Apr 2, 2020
1 parent 09014d4 commit 95e4294
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
14 changes: 13 additions & 1 deletion sass/layout/_sidebar-left.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
flex-direction: column;
position: fixed;
left: 0;
// TODO: Devin changed
height: 100%;
z-index: 12;
border-right: 1px solid var(--center-channel-color-20);

body.announcement-bar--fixed & {
height: calc(100% - #{$announcement-bar-height});
Expand Down Expand Up @@ -68,6 +68,18 @@
.SidebarHeader {
background-color: var(--sidebar-header-bg);

.header__info {
color: var(--sidebar-header-text-color);

.user__name {
color: var(--sidebar-header-text-color-80);
}

&:hover .user__name {
color: var(--sidebar-header-text-color);
}
}

.status-wrapper {
height: 36px;
width: 36px;
Expand Down
1 change: 1 addition & 0 deletions utils/utils.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -892,6 +892,7 @@ export function applyTheme(theme) {
'sidebar-text-active-color': theme.sidebarTextActiveColor,
'sidebar-header-bg': theme.sidebarHeaderBg,
'sidebar-header-text-color': theme.sidebarHeaderTextColor,
'sidebar-header-text-color-80': changeOpacity(theme.sidebarHeaderTextColor, 0.8),
'online-indicator': theme.onlineIndicator,
'away-indicator': theme.awayIndicator,
'dnd-indicator': theme.dndIndicator,
Expand Down

0 comments on commit 95e4294

Please sign in to comment.