MozillaZine

Signature display color

From MozillaZine Knowledge Base

(Difference between revisions)
Revision as of 13:35, 6 June 2013
Rsx11m (Talk | contribs)
(Changes with Thunderbird 22.0 beta and SeaMonkey 2.19 - new section)
<-- Previous diff
Revision as of 13:50, 6 June 2013
Rsx11m (Talk | contribs)
(moved links to bugs into External links section)
Next diff -->
Line 20: Line 20:
==Changes with Thunderbird 22.0 beta and SeaMonkey 2.19== ==Changes with Thunderbird 22.0 beta and SeaMonkey 2.19==
-Thunderbird 22.0 (thus hitting the releases with 24.0 [http://forums.mozillazine.org/viewtopic.php?f=29&t=2033027]) extends the display-color preferences UI to match that of Firefox [https://bugzilla.mozilla.org/show_bug.cgi?id=845807]. As a consequence, signature and its link colors will no longer be constants but deemphasized by opacity [https://bugzilla.mozilla.org/show_bug.cgi?id=855135]. For SeaMonkey, this will become effective with its 2.19 release [https://bugzilla.mozilla.org/show_bug.cgi?id=855684]. Thus, the respective [[userContent.css]] rules replacing the code mentioned above should be:+Thunderbird 22.0 beta 1 (becoming effective with the [http://forums.mozillazine.org/viewtopic.php?f=29&t=2033027 24.0 release]) extends the display-color preferences UI to match that of Firefox. As a consequence, signature and its link colors will no longer be constants but deemphasized by opacity. For SeaMonkey, this will become effective with its 2.19 release. Thus, the respective [[userContent.css]] rules replacing the code mentioned above should be:
.moz-txt-sig, .moz-signature { .moz-txt-sig, .moz-signature {
Line 27: Line 27:
This will also be needed if you specify a "color:" along with it. Also, there is no longer a separate rule for links, the opacity applies to the selected colors for both of those. This will also be needed if you specify a "color:" along with it. Also, there is no longer a separate rule for links, the opacity applies to the selected colors for both of those.
 +
 +==External links==
 +* [https://bugzilla.mozilla.org/show_bug.cgi?id=845807 Bug 845807 - Blue link text should be lighter by default] ''(Thunderbird)''
 +* [https://bugzilla.mozilla.org/show_bug.cgi?id=855135 Bug 855135 - Change link and signature colors in themes from hard-coded definitions to follow preferences] ''(Thunderbird)''
 +* [https://bugzilla.mozilla.org/show_bug.cgi?id=855684 Bug 855684 - Use opacity rather than hard-coded colors for signature display ]
==See also== ==See also==

Revision as of 13:50, 6 June 2013

This article was written for Thunderbird but also applies to Mozilla Suite / SeaMonkey (though some menu sequences may differ).

By default, Thunderbird displays the signature text, and the signature separator ("-- ") above it, in the color gray. If you wish to change this to another color, insert the following into your "userContent.css" file.

/*
 * Change display color of text and links in signature
 */
.moz-txt-sig, .moz-signature {
  color: black !important;
}
.moz-txt-sig > a, .moz-signature > a {
  color: blue !important;
} 

The above example will make the signature text black and links in signatures blue. You can use other colors as desired.

Notes: 

  • This changes only the way that signatures are displayed in Thunderbird and will not affect the color of any signatures that you use with outgoing messages. However, recipients who use Thunderbird normally see gray signatures unless they have changed the setting too. Other mail clients might do similar things.
  • If you use an HTML signature file, it can specify its own color for the text but not for the signature separator ("-- ").

Changes with Thunderbird 22.0 beta and SeaMonkey 2.19

Thunderbird 22.0 beta 1 (becoming effective with the 24.0 release) extends the display-color preferences UI to match that of Firefox. As a consequence, signature and its link colors will no longer be constants but deemphasized by opacity. For SeaMonkey, this will become effective with its 2.19 release. Thus, the respective userContent.css rules replacing the code mentioned above should be:

.moz-txt-sig, .moz-signature {
  opacity: inherit !important;
}

This will also be needed if you specify a "color:" along with it. Also, there is no longer a separate rule for links, the opacity applies to the selected colors for both of those.

External links

See also