diff options
Diffstat (limited to 'comm/suite/themes/modern/messenger/addressbook')
15 files changed, 384 insertions, 0 deletions
diff --git a/comm/suite/themes/modern/messenger/addressbook/abResultsPane.css b/comm/suite/themes/modern/messenger/addressbook/abResultsPane.css new file mode 100644 index 0000000000..740bcfa0a2 --- /dev/null +++ b/comm/suite/themes/modern/messenger/addressbook/abResultsPane.css @@ -0,0 +1,15 @@ +/* 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/person.png"); +} + +treechildren::-moz-tree-image(GeneratedName, MailList) { + list-style-image: url("chrome://messenger/skin/addressbook/icons/list.png"); +} + diff --git a/comm/suite/themes/modern/messenger/addressbook/addressPanes.css b/comm/suite/themes/modern/messenger/addressbook/addressPanes.css new file mode 100644 index 0000000000..a98952048c --- /dev/null +++ b/comm/suite/themes/modern/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 and address panes. + ======================================================================= */ + +@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/myaddrbk.png"); +} + +treechildren::-moz-tree-image(DirCol, IsMailList-true) { + list-style-image: url("chrome://messenger/skin/addressbook/icons/list.png"); +} + +treechildren::-moz-tree-image(DirCol, IsRemote-true) { + list-style-image: url("chrome://messenger/skin/addressbook/icons/directory.png"); +} + +treechildren::-moz-tree-image(DirCol, IsRemote-true, IsSecure-true) { + list-style-image: url("chrome://messenger/skin/addressbook/icons/secure-directory.png"); +} + +#dirTree [sortDirection="ascending"] { + list-style-image: none; +} + +#dirTree [sortDirection="descending"] { + list-style-image: none; +} diff --git a/comm/suite/themes/modern/messenger/addressbook/addressbook.css b/comm/suite/themes/modern/messenger/addressbook/addressbook.css new file mode 100644 index 0000000000..918dcbef69 --- /dev/null +++ b/comm/suite/themes/modern/messenger/addressbook/addressbook.css @@ -0,0 +1,200 @@ +/* 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"); + +/* ::::: primary toolbar masthead ::::: */ + +#ab-bar2 > .toolbar-holder > .toolbar-primary-icon { + background-image: url("chrome://messenger/skin/addressbook/icons/mast-ab.png"); +} + +/* ::::: primary toolbar buttons ::::: */ + +#button-newcard { + list-style-image: url("chrome://messenger/skin/icons/btn1.png"); + -moz-image-region: rect(476px 49px 509px 0); +} + +#button-newcard:hover { + -moz-image-region: rect(476px 99px 509px 50px); +} + +#button-newcard:hover:active { + -moz-image-region: rect(476px 149px 509px 100px); +} + +#button-newcard[disabled] { + -moz-image-region: rect(476px 199px 509px 150px) !important; +} + +#button-newlist { + list-style-image: url("chrome://messenger/skin/icons/btn1.png"); + -moz-image-region: rect(510px 49px 543px 0); +} + +#button-newlist:hover { + -moz-image-region: rect(510px 99px 543px 50px); +} + +#button-newlist:hover:active { + -moz-image-region: rect(510px 149px 543px 100px); +} + +#button-newlist[disabled] { + -moz-image-region: rect(510px 199px 543px 150px) !important; +} + +#button-editcard { + list-style-image: url("chrome://messenger/skin/icons/btn1.png"); + -moz-image-region: rect(442px 49px 475px 0); +} + +#button-editcard:hover { + -moz-image-region: rect(442px 99px 475px 50px); +} + +#button-editcard:hover:active { + -moz-image-region: rect(442px 149px 475px 100px); +} + +#button-editcard[disabled] { + -moz-image-region: rect(442px 199px 475px 150px) !important; +} + +#button-newmessage { + list-style-image: url("chrome://messenger/skin/icons/btn1.png"); + -moz-image-region: rect(170px 49px 203px 0); +} + + +#button-newmessage:hover { + -moz-image-region: rect(170px 99px 203px 50px); +} + +#button-newmessage:hover:active { + -moz-image-region: rect(170px 149px 203px 100px); +} + +#button-newmessage[disabled] { + -moz-image-region: rect(170px 199px 203px 150px) !important; +} + +#button-abdelete { + list-style-image: url("chrome://messenger/skin/icons/btn1.png"); + -moz-image-region: rect(408px 49px 441px 0); +} + +#button-abdelete:hover { + -moz-image-region: rect(408px 99px 441px 50px); +} + +#button-abdelete:hover:active { + -moz-image-region: rect(408px 149px 441px 100px); +} + +#button-abdelete[disabled] { + -moz-image-region: rect(408px 199px 441px 150px) !important; +} + +#blankResultsPaneMessage { + font-style: italic; +} + +#localResultsOnlyMessage { + font-style: italic; + text-align: center; +} + +/* ::::: Card View pane ::::: */ + +#CardViewBox { + -moz-user-focus: ignore; + min-width: 150px; + background-color: #EFEFEF; + overflow: auto; +} + +#CardViewInnerBox { + margin-top: 2px; + margin-bottom: 2px; + padding: 0 8px; +} + +#CardTitle { + margin: 0px; + border-bottom: 2px solid black; + min-width: 120px; + font-size: 150%; + font-weight: bold; + color: #000000; +} + +.cardViewColumn { + margin-inline-end: 10px; +} + +.cardViewGroup { + margin-top: 8px; + padding-bottom: 5px; + min-width: 50px; +} + +.CardViewHeading { + margin: 0px 0px 1px; + padding-top: 1px; + padding-bottom: 1px; + padding-inline-start: 5px; + padding-inline-end: 1px; + min-width: 30px; + background-color: #8E9EAA; + color: #ffffff; + font-weight: bold; +} + +#cvPhoto { + list-style-image: url("chrome://messenger/skin/addressbook/icons/contact-generic.png"); +} + +#cvBuddyIcon { + padding-inline-start: 20px; + padding-top: 2px; +} + +.CardViewText, +.CardViewLink { + margin: 0px; + padding-inline-end: 2px; + padding-inline-start: 20px; + min-width: 30px; + color: #000000; +} + +.CardViewLink { + color: blue; + text-decoration: underline; + cursor: pointer; +} + +#cvHomeMapIt, #cvWorkMapIt { + margin-inline-start: 3px; + margin-bottom: -1px; +} + +html|a { + border: none !important; + padding-inline-end: 2px; + padding-inline-start: 0px; +} + +html|p { + border: none !important; +} diff --git a/comm/suite/themes/modern/messenger/addressbook/cardDialog.css b/comm/suite/themes/modern/messenger/addressbook/cardDialog.css new file mode 100644 index 0000000000..9d4d091024 --- /dev/null +++ b/comm/suite/themes/modern/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/modern/messenger/addressbook/icons/contact-generic-tiny.png b/comm/suite/themes/modern/messenger/addressbook/icons/contact-generic-tiny.png Binary files differnew file mode 100644 index 0000000000..300c09e914 --- /dev/null +++ b/comm/suite/themes/modern/messenger/addressbook/icons/contact-generic-tiny.png diff --git a/comm/suite/themes/modern/messenger/addressbook/icons/contact-generic.png b/comm/suite/themes/modern/messenger/addressbook/icons/contact-generic.png Binary files differnew file mode 100644 index 0000000000..452f1cf655 --- /dev/null +++ b/comm/suite/themes/modern/messenger/addressbook/icons/contact-generic.png diff --git a/comm/suite/themes/modern/messenger/addressbook/icons/directory-down.png b/comm/suite/themes/modern/messenger/addressbook/icons/directory-down.png Binary files differnew file mode 100644 index 0000000000..13e8f1f793 --- /dev/null +++ b/comm/suite/themes/modern/messenger/addressbook/icons/directory-down.png diff --git a/comm/suite/themes/modern/messenger/addressbook/icons/directory.png b/comm/suite/themes/modern/messenger/addressbook/icons/directory.png Binary files differnew file mode 100644 index 0000000000..db549f2406 --- /dev/null +++ b/comm/suite/themes/modern/messenger/addressbook/icons/directory.png diff --git a/comm/suite/themes/modern/messenger/addressbook/icons/list.png b/comm/suite/themes/modern/messenger/addressbook/icons/list.png Binary files differnew file mode 100644 index 0000000000..7abc48d0cc --- /dev/null +++ b/comm/suite/themes/modern/messenger/addressbook/icons/list.png diff --git a/comm/suite/themes/modern/messenger/addressbook/icons/mast-ab.png b/comm/suite/themes/modern/messenger/addressbook/icons/mast-ab.png Binary files differnew file mode 100644 index 0000000000..139d884b34 --- /dev/null +++ b/comm/suite/themes/modern/messenger/addressbook/icons/mast-ab.png diff --git a/comm/suite/themes/modern/messenger/addressbook/icons/myaddrbk.png b/comm/suite/themes/modern/messenger/addressbook/icons/myaddrbk.png Binary files differnew file mode 100644 index 0000000000..9aa2816f28 --- /dev/null +++ b/comm/suite/themes/modern/messenger/addressbook/icons/myaddrbk.png diff --git a/comm/suite/themes/modern/messenger/addressbook/icons/person.png b/comm/suite/themes/modern/messenger/addressbook/icons/person.png Binary files differnew file mode 100644 index 0000000000..bd1456b017 --- /dev/null +++ b/comm/suite/themes/modern/messenger/addressbook/icons/person.png diff --git a/comm/suite/themes/modern/messenger/addressbook/icons/secure-directory.png b/comm/suite/themes/modern/messenger/addressbook/icons/secure-directory.png Binary files differnew file mode 100644 index 0000000000..f0a9e5e757 --- /dev/null +++ b/comm/suite/themes/modern/messenger/addressbook/icons/secure-directory.png diff --git a/comm/suite/themes/modern/messenger/addressbook/selectAddressesDialog.css b/comm/suite/themes/modern/messenger/addressbook/selectAddressesDialog.css new file mode 100644 index 0000000000..eeca2ef7fe --- /dev/null +++ b/comm/suite/themes/modern/messenger/addressbook/selectAddressesDialog.css @@ -0,0 +1,49 @@ +/* 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/modern/messenger/addressbook/sidebarPanel.css b/comm/suite/themes/modern/messenger/addressbook/sidebarPanel.css new file mode 100644 index 0000000000..842fc33d26 --- /dev/null +++ b/comm/suite/themes/modern/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"); + |