| 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@utcru.sk) |
| 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 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 42 | |
| 43 | /* ===== folderPane.css ================================================= |
| 44 | == Styles for the Folder pane in the Messenger 3-pane window. |
| 45 | ======================================================================= */ |
| 46 | |
| 47 | /* ::::: connecting lines ::::: */ |
| 48 | |
| 49 | outlinerbody:-moz-outliner-line |
| 50 | { |
| 51 | visibility: hidden; |
| 52 | } |
| 53 | |
| 54 | /* ::::: mail folder ::::: */ |
| 55 | |
| 56 | outlinerbody:-moz-outliner-image(folderNameCol) { |
| 57 | padding-right: 2px; |
| 58 | list-style-image: url("chrome://messenger/skin/folder-closed.gif"); |
| 59 | } |
| 60 | |
| 61 | outlinerbody:-moz-outliner-image(folderNameCol, newMessages-true) { |
| 62 | padding-right: 2px; |
| 63 | list-style-image: url("chrome://messenger/skin/folder-new-closed.gif"); |
| 64 | } |
| 65 | |
| 66 | /* ..... Inbox ..... */ |
| 67 | |
| 68 | outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Inbox) { |
| 69 | padding-right: 2px; |
| 70 | list-style-image: url("chrome://messenger/skin/folder-inbox.gif"); |
| 71 | } |
| 72 | |
| 73 | outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Inbox, newMessages-true) { |
| 74 | padding-right: 2px; |
| 75 | list-style-image: url("chrome://messenger/skin/folder-inbox-new.gif"); |
| 76 | } |
| 77 | |
| 78 | /* ..... Sent ..... */ |
| 79 | |
| 80 | outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Sent) { |
| 81 | padding-right: 2px; |
| 82 | list-style-image: url("chrome://messenger/skin/folder-sent.gif"); |
| 83 | } |
| 84 | |
| 85 | /* ..... Unsent ..... */ |
| 86 | |
| 87 | outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Unsent Messages) { |
| 88 | padding-right: 2px; |
| 89 | list-style-image: url("chrome://messenger/skin/folder-outbox.gif"); |
| 90 | } |
| 91 | |
| 92 | /* ..... Drafts ..... */ |
| 93 | |
| 94 | outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Drafts) { |
| 95 | padding-right: 2px; |
| 96 | list-style-image: url("chrome://messenger/skin/folder-draft.gif"); |
| 97 | } |
| 98 | |
| 99 | /* ..... Templates ..... */ |
| 100 | |
| 101 | outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Templates) { |
| 102 | padding-right: 2px; |
| 103 | list-style-image: url("chrome://messenger/skin/folder-template.gif"); |
| 104 | } |
| 105 | |
| 106 | /* ..... Trash ..... */ |
| 107 | |
| 108 | outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Trash) { |
| 109 | padding-right: 2px; |
| 110 | list-style-image: url("chrome://messenger/skin/folder-trash.gif"); |
| 111 | } |
| 112 | |
| 113 | outlinerbody:-moz-outliner-image(folderNameCol, isServer-true) { |
| 114 | padding-right: 2px; |
| 115 | list-style-image: url("chrome://messenger/skin/server-mail.gif"); |
| 116 | } |
| 117 | |
| 118 | outlinerbody:-moz-outliner-image(folderNameCol, biffState-NewMail, isServer-true) { |
| 119 | padding-right: 2px; |
| 120 | list-style-image: url("chrome://messenger/skin/server-mail-new.gif"); |
| 121 | } |
| 122 | |
| 123 | outlinerbody:-moz-outliner-cell-text(folderNameCol, newMessages-true), |
| 124 | outlinerbody:-moz-outliner-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true) { |
| 125 | font-weight: bold; |
| 126 | } |
| 127 | |
| 128 | /* ..... Server Folders ..... */ |
| 129 | |
| 130 | outlinerbody:-moz-outliner-image(folderNameCol, isServer-true, serverType-pop3, isSecure-true) { |
| 131 | padding-right: 2px; |
| 132 | list-style-image: url("chrome://messenger/skin/server-remote-lock.gif"); |
| 133 | } |
| 134 | |
| 135 | outlinerbody:-moz-outliner-image(folderNameCol, isServer-true, serverType-imap, isSecure-true) { |
| 136 | padding-right: 2px; |
| 137 | list-style-image: url("chrome://messenger/skin/server-remote-lock.gif"); |
| 138 | } |
| 139 | |
| 140 | outlinerbody:-moz-outliner-image(folderNameCol, isServer-true, serverType-none) { |
| 141 | padding-right: 2px; |
| 142 | list-style-image: url("chrome://messenger/skin/server-local.gif"); |
| 143 | } |
| 144 | |
| 145 | /* ..... News Folders ..... */ |
| 146 | |
| 147 | outlinerbody:-moz-outliner-image(folderNameCol, serverType-nntp) { |
| 148 | padding-right: 2px; |
| 149 | list-style-image: url("chrome://messenger/skin/folder-newsgroup.gif"); |
| 150 | } |
| 151 | |
| 152 | outlinerbody:-moz-outliner-image(folderNameCol, isServer-true, serverType-nntp) { |
| 153 | padding-right: 2px; |
| 154 | list-style-image: url("chrome://messenger/skin/server-news.gif"); |
| 155 | } |
| 156 | |
| 157 | outlinerbody:-moz-outliner-image(folderNameCol, isServer-true, serverType-nntp, isSecure-true) { |
| 158 | padding-right: 2px; |
| 159 | list-style-image: url("chrome://messenger/skin/server-news-lock.gif"); |
| 160 | } |
| 161 | |
| 162 | /* ::::: All Servers ::::: */ |
| 163 | |
| 164 | outlinerbody:-moz-outliner-cell-text(closed, subfoldersHaveUnreadMessages-true) |
| 165 | { |
| 166 | font-weight: bold; |
| 167 | } |
| 168 | |
| 169 | outlinerbody:-moz-outliner-cell-text(folderNameCol, isServer-true), |
| 170 | outlinerbody:-moz-outliner-cell-text(hasUnreadMessages-true) { |
| 171 | font-weight: bold; |
| 172 | } |
| 173 | |
| 174 | outlinerbody:-moz-outliner-cell-text(folderNameCol, noSelect-true) { |
| 175 | color: gray; |
| 176 | font-style: italic; |
| 177 | } |
| 178 | |
| 179 | #folder-panel { |
| 180 | min-width: 10px; |
| 181 | } |
| 182 | |
| 183 | #folderTree { |
| 184 | border: none; |
| 185 | } |
| 186 | |
| 187 | .tree-folder-checkbox { |
| 188 | list-style-image: none; |
| 189 | } |
| 190 | |
| 191 | outlinerbody:-moz-outliner-image(syncCol) { |
| 192 | list-style-image: url("chrome://messenger/skin/dot.gif"); |
| 193 | } |
| 194 | |
| 195 | outlinerbody:-moz-outliner-image(syncCol, synchronize-true) { |
| 196 | list-style-image: url("chrome://messenger/skin/check.gif"); |
| 197 | } |
| 198 | |
| 199 | outlinerbody:-moz-outliner-image(syncCol, isServer-true) { |
| 200 | list-style-image: none; |
| 201 | } |
| 202 | |