mirror of
https://github.com/zoriya/flood.git
synced 2026-06-03 03:12:14 +00:00
Abstract menu animation
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user