This is CSS and you would paste directly into the stylesheet, so unsure what dialog box you are referring to.
Now that you mention it, I'm not sure why I have `'color', that's usually for text. I'll need to revisit and update or add comments so I remember. The z index was to help for components that may overlap and this would make the hover always on top.