Bug 945024 - Some icons in folderPane are showing the folder icon instead the special icon. r=me
authorRichard Marti <richard.marti@gmail.com>
Sun, 01 Dec 2013 17:23:40 -0500
changeset 16945 0fa8a688fa1ebf7d6e1077579de39a881a31442c
parent 16944 47cc6378ca23e33483c576dacfb9cb5a2a3177c4
child 16946 91bfcd1f97cd3a952fea8120c56bb380ceafcd86
push id1074
push userbugzilla@standard8.plus.com
push dateMon, 03 Feb 2014 22:47:23 +0000
treeherdercomm-beta@6b791b5369ed [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs945024
Bug 945024 - Some icons in folderPane are showing the folder icon instead the special icon. r=me
mail/themes/windows/mail/folderPane.css
--- a/mail/themes/windows/mail/folderPane.css
+++ b/mail/themes/windows/mail/folderPane.css
@@ -33,24 +33,26 @@ treechildren::-moz-tree-image(folderName
 
 treechildren::-moz-tree-image(folderNameCol, selected, open) {
   -moz-image-region: rect(0 32px 16px 16px);
 }
 
 /* ..... Newsgroup ..... */
 
 .tabmail-tab[type="folder"][ServerType="nntp"],
-treechildren::-moz-tree-image(folderNameCol, serverType-nntp) {
+treechildren::-moz-tree-image(folderNameCol, serverType-nntp),
+treechildren::-moz-tree-image(folderNameCol, serverType-nntp, open) {
   -moz-image-region: rect(0 160px 16px 144px);
 }
 
 /* ..... Feed ..... */
 
 .tabmail-tab[type="folder"][ServerType="rss"],
-treechildren::-moz-tree-image(folderNameCol, isFeedFolder-true) {
+treechildren::-moz-tree-image(folderNameCol, isFeedFolder-true),
+treechildren::-moz-tree-image(folderNameCol, isFeedFolder-true, open) {
   list-style-image: url("chrome://messenger-newsblog/skin/icons/rss-feed.png");
   -moz-image-region: rect(0 16px 16px 0);
 }
 
 treechildren::-moz-tree-image(folderNameCol, isFeedFolder-true, newMessages-true) {
   -moz-image-region: rect(16px 16px 32px 0);
 }
 
@@ -61,77 +63,86 @@ treechildren::-moz-tree-image(folderName
 treechildren::-moz-tree-image(folderNameCol, isFeedFolder-true, specialFolder-Trash),
 treechildren::-moz-tree-image(folderNameCol, isFeedFolder-true, specialFolder-Virtual) {
   list-style-image: url("chrome://messenger/skin/icons/folder.png");
 }
 
 /* ..... Inbox ..... */
 
 .tabmail-tab[type="folder"][SpecialFolder="Inbox"],
-treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox) {
+treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox),
+treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox, open) {
   -moz-image-region: rect(0 48px 16px 32px);
 }
 
 treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox, newMessages-true) {
   -moz-image-region: rect(16px 48px 32px 32px);
 }
 
 /* ..... Sent ..... */
 
 .tabmail-tab[type="folder"][SpecialFolder="Sent"],
-treechildren::-moz-tree-image(folderNameCol, specialFolder-Sent) {
+treechildren::-moz-tree-image(folderNameCol, specialFolder-Sent),
+treechildren::-moz-tree-image(folderNameCol, specialFolder-Sent, open) {
   -moz-image-region: rect(0 64px 16px 48px);
 }
 
 /* ..... Unsent ..... */
 
 .tabmail-tab[type="folder"][SpecialFolder="Outbox"],
-treechildren::-moz-tree-image(folderNameCol, specialFolder-Outbox) {
+treechildren::-moz-tree-image(folderNameCol, specialFolder-Outbox),
+treechildren::-moz-tree-image(folderNameCol, specialFolder-Outbox, open) {
   -moz-image-region: rect(0 80px 16px 64px);
 }
 
 /* ..... Drafts ..... */
 
 .tabmail-tab[type="folder"][SpecialFolder="Drafts"],
-treechildren::-moz-tree-image(folderNameCol, specialFolder-Drafts) {
+treechildren::-moz-tree-image(folderNameCol, specialFolder-Drafts),
+treechildren::-moz-tree-image(folderNameCol, specialFolder-Drafts, open) {
   -moz-image-region: rect(0 96px 16px 80px);
 }
 
 /* ..... Templates ..... */
 
 .tabmail-tab[type="folder"][SpecialFolder="Templates"],
-treechildren::-moz-tree-image(folderNameCol, specialFolder-Templates) {
+treechildren::-moz-tree-image(folderNameCol, specialFolder-Templates),
+treechildren::-moz-tree-image(folderNameCol, specialFolder-Templates, open) {
   -moz-image-region: rect(0 112px 16px 96px);
 }
 
 /* ..... Junk ..... */
 
 .tabmail-tab[type="folder"][SpecialFolder="Junk"],
-treechildren::-moz-tree-image(folderNameCol, specialFolder-Junk) {
+treechildren::-moz-tree-image(folderNameCol, specialFolder-Junk),
+treechildren::-moz-tree-image(folderNameCol, specialFolder-Junk, open) {
   -moz-image-region: rect(0 128px 16px 112px);
 }
 
 /* ..... Trash ..... */
 
 .tabmail-tab[type="folder"][SpecialFolder="Trash"],
-treechildren::-moz-tree-image(folderNameCol, specialFolder-Trash) {
+treechildren::-moz-tree-image(folderNameCol, specialFolder-Trash),
+treechildren::-moz-tree-image(folderNameCol, specialFolder-Trash, open) {
   -moz-image-region: rect(0 144px 16px 128px);
 }
 
 /* ..... Archives ..... */
 
 .tabmail-tab[type="folder"][SpecialFolder="Archive"],
-treechildren::-moz-tree-image(folderNameCol, specialFolder-Archive) {
+treechildren::-moz-tree-image(folderNameCol, specialFolder-Archive),
+treechildren::-moz-tree-image(folderNameCol, specialFolder-Archive, open) {
   -moz-image-region: rect(0 208px 16px 192px);
 }
 
 /* ..... Saved Search Folder ..... */
 
 .tabmail-tab[type="folder"][SpecialFolder="Virtual"],
-treechildren::-moz-tree-image(folderNameCol, specialFolder-Virtual) {
+treechildren::-moz-tree-image(folderNameCol, specialFolder-Virtual),
+treechildren::-moz-tree-image(folderNameCol, specialFolder-Virtual, open) {
   -moz-image-region: rect(0 176px 16px 160px);
 }
 
 /* ..... Account nodes ..... */
 .tabmail-tab[type="folder"][IsServer="true"] {
   list-style-image: url("chrome://messenger/skin/icons/server.png");
   -moz-image-region: rect(0 16px 16px 0);
 }