搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How to change background color of the write dialog

  • 8 个回答
  • 1 人有此问题
  • 7 次查看
  • 最后回复者为 chaimglassman

more options

bold text Hi, Is there a way to customize the background color of the Write dialog via CSS?

'''bold text''' Hi, Is there a way to customize the background color of the Write dialog via CSS?

所有回复 (8)

more options

For HTML messages, Options/Composition/HTML Style, Background Color.

https://support.mozilla.org/en-US/questions/1253762

more options

Thank you for your help. I was trying to change the color of the grey message header panel. Please see the attached image.

more options

Try this userChrome.css (see picture):

#msgHeaderViewDeck {
  background-color: lightblue !important;
  border-bottom: 0 !important;
}

#compactHeadersBox {
  background-color: lightblue !important;
  border-bottom: 0 !important;
}

Help/Troubleshooting, Profile Folder, Open Folder, close TB, create a new folder named chrome, create a new document in chrome with a text editor, name it userChrome.css, Save as type: All files *.*, copy in the above code, change the color as desired. Double-click toolkit.legacyUserProfileCustomizations.stylesheets to true in Options/General/Config. editor, restart TB.

The second part is only needed if you use the Compact Headers add-on.

由sfhowes于修改

more options

Thank you for the suggestion. I tried it. Including changing toolkit.legacyUserProfileCustomizations.stylesheets to true. Unfortunately, it has no effect. I am using TB v.91.0b6 (64-bit)'

more options

For TB 91b6, just replace msgHeaderViewDeck with msgHeaderView. This also works in TB 78, as does the first set of code.

more options

Thank you again for your help, but this changes the message area not the area in the write dialog that I have shown in the image.

more options

Oops, was looking at received headers instead of the Write window. Try this (see picture):

#MsgHeadersToolbar
{ background-color: yellow !important;
  color: blue !important; }

http://forums.mozillazine.org/viewtopic.php?p=13720943#p13720943

more options

Thank you very much. It worked.