keep EarlyBlue in sync with tree - mailnews CSS split
[themes.git] / EarlyBlue / messenger / skin / addressbook / addressbook.css
index 890c11b64c8628dccdaf150cd57252d46a535d87..2ae33e0c5247c3669fee3fb00cfd7be04dc03f28 100755 (executable)
-/*\r
-The contents of this file are subject to the Netscape Public\r
-License Version 1.1 (the "License"); you may not use this file\r
-except in compliance with the License. You may obtain a copy of\r
-the License at http://www.mozilla.org/NPL/\r
-\r
-Software distributed under the License is distributed on an "AS\r
-IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
-implied. See the License for the specific language governing\r
-rights and limitations under the License.\r
-\r
-The Original Code is Mozilla Communicator client code, released\r
-March 31, 1998.\r
-\r
-The Initial Developer of the Original Code is Netscape\r
-Communications Corporation. Portions created by Netscape are\r
- Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
-Rights Reserved.\r
-*/\r
\r
-@import url(chrome://communicator/skin/);\r
-\r
-@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */\r
-@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */\r
\r
-/* CardView styles - used in the Card View Pane*/\r
-\r
-#CardViewBox {\r
-/*     overflow: auto;*/\r
-       background-color: #CCD0DD;\r
-       min-width: 150px;\r
-       user-focus: ignore;\r
-}\r
-\r
-#CardViewInnerBox {\r
-       margin-top: 2px;\r
-       margin-bottom: 2px;\r
-       padding-left: 8px;\r
-       padding-right: 8px;\r
-}\r
-\r
-#CardTitle {\r
-       font-size: 150%;\r
-       font-weight: bold;\r
-       border-bottom: 2px solid black;\r
-       min-width: 120px;\r
-       margin: 0px;\r
-}\r
\r
-.cardViewGroup {\r
-       margin-top: 8px;\r
-       padding-bottom: 5px;\r
-       min-width: 50px;\r
-}\r
-\r
-[class="CardViewHeading"] {\r
-       padding: 1px;\r
-       padding-left: 5px;\r
-       margin: 0px 0px 1px 0px;\r
-       background-color: #9999CC;\r
-       color: white;\r
-       font-weight: bold;\r
-       min-width: 30px;\r
-}\r
-\r
-[class="CardViewText"] {\r
-       padding-left: 20px;\r
-       padding-right: 2px;\r
-       min-width: 30px;\r
-       margin: 0px;\r
-}\r
-\r
-html|a[class="CardViewText"] {\r
-       padding-left: 20px;\r
-       padding-right: 2px;\r
-       min-width: 30px;\r
-}\r
-\r
-\r
-/* CardEdit styles - used in the Card Edit Dialog */\r
-\r
-[class="CardEditWidth"] {\r
-       width: 25em;\r
-}\r
-\r
-[class="CardEditLabel"] {\r
-       padding: 0px;\r
-       margin-top: 3px;\r
-}\r
-\r
-[class="alignBoxWithFieldset"] {\r
-       margin-left: 6px;\r
-       margin-right: 5px;\r
-}\r
-\r
-.stateZipSpacer { width: 3em; }\r
-\r
-\r
-/* Custom Trees */\r
-\r
-tree { \r
-       border-left: 1px solid transparent;\r
-}\r
-\r
-#headRow > treecell {\r
-       background-color: #CCD0DD;\r
-        border: 1px outset #CCD0DD;\r
-}\r
-\r
-treeitem[selected="true"] > treerow { \r
-/*     color: black;\r
-       background-color: #CCD0DD; */\r
-}\r
-\r
-tree[class="abDirectory"] treeitem > treerow > treecell > .tree-icon {\r
-       list-style-image: url("chrome://messenger/skin/addressbook/myaddrbk.gif");\r
-}\r
-\r
-tree[class="abResults"] treeitem > treerow > treecell.cardicon {\r
-       list-style-image: url("chrome://messenger/skin/addressbook/person.gif");\r
-       height: 14px;\r
-       min-height: 14px;\r
-}\r
-\r
-\r
-/* Address Book specific style */\r
-\r
-#results_box {\r
-       border-left: 8px solid #CCD0DD;\r
-}\r
\r
-[hide] {\r
-  visibility: collapse;\r
-}\r
-\r
-#button-newcard {\r
-       list-style-image:url("chrome://messenger/skin/addressbook/newcard.gif");\r
-}\r
-\r
-#button-newcard[disabled="true"] {\r
-       list-style-image:url("chrome://messenger/skin/addressbook/newcard_dis.gif");\r
-}\r
-\r
-#button-newlist {\r
-       list-style-image:url("chrome://messenger/skin/addressbook/newlist.gif");\r
-}\r
-\r
-#button-newlist[disabled="true"] {\r
-       list-style-image:url("chrome://messenger/skin/addressbook/newlist_dis.gif");\r
-}\r
-\r
-#button-editcard {\r
-       list-style-image:url("chrome://messenger/skin/addressbook/edit.gif");\r
-}\r
-\r
-#button-editcard[disabled="true"] {\r
-       list-style-image:url("chrome://messenger/skin/addressbook/edit_dis.gif");\r
-}\r
-\r
-#button-newmessage {\r
-       list-style-image:url("chrome://messenger/skin/addressbook/newmsgab.gif");\r
-}\r
-\r
-#button-newmessage[disabled="true"] {\r
-       list-style-image:url("chrome://messenger/skin/addressbook/newmsgab_dis.gif");\r
-}\r
-\r
-#button-delete {\r
-       list-style-image:url("chrome://messenger/skin/addressbook/trash.gif") !important;\r
-}\r
-\r
-#button-delete[disabled="true"] {\r
-       list-style-image:url("chrome://messenger/skin/addressbook/trash_dis.gif") !important;\r
-}\r
-\r
-#button-stop {\r
-       list-style-image:url("chrome://global/skin/stop.gif");\r
-}\r
-\r
-#button-stop[disabled="true"] {\r
-       list-style-image:url("chrome://global/skin/stop_dis.gif");\r
-}\r
-\r
-#button-search {\r
-       list-style-image:url("chrome://global/skin/search.gif");\r
-}\r
-\r
-#button-search[disabled="true"] {\r
-       list-style-image:url("chrome://global/skin/search_dis.gif");\r
-}\r
-\r
-#searchlabel {\r
-       padding: 0px;\r
-       padding-left: 5px;\r
-       padding-bottom:2px;\r
-       white-space: nowrap;\r
-       font-size: smaller;\r
-       min-width: 20px;\r
-}\r
-\r
-#searchtext {\r
-       min-width: 20px;\r
-       padding: 0px;\r
-}\r
-\r
-treeitem[empty="true"] > treerow > treecell > .tree-cell-twisty {               \r
-                                                                                                                                               \r
-  list-style-image: none !important;                                             \r
-                                                                                                                                               \r
-}    \r
+/*
+ * 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");
+
+/* :::::  addressbook image precaching ::::: */
+#resource_bundle_addressbook {
+  -moz-binding: url("chrome://messenger/skin/addressbook/resources.xml#resource_bundle_addressbook");
+
+/* ::::: primary toolbar buttons ::::: */
+
+#button-newcard {
+       list-style-image:url("chrome://messenger/skin/addressbook/newcard.gif");
+}
+
+#button-newcard[disabled="true"] {
+       list-style-image:url("chrome://messenger/skin/addressbook/newcard_dis.gif");
+}
+
+#button-newlist {
+       list-style-image:url("chrome://messenger/skin/addressbook/newlist.gif");
+}
+
+#button-newlist[disabled="true"] {
+       list-style-image:url("chrome://messenger/skin/addressbook/newlist_dis.gif");
+}
+
+#button-editcard {
+       list-style-image:url("chrome://messenger/skin/addressbook/edit.gif");
+}
+
+#button-editcard[disabled="true"] {
+       list-style-image:url("chrome://messenger/skin/addressbook/edit_dis.gif");
+}
+
+#button-newmessage {
+       list-style-image:url("chrome://messenger/skin/addressbook/newmsgab.gif");
+}
+
+#button-newmessage[disabled="true"] {
+       list-style-image:url("chrome://messenger/skin/addressbook/newmsgab_dis.gif");
+}
+
+#button-delete {
+       list-style-image:url("chrome://messenger/skin/addressbook/trash.gif") !important;
+}
+
+#button-delete[disabled="true"] {
+       list-style-image:url("chrome://messenger/skin/addressbook/trash_dis.gif") !important;
+}
+
+
+/* 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;
+}
+
+.CardViewHeading {
+       padding: 1px;
+       padding-left: 5px;
+       margin: 0px 0px 1px 0px;
+       background-color: #9999CC;
+       color: white;
+       font-weight: bold;
+       min-width: 30px;
+}
+
+.CardViewText {
+       padding-left: 20px;
+       padding-right: 2px;
+       min-width: 30px;
+       margin: 0px;
+}
+
+html|a {
+       padding-left: 0px;
+       padding-right: 2px;
+       border: 0px !important;
+}
+
+html|p {
+    border: none !important;
+}
+
+/* ::::: border adjustments ::::: */
+
+#sidebar-box {
+  border: none;
+}
+
+#dirTree { // Tree that lists different Address Books
+  min-width               : 10px;
+  border     : none;
+}
+
+#dirTreeBox {
+  border          : none;
+}
+
+#dirTree[type="dialog"] {
+}
+
+#resultsTree {
+  border-top        : none;
+  border-bottom     : none;
+}