From 0831b8b6d804e55b7f4fbb3211c8e644907eeb07 Mon Sep 17 00:00:00 2001 From: naskya Date: Wed, 27 Sep 2023 20:56:20 +0900 Subject: [PATCH] style: more contrast for disabled boost button --- packages/client/src/components/MkNote.vue | 2 +- packages/client/src/components/MkNoteSub.vue | 2 +- packages/client/src/components/MkRenoteButton.vue | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/client/src/components/MkNote.vue b/packages/client/src/components/MkNote.vue index c9228bfda1..017b312650 100644 --- a/packages/client/src/components/MkNote.vue +++ b/packages/client/src/components/MkNote.vue @@ -939,7 +939,7 @@ defineExpose({ padding: 8px; opacity: 0.7; &:disabled { - opacity: 0.5 !important; + opacity: 0.2 !important; } flex-grow: 1; max-width: 3.5em; diff --git a/packages/client/src/components/MkNoteSub.vue b/packages/client/src/components/MkNoteSub.vue index 73f45b2fa6..24697133a8 100644 --- a/packages/client/src/components/MkNoteSub.vue +++ b/packages/client/src/components/MkNoteSub.vue @@ -543,7 +543,7 @@ function noteClick(e) { padding: 8px; opacity: 0.7; &:disabled { - opacity: 0.5 !important; + opacity: 0.2 !important; } flex-grow: 1; max-width: 3.5em; diff --git a/packages/client/src/components/MkRenoteButton.vue b/packages/client/src/components/MkRenoteButton.vue index bf60e15a39..68f89d1662 100644 --- a/packages/client/src/components/MkRenoteButton.vue +++ b/packages/client/src/components/MkRenoteButton.vue @@ -3,7 +3,7 @@ v-if="canRenote" ref="buttonRef" v-tooltip.noDelay.bottom="i18n.ts.renote" - class="button _button canRenote" + class="button _button" :class="{ renoted: hasRenotedBefore }" @click.stop="renote(false, $event)" > @@ -13,7 +13,7 @@