mirror of
https://github.com/yusufipk/YTChatHub.git
synced 2026-09-11 19:06:14 +00:00
feat: add pulsing effect to tabs when new superchats or members arrive
This commit is contained in:
@@ -187,6 +187,21 @@ main {
|
||||
margin-left: 0.25rem;
|
||||
}
|
||||
|
||||
.tab--pulse {
|
||||
animation: tabPulse 1s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes tabPulse {
|
||||
0%, 100% {
|
||||
background: #0f0f0f;
|
||||
box-shadow: 0 0 0 rgba(251, 191, 36, 0);
|
||||
}
|
||||
50% {
|
||||
background: rgba(251, 191, 36, 0.2);
|
||||
box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
|
||||
}
|
||||
}
|
||||
|
||||
.message-count {
|
||||
padding: 0.35rem 0.75rem;
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
|
||||
Reference in New Issue
Block a user