Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/display/shared/header/components/HeaderLogoBlock.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ const HeaderLogoBlock = (props) => {
>
☰
</NavbarToggler>
<Link href="/" className="d-none d-sm-inline-block navbar-brand" to="/">
RPTHREADTRACKER
</Link>
<NavbarToggler
className="d-md-down-none"
data-spec="header-logo-block-sidebar-toggler"
onClick={sidebarToggle}
>
&#9776;
</NavbarToggler>
<Link href="/" className="d-none d-sm-inline-block navbar-brand" to="/">
RPTHREADTRACKER
</Link>
</div>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,6 @@ exports[`rendering snapshots should render valid snapshot 1`] = `
>
</NavbarToggler>
<Link
className="d-none d-sm-inline-block navbar-brand"
href="/"
replace={false}
to="/"
>
RPTHREADTRACKER
</Link>
<NavbarToggler
className="d-md-down-none"
data-spec="header-logo-block-sidebar-toggler"
Expand All @@ -34,5 +26,13 @@ exports[`rendering snapshots should render valid snapshot 1`] = `
>
</NavbarToggler>
<Link
className="d-none d-sm-inline-block navbar-brand"
href="/"
replace={false}
to="/"
>
RPTHREADTRACKER
</Link>
</div>
`;
34 changes: 26 additions & 8 deletions src/display/shared/sidebar/_styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,40 @@ import styled from 'styled-components';
import colors from '../../../infrastructure/constants/colors';

export default styled.div`
color: ${colors.GRAY_400};
background: ${colors.WHITE};
border-right: 1px solid ${colors.GRAY_200};
color: ${colors.GRAY_100};
background: ${colors.GRAY_900};
border-right: 1px solid ${colors.GRAY_400};
.light-theme & {
color: ${colors.GRAY_400};
background: ${colors.WHITE};
border-right: 1px solid ${colors.GRAY_200};
}
.nav {
.nav-title {
color: ${colors.GRAY_600}
color: ${colors.GRAY_100};
.light-theme & {
color: ${colors.GRAY_600}
}
}
.nav-item {
.nav-link {
color: ${colors.GRAY_600}
color: ${colors.GRAY_100};
.light-theme & {
color: ${colors.GRAY_600}
}
i {
color: ${colors.GRAY_600}
color: ${colors.GRAY_100};
.light-theme & {
color: ${colors.GRAY_600}
}
}
&.active {
background: ${colors.GRAY_050};
color: ${colors.GRAY_600};
background: ${colors.GRAY_600};
color: ${colors.GRAY_050};
.light-theme & {
background: ${colors.GRAY_050};
color: ${colors.GRAY_600};
}
i {
color: ${colors.LIGHT_BLUE};
}
Expand Down