Move SideBar css out of theme (#1646)
This commit is contained in:
parent
d23b4a7837
commit
f278a46e3e
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@ -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};
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user