forked from FoundKeyGang/FoundKey
client: remove blinking animation from notification indicator
It was annoying, and turns out, also a CPU hog! Changelog: Removed
This commit is contained in:
parent
772d4618a6
commit
2f570b11f1
|
@ -154,7 +154,6 @@ function help(ev: MouseEvent) {
|
|||
left: 32px;
|
||||
color: var(--indicator);
|
||||
font-size: 8px;
|
||||
animation: blink 1s infinite;
|
||||
|
||||
@media (max-width: 500px) {
|
||||
top: 16px;
|
||||
|
|
|
@ -243,7 +243,6 @@ function focusDown() {
|
|||
left: 13px;
|
||||
color: var(--indicator);
|
||||
font-size: 12px;
|
||||
animation: blink 1s infinite;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -481,12 +481,6 @@ hr {
|
|||
transform: scale(0.9);
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
0% { opacity: 1; transform: scale(1); }
|
||||
30% { opacity: 1; transform: scale(1); }
|
||||
90% { opacity: 0; transform: scale(0.5); }
|
||||
}
|
||||
|
||||
@keyframes tada {
|
||||
from {
|
||||
transform: scale3d(1, 1, 1);
|
||||
|
|
|
@ -110,7 +110,6 @@ function more(): void {
|
|||
left: 20px;
|
||||
color: var(--navIndicator);
|
||||
font-size: 8px;
|
||||
animation: blink 1s infinite;
|
||||
}
|
||||
|
||||
> .text {
|
||||
|
|
|
@ -143,7 +143,6 @@ function more(ev: MouseEvent) {
|
|||
left: 20px;
|
||||
color: var(--navIndicator);
|
||||
font-size: 8px;
|
||||
animation: blink 1s infinite;
|
||||
}
|
||||
|
||||
> .text {
|
||||
|
|
|
@ -135,7 +135,6 @@ function openAccountMenuWrapper(ev: MouseEvent): void {
|
|||
left: 0;
|
||||
color: var(--navIndicator);
|
||||
font-size: 8px;
|
||||
animation: blink 1s infinite;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
|
|
@ -220,7 +220,6 @@ function openAccountMenuWrapper(ev: MouseEvent): void {
|
|||
left: 0;
|
||||
color: var(--navIndicator);
|
||||
font-size: 8px;
|
||||
animation: blink 1s infinite;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
|
|
@ -251,7 +251,6 @@ function moveFocus(id: string, direction: 'up' | 'down' | 'left' | 'right') {
|
|||
left: 0;
|
||||
color: var(--indicator);
|
||||
font-size: 16px;
|
||||
animation: blink 1s infinite;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
|
|
|
@ -350,7 +350,6 @@ const wallpaper = localStorage.getItem('wallpaper') != null;
|
|||
left: 0;
|
||||
color: var(--indicator);
|
||||
font-size: 16px;
|
||||
animation: blink 1s infinite;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
|
|
Loading…
Reference in New Issue