From 680afafe01251a0551271f1a75f5ddd36acd7c31 Mon Sep 17 00:00:00 2001 From: vib Date: Tue, 16 May 2023 09:55:17 +0300 Subject: [PATCH] snug: remove blinking dot animation --- packages/client/src/components/launch-pad.vue | 1 - packages/client/src/components/ui/menu.vue | 1 - packages/client/src/style.scss | 8 +------- packages/client/src/ui/_common_/sidebar-for-mobile.vue | 2 +- packages/client/src/ui/classic.header.vue | 2 +- packages/client/src/ui/classic.sidebar.vue | 2 +- packages/client/src/ui/deck.vue | 2 +- packages/client/src/ui/universal.vue | 2 +- 8 files changed, 6 insertions(+), 14 deletions(-) diff --git a/packages/client/src/components/launch-pad.vue b/packages/client/src/components/launch-pad.vue index 5723a0151..5a4235cea 100644 --- a/packages/client/src/components/launch-pad.vue +++ b/packages/client/src/components/launch-pad.vue @@ -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; diff --git a/packages/client/src/components/ui/menu.vue b/packages/client/src/components/ui/menu.vue index 29359ef35..71fb8f442 100644 --- a/packages/client/src/components/ui/menu.vue +++ b/packages/client/src/components/ui/menu.vue @@ -243,7 +243,6 @@ function focusDown() { left: 13px; color: var(--indicator); font-size: 12px; - animation: blink 1s infinite; } } diff --git a/packages/client/src/style.scss b/packages/client/src/style.scss index cc90e650b..e8fde67e4 100644 --- a/packages/client/src/style.scss +++ b/packages/client/src/style.scss @@ -423,10 +423,4 @@ hr { .zoom-enter-from, .zoom-leave-to { opacity: 0; 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); } -} +} \ No newline at end of file diff --git a/packages/client/src/ui/_common_/sidebar-for-mobile.vue b/packages/client/src/ui/_common_/sidebar-for-mobile.vue index 88d5c0bf4..3702681df 100644 --- a/packages/client/src/ui/_common_/sidebar-for-mobile.vue +++ b/packages/client/src/ui/_common_/sidebar-for-mobile.vue @@ -110,7 +110,7 @@ function more(): void { left: 20px; color: var(--navIndicator); font-size: 8px; - animation: blink 1s infinite; + } > .text { diff --git a/packages/client/src/ui/classic.header.vue b/packages/client/src/ui/classic.header.vue index 41d861661..914e9ab03 100644 --- a/packages/client/src/ui/classic.header.vue +++ b/packages/client/src/ui/classic.header.vue @@ -135,7 +135,7 @@ function openAccountMenuWrapper(ev: MouseEvent): void { left: 0; color: var(--navIndicator); font-size: 8px; - animation: blink 1s infinite; + } &:hover { diff --git a/packages/client/src/ui/classic.sidebar.vue b/packages/client/src/ui/classic.sidebar.vue index 00177ba15..ebc80ec6f 100644 --- a/packages/client/src/ui/classic.sidebar.vue +++ b/packages/client/src/ui/classic.sidebar.vue @@ -220,7 +220,7 @@ function openAccountMenuWrapper(ev: MouseEvent): void { left: 0; color: var(--navIndicator); font-size: 8px; - animation: blink 1s infinite; + } &:hover { diff --git a/packages/client/src/ui/deck.vue b/packages/client/src/ui/deck.vue index b3b9ddd55..407a021c3 100644 --- a/packages/client/src/ui/deck.vue +++ b/packages/client/src/ui/deck.vue @@ -251,7 +251,7 @@ function moveFocus(id: string, direction: 'up' | 'down' | 'left' | 'right') { left: 0; color: var(--indicator); font-size: 16px; - animation: blink 1s infinite; + } &:first-child { diff --git a/packages/client/src/ui/universal.vue b/packages/client/src/ui/universal.vue index 8abcecd62..bec263eff 100644 --- a/packages/client/src/ui/universal.vue +++ b/packages/client/src/ui/universal.vue @@ -350,7 +350,7 @@ const wallpaper = localStorage.getItem('wallpaper') != null; left: 0; color: var(--indicator); font-size: 16px; - animation: blink 1s infinite; + } &:first-child {