From ff39f91be674fa9214a5a9fd0feb0df16ca0bc21 Mon Sep 17 00:00:00 2001 From: "ben%netscape.com" Date: Thu, 6 Sep 2007 21:47:00 +0000 Subject: [PATCH] [CLASSIC SKIN] Messenger skin files. NOT PART OF BUILD git-svn-id: svn://10.0.0.236/trunk@234095 18797224-902f-48f8-a5cc-f745e15eee43 --- .../messenger/addressbook/addressbook.css | 177 +++++++++++ .../themes/classic/messenger/folderPane.css | 120 ++++++++ .../themes/classic/messenger/messenger.css | 281 ++++++++++++++++++ .../messengercompose/messengercompose.css | 126 ++++++++ .../themes/classic/messenger/subscribe.css | 27 ++ .../themes/classic/messenger/threadPane.css | 108 +++++++ 6 files changed, 839 insertions(+) create mode 100644 mozilla/suite/themes/classic/messenger/addressbook/addressbook.css create mode 100644 mozilla/suite/themes/classic/messenger/folderPane.css create mode 100644 mozilla/suite/themes/classic/messenger/messenger.css create mode 100644 mozilla/suite/themes/classic/messenger/messengercompose/messengercompose.css create mode 100644 mozilla/suite/themes/classic/messenger/subscribe.css create mode 100644 mozilla/suite/themes/classic/messenger/threadPane.css diff --git a/mozilla/suite/themes/classic/messenger/addressbook/addressbook.css b/mozilla/suite/themes/classic/messenger/addressbook/addressbook.css new file mode 100644 index 00000000000..3c81f7f2599 --- /dev/null +++ b/mozilla/suite/themes/classic/messenger/addressbook/addressbook.css @@ -0,0 +1,177 @@ +/* +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. +*/ + +@import url(chrome://communicator/skin/); + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */ +@namespace html url("http://www.w3.org/TR/REC-html40"); /* namespace for XUL elements */ + +/* CardView styles - used in the Card View Pane*/ + +#CardViewBox { +/* overflow: auto;*/ + background-color: #EEEEEE; + min-width: 150px; + user-focus: ignore; +} + +#CardViewInnerBox { + margin-top: 2px; + margin-bottom: 2px; + padding-left: 8px; + padding-right: 8px; +} + +#CardTitle { + font-size: 150%; + font-weight: bold; + border-bottom: 2px solid black; + min-width: 120px; + margin: 0px; +} + +.cardViewGroup { + margin-top: 8px; + padding-bottom: 5px; + min-width: 50px; +} + +[class="CardViewHeading"] { + padding: 1px; + padding-left: 5px; + margin: 0px 0px 1px 0px; + background-color: #99CCCC; + color: black; + font-weight: bold; + min-width: 30px; +} + +[class="CardViewText"] { + padding-left: 20px; + padding-right: 2px; + min-width: 30px; + margin: 0px; +} + +html|a[class="CardViewText"] { + padding-left: 20px; + padding-right: 2px; + min-width: 30px; +} + + +/* CardEdit styles - used in the Card Edit Dialog */ + +[class="CardEditWidth"] { + width: 25em; +} + +[class="CardEditLabel"] { + padding: 0px; + margin-top: 3px; +} + +[class="alignBoxWithFieldset"] { + margin-left: 6px; + margin-right: 5px; +} + +.stateZipSpacer { width: 3em; } + + +/* Custom Trees */ + +tree { + border-left: 1px solid transparent; +} + +treeitem[selected="true"] > treerow { + color: black; + background-color: #CCCCCC; +} + +tree[class="abDirectory"] treeitem > treerow > treecell > .tree-icon { + list-style-image: url("chrome://messenger/skin/addressbook/myaddrbk.gif"); +} + +tree[class="abResults"] treeitem > treerow > treecell.cardicon { + list-style-image: url("chrome://messenger/skin/addressbook/person.gif"); + height: 14px; + min-height: 14px; +} + + +/* Address Book specific style */ + +#results_box { + border-left: 8px solid #CCCCCC; +} + +[hide] { + visibility: collapse; +} + +#button-newcard { + list-style-image:url("chrome://messenger/skin/addressbook/newcard.gif"); +} + +#button-newlist { + list-style-image:url("chrome://messenger/skin/addressbook/newlist.gif"); +} + +#button-editcard { + list-style-image:url("chrome://messenger/skin/addressbook/edit.gif"); +} + +#button-newmessage { + list-style-image:url("chrome://messenger/skin/addressbook/newmsgab.gif"); +} + +#button-elete { + list-style-image:url("chrome://messenger/skin/trash.gif"); +} + +#button-stop { + list-style-image:url("chrome://global/skin/stop.gif"); +} + +#button-search { + list-style-image:url("chrome://global/skin/search.gif"); +} + +#searchlabel { + padding: 0px; + padding-left: 5px; + padding-bottom:2px; + white-space: nowrap; + font-size: smaller; + min-width: 20px; +} + +#searchtext { + min-width: 20px; + padding: 0px; +} + +treeitem[empty="true"] > treerow > treecell > .tree-cell-twisty { + + list-style-image: none !important; + +} diff --git a/mozilla/suite/themes/classic/messenger/folderPane.css b/mozilla/suite/themes/classic/messenger/folderPane.css new file mode 100644 index 00000000000..cdaa2c6b329 --- /dev/null +++ b/mozilla/suite/themes/classic/messenger/folderPane.css @@ -0,0 +1,120 @@ +/* -*- 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"] +{ + list-style-image: url("chrome://messenger/skin/folder-new-closed.gif"); +} + +treeitem[open="true"] > treerow > .tree-cell-folderpane-icon[BiffState="NewMail"] +{ + list-style-image: url("chrome://messenger/skin/folder-new-open.gif"); +} + +.tree-cell-folderpane-icon[SpecialFolder="Inbox"][BiffState="NewMail"] +{ + list-style-image: url("chrome://messenger/skin/folder-inbox-new.gif"); +} + +.tree-cell-folderpane-icon[IsServer="true"] +{ + list-style-image: url("chrome://messenger/skin/server-mail.gif"); +} + + +/* IMAP folders */ + +.tree-cell-folderpane-icon[IsServer="true"][ServerType="imap"][IsSecure="true"] +{ + list-style-image: url("chrome://messenger/skin/server-remote-lock.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; + +} diff --git a/mozilla/suite/themes/classic/messenger/messenger.css b/mozilla/suite/themes/classic/messenger/messenger.css new file mode 100644 index 00000000000..e488cc3fe09 --- /dev/null +++ b/mozilla/suite/themes/classic/messenger/messenger.css @@ -0,0 +1,281 @@ +/* -*- Mode: C++; tab-width: 4; 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. + */ + +@import url(chrome://communicator/skin/); + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */ +@namespace html url("http://www.w3.org/TR/REC-html40"); /* namespace for XUL elements */ + +[hide] { + display: none; +} + +spring.spacer { + width: 5px; + height: 5px; +} + +box.cleanborder { + margin: 10px; + padding: 10px; + border: 2px groove white; + width: 100%; +} + +box.padded { + margin: 10px; + width: 100%; +} + +iframe { + min-width: 10px; + min-height: 10px; + width: 100px; + height: 100px; +} + +/** + * boxes + */ +#results_box { + border-left: 8px solid #CCCCCC; + min-width: 10px; +} + + + +/** + * toolbar button images + */ + +#button-getmsg { + list-style-image:url("chrome://messenger/skin/getmsg.gif"); +} + +#button-newmsg { + list-style-image:url("chrome://messenger/skin/newmsg.gif"); +} + +#button-reply { + list-style-image:url("chrome://messenger/skin/reply.gif"); +} + +#button-replyall { + list-style-image:url("chrome://messenger/skin/replyall.gif"); +} + +#button-forward { + list-style-image:url("chrome://messenger/skin/forward.gif"); +} + +#button-file { + list-style-image:url("chrome://messenger/skin/file.gif"); +} + +#button-next { + list-style-image:url("chrome://messenger/skin/next.gif"); +} + +#button-delete { + list-style-image:url("chrome://messenger/skin/trash.gif"); +} + +#button-print { + list-style-image:url("chrome://global/skin/print.gif"); +} + +#button-stop { + list-style-image:url("chrome://global/skin/stop.gif"); +} + + +.folderMenuItem > .menu-left { + list-style-image: url("chrome://messenger/skin/folder-closed.gif"); +} + + +.folderMenuItem[open="true"] > .menu-left { + list-style-image: url("chrome://messenger/skin/folder-open.gif"); +} + +/* special folder */ +.folderMenuItem[SpecialFolder="Inbox"] > .menu-left { + list-style-image: url("chrome://messenger/skin/folder-inbox.gif"); +} + +.folderMenuItem[SpecialFolder="Inbox"][open="true"] > .menu-left +{ + list-style-image: url("chrome://messenger/skin/folder-inbox.gif"); +} + +.folderMenuItem[SpecialFolder="Trash"] > .menu-left { + list-style-image: url("chrome://messenger/skin/folder-trash.gif"); +} + +.folderMenuItem[SpecialFolder="Trash"][open="true"] > .menu-left { + list-style-image: url("chrome://messenger/skin/folder-trash.gif"); +} + +.folderMenuItem[IsServer="true"] > .menu-left +{ + list-style-image: url("chrome://messenger/skin/server-mail.gif"); +} + +.folderMenuItem[IsServer="true"][open="true"] > .menu-left +{ + list-style-image: url("chrome://messenger/skin/server-mail.gif"); +} + +/* IMAP folders */ + +.folderMenuItem[IsServer="true"][ServerType="imap"][IsSecure="true"] > .menu-left { + list-style-image: url("chrome://messenger/skin/server-remote-lock.gif"); +} + +/* Local Servers */ +.folderMenuItem[IsServer="true"][ServerType="none"] > .menu-left +{ + list-style-image: url("chrome://messenger/skin/server-local.gif"); +} + +/* News folders */ +.folderMenuItem[ServerType="nntp"] > .menu-left { + list-style-image: url("chrome://messenger/skin/folder-newsgroup.gif"); +} + +.folderMenuItem[IsServer="true"][ServerType="nntp"][IsSecure="true"] > .menu-left { + list-style-image: url("chrome://messenger/skin/server-news-lock.gif"); +} + +.folderMenuItem[IsServer="true"][ServerType="nntp"] > .menu-left { + list-style-image: url("chrome://messenger/skin/server-news.gif"); +} + + +menu.push { + border: 1px outset white; + padding: 2px; + margin: 2px; + text-align: center; + background-color:inherit; + background-image: inherit; +} + +menu.push:hover { + border: 1px outset white; + color:#003366; + text-decoration:underline; + padding: 2px; +} + +menu.push:hover:-moz-outline { + border : 1px solid black; + color:#003366; + padding: 2px; +} + +menu.push:active { + text-decoration:none; + border: 1px inset; + padding-left: 3px; + padding-right: 1px; + padding-top: 3px; + padding-bottom: 1px; +} + +menu.push[toggled="1"] { + border: 1px white inset; + padding-left: 3px; + padding-right: 1px; + padding-top: 3px; + padding-bottom: 1px; +} + +menu.push[toggled="2"] { + background-color: lightgray; + border: 1px solid gray; +} + +menu.push:active:-moz-outline { + border : 1px solid black; +} + +menu.push[disabled="true"] { + background-color:inherit; + background-image: inherit; + border : 1px solid #999999; + color: #999999; + text-decoration: none; +} + +menu.push[disabled="true"]:hover { + background-color:inherit; + background-image: inherit; + border : 1px solid #999999; + color: #999999; + text-decoration: none; +} + +menu.push[disabled="true"]:active { + background-color:inherit; + background-image: inherit; + border : 1px solid #999999; + color: #999999; + text-decoration: none; +} + +/** + * Make sure the min height is small so we can + * resize the pane vertically -EDV + */ +box#messagepanebox +{ + min-height: 10px; + height: 0px; +} + + +/** + * this belongs in the mail filter window + */ + +treeitem[Enabled="true"] > treerow > treecell.enabledcol > .tree-button { + list-style-image: url("chrome://messenger/skin/unreadmail.gif"); +} + +treecell.enabledcol > .tree-button { + list-style-image: url("chrome://messenger/skin/readmail.gif"); +} + +searchattribute { + behavior: url(chrome://messenger/skin/mailWidgets.xml#searchattribute); +} + +searchoperator { + behavior: url(chrome://messenger/skin/mailWidgets.xml#searchoperator); +} + +searchvalue { + behavior: url(chrome://messenger/skin/mailWidgets.xml#searchvalue); +} + +searchterm { + behavior: url(chrome://messenger/skin/mailWidgets.xml#searchterm); +} \ No newline at end of file diff --git a/mozilla/suite/themes/classic/messenger/messengercompose/messengercompose.css b/mozilla/suite/themes/classic/messenger/messengercompose/messengercompose.css new file mode 100644 index 00000000000..3e9bb77992f --- /dev/null +++ b/mozilla/suite/themes/classic/messenger/messengercompose/messengercompose.css @@ -0,0 +1,126 @@ +@import url(chrome://messenger/skin/messenger.css); + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */ +@namespace html url("http://www.w3.org/TR/REC-html40"); /* namespace for HTML elements */ + +spring.spacer { + width: 5px; + height: 5px; +} + +box.cleanborder { + margin: 10px; + padding: 10px; + border: 2px groove white; + width: 100%; +} + +box.padded { + margin: 10px; + width: 100%; +} + + +/* addressing widget */ + +tree[class="addressingWidget"] treeitem > treerow > treecell > box > image { + vertical-align: middle; + padding:2px; + border:none; + list-style-image: url("chrome://messenger/skin/addressbook/person.gif"); + user-focus: ignore; +} + +/* +menulist.outset +{ + padding : 0px; + border : 1px solid #000000; + background-color : #CCCCCC; + -moz-border-radius : 3px 2px 2px 3px; + margin : 1px; +} + +menulist.outset > menupopup > menuitem +{ + max-width: auto; + min-width: 32px; +} + +menulist.outset > .menu-text +{ + border : 1px outset #CCCCCC;; + padding : 1px 4px 2px 4px; + margin-right : 0px; +} + +menulist.outset[open="true"] > .menu-text +{ + border : 1px inset #CCCCCC;; + padding : 2px 4px 1px 4px; +} +*/ + +textfield.addressingWidget[autocomplete="true"] { + border : 2px solid #FFFFFF; + margin : 1px; +} + +textfield.addressingWidget[autocomplete="true"][focused="true"] +{ + border : 2px solid #6699cc; + margin : 1px; +} + +textfield.addressingWidget[autocomplete="true"] > box +{ + border : none; +} + +#button-send { + list-style-image:url("chrome://messenger/skin/messengercompose/send.gif"); +} + +#button-address { + list-style-image:url("chrome://messenger/skin/messengercompose/address.gif"); +} + +#button-attach { + list-style-image:url("chrome://messenger/skin/messengercompose/attach.gif"); +} + +#button-quote { + list-style-image:url("chrome://messenger/skin/messengercompose/quote.gif"); +} + +#button-spelling { + list-style-image:url("chrome://messenger/skin/messengercompose/spelling.gif"); +} + +#button-save { + list-style-image:url("chrome://messenger/skin/messengercompose/save.gif"); +} + +#button-stop { + list-style-image:url("chrome://global/skin/stop.gif"); +} + +toolbar#MsgHeadersToolbar { + border-bottom: 1px solid #999999; +} + +box#addressingWidget { + user-focus: normal; +} + +tree#attachmentBucket { + user-focus: normal; +} + +#msgSubject { + user-focus: normal; +} + +#msgIdentity { + user-focus: normal; +} diff --git a/mozilla/suite/themes/classic/messenger/subscribe.css b/mozilla/suite/themes/classic/messenger/subscribe.css new file mode 100644 index 00000000000..33f7ea67090 --- /dev/null +++ b/mozilla/suite/themes/classic/messenger/subscribe.css @@ -0,0 +1,27 @@ +/* -*- Mode: C++; tab-width: 4; 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. + */ + +.subscribedcol { + list-style-image: url("chrome://messenger/skin/dot.gif"); +} + +.subscribedcol[value="true"] { + list-style-image: url("chrome://messenger/skin/check.gif"); +} diff --git a/mozilla/suite/themes/classic/messenger/threadPane.css b/mozilla/suite/themes/classic/messenger/threadPane.css new file mode 100644 index 00000000000..4f36221b5c3 --- /dev/null +++ b/mozilla/suite/themes/classic/messenger/threadPane.css @@ -0,0 +1,108 @@ +/* -*- Mode: C++; tab-width: 4; 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. + */ + +.tree-thread-row[IsUnread="true"] { + font-weight: bold; +} + +.prioritycol[value="Highest"] +{ + color:red; +} + +.prioritycol[value="High"] +{ + color: rgb(128, 0, 0); +} + +.prioritycol[value="Lowest"] +{ + color: rgb(170, 170, 170); +} + +.prioritycol[value="Low"] +{ + color: rgb(85, 85, 85); +} + +.tree-cell-threadpane-icon { + list-style-image: url("chrome://messenger/skin/message-mail.gif"); + min-height: 14px; +} + +.tree-cell-threadpane-icon[Status="new"] { + list-style-image: url("chrome://messenger/skin/message-mail-new.gif"); +} + +.tree-cell-threadpane-icon[MessageType="news"] { + list-style-image: url("chrome://messenger/skin/message-news.gif"); +} + +.tree-cell-threadpane-icon[MessageType="news"][Status="new"] { + list-style-image: url("chrome://messenger/skin/message-news-new.gif"); +} + +.tree-cell-threadpane-icon[MessageType="mail"][HasAttachment="true"] { + list-style-image: url("chrome://messenger/skin/message-mail-attach.gif"); +} + +.tree-cell-threadpane-icon[IsImapDeleted="true"] { + list-style-image: url("chrome://messenger/skin/message-mail-imapdelete.gif"); +} + +.unreadcol { + list-style-image: url("chrome://messenger/skin/readmail.gif"); + min-height: 14px; +} + +.unreadcol[value="true"] { + list-style-image: url("chrome://messenger/skin/unreadmail.gif"); +} + +.flagcol { + list-style-image: url("chrome://messenger/skin/readmail.gif"); + min-height: 14px; +} + +.flagcol[value="flagged"] { + list-style-image: url("chrome://messenger/skin/flaggedmail.gif"); +} + +treecell.threadColumnHeader[currentView="threaded"] > .tree-header-image { + list-style-image: url("chrome://messenger/skin/threadcol.gif"); +} + +treecell.threadColumnHeader[currentView="unthreaded"] > .tree-header-image { + list-style-image: url("chrome://messenger/skin/unthreadcol.gif"); +} + +treecell.readColumnHeader > .tree-header-image { + list-style-image: url("chrome://messenger/skin/unreadmail.gif"); +} + +treecell.flagColumnHeader > .tree-header-image { + list-style-image: url("chrome://messenger/skin/flaggedmail.gif"); +} + +treeitem[empty="true"] > treerow > treecell > .tree-cell-twisty { + + list-style-image: none !important; + + }