2 * The contents of this file are subject to the Netscape Public
3 * License Version 1.1 (the "License"); you may not use this file
4 * except in compliance with the License. You may obtain a copy of
5 * the License at http://www.mozilla.org/NPL/
7 * Software distributed under the License is distributed on an "AS
8 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9 * implied. See the License for the specific language governing
10 * rights and limitations under the License.
12 * The Original Code is Mozilla Communicator client code, released
15 * The Initial Developer of the Original Code is Netscape
16 * Communications Corporation. Portions created by Netscape are
17 * Copyright (C) 1998-2001 Netscape Communications Corporation. All
21 * Joe Hewitt (hewitt@netscape.com)
22 * Hakan Waara (hwaara@chello.se)
23 * Jan Varga (varga@utcru.sk)
26 /* ===== folderPane.css =================================================
27 == Styles for the Folder pane in the Messenger 3-pane window.
28 ======================================================================= */
30 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
32 /* ::::: connecting lines ::::: */
34 outlinerbody:-moz-outliner-line
39 /* ::::: mail folder ::::: */
41 outlinerbody:-moz-outliner-image(folderNameCol) {
43 list-style-image: url("chrome://messenger/skin/folder-closed.gif");
46 outlinerbody:-moz-outliner-image(folderNameCol, newMessages-true) {
48 list-style-image: url("chrome://messenger/skin/folder-new-closed.gif");
51 /* ..... Inbox ..... */
53 outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Inbox) {
55 list-style-image: url("chrome://messenger/skin/folder-inbox.gif");
58 outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Inbox, newMessages-true) {
60 list-style-image: url("chrome://messenger/skin/folder-inbox-new.gif");
63 /* ..... Sent ..... */
65 outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Sent) {
67 list-style-image: url("chrome://messenger/skin/folder-sent.gif");
70 /* ..... Unsent ..... */
72 outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Unsent Messages) {
74 list-style-image: url("chrome://messenger/skin/folder-outbox.gif");
77 /* ..... Drafts ..... */
79 outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Drafts) {
81 list-style-image: url("chrome://messenger/skin/folder-draft.gif");
84 /* ..... Templates ..... */
86 outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Templates) {
88 list-style-image: url("chrome://messenger/skin/folder-template.gif");
91 /* ..... Trash ..... */
93 outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Trash) {
95 list-style-image: url("chrome://messenger/skin/folder-trash.gif");
98 outlinerbody:-moz-outliner-image(folderNameCol, isServer-true) {
100 list-style-image: url("chrome://messenger/skin/server-mail.gif");
103 outlinerbody:-moz-outliner-image(folderNameCol, biffState-NewMail, isServer-true) {
105 list-style-image: url("chrome://messenger/skin/server-mail-new.gif");
108 outlinerbody:-moz-outliner-cell-text(folderNameCol, newMessages-true),
109 outlinerbody:-moz-outliner-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true) {
113 /* ..... Server Folders ..... */
115 outlinerbody:-moz-outliner-image(folderNameCol, isServer-true, serverType-pop3, isSecure-true) {
117 list-style-image: url("chrome://messenger/skin/server-remote-lock.gif");
120 outlinerbody:-moz-outliner-image(folderNameCol, isServer-true, serverType-imap, isSecure-true) {
122 list-style-image: url("chrome://messenger/skin/server-remote-lock.gif");
125 outlinerbody:-moz-outliner-image(folderNameCol, isServer-true, serverType-none) {
127 list-style-image: url("chrome://messenger/skin/server-local.gif");
130 /* ..... News Folders ..... */
132 outlinerbody:-moz-outliner-image(folderNameCol, serverType-nntp) {
134 list-style-image: url("chrome://messenger/skin/folder-newsgroup.gif");
137 outlinerbody:-moz-outliner-image(folderNameCol, isServer-true, serverType-nntp) {
139 list-style-image: url("chrome://messenger/skin/server-news.gif");
142 outlinerbody:-moz-outliner-image(folderNameCol, isServer-true, serverType-nntp, isSecure-true) {
144 list-style-image: url("chrome://messenger/skin/server-news-lock.gif");
147 /* ::::: All Servers ::::: */
149 outlinerbody:-moz-outliner-cell-text(closed, subfoldersHaveUnreadMessages-true)
154 outlinerbody:-moz-outliner-cell-text(folderNameCol, isServer-true),
155 outlinerbody:-moz-outliner-cell-text(hasUnreadMessages-true) {
159 outlinerbody:-moz-outliner-cell-text(folderNameCol, noSelect-true) {
172 /* using tree-cell-folderpane-icon to isolate this rule to the folderpane
173 and prevent such crawls on the threadpane */
174 treeitem[empty="true"] > treerow > .tree-cell-folderpane-icon > .tree-cell-twisty {
178 .tree-folder-checkbox {
179 list-style-image: none;
182 outlinerbody:-moz-outliner-image(syncCol) {
183 list-style-image: url("chrome://messenger/skin/dot.gif");
186 outlinerbody:-moz-outliner-image(syncCol, synchronize-true) {
187 list-style-image: url("chrome://messenger/skin/check.gif");
190 outlinerbody:-moz-outliner-image(syncCol, isServer-true) {
191 list-style-image: none;