Bug 533695 New mail folder icon is identical to standard folder icon with default theme on Windows XP. r=philringnalda,ui-review=clarkbw
authorAndreas Nilsson <nisses.mail@home.se>
Mon, 29 Mar 2010 16:02:25 +0100
changeset 5314 32adc634eb7cb81e6934cf0fdbebaf203c81f6af
parent 5313 09f9b08324d0bbb0d6c9d7be2b26b9f7977b7274
child 5315 1491c416905722c9f07aebc171b9e279a2393a6f
push idunknown
push userunknown
push dateunknown
reviewersphilringnalda
bugs533695
Bug 533695 New mail folder icon is identical to standard folder icon with default theme on Windows XP. r=philringnalda,ui-review=clarkbw
mail/themes/qute/mail/folderPane.css
--- a/mail/themes/qute/mail/folderPane.css
+++ b/mail/themes/qute/mail/folderPane.css
@@ -10,16 +10,20 @@
 }
 
 treechildren::-moz-tree-image(folderNameCol) {
   -moz-margin-end: 2px;
   list-style-image: url("chrome://messenger/skin/icons/folder.png");
   -moz-image-region: rect(0 16px 16px 0);
 }
 
+treechildren::-moz-tree-image(folderNameCol, newMessages-true) {
+  -moz-image-region: rect(16px 16px 32px 0);
+}
+
 treechildren::-moz-tree-image(folderNameCol, selected, open) {
   -moz-image-region: rect(0 32px 16px 16px);
 }
 
 /* ..... Newsgroup ..... */
 
 .tabmail-tab[type="folder"][ServerType="nntp"] .tab-icon-image,
 treechildren::-moz-tree-image(folderNameCol, serverType-nntp) {
@@ -49,16 +53,20 @@ treechildren::-moz-tree-image(folderName
 
 /* ..... Inbox ..... */
 
 .tabmail-tab[type="folder"][SpecialFolder="Inbox"] .tab-icon-image,
 treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox) {
   -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"] .tab-icon-image,
 treechildren::-moz-tree-image(folderNameCol, specialFolder-Sent) {
   -moz-image-region: rect(0 64px 16px 48px);
 }
 
 /* ..... Unsent ..... */
@@ -236,22 +244,8 @@ treechildren::-moz-tree-cell-text(folder
 
 .folderSummary-subject {
   font-weight: bold; 
 }
 
 .folderSummary-previewText {
   color: grey; 
 }
-
-treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true) {
-  font-weight: bold;
-  color: Highlight;
-}
-
-treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true, selected) {
-  color: -moz-cellHighlightText;
-}
-
-treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true, selected, focus) {
-  font-weight: bold;
-  color: -moz-cellHighlight;
-}