UX: Seeing black hearts make me sad.

This commit is contained in:
Guo Xiang Tan 2015-06-12 23:27:59 +08:00
parent 34a0389ff3
commit eb97fb6ee7
4 changed files with 11 additions and 6 deletions

View File

@ -9,3 +9,5 @@
@import "common/input_tip"; @import "common/input_tip";
@import "common/topic-entrance"; @import "common/topic-entrance";
@import "common/base/*"; @import "common/base/*";
.fa-heart:before { color: $love; }

View File

@ -46,7 +46,6 @@
width: 13%; width: 13%;
i.fa-heart { i.fa-heart {
color: $love;
margin-right: 0.5em; margin-right: 0.5em;
} }
i.fa-chevron-down, i.fa-chevron-up { i.fa-chevron-down, i.fa-chevron-up {

View File

@ -160,8 +160,16 @@ nav.post-controls {
color: $secondary; color: $secondary;
} }
&.like {
i.fa-heart:before {
color: scale-color($primary, $lightness: 60%);
}
}
&.like:hover { &.like:hover {
color: $love; i.fa-heart:before {
color: $love;
}
background: dark-light-diff($love, $secondary, 85%, -60%) background: dark-light-diff($love, $secondary, 85%, -60%)
} }

View File

@ -40,10 +40,6 @@
margin-left: 0.2em; margin-left: 0.2em;
color: dark-light-diff($primary, $secondary, 50%, -50%); color: dark-light-diff($primary, $secondary, 50%, -50%);
} }
i.fa-heart {
color: $love;
}
} }
margin-bottom: 1em; margin-bottom: 1em;
} }