yandere_fe/src/components/retweet_button/retweet_button.vue
Jiayi Zheng 53fed694df Refactor css
Apply different styles to reply, retweet and favorite buttons
2016-11-13 17:52:20 +01:00

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>