Can a CSS file that is loaded with my extension overlay the Komodo skin?
I’ve created an overlay.css file in my extension which, for example, has the following document tab style rule…
#tabbed-view tabs > tab[label$=".pg6"] { background-color: red !important; }
Here I’m trying to make the document tab turn red if it’s file has a “.pg6” file name extension.
The DOM Inspector shows that my rule is being added to the tab object ok, and shows the value is ‘red,’ and the computed background-color style is rgb(255,0,0) (red), but the actual background color of the tab is unchanged.
This is because the tab has -moz-appearance: tab, which forces certain parameters/styling that are impossible to override without first setting -moz-appearance: none, doing so would remove all the tab styling though.
What you could do instead is apply your background color to the first sub-element, eg.