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; padding: 8px;
opacity: 0.7; opacity: 0.7;
&:disabled { &:disabled {
opacity: 0.5 !important; opacity: 0.2 !important;
} }
flex-grow: 1; flex-grow: 1;
max-width: 3.5em; max-width: 3.5em;

View File

@ -543,7 +543,7 @@ function noteClick(e) {
padding: 8px; padding: 8px;
opacity: 0.7; opacity: 0.7;
&:disabled { &:disabled {
opacity: 0.5 !important; opacity: 0.2 !important;
} }
flex-grow: 1; flex-grow: 1;
max-width: 3.5em; max-width: 3.5em;

View File

@ -3,7 +3,7 @@
v-if="canRenote" v-if="canRenote"
ref="buttonRef" ref="buttonRef"
v-tooltip.noDelay.bottom="i18n.ts.renote" v-tooltip.noDelay.bottom="i18n.ts.renote"
class="button _button canRenote" class="button _button"
:class="{ renoted: hasRenotedBefore }" :class="{ renoted: hasRenotedBefore }"
@click.stop="renote(false, $event)" @click.stop="renote(false, $event)"
> >
@ -13,7 +13,7 @@
<button <button
v-else v-else
v-tooltip.noDelay.bottom="i18n.ts.disabled" v-tooltip.noDelay.bottom="i18n.ts.disabled"
class="eddddedb _button" class="_button"
disabled="true" disabled="true"
> >
<i class="ph-rocket-launch ph-bold ph-lg"></i> <i class="ph-rocket-launch ph-bold ph-lg"></i>
@ -266,7 +266,7 @@ const renote = (viaKeyboard = false, ev?: MouseEvent) => {
<style lang="scss" scoped> <style lang="scss" scoped>
.button { .button {
&:not(.canRenote) { &:not(.button) {
cursor: default; cursor: default;
} }
&.renoted { &.renoted {