style: more contrast for disabled boost button

This commit is contained in:
naskya 2023-09-27 20:56:20 +09:00
parent 75c72d00da
commit 0831b8b6d8
No known key found for this signature in database
GPG key ID: 164DFF24E2D40139
3 changed files with 5 additions and 5 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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 @@
<button
v-else
v-tooltip.noDelay.bottom="i18n.ts.disabled"
class="eddddedb _button"
class="_button"
disabled="true"
>
<i class="ph-rocket-launch ph-bold ph-lg"></i>
@ -266,7 +266,7 @@ const renote = (viaKeyboard = false, ev?: MouseEvent) => {
<style lang="scss" scoped>
.button {
&:not(.canRenote) {
&:not(.button) {
cursor: default;
}
&.renoted {