53fed694df
Apply different styles to reply, retweet and favorite buttons
23 lines
448 B
Vue
23 lines
448 B
Vue
<template>
|
|
<div>
|
|
<i :class='classes' class='icon-retweet fa' v-on:click.prevent='retweet()'></i>
|
|
<span v-if='status.repeat_num > 0'>{{status.repeat_num}}</span>
|
|
</div>
|
|
</template>
|
|
|
|
<script src="./retweet_button.js" ></script>
|
|
|
|
<style lang='scss'>
|
|
@import '../../_variables.scss';
|
|
.icon-retweet {
|
|
cursor: pointer;
|
|
&:hover {
|
|
color: $green;
|
|
}
|
|
}
|
|
.retweeted {
|
|
cursor: auto;
|
|
color: $green;
|
|
}
|
|
</style>
|