change colors of hovers of comment votes buttons

This commit is contained in:
igoradamenko
2019-01-07 00:38:45 +02:00
parent f2a8678715
commit 1f964c664c
4 changed files with 4 additions and 17 deletions
@@ -1,3 +0,0 @@
<svg width="14" height="18" xmlns="http://www.w3.org/2000/svg">
<path fill="#0aa" d="M4.426 17.116V7.72H.394L7 .988l6.606 6.732H9.574v9.396z" fill-rule="evenodd"/>
</svg>

Before

Width:  |  Height:  |  Size: 173 B

@@ -2,10 +2,7 @@
transform: scale(1, -1);
margin-left: 4px;
&.comment__vote_selected {
&,
&:hover {
background-image: url('comment__vote_type_down.svg');
}
&.comment__vote_selected, &:hover {
background-image: url('comment__vote_type_down.svg');
}
}
@@ -1,10 +1,7 @@
.comment__vote_type_up {
margin-right: 4px;
&.comment__vote_selected {
&,
&:hover {
background-image: url('comment__vote_type_up.svg');
}
&.comment__vote_selected, &:hover {
background-image: url('comment__vote_type_up.svg');
}
}
@@ -8,8 +8,4 @@
background: url('comment__vote.svg') center no-repeat;
background-size: contain;
cursor: pointer;
&:hover {
background-image: url('_selected/comment__vote_selected.svg');
}
}