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