Add hover effect for list elements to show actions and the type.