mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 07:52:45 +08:00
UX: Seeing black hearts make me sad.
This commit is contained in:
parent
34a0389ff3
commit
eb97fb6ee7
|
@ -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; }
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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%)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user