diff options
| author | Jiayi Zheng <thebluber@gmail.com> | 2016-11-13 17:52:20 +0100 |
|---|---|---|
| committer | Jiayi Zheng <thebluber@gmail.com> | 2016-11-13 17:52:20 +0100 |
| commit | 53fed694dfa4f2c4fe5c8f58ad8eb728c7720449 (patch) | |
| tree | 18a92533abe8d0647dadfef5411c8e9c4f295814 /src/components/favorite_button | |
| parent | 11125abeeba1e945461ac5d1708e89cac7bf0714 (diff) | |
Refactor css
Apply different styles to reply, retweet and favorite buttons
Diffstat (limited to 'src/components/favorite_button')
| -rw-r--r-- | src/components/favorite_button/favorite_button.vue | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/components/favorite_button/favorite_button.vue b/src/components/favorite_button/favorite_button.vue index 0455c706..6eaf0607 100644 --- a/src/components/favorite_button/favorite_button.vue +++ b/src/components/favorite_button/favorite_button.vue @@ -7,8 +7,15 @@ <script src="./favorite_button.js" ></script> -<style> - .favorite-button { - cursor: pointer - } +<style lang='scss'> + @import '../../_variables.scss'; + .favorite-button { + cursor: pointer; + &:hover { + color: $main-color; + } + } + .icon-star { + color: $main-color; + } </style> |
