update both themes for suite default changes up to 2010-12-03
[themes.git] / EarlyBlue / messenger / addressbook / addressbook.css
index 0abe47c46bdc38581bb1b07e04d563704e539f09..5bf72e07c7020e77f4b44df0c3a9008697a00912 100644 (file)
@@ -13,7 +13,7 @@
  *
  * The Original Code is mozilla.org code.
  *
- * The Initial Developer of the Original Code is 
+ * The Initial Developer of the Original Code is
  * Netscape Communications Corporation.
  * Portions created by the Initial Developer are Copyright (C) 1998
  * the Initial Developer. All Rights Reserved.
@@ -23,7 +23,7 @@
  *   Robert Kaiser <KaiRo@KaiRo.at>
  *
  * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or 
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  * in which case the provisions of the GPL or the LGPL are applicable instead
  * of those above. If you wish to allow use of your version of this file only
   ======================================================================= */
 
 @import url("chrome://messenger/skin/");
-@import url("chrome://communicator/skin/sidebar/sidebar.css");
 
 @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");
-}
+@namespace html url("http://www.w3.org/1999/xhtml");
 
 /* ::::: primary toolbar buttons ::::: */
 
 #button-newcard {
-       list-style-image:url("chrome://messenger/skin/addressbook/newcard.gif");
+  list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
+  -moz-image-region: rect(42px 25px 63px 0px);
 }
 
-#button-newcard[disabled="true"],
-#button-newcard[disabled="true"]:hover,
-#button-newcard[disabled="true"]:hover:active
-  {
-    list-style-image      : url("chrome://messenger/skin/addressbook/newcard-disabled.gif");
-  } 
+#button-newcard[disabled="true"] {
+  -moz-image-region: rect(42px 50px 63px 25px);
+}
 
 #button-newlist {
-       list-style-image: url("chrome://messenger/skin/addressbook/newlist.gif");
+  list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
+  -moz-image-region: rect(63px 25px 84px 0px);
 }
 
-#button-newlist[disabled="true"],
-#button-newlist[disabled="true"]:hover,
-#button-newlist[disabled="true"]:hover:active
-  {
-    list-style-image      : url("chrome://messenger/skin/addressbook/newlist-disabled.gif");
-  } 
+#button-newlist[disabled="true"] {
+  -moz-image-region: rect(63px 50px 84px 25px);
+}
 
 #button-editcard {
-       list-style-image:url("chrome://messenger/skin/addressbook/person.gif");
+  list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
+  -moz-image-region: rect(21px 25px 42px 0px);
 }
 
-#button-editcard[disabled="true"],
-#button-editcard[disabled="true"]:hover,
-#button-editcard[disabled="true"]:hover:active
-  {
-    list-style-image      : url("chrome://messenger/skin/addressbook/person-disabled.gif");
-  } 
+#button-editcard[disabled="true"] {
+  -moz-image-region: rect(21px 50px 42px 25px);
+}
 
 #button-newmessage {
-       list-style-image:url("chrome://messenger/skin/addressbook/newmsg.gif");
+  list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+  -moz-image-region: rect(105px 25px 126px 0px);
 }
 
-#button-newmessage[disabled="true"],
-#button-newmessage[disabled="true"]:hover,
-#button-newmessage[disabled="true"]:hover:active
-  {
-    list-style-image      : url("chrome://messenger/skin/addressbook/newmsg-disabled.gif");
-  } 
-
-#button-delete {
-       list-style-image:url("chrome://messenger/skin/addressbook/trash.gif");
+#button-newmessage[disabled="true"] {
+  -moz-image-region: rect(105px 50px 126px 25px);
 }
 
-#button-delete[disabled="true"],
-#button-delete[disabled="true"]:hover,
-#button-delete[disabled="true"]:hover:active
-  {
-    list-style-image      : url("chrome://messenger/skin/addressbook/trash-disabled.gif");
-  } 
+#button-newim {
+  list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
+  -moz-image-region: rect(84px 25px 105px 0px);
+}
 
