Skip to content

A platform for community discussion. Free, open, simple.

UX: Apply hover styling to post actions on focus

Kane York3df0626aa556
diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss
index d9e5627bb17..28195f06073 100644
--- a/app/assets/stylesheets/desktop/topic-post.scss
+++ b/app/assets/stylesheets/desktop/topic-post.scss
@@ -126,7 +126,7 @@ nav.post-controls {
border: none;
margin-left: 3px;
- &.d-hover {
+ &.d-hover, &:focus {
background: $primary-low;
color: $primary;
}
@@ -142,12 +142,12 @@ nav.post-controls {
position: relative;
}
- &.delete.d-hover {
+ &.delete.d-hover, &.delete:focus {
background: $danger;
color: $secondary;
}
- &.like.d-hover {
+ &.like.d-hover, &.like:focus {
color: $love;
background: $love-low;
}