From 053f1c0ac47377933f98c6fdb8b91e15ed2043ba Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 16 Aug 2022 00:00:36 -0700 Subject: [PATCH] feat: :alembic: ripple effect --- packages/client/src/pages/timeline.vue | 75 +++++++++++++------------- packages/client/src/ui/universal.vue | 12 +++++ 2 files changed, 50 insertions(+), 37 deletions(-) diff --git a/packages/client/src/pages/timeline.vue b/packages/client/src/pages/timeline.vue index 1967fc1a3a..2a6f2740bc 100644 --- a/packages/client/src/pages/timeline.vue +++ b/packages/client/src/pages/timeline.vue @@ -1,42 +1,43 @@ diff --git a/packages/client/src/ui/universal.vue b/packages/client/src/ui/universal.vue index e2ec016bac..42af110bbb 100644 --- a/packages/client/src/ui/universal.vue +++ b/packages/client/src/ui/universal.vue @@ -304,8 +304,20 @@ const wallpaper = localStorage.getItem('wallpaper') != null; height: 64px; border-radius: 8px; background: var(--panel); + background-position: center; + transition: background 0.6s; color: var(--fg); + &:hover { + background: var(--panelHover) radial-gradient(circle, transparent 1%, var(--panelHover) 1%) center/15000%; + } + + &:active { + background-color: var(--accentedBg); + background-size: 100%; + transition: background 0s; + } + &:not(:last-child) { margin-right: 12px; }