diff --git a/im/themes/richlistbox.css b/im/themes/richlistbox.css index 2885f04eb7..15970e0066 100644 --- a/im/themes/richlistbox.css +++ b/im/themes/richlistbox.css @@ -20,17 +20,15 @@ richlistitem { %endif } -%ifdef XP_WIN -richlistitem[selected="true"] { - background-image: url(chrome://mozapps/skin/extensions/itemEnabledFader.png); -} -%else +%ifdef XP_UNIX +%ifdef XP_MACOSX richlistitem:not([selected="true"]):nth-child(odd) { background-color: -moz-oddtreerow; } -%endif - -richlistitem[selected="true"]:not(:-moz-window-inactive) { - background-color: Highlight; - color: HighlightText; +%else +richlistitem[selected="true"]:-moz-window-inactive { + background-color: -moz-Dialog; + color: -moz-DialogText; } +%endif +%endif diff --git a/mail/components/im/themes/imRichlistbox.css b/mail/components/im/themes/imRichlistbox.css index cd2c5daa9f..15970e0066 100644 --- a/mail/components/im/themes/imRichlistbox.css +++ b/mail/components/im/themes/imRichlistbox.css @@ -20,29 +20,13 @@ richlistitem { %endif } +%ifdef XP_UNIX %ifdef XP_MACOSX richlistitem:not([selected="true"]):nth-child(odd) { background-color: -moz-oddtreerow; } -%endif - -%ifdef XP_WIN -richlistitem[selected="true"] { - background-image: url(chrome://mozapps/skin/extensions/itemEnabledFader.png); -} - -richlistitem[selected="true"]:not(:-moz-window-inactive) { - background-color: Highlight; - color: HighlightText; -} %else -%ifdef XP_MACOSX -richlistitem[selected="true"]:not(:-moz-window-inactive) { - background-color: Highlight; - color: HighlightText; -} -%else -richlistitem[selected="true"] { +richlistitem[selected="true"]:-moz-window-inactive { background-color: -moz-Dialog; color: -moz-DialogText; }