diff options
Diffstat (limited to 'comm/suite/themes/classic/messenger/addressbook')
16 files changed, 501 insertions, 0 deletions
diff --git a/comm/suite/themes/classic/messenger/addressbook/abResultsPane.css b/comm/suite/themes/classic/messenger/addressbook/abResultsPane.css new file mode 100644 index 0000000000..a5cc6b2e7e --- /dev/null +++ b/comm/suite/themes/classic/messenger/addressbook/abResultsPane.css @@ -0,0 +1,16 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +treechildren::-moz-tree-image(GeneratedName) { + margin-inline-end: 2px; + list-style-image: url("chrome://messenger/skin/addressbook/icons/abcard.png"); +} + +treechildren::-moz-tree-image(GeneratedName, MailList) { + margin-inline-end: 2px; + list-style-image: url("chrome://messenger/skin/addressbook/icons/ablist.png"); +} + diff --git a/comm/suite/themes/classic/messenger/addressbook/addressPanes.css b/comm/suite/themes/classic/messenger/addressbook/addressPanes.css new file mode 100644 index 0000000000..4a854b9cca --- /dev/null +++ b/comm/suite/themes/classic/messenger/addressbook/addressPanes.css @@ -0,0 +1,36 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/* ===== addressPanes.css ================================================ + == Styles for directory pane. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: directory pane icons ::::: */ + +treechildren::-moz-tree-image(DirCol) { + margin-inline-end: 2px; + list-style-image: url("chrome://messenger/skin/addressbook/icons/addrbook.png"); +} + +treechildren::-moz-tree-image(DirCol, IsMailList-true) { + list-style-image: url("chrome://messenger/skin/addressbook/icons/ablist.png"); +} + +treechildren::-moz-tree-image(DirCol, IsRemote-true) { + list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook.png"); +} + +treechildren::-moz-tree-image(DirCol, IsRemote-true, IsSecure-true) { + list-style-image: url("chrome://messenger/skin/addressbook/icons/secure-remote-addrbook.png"); +} + +#dirTree [sortDirection="ascending"] { + list-style-image: none; +} + +#dirTree [sortDirection="descending"] { + list-style-image: none; +} diff --git a/comm/suite/themes/classic/messenger/addressbook/addressbook.css b/comm/suite/themes/classic/messenger/addressbook/addressbook.css new file mode 100644 index 0000000000..f645a367c3 --- /dev/null +++ b/comm/suite/themes/classic/messenger/addressbook/addressbook.css @@ -0,0 +1,317 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/* ===== addressbook.css ================================================ + == Styles for the main Address Book window. + ======================================================================= */ + +@import url("chrome://messenger/skin/messenger.css"); + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +/* ::::: Trees ::::: */ + +treechildren::-moz-tree-row { + min-height: 18px; +} + +treechildren::-moz-tree-twisty { + padding-bottom: 1px; +} + +/* ::::: primary toolbar buttons ::::: */ + +#button-newcard { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png"); + -moz-image-region: rect(60px 29px 89px 0); +} + +#button-newcard:hover { + -moz-image-region: rect(60px 59px 89px 30px); +} + +#button-newcard:hover:active { + -moz-image-region: rect(60px 89px 89px 60px); +} + +#button-newcard[disabled] { + -moz-image-region: rect(60px 119px 89px 90px) !important; +} + +#button-newlist { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png"); + -moz-image-region: rect(90px 29px 119px 0); +} + +#button-newlist:hover { + -moz-image-region: rect(90px 59px 119px 30px); +} + +#button-newlist:hover:active { + -moz-image-region: rect(90px 89px 119px 60px); +} + +#button-newlist[disabled] { + -moz-image-region: rect(90px 119px 119px 90px) !important; +} + +#button-editcard { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png"); + -moz-image-region: rect(30px 29px 59px 0); +} + +#button-editcard:hover { + -moz-image-region: rect(30px 59px 59px 30px); +} + +#button-editcard:hover:active { + -moz-image-region: rect(30px 89px 59px 60px); +} + +#button-editcard[disabled] { + -moz-image-region: rect(30px 119px 59px 90px) !important; +} + +#button-newmessage { + list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); + -moz-image-region: rect(150px 29px 179px 0); +} + +#button-newmessage:hover { + -moz-image-region: rect(150px 59px 179px 30px); +} + +#button-newmessage:hover:active { + -moz-image-region: rect(150px 89px 179px 60px); +} + +#button-newmessage[disabled] { + -moz-image-region: rect(150px 119px 179px 90px) !important; +} + +#button-abdelete { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png"); + -moz-image-region: rect(0 29px 29px 0); +} + +#button-abdelete:hover { + -moz-image-region: rect(0 59px 29px 30px); +} + +#button-abdelete:hover:active { + -moz-image-region: rect(0 89px 29px 60px); +} + +#button-abdelete[disabled] { + -moz-image-region: rect(0 119px 29px 90px) !important; +} + +/* ::::: small primary toolbar buttons ::::: */ + +toolbar[iconsize="small"] > #button-newcard, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-newcard { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png"); + -moz-image-region: rect(40px 19px 59px 0); +} + +toolbar[iconsize="small"] > #button-newcard:hover { + -moz-image-region: rect(40px 39px 59px 20px); +} + +toolbar[iconsize="small"] > #button-newcard:hover:active { + -moz-image-region: rect(40px 59px 59px 40px); +} + +toolbar[iconsize="small"] > #button-newcard[disabled] { + -moz-image-region: rect(40px 79px 59px 60px) !important; +} + +toolbar[iconsize="small"] > #button-newlist, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-newlist { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png"); + -moz-image-region: rect(60px 19px 79px 0); +} + +toolbar[iconsize="small"] > #button-newlist:hover { + -moz-image-region: rect(60px 39px 79px 20px); +} + +toolbar[iconsize="small"] > #button-newlist:hover:active { + -moz-image-region: rect(60px 59px 79px 40px); +} + +toolbar[iconsize="small"] > #button-newlist[disabled] { + -moz-image-region: rect(60px 79px 79px 60px) !important; +} + +toolbar[iconsize="small"] > #button-editcard, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-editcard { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png"); + -moz-image-region: rect(20px 19px 39px 0); +} + +toolbar[iconsize="small"] > #button-editcard:hover { + -moz-image-region: rect(20px 39px 39px 20px); +} + +toolbar[iconsize="small"] > #button-editcard:hover:active { + -moz-image-region: rect(20px 59px 39px 40px); +} + +toolbar[iconsize="small"] > #button-editcard[disabled] { + -moz-image-region: rect(20px 79px 39px 60px) !important; +} + +toolbar[iconsize="small"] > #button-newmessage, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-newmessage { + list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); + -moz-image-region: rect(100px 19px 119px 0); +} + +toolbar[iconsize="small"] > #button-newmessage:hover { + -moz-image-region: rect(100px 39px 119px 20px); +} + +toolbar[iconsize="small"] > #button-newmessage:hover:active { + -moz-image-region: rect(100px 59px 119px 40px); +} + +toolbar[iconsize="small"] > #button-newmessage[disabled] { + -moz-image-region: rect(100px 79px 119px 60px) !important; +} + +toolbar[iconsize="small"] > #button-abdelete, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-abdelete { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png"); + -moz-image-region: rect(0 19px 19px 0); +} + +toolbar[iconsize="small"] > #button-abdelete:hover { + -moz-image-region: rect(0 39px 19px 20px); +} + +toolbar[iconsize="small"] > #button-abdelete:hover:active { + -moz-image-region: rect(0 59px 19px 40px); +} + +toolbar[iconsize="small"] > #button-abdelete[disabled] { + -moz-image-region: rect(0 79px 19px 60px) !important; +} + +#blankResultsPaneMessage { + font-style: italic; +} + +#localResultsOnlyMessage { + font-style: italic; + text-align: center; +} + +/* CardView styles - used in the Card View Pane */ + +#CardViewOuterBox { + border-left: 1px solid ThreeDShadow; + border-top: 1px solid ThreeDShadow; + border-right: 1px solid ThreeDHighlight; +} + +#CardViewBox { + -moz-user-focus: ignore; + overflow: auto; + min-width: 150px; + border-left: 1px solid ThreeDDarkShadow; + border-top: 1px solid ThreeDDarkShadow; + border-bottom: 1px solid ThreeDLightShadow; + border-right: 1px solid ThreeDLightShadow; + background-color: -moz-Field; + color: -moz-FieldText; +} + +#CardViewInnerBox { + margin-top: 2px; + margin-bottom: 2px; + padding: 0 8px; +} + +#CardTitle { + font-size: 150%; + font-weight: bold; + border-bottom: 2px solid -moz-FieldText; + min-width: 120px; + margin: 0px; +} + +.cardViewColumn { + margin-inline-end: 10px; +} + +.cardViewGroup { + margin-top: 8px; + padding-bottom: 5px; + min-width: 50px; +} + +.CardViewHeading { + padding: 1px; + padding-inline-start: 5px; + margin: 0px 0px 1px; + background-color: #CCCCFF; + color: black; + font-weight: bold; + min-width: 30px; +} + +#cvPhoto { + list-style-image: url("chrome://messenger/skin/addressbook/icons/contact-generic.png"); +} + +#cvBuddyIcon { + padding-inline-start: 20px; + padding-top: 2px; +} + +.CardViewText, +.CardViewLink { + padding-inline-start: 20px; + padding-inline-end: 2px; + min-width: 30px; + margin: 0px; +} + +.CardViewLink { + text-decoration: underline; + color: -moz-nativehyperlinktext; + cursor: pointer; +} + + +#cvHomeMapIt, #cvWorkMapIt { + margin-bottom: 0px; +} + +html|a { + padding-inline-start: 0px; + padding-inline-end: 2px; + border: none !important; +} + +html|p { + border: none !important; +} + +/* ::::: border adjustments ::::: */ + +#abResultsTree { + border-left: 1px solid ThreeDShadow; +} + +/* ::::: lightweight themes ::::: */ + +#CardViewOuterBox:-moz-lwtheme, +treecols:-moz-lwtheme { + text-shadow: none; + color: -moz-dialogtext; + background-color: -moz-dialog; +} diff --git a/comm/suite/themes/classic/messenger/addressbook/cardDialog.css b/comm/suite/themes/classic/messenger/addressbook/cardDialog.css new file mode 100644 index 0000000000..9d4d091024 --- /dev/null +++ b/comm/suite/themes/classic/messenger/addressbook/cardDialog.css @@ -0,0 +1,72 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/* ===== cardViewOverlay.css ============================================ + == Styles for the Address Book Card view. + ======================================================================= */ + +@import url("chrome://messenger/skin/messenger.css"); + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: Card Edit dialog ::::: */ + +.CardEditWidth { + width: 42ch; +} + +.CardEditLabel { + text-align: end; +} + +.PhoneEditWidth { + width: 24ch; +} + +.AddressCardEditWidth { + width: 72ch; +} + +.YearWidth { + width: 8ch; +} + +.stateZipSpacer { + width: 6ch; +} + +.ZipWidth { + width: 14ch; +} + +#photo { + list-style-image: url("chrome://messenger/skin/addressbook/icons/contact-generic.png"); +} + +#GenericPhotoList[value="default"] { + list-style-image: url("chrome://messenger/skin/addressbook/icons/contact-generic-tiny.png"); +} + +#PhotoContainer { + margin: 5px; +} + +#PhotoDropTarget { + margin-top: 5px; +} + +#PhotoDropTarget:hover { + border: 1px dashed #CACAFF; +} + +#ProgressContainer { + max-height: 0; + transition: all .5s ease-out; + overflow: hidden; +} + +#ProgressContainer.expanded { + margin-top: 10px; + max-height: 40px; /* something higher than the actual height, but not too large */ +} diff --git a/comm/suite/themes/classic/messenger/addressbook/icons/abcard.png b/comm/suite/themes/classic/messenger/addressbook/icons/abcard.png Binary files differnew file mode 100644 index 0000000000..7937bda57e --- /dev/null +++ b/comm/suite/themes/classic/messenger/addressbook/icons/abcard.png diff --git a/comm/suite/themes/classic/messenger/addressbook/icons/ablist.png b/comm/suite/themes/classic/messenger/addressbook/icons/ablist.png Binary files differnew file mode 100644 index 0000000000..a892125591 --- /dev/null +++ b/comm/suite/themes/classic/messenger/addressbook/icons/ablist.png diff --git a/comm/suite/themes/classic/messenger/addressbook/icons/addrbook.png b/comm/suite/themes/classic/messenger/addressbook/icons/addrbook.png Binary files differnew file mode 100644 index 0000000000..3eafea43c4 --- /dev/null +++ b/comm/suite/themes/classic/messenger/addressbook/icons/addrbook.png diff --git a/comm/suite/themes/classic/messenger/addressbook/icons/addressbookicons-small.png b/comm/suite/themes/classic/messenger/addressbook/icons/addressbookicons-small.png Binary files differnew file mode 100644 index 0000000000..9c6f2519e1 --- /dev/null +++ b/comm/suite/themes/classic/messenger/addressbook/icons/addressbookicons-small.png diff --git a/comm/suite/themes/classic/messenger/addressbook/icons/addressbookicons.png b/comm/suite/themes/classic/messenger/addressbook/icons/addressbookicons.png Binary files differnew file mode 100644 index 0000000000..782397570e --- /dev/null +++ b/comm/suite/themes/classic/messenger/addressbook/icons/addressbookicons.png diff --git a/comm/suite/themes/classic/messenger/addressbook/icons/contact-generic-tiny.png b/comm/suite/themes/classic/messenger/addressbook/icons/contact-generic-tiny.png Binary files differnew file mode 100644 index 0000000000..300c09e914 --- /dev/null +++ b/comm/suite/themes/classic/messenger/addressbook/icons/contact-generic-tiny.png diff --git a/comm/suite/themes/classic/messenger/addressbook/icons/contact-generic.png b/comm/suite/themes/classic/messenger/addressbook/icons/contact-generic.png Binary files differnew file mode 100644 index 0000000000..452f1cf655 --- /dev/null +++ b/comm/suite/themes/classic/messenger/addressbook/icons/contact-generic.png diff --git a/comm/suite/themes/classic/messenger/addressbook/icons/remote-addrbook-error.png b/comm/suite/themes/classic/messenger/addressbook/icons/remote-addrbook-error.png Binary files differnew file mode 100644 index 0000000000..ba79dbc4ca --- /dev/null +++ b/comm/suite/themes/classic/messenger/addressbook/icons/remote-addrbook-error.png diff --git a/comm/suite/themes/classic/messenger/addressbook/icons/remote-addrbook.png b/comm/suite/themes/classic/messenger/addressbook/icons/remote-addrbook.png Binary files differnew file mode 100644 index 0000000000..ea661f4a26 --- /dev/null +++ b/comm/suite/themes/classic/messenger/addressbook/icons/remote-addrbook.png diff --git a/comm/suite/themes/classic/messenger/addressbook/icons/secure-remote-addrbook.png b/comm/suite/themes/classic/messenger/addressbook/icons/secure-remote-addrbook.png Binary files differnew file mode 100644 index 0000000000..a7612cf489 --- /dev/null +++ b/comm/suite/themes/classic/messenger/addressbook/icons/secure-remote-addrbook.png diff --git a/comm/suite/themes/classic/messenger/addressbook/selectAddressesDialog.css b/comm/suite/themes/classic/messenger/addressbook/selectAddressesDialog.css new file mode 100644 index 0000000000..062cf13c44 --- /dev/null +++ b/comm/suite/themes/classic/messenger/addressbook/selectAddressesDialog.css @@ -0,0 +1,48 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/* ===== selectAddressesDialog.css ====================================== + == Styles for the Select Addresses Dialog. + ======================================================================= */ + +@import url("chrome://messenger/skin/messenger.css"); + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: Select Addresses dialog ::::: */ +#topBox { + padding: 0.5em 0 1.0em; +} + +#abResultsTree { + min-width: 10px; +} + +#resultsBox { + border: 1px solid #000000; +} + +#addToBucketButtonBox { + min-width: 10px; + padding: 0.3em; +} + +#addressBucket { + min-width: 10px; +} + +#newEditButtonBox { + padding-top: 0.5em; + padding-inline-end: 0px; + margin-inline-start: 0px; +} + +.middle-button-spacer { + width: 10px; +} + +.above-remove-spacer { + width: 10px; + height: 15px; +} diff --git a/comm/suite/themes/classic/messenger/addressbook/sidebarPanel.css b/comm/suite/themes/classic/messenger/addressbook/sidebarPanel.css new file mode 100644 index 0000000000..842fc33d26 --- /dev/null +++ b/comm/suite/themes/classic/messenger/addressbook/sidebarPanel.css @@ -0,0 +1,12 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/* ===== sidebarPanel.css =============================================== + == Styles for the Address Book sidebar panel. + ======================================================================= */ + +@import url("chrome://messenger/skin/addressbook/addressbook.css"); + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + |