Move SideBar css out of theme (#1646)

This commit is contained in:
Jaco Greeff 2019-09-23 14:28:46 +02:00 committed by GitHub
parent d23b4a7837
commit f278a46e3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 15 deletions

View File

@ -217,7 +217,6 @@ a.apps--SideBar-Item-NavLink {
color: #eee;
display: block;
padding: 0.75em 0.75em;
transition: background 0.15s;
white-space: nowrap;
&:hover {
@ -230,9 +229,10 @@ a.apps--SideBar-Item-NavLink {
a.apps--SideBar-Item-NavLink-active {
background: #fafafa;
border-radius: 0.28571429rem 0 0 0.28571429rem;
color: inherit;
color: #3f3f3f;
&:hover {
color: inherit;
background: #fafafa;
color: #3f3f3f;
}
}

View File

@ -4,9 +4,6 @@
import { css } from 'styled-components';
/* background color of the main Content container */
const colorContentBg = '#fafafa';
/* default buttons, dark gray */
const colorBtnDefault = '#666';
@ -106,14 +103,5 @@ export default css`
.ui.toggle.checkbox input:checked~label:before {
background-color: ${colorBtnHighlight} !important;
}
a.apps--SideBar-Item-NavLink {
color: ${colorBtnText};
}
a.apps--SideBar-Item-NavLink-active,
a.apps--SideBar-Item-NavLink-active:hover {
color: ${colorBtnPrimary};
background: ${colorContentBg};
}
}
`;