Add hover effect for navbar collapsable button (#492)
This commit is contained in:
@ -13,6 +13,10 @@ const CollapseButton = styled.button<{ hideOnDesktop: boolean | undefined }>`
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
background: inherit;
|
background: inherit;
|
||||||
border: 0;
|
border: 0;
|
||||||
|
&:hover {
|
||||||
|
background: ${({ theme }) => theme.background.quaternary};
|
||||||
|
}
|
||||||
|
border-radius: ${({ theme }) => theme.border.radius.md};
|
||||||
|
|
||||||
color: ${({ theme }) => theme.font.color.light};
|
color: ${({ theme }) => theme.font.color.light};
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|||||||
@ -15,9 +15,9 @@ const StyledContainer = styled.div`
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin-left: ${({ theme }) => theme.spacing(1)};
|
margin-left: ${({ theme }) => theme.spacing(1)};
|
||||||
padding: ${({ theme }) => theme.spacing(2)};
|
padding: ${({ theme }) => theme.spacing(2)};
|
||||||
|
padding-right: ${({ theme }) => theme.spacing(1)};
|
||||||
padding-top: ${({ theme }) => theme.spacing(1)};
|
padding-top: ${({ theme }) => theme.spacing(1)};
|
||||||
user-select: none;
|
user-select: none;
|
||||||
width: 100%;
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const LogoAndNameContainer = styled.div`
|
const LogoAndNameContainer = styled.div`
|
||||||
|
|||||||
Reference in New Issue
Block a user