Change the style of tab markers

From MozillaZine Knowledge Base
Revision as of 14:43, 15 November 2004 by 152.78.40.33 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Some themes change the style of tab markers on the tab bar. They usually use CSS to do it, and you can add the same CSS to your user configuration files to achieve the same effect ‘permanently’, that is, irrespective of (and overriding) your chosen theme.

For example, adding the following code to userChrome.css will cause the title text of unread tabs opened in the background to appear in italics until that tab is read for the first time.

#content tab {
  font-style: italic !important;
}

#content tab[selected="true"] {
  font-style: normal !important;
}

#content tab[selected="false"] {
  font-style: normal !important;
}