Some initial work on replacing icons with FA5
This commit is contained in:
parent
350f25016f
commit
3814218277
34 changed files with 528 additions and 245 deletions
|
@ -1,15 +1,19 @@
|
|||
<template>
|
||||
<div>
|
||||
<i
|
||||
<FAIcon
|
||||
v-if="loggedIn"
|
||||
class="button-icon button-reply icon-reply"
|
||||
class="ReplyButton button-icon -interactive"
|
||||
icon="reply"
|
||||
size="lg"
|
||||
:title="$t('tool_tip.reply')"
|
||||
:class="{'-active': replying}"
|
||||
@click.prevent="$emit('toggle')"
|
||||
/>
|
||||
<i
|
||||
<FAIcon
|
||||
v-else
|
||||
class="button-icon button-reply -disabled icon-reply"
|
||||
icon="reply"
|
||||
size="lg"
|
||||
class="ReplyButton button-icon"
|
||||
:title="$t('tool_tip.reply')"
|
||||
/>
|
||||
<span v-if="status.replies_count > 0">
|
||||
|
@ -19,3 +23,19 @@
|
|||
</template>
|
||||
|
||||
<script src="./reply_button.js"></script>
|
||||
|
||||
<style lang="scss">
|
||||
@import '../../_variables.scss';
|
||||
|
||||
.ReplyButton {
|
||||
&.-interactive {
|
||||
cursor: pointer;
|
||||
|
||||
&:hover,
|
||||
&.-active {
|
||||
color: $fallback--cBlue;
|
||||
color: var(--cBlue, $fallback--cBlue);
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue