Create themes with JunkMail ICONS - How To

Discuss application theming and theme development.
Posts: 147
Joined: November 4th, 2002, 10:28 pm

Post Posted November 14th, 2002, 4:10 pm

Since a few buds asked me how to add the new JunkMail icons to the theme packs .. Figured I'd send it out to everyone ..

Make sure to put the six junkmail gifs in your JAR file (you can snag them from the Modern skin if you dont have any madeup)

put the following in your THREADPANE.css
/* ..... junkStatus column ..... */

treecol.junkStatusHeader {
list-style-image: url("chrome://messenger/skin/icons/message-junk-other.gif");

treechildren:-moz-tree-image(junkStatusCol) {
list-style-image: url("chrome://messenger/skin/icons/message-junk-unknown.gif");

treechildren:-moz-tree-image(junkStatusCol, junk) {
list-style-image: url("chrome://messenger/skin/icons/message-junk-other.gif");

treechildren:-moz-tree-image(junkStatusCol, notjunk) {
list-style-image: url("chrome://messenger/skin/icons/readcol-read.gif");
padding-left: 0px;
padding-right: 4px;

put the following in primaryToolbar.css
list-style-image: url("chrome://messenger/skin/icons/junk.gif");

#button-junk:hover {
list-style-image: url("chrome://messenger/skin/icons/junk-hov.gif");

#button-junk:hover:active {
list-style-image: url("chrome://messenger/skin/icons/junk-act.gif");

#button-junk[disabled="true"] {
list-style-image: url("chrome://messenger/skin/icons/junk-dis.gif");

Put the following in accountCentral.css

#JunkSettingsMail {
list-style-image: url("chrome://messenger/skin/icons/acct-filters.gif");

#JunkSettingsNews {
list-style-image: url("chrome://messenger/skin/icons/acct-filters.gif");

Andrew J. Perry


User avatar
Posts: 228
Joined: November 5th, 2002, 1:34 pm
Location: ¢A, u$a

Post Posted November 14th, 2002, 5:24 pm

Thanks for that drosoph! That was helpful :-)

Return to Theme Development

Who is online

Users browsing this forum: No registered users and 1 guest