diff --git a/web/app/components/comment/__vote/_selected/comment__vote_selected.svg b/web/app/components/comment/__vote/_selected/comment__vote_selected.svg deleted file mode 100644 index a7d75552..00000000 --- a/web/app/components/comment/__vote/_selected/comment__vote_selected.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/web/app/components/comment/__vote/_type/_down/comment__vote_type_down.scss b/web/app/components/comment/__vote/_type/_down/comment__vote_type_down.scss index 82a16994..5caf0646 100644 --- a/web/app/components/comment/__vote/_type/_down/comment__vote_type_down.scss +++ b/web/app/components/comment/__vote/_type/_down/comment__vote_type_down.scss @@ -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'); } } diff --git a/web/app/components/comment/__vote/_type/_up/comment__vote_type_up.scss b/web/app/components/comment/__vote/_type/_up/comment__vote_type_up.scss index 1285f48b..c3a78603 100644 --- a/web/app/components/comment/__vote/_type/_up/comment__vote_type_up.scss +++ b/web/app/components/comment/__vote/_type/_up/comment__vote_type_up.scss @@ -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'); } } diff --git a/web/app/components/comment/__vote/comment__vote.scss b/web/app/components/comment/__vote/comment__vote.scss index cf6dc84c..12084446 100644 --- a/web/app/components/comment/__vote/comment__vote.scss +++ b/web/app/components/comment/__vote/comment__vote.scss @@ -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'); - } }