-/* ::::: sidebar header ::::: */
+#button-newim[disabled="true"] {
+  -moz-image-region: rect(84px 25px 105px 0px);
+}
 
-sidebarheader {
-  border: 1px outset #CCD0DD;
+#button-abdelete {
+  list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
+  -moz-image-region: rect(0px 25px 21px 0px);
 }
 
-#sidebar-title-box {
-  border: none;
+#button-abdelete[disabled="true"] {
+  -moz-image-region: rect(0px 50px 21px 25px);
 }
 
 /* CardView styles - used in the Card View Pane */
@@ -127,61 +110,70 @@ sidebarheader {
 }
 
 #CardViewBox {
-       -moz-user-focus: ignore;
-       overflow: auto;
-       min-width: 150px;
-       background-color: #CCD0DD;
+  -moz-user-focus: ignore;
+  overflow: auto;
+  min-width: 150px;
+  background-color: #CCD0DD;
 }
 
 #CardViewInnerBox {
-       margin-top: 2px;
-       margin-bottom: 2px;
-       padding-left: 8px;
-       padding-right: 8px;
+  margin-top: 2px;
+  margin-bottom: 2px;
+  -moz-padding-start: 8px;
+  -moz-padding-end: 8px;
 }
 
 #CardTitle {
-       font-size: 150%;
-       font-weight: bold;
-       border-bottom: 2px solid black;
-       min-width: 120px;
-       margin: 0px;
+  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;
+  margin-top: 8px;
+  padding-bottom: 5px;
+  min-width: 50px;
 }
 
 .CardViewHeading {
-       padding: 1px;
-       padding-left: 5px;
-       margin: 0px 0px 1px 0px;
-       background-color: #9999CC;
-       color: #FFFFFF;
-       font-weight: bold;
-       min-width: 30px;
+  padding: 1px;
+  -moz-padding-start: 5px;
+  margin: 0 0 1px;
+  background-color: #9999CC;
+  color: #FFFFFF;
+  font-weight: bold;
+  min-width: 30px;
+}
+
+#cvBuddyIcon {
+  -moz-padding-start: 20px;
+  padding-top: 2px;
 }
 
 .CardViewText,
 .CardViewLink {
-       padding-left: 20px;
-       padding-right: 2px;
-       min-width: 30px;
-       margin: 0px;
+  -moz-padding-start: 20px;
+  -moz-padding-end: 2px;
+  min-width: 30px;
+  margin: 0px;
 }
 
 .CardViewLink {
-       color: blue;
-       text-decoration: underline;
-       cursor: pointer;
+  color: blue;
+  text-decoration: underline;
+  cursor: pointer;
+}
+
+#cvHomeMapIt, #cvWorkMapIt {
+  margin-bottom: 0px;
 }
 
 html|a {
-       padding-left: 0px;
-       padding-right: 2px;
-       border: none !important;
+  -moz-padding-start: 0px;
+  -moz-padding-end: 2px;
+  border: none !important;
 }
 
 html|p {
@@ -190,19 +182,15 @@ html|p {
 
 /* ::::: border adjustments ::::: */
 
-#sidebar-box {
-/*  border-top: none;
-  border-right: 1px solid ThreeDHighlight;
-  border-bottom: none;
-  border-left: 1px solid ThreeDShadow; */
+#abResultsTree {
+/*  border-left: 1px solid ThreeDShadow; */
 }
 
-#dirTree, #resultsTree { 
-  border: none;
-  margin: 0px;
-}
+/* ::::: lightweight themes ::::: */
 
-#resultsTree {
-/*  border-left: 1px solid ThreeDShadow; */
+#CardViewOuterBox:-moz-lwtheme,
+treecols:-moz-lwtheme {
+  text-shadow: none;
+  /* color: -moz-dialogtext;
+  background-color: -moz-dialog; */
 }
-