This commit is contained in:
Tom Moor 2017-09-02 18:43:12 -07:00
parent b9b2769563
commit 44e635cbc7
No known key found for this signature in database
GPG Key ID: 495FE29B5F21BD41
1 changed files with 9 additions and 5 deletions

View File

@ -19,13 +19,9 @@ const StyledStar = styled(StarIcon)`
top: 2px;
position: relative;
margin-left: 4px;
opacity: ${props => (props.solid ? 1 : 0.25)};
opacity: ${props => (props.solid ? '1 !important' : 0)};
transition: opacity 100ms ease-in-out;
&:hover {
opacity: 1;
}
svg {
width: 1em;
height: 1em;
@ -48,6 +44,14 @@ const DocumentLink = styled(Link)`
background: ${color.smokeLight};
border: 2px solid ${color.smoke};
outline: none;
${StyledStar} {
opacity: .25;
&:hover {
opacity: 1;
}
}
}
&:focus {