Unverified Commit 2d884eef authored by DD Liu's avatar DD Liu Committed by GitHub

Merge pull request #5578 from fsih/whiteButtons

Make the default nav button state white
parents deb1f5eb af5f8102
...@@ -49,6 +49,7 @@ const StudioTabNav = ({isFetchingInfo, commentCount, projectCount}) => { ...@@ -49,6 +49,7 @@ const StudioTabNav = ({isFetchingInfo, commentCount, projectCount}) => {
> >
<NavLink <NavLink
activeClassName="active" activeClassName="active"
className="nav_link"
to={base} to={base}
exact exact
> >
...@@ -67,6 +68,7 @@ const StudioTabNav = ({isFetchingInfo, commentCount, projectCount}) => { ...@@ -67,6 +68,7 @@ const StudioTabNav = ({isFetchingInfo, commentCount, projectCount}) => {
</NavLink> </NavLink>
<NavLink <NavLink
activeClassName="active" activeClassName="active"
className="nav_link"
to={`${base}/comments`} to={`${base}/comments`}
> >
<li><img <li><img
...@@ -84,6 +86,7 @@ const StudioTabNav = ({isFetchingInfo, commentCount, projectCount}) => { ...@@ -84,6 +86,7 @@ const StudioTabNav = ({isFetchingInfo, commentCount, projectCount}) => {
</NavLink> </NavLink>
<NavLink <NavLink
activeClassName="active" activeClassName="active"
className="nav_link"
to={`${base}/curators`} to={`${base}/curators`}
> >
<li><img <li><img
...@@ -92,6 +95,7 @@ const StudioTabNav = ({isFetchingInfo, commentCount, projectCount}) => { ...@@ -92,6 +95,7 @@ const StudioTabNav = ({isFetchingInfo, commentCount, projectCount}) => {
</NavLink> </NavLink>
<NavLink <NavLink
activeClassName="active" activeClassName="active"
className="nav_link"
to={`${base}/activity`} to={`${base}/activity`}
> >
<li><img <li><img
......
...@@ -170,20 +170,33 @@ $radius: 8px; ...@@ -170,20 +170,33 @@ $radius: 8px;
li { li {
display: flex; display: flex;
align-items: center; align-items: center;
background: rgba(0, 0, 0, 0.15); background: white;
border: 1px solid rgba(0, 0, 0, 0.15);
color: #575e75;
padding: 0.5em 0.75em 0.5em 0.5em; padding: 0.5em 0.75em 0.5em 0.5em;
&:active { &:active {
padding: calc(0.5em + 1px) calc(0.75em + 1px) calc(0.5em + 1px) calc(0.5em + 1px); padding: calc(0.5em) calc(0.75em) calc(0.5em) calc(0.5em);
} }
img { img {
margin-right: 0.5em; margin-right: 0.5em;
width: 1.5em; width: 1.5em;
filter: invert(0.55);
} }
.tab-count { .tab-count {
font-weight: normal; font-weight: normal;
} }
} }
.active > li { background: $ui-blue; } .active > li {
background: $ui-blue;
color: white;
img {
filter: invert(0);
}
}
a.nav_link:hover > li {
background: $ui-blue-25percent;
border: 1px solid $ui-blue-10percent;
}
} }
.studio-projects, .studio-members { .studio-projects, .studio-members {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment