| 1 | /* ***** BEGIN LICENSE BLOCK ***** |
| 2 | * Version: NPL 1.1/GPL 2.0/LGPL 2.1 |
| 3 | * |
| 4 | * The contents of this file are subject to the Netscape Public License |
| 5 | * Version 1.1 (the "License"); you may not use this file except in |
| 6 | * compliance with the License. You may obtain a copy of the License at |
| 7 | * http://www.mozilla.org/NPL/ |
| 8 | * |
| 9 | * Software distributed under the License is distributed on an "AS IS" basis, |
| 10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
| 11 | * for the specific language governing rights and limitations under the |
| 12 | * License. |
| 13 | * |
| 14 | * The Original Code is mozilla.org code. |
| 15 | * |
| 16 | * The Initial Developer of the Original Code is |
| 17 | * Netscape Communications Corporation. |
| 18 | * Portions created by the Initial Developer are Copyright (C) 1998 |
| 19 | * the Initial Developer. All Rights Reserved. |
| 20 | * |
| 21 | * Contributor(s): |
| 22 | * Joe Hewitt (hewitt@netscape.com) |
| 23 | * Hakan Waara (hwaara@chello.se) |
| 24 | * Jan Varga (varga@nixcorp.com) |
| 25 | * Robert Kaiser <KaiRo@KaiRo.at> |
| 26 | * |
| 27 | * Alternatively, the contents of this file may be used under the terms of |
| 28 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
| 29 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 30 | * in which case the provisions of the GPL or the LGPL are applicable instead |
| 31 | * of those above. If you wish to allow use of your version of this file only |
| 32 | * under the terms of either the GPL or the LGPL, and not to allow others to |
| 33 | * use your version of this file under the terms of the NPL, indicate your |
| 34 | * decision by deleting the provisions above and replace them with the notice |
| 35 | * and other provisions required by the GPL or the LGPL. If you do not delete |
| 36 | * the provisions above, a recipient may use your version of this file under |
| 37 | * the terms of any one of the NPL, the GPL or the LGPL. |
| 38 | * |
| 39 | * ***** END LICENSE BLOCK ***** */ |
| 40 | |
| 41 | /* ===== folderPane.css ================================================= |
| 42 | == Styles for the Folder pane in the Messenger 3-pane window. |
| 43 | ======================================================================= */ |
| 44 | |
| 45 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 46 | |
| 47 | /* ::::: mail folder ::::: */ |
| 48 | |
| 49 | treechildren::-moz-tree-image(folderNameCol) { |
| 50 | padding-right: 2px; |
| 51 | list-style-image: url("chrome://messenger/skin/icons/folder-closed.gif"); |
| 52 | } |
| 53 | |
| 54 | treechildren::-moz-tree-image(folderNameCol, newMessages-true) { |
| 55 | padding-right: 2px; |
| 56 | list-style-image: url("chrome://messenger/skin/icons/folder-new-closed.gif"); |
| 57 | } |
| 58 | |
| 59 | /* ..... Inbox ..... */ |
| 60 | |
| 61 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox) { |
| 62 | padding-right: 2px; |
| 63 | list-style-image: url("chrome://messenger/skin/icons/folder-inbox.gif"); |
| 64 | } |
| 65 | |
| 66 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox, newMessages-true) { |
| 67 | padding-right: 2px; |
| 68 | list-style-image: url("chrome://messenger/skin/icons/folder-inbox-new.gif"); |
| 69 | } |
| 70 | |
| 71 | /* ..... Sent ..... */ |
| 72 | |
| 73 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Sent) { |
| 74 | padding-right: 2px; |
| 75 | list-style-image: url("chrome://messenger/skin/icons/folder-sent.gif"); |
| 76 | } |
| 77 | |
| 78 | /* ..... Unsent ..... */ |
| 79 | |
| 80 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Unsent Messages) { |
| 81 | padding-right: 2px; |
| 82 | list-style-image: url("chrome://messenger/skin/icons/folder-outbox.gif"); |
| 83 | } |
| 84 | |
| 85 | /* ..... Drafts ..... */ |
| 86 | |
| 87 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Drafts) { |
| 88 | padding-right: 2px; |
| 89 | list-style-image: url("chrome://messenger/skin/icons/folder-draft.gif"); |
| 90 | } |
| 91 | |
| 92 | /* ..... Templates ..... */ |
| 93 | |
| 94 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Templates) { |
| 95 | padding-right: 2px; |
| 96 | list-style-image: url("chrome://messenger/skin/icons/folder-template.gif"); |
| 97 | } |
| 98 | |
| 99 | /* ..... Junk ..... */ |
| 100 | |
| 101 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Junk) { |
| 102 | padding-right: 2px; |
| 103 | list-style-image: url("chrome://messenger/skin/icons/folder-junk.gif"); |
| 104 | } |
| 105 | |
| 106 | /* ..... Trash ..... */ |
| 107 | |
| 108 | treechildren::-moz-tree-image(folderNameCol, specialFolder-Trash) { |
| 109 | padding-right: 2px; |
| 110 | list-style-image: url("chrome://messenger/skin/icons/folder-trash.gif"); |
| 111 | } |
| 112 | |
| 113 | treechildren::-moz-tree-image(folderNameCol, isServer-true) { |
| 114 | padding-right: 2px; |
| 115 | list-style-image: url("chrome://messenger/skin/icons/server-mail.gif"); |
| 116 | } |
| 117 | |
| 118 | treechildren::-moz-tree-image(folderNameCol, biffState-NewMail, isServer-true) { |
| 119 | padding-right: 2px; |
| 120 | list-style-image: url("chrome://messenger/skin/icons/server-mail-new.gif"); |
| 121 | } |
| 122 | |
| 123 | treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true), |
| 124 | treechildren::-moz-tree-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true) { |
| 125 | font-weight: bold; |
| 126 | } |
| 127 | |
| 128 | treechildren::-moz-tree-image(folderNameCol, imapShared-true) { |
| 129 | padding-right: 2px; |
| 130 | list-style-image: url("chrome://messenger/skin/icons/folder-share.gif"); |
| 131 | } |
| 132 | |
| 133 | /* ..... Server Folders ..... */ |
| 134 | |
| 135 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-pop3, isSecure-true) { |
| 136 | padding-right: 2px; |
| 137 | list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.gif"); |
| 138 | } |
| 139 | |
| 140 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-imap, isSecure-true) { |
| 141 | padding-right: 2px; |
| 142 | list-style-image: url("chrome://messenger/skin/icons/server-remote-lock.gif"); |
| 143 | } |
| 144 | |
| 145 | treechildren::-moz-tree-image(folderNameCol, biffState-NewMail, isServer-true, isSecure-true) { |
| 146 | list-style-image: url("chrome://messenger/skin/icons/server-remote-lock-new.gif"); |
| 147 | } |
| 148 | |
| 149 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-none) { |
| 150 | padding-right: 2px; |
| 151 | list-style-image: url("chrome://messenger/skin/icons/server-local.gif"); |
| 152 | } |
| 153 | |
| 154 | /* ..... News Folders ..... */ |
| 155 | |
| 156 | treechildren::-moz-tree-image(folderNameCol, serverType-nntp) { |
| 157 | padding-right: 2px; |
| 158 | list-style-image: url("chrome://messenger/skin/icons/folder-newsgroup.gif"); |
| 159 | } |
| 160 | |
| 161 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp) { |
| 162 | padding-right: 2px; |
| 163 | list-style-image: url("chrome://messenger/skin/icons/server-news.gif"); |
| 164 | } |
| 165 | |
| 166 | treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp, isSecure-true) { |
| 167 | padding-right: 2px; |
| 168 | list-style-image: url("chrome://messenger/skin/icons/server-news-lock.gif"); |
| 169 | } |
| 170 | |
| 171 | /* ::::: All Servers ::::: */ |
| 172 | |
| 173 | treechildren::-moz-tree-cell-text(closed, subfoldersHaveUnreadMessages-true) { |
| 174 | font-weight: bold; |
| 175 | } |
| 176 | |
| 177 | treechildren::-moz-tree-cell-text(folderNameCol, isServer-true), |
| 178 | treechildren::-moz-tree-cell-text(hasUnreadMessages-true) { |
| 179 | font-weight: bold; |
| 180 | } |
| 181 | |
| 182 | treechildren::-moz-tree-cell-text(folderNameCol, noSelect-true) { |
| 183 | color: #8050B0; |
| 184 | font-style: italic; |
| 185 | } |
| 186 | |
| 187 | .tree-folder-checkbox { |
| 188 | list-style-image: none; |
| 189 | } |
| 190 | |
| 191 | treechildren::-moz-tree-image(syncCol) { |
| 192 | list-style-image: url("chrome://messenger/skin/icons/dot.gif"); |
| 193 | } |
| 194 | |
| 195 | treechildren::-moz-tree-image(syncCol, synchronize-true) { |
| 196 | list-style-image: url("chrome://messenger/skin/icons/check.gif"); |
| 197 | } |
| 198 | |
| 199 | treechildren::-moz-tree-image(syncCol, isServer-true) { |
| 200 | list-style-image: none; |
| 201 | } |
| 202 | |
| 203 | #folder-panel { |
| 204 | min-width: 10px; |
| 205 | } |
| 206 | |
| 207 | #folderTree { |
| 208 | border: none; |
| 209 | } |
| 210 | |
| 211 | #folderTotalCol, |
| 212 | #folderSizeCol { |
| 213 | text-align: right; |
| 214 | } |
| 215 | |
| 216 | #folderNameCol [sortDirection="ascending"] { |
| 217 | list-style-image: none; |
| 218 | } |
| 219 | |
| 220 | #folderNameCol [sortDirection="descending"] { |
| 221 | list-style-image: none; |
| 222 | } |