Skip to content

Commit

Permalink
use a drop-shadow filter to highlight current item
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedhamidawan committed Oct 23, 2023
1 parent cf3dfad commit e62fb3b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions client/src/components/History/Content/ContentItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,12 @@ export default {
}
// improve focus visibility
&:deep(.btn:focus),
&.being-used {
&:deep(.btn:focus) {
box-shadow: 0 0 0 0.2rem transparentize($brand-primary, 0.75);
}
&.being-used {
filter: drop-shadow(0 0 0.75rem $brand-primary);
}
}
</style>

0 comments on commit e62fb3b

Please sign in to comment.