pleroma-fe/src/components/favorite_button/favorite_button.vue
Roger Braun fc7e13e7bb Add styling with base16.
Solarized-dark for now.
2017-01-15 15:44:56 +01:00

20 lines
404 B
Vue

<template>
<div>
<i :class='classes' class='favorite-button fa' v-on:click.prevent='favorite()'></i>
<span v-if='status.fave_num > 0'>{{status.fave_num}}</span>
</div>
</template>
<script src="./favorite_button.js" ></script>
<style lang='scss'>
.favorite-button {
cursor: pointer;
&:hover {
color: orange;
}
}
.icon-star {
color: orange;
}
</style>