Wednesday, 15 July 2015

Firefox userChrome.css window focus selector -


Is there a CSS selector that I use to change the text color of Firefox in userChrome.css Can I lose the entire browser window focus?

I have tried:

  window: focus element {color: #aaa; } / * Nothing * / Window: active element {color: #aaa; } / * Only when something is being clicked * / window: hover element {color: #aaa; } / * Only when the cursor is on the window / window [Focus] element {color: # aaa; } / * Wishful thinking - does not work / window [active = "true"] element {color: # aaa; } / * Documents to work ... * /  

Or am i stuck using javascript? If so, what is the