diff --git a/web/app/components/comment/__vote/_selected/comment__vote_selected.scss b/web/app/components/comment/__vote/_selected/comment__vote_selected.scss index 4303f422..28016146 100644 --- a/web/app/components/comment/__vote/_selected/comment__vote_selected.scss +++ b/web/app/components/comment/__vote/_selected/comment__vote_selected.scss @@ -1,4 +1,3 @@ .comment__vote_selected { - background-image: url('comment__vote_selected.svg'); cursor: default; } 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 a89a58f5..7f09db3f 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 @@ -1,4 +1,10 @@ .comment__vote_type_down { transform: scale(1, -1); margin-left: 4px; + + &.comment__vote_selected { + &, &:hover { + background-image: url('comment__vote_type_down.svg'); + } + } } diff --git a/web/app/components/comment/__vote/_type/_down/comment__vote_type_down.svg b/web/app/components/comment/__vote/_type/_down/comment__vote_type_down.svg new file mode 100644 index 00000000..d29d4a65 --- /dev/null +++ b/web/app/components/comment/__vote/_type/_down/comment__vote_type_down.svg @@ -0,0 +1,3 @@ + + + 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 ac2bb6eb..9ecc2c13 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,3 +1,9 @@ .comment__vote_type_up { margin-right: 4px; + + &.comment__vote_selected { + &, &:hover { + background-image: url('comment__vote_type_up.svg'); + } + } } diff --git a/web/app/components/comment/__vote/_type/_up/comment__vote_type_up.svg b/web/app/components/comment/__vote/_type/_up/comment__vote_type_up.svg new file mode 100644 index 00000000..463ab2cd --- /dev/null +++ b/web/app/components/comment/__vote/_type/_up/comment__vote_type_up.svg @@ -0,0 +1,3 @@ + + +