From 58fa8c4a01bcb8413e3813dd0b47fb2f26bad250 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 10 Jan 2023 19:52:44 +0900 Subject: [PATCH] :art: --- packages/frontend/src/ui/deck.vue | 18 +++++++++++------- packages/frontend/src/ui/universal.vue | 18 +++++++++++------- 2 files changed, 22 insertions(+), 14 deletions(-) diff --git a/packages/frontend/src/ui/deck.vue b/packages/frontend/src/ui/deck.vue index 461396dafb..4708012baa 100644 --- a/packages/frontend/src/ui/deck.vue +++ b/packages/frontend/src/ui/deck.vue @@ -389,21 +389,25 @@ async function deleteProfile() { color: var(--fg); &:hover { - background: var(--X2); + background: var(--panelHighlight); } - &:disabled { - cursor: default; - - > .navButtonIcon { - opacity: 0.5; - } + &:active { + background: var(--X2); } } .postButton { background: linear-gradient(90deg, var(--buttonGradateA), var(--buttonGradateB)); color: var(--fgOnAccent); + + &:hover { + background: linear-gradient(90deg, var(--X8), var(--X8)); + } + + &:active { + background: linear-gradient(90deg, var(--X8), var(--X8)); + } } .navButtonIcon { diff --git a/packages/frontend/src/ui/universal.vue b/packages/frontend/src/ui/universal.vue index 00e65ebee0..67071d8048 100644 --- a/packages/frontend/src/ui/universal.vue +++ b/packages/frontend/src/ui/universal.vue @@ -337,21 +337,25 @@ $widgets-hide-threshold: 1090px; color: var(--fg); &:hover { - background: var(--X2); + background: var(--panelHighlight); } - &:disabled { - cursor: default; - - > .navButtonIcon { - opacity: 0.5; - } + &:active { + background: var(--X2); } } .postButton { background: linear-gradient(90deg, var(--buttonGradateA), var(--buttonGradateB)); color: var(--fgOnAccent); + + &:hover { + background: linear-gradient(90deg, var(--X8), var(--X8)); + } + + &:active { + background: linear-gradient(90deg, var(--X8), var(--X8)); + } } .navButtonIcon {