Abstract menu animation

This commit is contained in:
John Furrow
2016-03-19 12:55:25 +01:00
parent e77dfac3ae
commit 1a9b595f47
8 changed files with 25 additions and 29 deletions
@@ -69,4 +69,12 @@ $menu--item--foreground--active: $blue;
}
}
}
&-enter {
animation: fade-in 0.25s both;
}
&-leave {
animation: fade-out 0.25s both;
}
}
@@ -111,20 +111,6 @@ $dropdown--item--foreground--active: $menu--item--foreground--active;
}
}
.dropdown {
&__content {
&-enter {
animation: fade-in 0.25s both;
}
&-leave {
animation: fade-out 0.25s both;
}
}
}
.dropdown {
&__content {