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:
parent
0ee3d660eb
commit
c5af1807ef
1 changed files with 9 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue