mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
Added notification slide out animation
This commit is contained in:
parent
e537d1dd03
commit
f8f5377447
2 changed files with 10 additions and 4 deletions
|
@ -19,8 +19,11 @@ const NotificationStyles = `
|
|||
color: var(--white);
|
||||
border-radius: 5px;
|
||||
box-shadow: 0 3.2px 3.6px rgba(0, 0, 0, 0.024), 0 8.8px 10px -5px rgba(0, 0, 0, 0.12);
|
||||
animation: notification-slidein 0.6s ease-in-out,
|
||||
notification-slideout 0.6s ease-in-out 2s;
|
||||
animation: notification-slidein 0.6s ease-in-out;
|
||||
}
|
||||
|
||||
.gh-portal-notification.slideout {
|
||||
animation: notification-slideout 0.6s ease-in-out;
|
||||
}
|
||||
|
||||
.gh-portal-notification p {
|
||||
|
|
|
@ -17,8 +17,11 @@ export const PopupNotificationStyles = `
|
|||
0px 2.2538793087005615px 2.2538793087005615px 0px rgba(0,0,0,0.02),
|
||||
0px 5.426473140716553px 5.426473140716553px 0px rgba(0,0,0,0.03),
|
||||
0px 18px 18px 0px rgba(0,0,0,0.04);
|
||||
animation: popupnotification-slidein 0.6s ease-in-out,
|
||||
popupnotification-slideout 0.6s ease-in-out 2s;
|
||||
animation: popupnotification-slidein 0.6s ease-in-out;
|
||||
}
|
||||
|
||||
.gh-portal-popupnotification.slideout {
|
||||
animation: popupnotification-slideout 0.6s ease-in-out;
|
||||
}
|
||||
|
||||
.gh-portal-popupnotification p {
|
||||
|
|
Loading…
Add table
Reference in a new issue