style: more contrast for disabled boost button
This commit is contained in:
parent
75c72d00da
commit
0831b8b6d8
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user