animations
This commit is contained in:
@ -5,6 +5,7 @@ import styled from 'styled-components';
|
|||||||
import breakpoint from 'styled-components-breakpoint';
|
import breakpoint from 'styled-components-breakpoint';
|
||||||
import Centered from './Centered';
|
import Centered from './Centered';
|
||||||
import TeamLogo from '../../../shared/components/TeamLogo';
|
import TeamLogo from '../../../shared/components/TeamLogo';
|
||||||
|
import { fadeAndScaleIn } from '../../../shared/styles/animations';
|
||||||
import {
|
import {
|
||||||
developers,
|
developers,
|
||||||
changelog,
|
changelog,
|
||||||
@ -138,6 +139,7 @@ const MenuItem = styled.li`
|
|||||||
`};
|
`};
|
||||||
|
|
||||||
&:hover ol {
|
&:hover ol {
|
||||||
|
animation: ${fadeAndScaleIn} 200ms ease;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
@ -161,7 +163,7 @@ const Menu = styled.ul`
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
top: 32px;
|
top: 34px;
|
||||||
|
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
Reference in New Issue
Block a user