зеркало из https://github.com/mozilla/gecko-dev.git
183 строки
6.2 KiB
CSS
183 строки
6.2 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):
|
|
* Joe Hewitt (hewitt@netscape.com)
|
|
*/
|
|
|
|
/* ===== folderPane.css =================================================
|
|
== Styles for the Folder pane in the Messenger 3-pane window.
|
|
======================================================================= */
|
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
/* ::::: mail folder ::::: */
|
|
|
|
.folderTreeItem {
|
|
list-style-image: url("chrome://messenger/skin/icons/folder-closed.gif");
|
|
font-weight: normal;
|
|
}
|
|
|
|
.folderTreeItem[selected="true"]
|
|
.folderTreeItem[open="true"] {
|
|
list-style-image: url("chrome://messenger/skin/icons/folder-open.gif");
|
|
}
|
|
|
|
.folderTreeItem[NewMessages="true"] {
|
|
list-style-image: url("chrome://messenger/skin/icons/folder-new.gif");
|
|
font-weight: bold;
|
|
}
|
|
|
|
.folderTreeItem[selected="true"][NewMessages="true"],
|
|
.folderTreeItem[open="true"][NewMessages="true"] {
|
|
list-style-image: url("chrome://messenger/skin/icons/folder-new-open.gif");
|
|
}
|
|
|
|
/* ..... Inbox ..... */
|
|
|
|
.folderTreeItem[SpecialFolder="Inbox"] {
|
|
list-style-image: url("chrome://messenger/skin/icons/folder-inbox.gif");
|
|
}
|
|
|
|
.folderTreeItem[selected="true"][SpecialFolder="Inbox"],
|
|
.folderTreeItem[open="true"][SpecialFolder="Inbox"] {
|
|
list-style-image: url("chrome://messenger/skin/icons/folder-inbox-open.gif");
|
|
}
|
|
|
|
.folderTreeItem[SpecialFolder="Inbox"][NewMessages="true"],
|
|
.folderTreeItem[NewMessages="true"][SpecialFolder="Inbox"][selected="true"],
|
|
.folderTreeItem[NewMessages="true"][SpecialFolder="Inbox"][open="true"] {
|
|
list-style-image: url("chrome://messenger/skin/icons/folder-inbox-new.gif");
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* ..... Sent ..... */
|
|
|
|
.folderTreeItem[SpecialFolder="Sent"] {
|
|
list-style-image: url("chrome://messenger/skin/icons/folder-sent.gif");
|
|
}
|
|
|
|
.folderTreeItem[selected="true"][SpecialFolder="Sent"],
|
|
.folderTreeItem[selected="true"][SpecialFolder="Sent"][NewMessages="true"],
|
|
.folderTreeItem[open="true"][SpecialFolder="Sent"] {
|
|
list-style-image: url("chrome://messenger/skin/icons/folder-sent-open.gif");
|
|
}
|
|
|
|
/* ..... Drafts ..... */
|
|
|
|
.folderTreeItem[SpecialFolder="Drafts"] {
|
|
list-style-image: url("chrome://messenger/skin/icons/folder-draft.gif");
|
|
}
|
|
|
|
.folderTreeItem[selected="true"][SpecialFolder="Drafts"],
|
|
.folderTreeItem[selected="true"][SpecialFolder="Drafts"][NewMessages="true"],
|
|
.folderTreeItem[open="true"][SpecialFolder="Drafts"] {
|
|
list-style-image: url("chrome://messenger/skin/icons/folder-draft-open.gif");
|
|
}
|
|
|
|
/* ..... Templates ..... */
|
|
|
|
.folderTreeItem[SpecialFolder="Templates"] {
|
|
list-style-image: url("chrome://messenger/skin/icons/folder-template.gif");
|
|
}
|
|
|
|
.folderTreeItem[selected="true"][SpecialFolder="Templates"],
|
|
.folderTreeItem[selected="true"][SpecialFolder="Templates"][NewMessages="true"],
|
|
.folderTreeItem[open="true"][SpecialFolder="Templates"] {
|
|
list-style-image: url("chrome://messenger/skin/icons/folder-template-open.gif");
|
|
}
|
|
|
|
/* ..... Trash ..... */
|
|
|
|
.folderTreeItem[SpecialFolder="Trash"] {
|
|
list-style-image: url("chrome://messenger/skin/icons/folder-trash.gif");
|
|
}
|
|
|
|
.folderTreeItem[selected="true"][SpecialFolder="Trash"],
|
|
.folderTreeItem[selected="true"][SpecialFolder="Trash"][NewMessages="true"],
|
|
.folderTreeItem[open="true"][SpecialFolder="Trash"][NewMessages="true"] {
|
|
list-style-image: url("chrome://messenger/skin/icons/folder-trash-open.gif");
|
|
}
|
|
|
|
/* ..... Server Folders ..... */
|
|
|
|
.folderTreeItem[IsServer="true"],
|
|
.folderTreeItem[IsServer="true"][selected="true"],
|
|
.folderTreeItem[IsServer="true"][open="true"] {
|
|
list-style-image: url("chrome://messenger/skin/icons/server-mail.gif");
|
|
}
|
|
|
|
.folderTreeItem[BiffState="NewMail"][IsServer="true"],
|
|
.folderTreeItem[BiffState="NewMail"][IsServer="true"][selected="true"],
|
|
.folderTreeItem[BiffState="NewMail"][IsServer="true"][open="true"] {
|
|
list-style-image: url("chrome://messenger/skin/icons/server-mail-new.gif");
|
|
}
|
|
|
|
.folderTreeItem[IsServer="true"][ServerType="imap"][IsSecure="true"],
|
|
.folderTreeItem[IsServer="true"][ServerType="imap"][IsSecure="true"][selected="true"],
|
|
.folderTreeItem[IsServer="true"][ServerType="imap"][IsSecure="true"][open="true"] {
|
|
list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.gif");
|
|
}
|
|
|
|
/* ..... Local Servers ..... */
|
|
|
|
.folderTreeItem[IsServer="true"][ServerType="none"],
|
|
.folderTreeItem[IsServer="true"][ServerType="none"][selected="true"],
|
|
.folderTreeItem[IsServer="true"][ServerType="none"][open="true"] {
|
|
list-style-image: url("chrome://messenger/skin/icons/server-local.gif");
|
|
}
|
|
|
|
/* ..... News Servers ..... */
|
|
|
|
.folderTreeItem[IsServer="true"][ServerType="nntp"],
|
|
.folderTreeItem[IsServer="true"][ServerType="nntp"][selected="true"],
|
|
.folderTreeItem[IsServer="true"][ServerType="nntp"][open="true"] {
|
|
list-style-image: url("chrome://messenger/skin/icons/server-news.gif");
|
|
}
|
|
|
|
.folderTreeItem[IsServer="true"][ServerType="nntp"][IsSecure="true"],
|
|
.folderTreeItem[IsServer="true"][ServerType="nntp"][IsSecure="true"][selected="true"],
|
|
.folderTreeItem[IsServer="true"][ServerType="nntp"][IsSecure="true"][open="true"] {
|
|
list-style-image: url("chrome://messenger/skin/icons/server-news-lock.gif");
|
|
}
|
|
|
|
/* ..... News Folders ..... */
|
|
|
|
.folderTreeItem[ServerType="nntp"],
|
|
.folderTreeItem[ServerType="nntp"][selected="true"],
|
|
.folderTreeItem[ServerType="nntp"][open="true"] {
|
|
list-style-image: url("chrome://messenger/skin/icons/folder-newsgroup.gif");
|
|
}
|
|
|
|
/* ::::: All Servers ::::: */
|
|
|
|
.tree-folder-row[IsServer="true"] {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.tree-folder-row[HasUnreadMessages="true"] {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.tree-folder-row[NoSelect="true"] {
|
|
color: gray;
|
|
font-style: italic;
|
|
}
|
|
|