bold arrows after voting to make it clearer that a vote was cast

This commit is contained in:
rimu 2024-12-13 18:59:50 +13:00
parent ab8df181ad
commit c6a1563ab8
2 changed files with 10 additions and 2 deletions

View file

@ -1201,10 +1201,14 @@ time {
} }
.voting_buttons_new .upvote_button.voted_up, .voting_buttons_new .downvote_button.voted_up { .voting_buttons_new .upvote_button.voted_up, .voting_buttons_new .downvote_button.voted_up {
color: green; color: green;
}
.voting_buttons_new .upvote_button.voted_up .fe, .voting_buttons_new .downvote_button.voted_up .fe {
font-weight: bold; font-weight: bold;
} }
.voting_buttons_new .upvote_button.voted_down, .voting_buttons_new .downvote_button.voted_down { .voting_buttons_new .upvote_button.voted_down, .voting_buttons_new .downvote_button.voted_down {
color: darkred; color: darkred;
}
.voting_buttons_new .upvote_button.voted_down .fe, .voting_buttons_new .downvote_button.voted_down .fe {
font-weight: bold; font-weight: bold;
} }
.voting_buttons_new .upvote_button .htmx-indicator { .voting_buttons_new .upvote_button .htmx-indicator {

View file

@ -838,11 +838,15 @@ time {
&.voted_up { &.voted_up {
color: green; color: green;
font-weight: bold; .fe {
font-weight: bold;
}
} }
&.voted_down { &.voted_down {
color: darkred; color: darkred;
font-weight: bold; .fe {
font-weight: bold;
}
} }
} }