style: more contrast for disabled boost button
This commit is contained in:
parent
75c72d00da
commit
0831b8b6d8
3 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue