X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fmessenger%2Fskin%2FfolderPane.css;h=cf5af879410b4cecec7b946a7ae880eeed403f49;hp=5d170ef3c0520025ec407eda6e59521d380bfe97;hb=0042fc016a43c38debba9d6c5a1897cdac4e68e7;hpb=afe91d6de324f31565d3c83b7656e2a89e345b61 diff --git a/EarlyBlue/messenger/skin/folderPane.css b/EarlyBlue/messenger/skin/folderPane.css index 5d170ef3..cf5af879 100755 --- a/EarlyBlue/messenger/skin/folderPane.css +++ b/EarlyBlue/messenger/skin/folderPane.css @@ -1,140 +1,176 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- - * 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-1999 Netscape Communications Corporation. All - * Rights Reserved. - */ - -/* basic mail folders */ -.tree-cell-folderpane-icon -{ - list-style-image: url("chrome://messenger/skin/folder-closed.gif"); -} - -treeitem.folderTreeItem[open="true"] > treerow > .tree-cell-folderpane-icon -{ - list-style-image: url("chrome://messenger/skin/folder-open.gif"); -} - -/* special folder */ -.tree-cell-folderpane-icon[SpecialFolder="Inbox"] -{ - list-style-image: url("chrome://messenger/skin/folder-inbox.gif"); -} - -.tree-cell-folderpane-icon[SpecialFolder="Trash"] -{ - list-style-image: url("chrome://messenger/skin/folder-trash.gif"); -} - -.tree-cell-folderpane-icon[BiffState="NewMail"][IsServer="true"] -{ - list-style-image: url("chrome://messenger/skin/folder-new-closed.gif"); -} - -treeitem[open="true"] > treerow > .tree-cell-folderpane-icon[BiffState="NewMail"][IsServer="true"] -{ - list-style-image: url("chrome://messenger/skin/folder-new-open.gif"); -} - -.tree-cell-folderpane-icon[IsServer="true"] -{ - list-style-image: url("chrome://messenger/skin/server-mail.gif"); -} - - -/* differentiate new messages on inbox/folders from biff on the server */ -.tree-cell-folderpane-icon[NewMessages="true"] -{ - list-style-image: url("chrome://messenger/skin/folder-new-closed.gif"); - font-weight: bold; -} - -.tree-cell-folderpane-icon[SpecialFolder="Inbox"][NewMessages="true"] -{ - list-style-image: url("chrome://messenger/skin/folder-inbox-new.gif"); - font-weight: bold; -} - -treeitem[open="true"] > treerow > .tree-cell-folderpane-icon[NewMessages="true"] -{ - list-style-image: url("chrome://messenger/skin/folder-new-open.gif"); - font-weight: bold; -} - - -/* IMAP folders */ - -.tree-cell-folderpane-icon[IsServer="true"][ServerType="imap"][IsSecure="true"] -{ - list-style-image: url("chrome://messenger/skin/server-remote-lock.gif"); -} - -.tree-cell-folderpane-icon[IsServer="true"][ServerType="imap"] -{ - list-style-image: url("chrome://messenger/skin/server-remote.gif"); -} - -/* Local servers */ -.tree-cell-folderpane-icon[IsServer="true"][ServerType="none"] -{ - list-style-image: url("chrome://messenger/skin/server-local.gif"); -} - - -/* News folders */ -.tree-cell-folderpane-icon[ServerType="nntp"] -{ - list-style-image: url("chrome://messenger/skin/folder-newsgroup.gif"); -} - -.tree-cell-folderpane-icon[IsServer="true"][ServerType="nntp"][IsSecure="true"] -{ - list-style-image: url("chrome://messenger/skin/server-news-lock.gif"); -} - -.tree-cell-folderpane-icon[IsServer="true"][ServerType="nntp"] -{ - list-style-image: url("chrome://messenger/skin/server-news.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; -} - -#folder-panel { - min-width: 10px; -} - -treeitem[empty="true"] > treerow > treecell > .tree-cell-twisty { - - list-style-image: none !important; - -} +/* + * 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-1999 Netscape Communications Corporation. All + * Rights Reserved. + */ + +/* ===== 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 ::::: */ + +outlinerbody:-moz-outliner-image(folderNameCol) { + padding-right: 2px; + list-style-image: url("chrome://messenger/skin/folder-closed.gif"); +} + +outlinerbody:-moz-outliner-image(folderNameCol, newMessages-true) { + padding-right: 2px; + list-style-image: url("chrome://messenger/skin/folder-new-closed.gif"); +} + +/* ..... Inbox ..... */ + +outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Inbox) { + padding-right: 2px; + list-style-image: url("chrome://messenger/skin/folder-inbox.gif"); +} + +outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Inbox, newMessages-true) { + padding-right: 2px; + list-style-image: url("chrome://messenger/skin/folder-inbox-new.gif"); +} + + +/* ..... Sent ..... */ + +outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Sent) { + padding-right: 2px; + list-style-image: url("chrome://messenger/skin/folder-sent.gif"); +} + +/* ..... Unsent ..... */ + +outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Unsent Messages) { + padding-right: 2px; + list-style-image: url("chrome://messenger/skin/folder-outbox.gif"); +} + +/* ..... Drafts ..... */ + +outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Drafts) { + padding-right: 2px; + list-style-image: url("chrome://messenger/skin/folder-draft.gif"); +} + +/* ..... Templates ..... */ + +outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Templates) { + padding-right: 2px; + list-style-image: url("chrome://messenger/skin/folder-template.gif"); +} + +/* ..... Trash ..... */ + +outlinerbody:-moz-outliner-image(folderNameCol, specialFolder-Trash) { + padding-right: 2px; + list-style-image: url("chrome://messenger/skin/folder-trash.gif"); +} + +outlinerbody:-moz-outliner-image(folderNameCol, isServer-true) { + padding-right: 2px; + list-style-image: url("chrome://messenger/skin/server-mail.gif"); +} + +outlinerbody:-moz-outliner-image(folderNameCol, biffState-NewMail, isServer-true) { + padding-right: 2px; + list-style-image: url("chrome://messenger/skin/server-mail-new.gif"); +} + +outlinerbody:-moz-outliner-cell-text(folderNameCol, newMessages-true), +outlinerbody:-moz-outliner-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true) { + font-weight: bold; +} + +/* ..... Server Folders ..... */ + +outlinerbody:-moz-outliner-image(folderNameCol, isServer-true, serverType-pop3, isSecure-true) { + padding-right: 2px; + list-style-image: url("chrome://messenger/skin/server-remote-lock.gif"); +} + +outlinerbody:-moz-outliner-image(folderNameCol, isServer-true, serverType-imap, isSecure-true) { + padding-right: 2px; + list-style-image: url("chrome://messenger/skin/server-remote-lock.gif"); +} + +outlinerbody:-moz-outliner-image(folderNameCol, isServer-true, serverType-none) { + padding-right: 2px; + list-style-image: url("chrome://messenger/skin/server-local.gif"); +} + +/* ..... News Folders ..... */ + +outlinerbody:-moz-outliner-image(folderNameCol, serverType-nntp) { + padding-right: 2px; + list-style-image: url("chrome://messenger/skin/folder-newsgroup.gif"); +} + +outlinerbody:-moz-outliner-image(folderNameCol, isServer-true, serverType-nntp) { + padding-right: 2px; + list-style-image: url("chrome://messenger/skin/server-news.gif"); +} + +outlinerbody:-moz-outliner-image(folderNameCol, isServer-true, serverType-nntp, isSecure-true) { + padding-right: 2px; + list-style-image: url("chrome://messenger/skin/server-news-lock.gif"); +} + +/* ::::: All Servers ::::: */ + +outlinerbody:-moz-outliner-cell-text(folderNameCol, isServer-true), +outlinerbody:-moz-outliner-cell-text(hasUnreadMessages-true) { + font-weight: bold; +} + +outlinerbody:-moz-outliner-cell-text(folderNameCol, noSelect-true) { + color: gray; + font-style: italic; +} + +#folder-panel { + min-width: 10px; +} + +#folderTree { + border: none; +} + +/* using tree-cell-folderpane-icon to isolate this rule to the folderpane + and prevent such crawls on the threadpane */ +treeitem[empty="true"] > treerow > .tree-cell-folderpane-icon > .tree-cell-twisty { + visibility: hidden; +} + +.tree-folder-checkbox { + list-style-image: none; +} + +outlinerbody:-moz-outliner-image(syncCol) { + list-style-image: url("chrome://messenger/skin/dot.gif"); +} + +outlinerbody:-moz-outliner-image(syncCol, synchronize-true) { + list-style-image: url("chrome://messenger/skin/check.gif"); +} + +outlinerbody:-moz-outliner-image(syncCol, isServer-true) { + list-style-image: none; +}