From 5a034f4b5201e0121989861d3270350881e31fd4 Mon Sep 17 00:00:00 2001 From: Valery Kharshats Date: Wed, 16 Jan 2019 16:21:05 -0500 Subject: [PATCH] Prioritize disabled arrows style over general It disables hover color change for not logged in users. --- .../__vote/_disabled/comment__vote_disabled.scss | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/web/app/components/comment/__vote/_disabled/comment__vote_disabled.scss b/web/app/components/comment/__vote/_disabled/comment__vote_disabled.scss index 168e6602..dab8cb36 100644 --- a/web/app/components/comment/__vote/_disabled/comment__vote_disabled.scss +++ b/web/app/components/comment/__vote/_disabled/comment__vote_disabled.scss @@ -1,7 +1,10 @@ .comment__vote_disabled { - &, - &:hover { - background-image: url('comment__vote_disabled.svg'); - cursor: not-allowed; + &.comment__vote_type_up, + &.comment__vote_type_down { + &, + &:hover { + background-image: url('comment__vote_disabled.svg'); + cursor: not-allowed; + } } }