forked from domi/akkoma-fe
post: apply gradient to button
This commit is contained in:
parent
62ac27ee4e
commit
74063da2ec
|
@ -836,3 +836,10 @@ option {
|
|||
.fade-leave-active {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.pride-gradient {
|
||||
background-image: linear-gradient(to left, #e40303, #ff8c00, #ffed00, #008026, #004dff, #750787);
|
||||
background-clip: text;
|
||||
-webkit-background-clip: text;
|
||||
color: transparent;
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
</div>
|
||||
<div class="footer">
|
||||
<button
|
||||
class="btn button-default post-button"
|
||||
class="btn button-default post-button pride-gradient"
|
||||
:disabled="posting"
|
||||
@click.prevent="postAnnouncement"
|
||||
>
|
||||
|
|
|
@ -280,14 +280,14 @@
|
|||
<button
|
||||
v-if="posting"
|
||||
disabled
|
||||
class="btn button-default"
|
||||
class="btn button-default pride-gradient"
|
||||
>
|
||||
{{ $t('post_status.posting') }}
|
||||
</button>
|
||||
<button
|
||||
v-else-if="isOverLengthLimit"
|
||||
disabled
|
||||
class="btn button-default"
|
||||
class="btn button-default pride-gradient"
|
||||
>
|
||||
{{ $t('post_status.post') }}
|
||||
</button>
|
||||
|
@ -298,7 +298,7 @@
|
|||
<button
|
||||
v-else
|
||||
:disabled="uploadingFiles || disableSubmit"
|
||||
class="btn button-default"
|
||||
class="btn button-default pride-gradient"
|
||||
@click.stop.prevent="postStatus($event, newStatus)"
|
||||
>
|
||||
{{ $t('post_status.post') }}
|
||||
|
|
Loading…
Reference in a new issue