0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Speed up user menu animations

No issue

- Speeds up the animation duration when the user menu opens
- Effectively removes the user menu closing animation
This commit is contained in:
Paul Adam Davis 2014-10-17 13:36:23 +01:00
parent 0ee3d660eb
commit c5af1807ef

View file

@ -151,6 +151,14 @@
right: 15px; right: 15px;
left: auto; left: auto;
&.fade-in-scale {
animation-duration: 0.1s;
}
&.fade-out {
animation-duration: 0;
}
.dropdown-menu { .dropdown-menu {
position: absolute; position: absolute;
top: 0; top: 0;
@ -287,7 +295,7 @@
position: absolute; position: absolute;
top: 100%; top: 100%;
right: 100%; right: 100%;
.dropdown-menu { .dropdown-menu {
top: auto; top: auto;
right: auto; right: auto;