Mesaj ve bildirim aldığınızda hareketli bildirim ikonları olsun isterseniz, aşağıdaki kodu temanızın extra.less şablonu ekleyip kaydedin.
Kod:
@keyframes xgtbell {
0% {
transform: rotate(0);
}
10% {
transform: rotate(30deg);
}
20% {
transform: rotate(0);
}
80% {
transform: rotate(0);
}
90% {
transform: rotate(-30deg);
}
100% {
transform: rotate(0);
}
}
@-webkit-keyframes xgtNotificationAnim {
to {
box-shadow: 0 0 0 12px rgba(232, 76, 61, 0);
}
}
@-moz-keyframes xgtNotificationAnim {
to {
box-shadow: 0 0 0 12px rgba(232, 76, 61, 0);
}
}
@-ms-keyframes xgtNotificationAnim {
to {
box-shadow: 0 0 0 12px rgba(232, 76, 61, 0);
}
}
@keyframes xgtNotificationAnim {
to {
box-shadow: 0 0 0 12px rgba(232, 76, 61, 0);
}
}
.badgeContainer--highlighted {
i {
&:after {
animation: xgtbell 1s 1s both infinite;
}
}
border: none;
box-shadow: 0 0 0 0 rgba(225, 228, 227, 0.7);
border-radius: 10%;
background-size: cover;
background-repeat: no-repeat;
cursor: pointer;
-webkit-animation: xgtNotificationAnim 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
-moz-animation: xgtNotificationAnim 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
-ms-animation: xgtNotificationAnim 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
animation: xgtNotificationAnim 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
}
Moderatör tarafında düzenlendi: