Bug 608966 - Make lightweight themes / personas work in the address book window. r+sr=Neil
authorJens Hatlak <jh@junetz.de>
Wed, 03 Nov 2010 13:23:14 +0100
changeset 6643 a1d081a1b45a03b43369ba7c7c3cf0d062e01dc9
parent 6642 656d8167f3a277aa05178f17f7a0740d57912984
child 6644 14c8a06940d6a4fbdbc6f12e8f7088a863f23223
push idunknown
push userunknown
push dateunknown
bugs608966
Bug 608966 - Make lightweight themes / personas work in the address book window. r+sr=Neil
suite/mailnews/addrbook/addressbook.xul
suite/themes/classic/messenger/addressbook/addressbook.css
--- a/suite/mailnews/addrbook/addressbook.xul
+++ b/suite/mailnews/addrbook/addressbook.xul
@@ -59,16 +59,18 @@
 ]>
 
 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     id="addressbookWindow"
     height="450"
     width="750"
     title="&addressbookWindow.title;"
+    lightweightthemes="true"
+    lightweightthemesfooter="status-bar"
     windowtype="mail:addressbook"
     persist="width height screenX screenY sizemode"
     toggletoolbar="true"
     onload="OnLoadAddressBook()"
     onunload="OnUnloadAddressBook()">
 
   <stringbundleset id="stringbundleset">
     <stringbundle id="bundle_addressBook" src="chrome://messenger/locale/addressbook/addressBook.properties"/>
--- a/suite/themes/classic/messenger/addressbook/addressbook.css
+++ b/suite/themes/classic/messenger/addressbook/addressbook.css
@@ -17,16 +17,17 @@
  * The Initial Developer of the Original Code is
  * Netscape Communications Corporation.
  * Portions created by the Initial Developer are Copyright (C) 1998-2001
  * the Initial Developer. All Rights Reserved.
  *
  * Contributor(s):
  *   Joe Hewitt (hewitt@netscape.com)
  *   Manuel Reimer (Manuel.Reimer@gmx.de)
+ *   Jens Hatlak (jh@junetz.de)
  *
  * Alternatively, the contents of this file may be used under the terms of
  * either of 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
  * under the terms of either the GPL or the LGPL, and not to allow others to
  * use your version of this file under the terms of the MPL, indicate your
@@ -239,8 +240,21 @@ html|p {
 #resultsTree { 
   border: none;
   margin: 0px !important;
 }
 
 #resultsTree {
   border-left: 1px solid ThreeDShadow;
 }
+
+/* ::::: lightweight themes ::::: */
+
+#CardViewOuterBox:-moz-lwtheme,
+treecols:-moz-lwtheme {
+  text-shadow: none;
+  color: -moz-dialogtext;
+  background-color: -moz-dialog;
+}
+
+#searchInput:-moz-lwtheme {
+  opacity: .8;
+}