mirror of
https://github.com/discourse/discourse.git
synced 2025-06-25 19:53:02 +08:00
Minor color/alignment adjustment on like button
This commit is contained in:
@ -55,19 +55,29 @@ nav.post-controls {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
.like-button {
|
.like-button {
|
||||||
display: inline-block;
|
display: inline-flex;
|
||||||
|
|
||||||
|
.like-count {
|
||||||
|
color: dark-light-choose($primary-low-mid, $secondary-high);
|
||||||
|
}
|
||||||
|
|
||||||
.widget-button {
|
.widget-button {
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: $primary-low;
|
background: $primary-low;
|
||||||
|
.like-count {
|
||||||
|
color: dark-light-choose($primary-medium, $secondary-high);
|
||||||
|
&.d-hover {
|
||||||
|
color: dark-light-choose($primary, $secondary);
|
||||||
|
}
|
||||||
|
}
|
||||||
.d-hover {
|
.d-hover {
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:active {
|
&:active {
|
||||||
box-shadow: inset 0 1px 3px rgba(0,0,0, .4);
|
box-shadow: inset 0 1px 3px rgba(0,0,0, .4);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user