/*
-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.
-*/
+ * 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-2001 Netscape Communications Corporation. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Joe Hewitt (hewitt@netscape.com)
+ */
+
+/* ===== addressbook.css ================================================
+ == Styles for the main Address Book window.
+ ======================================================================= */
@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/1999/xhtml"); /* namespace for XUL elements */
-
-/* CardView styles - used in the Card View Pane*/
-
-#CardViewBox {
-/* overflow: auto;*/
- background-color: #CCD0DD;
- 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: #9999CC;
- color: white;
- 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;
-}
-
-html|p {
- border: none !important;
-}
-
-[hide] {
- visibility: collapse;
-}
-
-/* CardEdit styles - used in the Card Edit Dialog */
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-[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;
-}
+/* ::::: addressbook image precaching ::::: */
+#resource_bundle_addressbook {
+ -moz-binding: url("chrome://messenger/skin/addressbook/resources.xml#resource_bundle_addressbook");
-#headRow > treecell {
- background-color: #CCD0DD;
- border: 1px outset #CCD0DD;
-}
-
-treeitem[selected="true"] > treerow {
-/* color: black;
- background-color: #CCD0DD; */
-}
-
-tree[class="abDirectory"] treeitem > treerow > treecell > .tree-cell-primary-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;
-}
-
-treeitem[empty="true"] > treerow > treecell > .tree-cell-twisty {
- list-style-image: none !important;
- padding-left: 12px;
-}
-
-/* Address Book specific style */
-
-#results_box {
- border-left: 8px solid #CCD0DD;
-}
-
-/* Toolbar buttons */
+/* ::::: primary toolbar buttons ::::: */
#button-newcard {
list-style-image:url("chrome://messenger/skin/addressbook/newcard.gif");
list-style-image:url("chrome://messenger/skin/addressbook/trash_dis.gif") !important;
}
-#searchlabel {
- padding: 0px;
- padding-left: 5px;
- padding-bottom:2px;
- white-space: nowrap;
- font-size: smaller;
- min-width: 20px;
+
+/* CardView styles - used in the Card View Pane*/
+
+#CardViewBox {
+/* overflow: auto;*/
+ background-color: #CCD0DD;
+ min-width: 150px;
+ user-focus: ignore;
}
-#searchtext {
- min-width: 20px;
- padding: 0px;
+#CardViewInnerBox {
+ margin-top: 2px;
+ margin-bottom: 2px;
+ padding-left: 8px;
+ padding-right: 8px;
}
-/* ==FOR abSelectAddressesDialog.xul =======*/
+#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;
+}
-#3PaneBox {
+.CardViewHeading {
+ padding: 1px;
+ padding-left: 5px;
+ margin: 0px 0px 1px 0px;
+ background-color: #9999CC;
+ color: white;
+ font-weight: bold;
+ min-width: 30px;
}
-#dirTreeBox {
- width : 180px;
- height : 100%;
-/* background-color : window; */
- border : none;
+.CardViewText {
+ padding-left: 20px;
+ padding-right: 2px;
+ min-width: 30px;
+ margin: 0px;
}
-/* -note- #dirTree#resultsTree is shared with addressbook.xul */
+html|a {
+ padding-left: 0px;
+ padding-right: 2px;
+ border: 0px !important;
+}
-#sidebar-box {
- border: none;
+html|p {
+ border: none !important;
}
-tree > treehead > treerow {
+/* ::::: border adjustments ::::: */
+
+#sidebar-box {
border: none;
}
}
#dirTreeBox {
- border : none;
+ border : none;
}
#dirTree[type="dialog"] {
border-top : none;
border-bottom : none;
}
-
-#results-bucket-tree-box {
-}
-
-#resultsTreeBox {
- background-color: window;
-}
-
-#vertical-splitter {
- min-width : 4px;
-}
-
-#addToBucketButtonBox { // Row of "To" "CC" and "Bcc" buttons
- padding : 0.3em;
- min-width : 10px;
- border-top: 1px solid ThreeDHighlight;
-}
-
-#bucketBox {
- height : 170px;
-}
-
-#addressBucket {
- height : 100px;
- min-width : 10px;
-}
-
-#rightColumnButtonBox { // Column with "New", "Edit" and "Remove" buttons
- padding : .5em;
- padding-right : 0px;
-}
-
-.3rd-column-spring { // Vertical Springs between 3rd column buttons
- height : 10px;
-}
-
-.middle-button-spring { // Springs between To, CC, and BCC buttons
- width : 10px;
-}
-
-#bucket-splitter {
- border: none;
- min-height: 4px;
-}
-
-#sidebar-panels-splitter {
- border-top : none;
-}
-
-
-
-