From 9e52e0cb7a8a742a4cc1b909a254aaa70e300f95 Mon Sep 17 00:00:00 2001 From: Laurynas Gadliauskas Date: Mon, 7 Jun 2021 14:43:46 +0300 Subject: [PATCH] feat: pulsate load icons --- frontend/public/themes/dark.css | 16 ++++++++++++++-- frontend/src/components/prompts/Archive.vue | 11 ++++------- frontend/src/components/prompts/Unarchive.vue | 11 ++++------- frontend/src/css/base.css | 18 +++++++++++++++++- frontend/src/utils/buttons.js | 4 ++-- 5 files changed, 41 insertions(+), 19 deletions(-) diff --git a/frontend/public/themes/dark.css b/frontend/public/themes/dark.css index 5e73e6b0..e3ffdca9 100644 --- a/frontend/public/themes/dark.css +++ b/frontend/public/themes/dark.css @@ -56,7 +56,7 @@ header { color: var(--textPrimary) !important; } .action:hover { - background-color: rgba(255, 255, 255, .1); + background-color: rgba(255, 255, 255, .2); } .action i { color: var(--icon) !important; @@ -77,7 +77,7 @@ nav > div { color: var(--textPrimary) !important; } .breadcrumbs a:hover { - background-color: rgba(255, 255, 255, .1); + background-color: rgba(255, 255, 255, .2); } #listing .item { @@ -211,4 +211,16 @@ table th { .share__box__element { border-top-color: var(--divider); +} + +@keyframes pulse { + 0% { + background-color: rgba(0, 0, 0, 0); + } + 50% { + background-color: rgba(255, 255, 255, .2); + } + 100% { + background-color: rgba(0, 0, 0, 0); + } } \ No newline at end of file diff --git a/frontend/src/components/prompts/Archive.vue b/frontend/src/components/prompts/Archive.vue index ec170f71..810cc3f3 100644 --- a/frontend/src/components/prompts/Archive.vue +++ b/frontend/src/components/prompts/Archive.vue @@ -16,7 +16,6 @@ /> @@ -41,12 +40,12 @@