2022-05-16 18:02:46 +08:00
|
|
|
// .@{notification-prefix-cls} {
|
|
|
|
// &-top,
|
|
|
|
// &-bottom {
|
|
|
|
// margin-right: 0;
|
|
|
|
// margin-left: 0;
|
|
|
|
// }
|
2022-03-25 19:38:28 +08:00
|
|
|
|
2022-05-16 18:02:46 +08:00
|
|
|
// &-top {
|
|
|
|
// .@{notification-prefix-cls}-fade-enter.@{notification-prefix-cls}-fade-enter-active,
|
|
|
|
// .@{notification-prefix-cls}-fade-appear.@{notification-prefix-cls}-fade-appear-active {
|
|
|
|
// animation-name: NotificationTopFadeIn;
|
|
|
|
// }
|
|
|
|
// }
|
2022-03-25 19:38:28 +08:00
|
|
|
|
2022-05-16 18:02:46 +08:00
|
|
|
// &-bottom {
|
|
|
|
// .@{notification-prefix-cls}-fade-enter.@{notification-prefix-cls}-fade-enter-active,
|
|
|
|
// .@{notification-prefix-cls}-fade-appear.@{notification-prefix-cls}-fade-appear-active {
|
|
|
|
// animation-name: NotificationBottomFadeIn;
|
|
|
|
// }
|
|
|
|
// }
|
2022-03-25 19:38:28 +08:00
|
|
|
|
2022-05-16 18:02:46 +08:00
|
|
|
// &-topLeft,
|
|
|
|
// &-bottomLeft {
|
|
|
|
// margin-right: 0;
|
|
|
|
// margin-left: @notification-margin-edge;
|
2022-03-25 19:38:28 +08:00
|
|
|
|
2022-05-16 18:02:46 +08:00
|
|
|
// .@{notification-prefix-cls}-fade-enter.@{notification-prefix-cls}-fade-enter-active,
|
|
|
|
// .@{notification-prefix-cls}-fade-appear.@{notification-prefix-cls}-fade-appear-active {
|
|
|
|
// animation-name: NotificationLeftFadeIn;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
2022-03-25 19:38:28 +08:00
|
|
|
|
2022-05-16 18:02:46 +08:00
|
|
|
// @keyframes NotificationTopFadeIn {
|
|
|
|
// 0% {
|
|
|
|
// margin-top: -100%;
|
|
|
|
// opacity: 0;
|
|
|
|
// }
|
2022-03-25 19:38:28 +08:00
|
|
|
|
2022-05-16 18:02:46 +08:00
|
|
|
// 100% {
|
|
|
|
// margin-top: 0;
|
|
|
|
// opacity: 1;
|
|
|
|
// }
|
|
|
|
// }
|
2022-03-25 19:38:28 +08:00
|
|
|
|
2022-05-16 18:02:46 +08:00
|
|
|
// @keyframes NotificationBottomFadeIn {
|
|
|
|
// 0% {
|
|
|
|
// margin-bottom: -100%;
|
|
|
|
// opacity: 0;
|
|
|
|
// }
|
2022-03-25 19:38:28 +08:00
|
|
|
|
2022-05-16 18:02:46 +08:00
|
|
|
// 100% {
|
|
|
|
// margin-bottom: 0;
|
|
|
|
// opacity: 1;
|
|
|
|
// }
|
|
|
|
// }
|
2022-03-25 19:38:28 +08:00
|
|
|
|
2022-05-16 18:02:46 +08:00
|
|
|
// @keyframes NotificationLeftFadeIn {
|
|
|
|
// 0% {
|
|
|
|
// right: @notification-width;
|
|
|
|
// opacity: 0;
|
|
|
|
// }
|
2022-03-25 19:38:28 +08:00
|
|
|
|
2022-05-16 18:02:46 +08:00
|
|
|
// 100% {
|
|
|
|
// right: 0;
|
|
|
|
// opacity: 1;
|
|
|
|
// }
|
|
|
|
// }
|