We are now going to examine the rules that define the dynamic visual cues. These cues are added by PrimeFaces to elements that can be highlighted, activated (when you click on them), and selected.
The following screenshot shows a menu that is highlighted:
Chapter 2 menu is highlighted above its drop-down menu list. The gray background is nice enough, but it doesn't fit in with the blue theme. Therefore, we are going to change it. The same highlighted effect can be seen if you
hover your mouse over the button.
So, we need to change the rules that define how components look when the mouse hovers ...