2 * The contents of this file are subject to the Netscape Public
3 * License Version 1.1 (the "License"); you may not use this file
4 * except in compliance with the License. You may obtain a copy of
5 * the License at http://www.mozilla.org/NPL/
7 * Software distributed under the License is distributed on an "AS
8 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9 * implied. See the License for the specific language governing
10 * rights and limitations under the License.
12 * The Original Code is Mozilla Communicator client code, released
15 * The Initial Developer of the Original Code is Netscape
16 * Communications Corporation. Portions created by Netscape are
17 * Copyright (C) 1998-2001 Netscape Communications Corporation. All
21 * Joe Hewitt (hewitt@netscape.com)
24 /* ===== addressbook.css ================================================
25 == Styles for the main Address Book window.
26 ======================================================================= */
28 @import url(chrome://communicator/skin/);
30 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
32 /* ::::: addressbook image precaching ::::: */
33 #resource_bundle_addressbook {
34 -moz-binding: url("chrome://messenger/skin/addressbook/resources.xml#resource_bundle_addressbook");
36 /* ::::: primary toolbar buttons ::::: */
39 list-style-image:url("chrome://messenger/skin/addressbook/newcard.gif");
42 #button-newcard[disabled="true"] {
43 list-style-image:url("chrome://messenger/skin/addressbook/newcard_dis.gif");
47 list-style-image:url("chrome://messenger/skin/addressbook/newlist.gif");
50 #button-newlist[disabled="true"] {
51 list-style-image:url("chrome://messenger/skin/addressbook/newlist_dis.gif");
55 list-style-image:url("chrome://messenger/skin/addressbook/edit.gif");
58 #button-editcard[disabled="true"] {
59 list-style-image:url("chrome://messenger/skin/addressbook/edit_dis.gif");
63 list-style-image:url("chrome://messenger/skin/addressbook/newmsgab.gif");
66 #button-newmessage[disabled="true"] {
67 list-style-image:url("chrome://messenger/skin/addressbook/newmsgab_dis.gif");
71 list-style-image:url("chrome://messenger/skin/addressbook/trash.gif") !important;
74 #button-delete[disabled="true"] {
75 list-style-image:url("chrome://messenger/skin/addressbook/trash_dis.gif") !important;
79 /* CardView styles - used in the Card View Pane*/
83 background-color: #CCD0DD;
98 border-bottom: 2px solid black;
112 margin: 0px 0px 1px 0px;
113 background-color: #9999CC;
129 border: 0px !important;
133 border: none !important;
136 /* ::::: border adjustments ::::: */
142 #dirTree { // Tree that lists different Address Books
151 #dirTree[type="dialog"] {
156 border-bottom : none;