gecko-dev/themes/modern/messenger/threadPane.css
sspitzer%netscape.com 7f6aa21d4f fix for #46619. show the attachment icon in the thread pane if the message
has an attachment.  until we get a "news message with attachment"
icon, use the "mail message with attachment" icon.
r/sr=mscott,bienvenu
2001-04-06 03:43:00 +00:00

175 lines
4.9 KiB
CSS

/*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998-2001 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Scott MacGregor (mscott@netscape.com)
* Joe Hewitt (hewitt@netscape.com)
*/
/* ===== threadPane.css ==============================================
== Styles for the thread pane in the Messenger 3-pane window.
======================================================================= */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: outliner rows ::::: */
outliner:focus > outliner-bodybox
{
border: 1px solid black;
}
outliner > outliner-bodybox
{
border: 1px solid transparent;
}
outlinerbody:-moz-outliner-cell-text(unread)
{
font-weight: bold;
}
outlinerbody:-moz-outliner-cell-text(offline)
{
font-style: italic;
}
/* on a collapsed thread, if the top level message is read, but the thread has
* unread children, underline the text. 4.x mac did this, very slick
*/
outlinerbody:-moz-outliner-cell-text(container, closed, hasUnread, read)
{
text-decoration: underline;
}
/* ::::: priority colors ::::: */
outlinerbody:-moz-outliner-cell-text(priority-highest)
{
color:red;
}
outlinerbody:-moz-outliner-cell-text(priority-high)
{
color: rgb(128, 0, 0);
}
outlinerbody:-moz-outliner-cell-text(priority-lowest)
{
color: rgb(170, 170, 170);
}
outlinerbody:-moz-outliner-cell-text(priority-low)
{
color: rgb(85, 85, 85);
}
/* ::::: message icons ::::: */
/* ::::: message column icons ::::: */
/* ..... thread column ..... */
outlinercol.threadColumnHeader {
list-style-image: url("chrome://messenger/skin/icons/threadcol-unthreaded.gif");
}
outlinercol.threadColumnHeader[sortDirection="ascending"] {
list-style-image: url("chrome://messenger/skin/icons/threadcol-threaded.gif");
}
outlinercol.threadColumnHeader[sortDirection="descending"] {
list-style-image: url("chrome://messenger/skin/icons/threadcol-threaded.gif");
}
outlinerbody:-moz-outliner-image(threadCol, container) {
list-style-image: url("chrome://messenger/skin/icons/thread-closed.gif");
}
outlinerbody:-moz-outliner-image(threadCol, container, open) {
list-style-image: url("chrome://messenger/skin/icons/thread-open.gif");
}
outlinerbody:-moz-outliner-image(threadCol, container, hasUnread) {
list-style-image: url("chrome://messenger/skin/icons/thread-new-closed.gif");
}
outlinerbody:-moz-outliner-image(threadCol, container, hasUnread, open) {
list-style-image: url("chrome://messenger/skin/icons/thread-new-open.gif");
}
/* ..... read column ..... */
outlinercol.readColumnHeader {
list-style-image: url("chrome://messenger/skin/icons/readcol-unread.gif");
}
outlinerbody:-moz-outliner-image(unreadButtonColHeader) {
list-style-image: url("chrome://messenger/skin/icons/readcol-read.gif");
}
outlinerbody:-moz-outliner-image(unreadButtonColHeader, unread) {
list-style-image: url("chrome://messenger/skin/icons/readcol-unread.gif");
}
/* ..... flag column ..... */
outlinercol.flagColumnHeader {
list-style-image: url("chrome://messenger/skin/icons/flagcol-flagged.gif");
}
outlinerbody:-moz-outliner-image(flaggedCol) {
list-style-image: url("chrome://messenger/skin/icons/readcol-read.gif");
}
outlinerbody:-moz-outliner-image(flaggedCol, flagged) {
list-style-image: url("chrome://messenger/skin/icons/flagcol-flagged.gif");
}
/* ..... subject column ..... */
outlinerbody:-moz-outliner-image(subjectCol) {
list-style-image: url("chrome://messenger/skin/icons/message-mail.gif");
}
outlinerbody:-moz-outliner-image(subjectCol, new) {
list-style-image: url("chrome://messenger/skin/icons/message-mail-new.gif");
}
outlinerbody:-moz-outliner-image(subjectCol, attach) {
list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif");
}
outlinerbody:-moz-outliner-image(subjectCol, imapdeleted) {
list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdelete.gif");
}
outlinerbody:-moz-outliner-image(subjectCol, news) {
list-style-image: url("chrome://messenger/skin/icons/message-news.gif");
}
outlinerbody:-moz-outliner-image(subjectCol, news, new) {
list-style-image: url("chrome://messenger/skin/icons/message-news-new.gif");
}
outlinerbody:-moz-outliner-image(subjectCol, news, attach) {
list-style-image: url("chrome://messenger/skin/icons/message-news-attach.gif");
}