For anyone who might be interested I did get a userChrome.css script to run!
What I did not know and what very few places tell you is that you need to add the magical incantation: "@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");" to the beginning of your script file. Most of the links assume that you already have a working userChrome file and just tell you to add whatever to it... I also found this old posting from Rod that deals with changing the color and weight of a folder's text name.
link:
viewtopic.php?f=39&t=553174Reply with quoteReport this post May 29th, 2007, 5:46 pm
Posted May 29th, 2007, 5:46 pm
See: http://kb.mozillazine.org/Editing_confi ... leshooting
Also, for userChrome.js to work, the extension must be installed and enabled.
To make every folder named ToDo bold red, the CSS is:
Code: Select all
treechildren::-moz-tree-cell-text(folderNameCol, name-ToDo)
{color: red !important; font-weight: bold !important;}I tried to add this to my working file but it does not do anything...?
Here is a copy of my .css file, the first part works and changes the color of unread messages to blue. The second part that is supposed to change the name of the "ToDo" folder to bold red does not... Anyone know why it does not work?
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* Change the text color of unread messages to
* any color of your liking - just change the hex value shown here. */
treechildren::-moz-tree-cell-text(unread) {
color: #0000FF !important;
}
treechildren::-moz-tree-cell-text(folderNameCol, name-ToDo) {
color: #ff0000 !important; font-weight: bold !important;
}