ce0731e8ac595c9628627299ee5b668774fc3063
[themes.git] / EarlyBlue / skin / EarlyBlue / messenger / addressbook / addressbook.css
1 /*
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/
6  *
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.
11  *
12  * The Original Code is Mozilla Communicator client code, released
13  * March 31, 1998.
14  *
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
18  * Rights Reserved.
19  *
20  * Contributor(s):
21  *   Joe Hewitt (hewitt@netscape.com)
22  */
23
24 /* ===== addressbook.css ================================================
25   == Styles for the main Address Book window.
26   ======================================================================= */
27
28 @import url("chrome://messenger/skin/");
29 @import url("chrome://communicator/skin/sidebar/sidebar.css");
30
31 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
32
33 /* :::::  addressbook image precaching ::::: */
34
35 #resource_bundle_addressbook {
36   -moz-binding: url("chrome://messenger/skin/addressbook/resources.xml#resource_bundle_addressbook");
37 }
38
39 /* ::::: primary toolbar buttons ::::: */
40
41 #button-newcard {
42         list-style-image:url("chrome://messenger/skin/addressbook/newcard.gif");
43 }
44
45 #button-newcard[disabled="true"],
46 #button-newcard[disabled="true"]:hover,
47 #button-newcard[disabled="true"]:hover:active
48   {
49     list-style-image      : url("chrome://messenger/skin/addressbook/newcard-disabled.gif");
50   } 
51
52 #button-newlist {
53         list-style-image: url("chrome://messenger/skin/addressbook/newlist.gif");
54 }
55
56 #button-newlist[disabled="true"],
57 #button-newlist[disabled="true"]:hover,
58 #button-newlist[disabled="true"]:hover:active
59   {
60     list-style-image      : url("chrome://messenger/skin/addressbook/newlist-disabled.gif");
61   } 
62
63 #button-editcard {
64         list-style-image:url("chrome://messenger/skin/addressbook/person.gif");
65 }
66
67 #button-editcard[disabled="true"],
68 #button-editcard[disabled="true"]:hover,
69 #button-editcard[disabled="true"]:hover:active
70   {
71     list-style-image      : url("chrome://messenger/skin/addressbook/person-disabled.gif");
72   } 
73
74 #button-newmessage {
75         list-style-image:url("chrome://messenger/skin/addressbook/newmsg.gif");
76 }
77
78 #button-newmessage[disabled="true"],
79 #button-newmessage[disabled="true"]:hover,
80 #button-newmessage[disabled="true"]:hover:active
81   {
82     list-style-image      : url("chrome://messenger/skin/addressbook/newmsg-disabled.gif");
83   } 
84
85 #button-delete {
86         list-style-image:url("chrome://messenger/skin/addressbook/trash.gif");
87 }
88
89 #button-delete[disabled="true"],
90 #button-delete[disabled="true"]:hover,
91 #button-delete[disabled="true"]:hover:active
92   {
93     list-style-image      : url("chrome://messenger/skin/addressbook/trash-disabled.gif");
94   } 
95
96 /* ::::: sidebar header ::::: */
97
98 sidebarheader {
99   border: 1px outset #CCD0DD;
100 }
101
102 #sidebar-title-box {
103   border: none;
104 }
105
106 /* CardView styles - used in the Card View Pane */
107
108 #CardViewOuterBox {
109 /*  border-left: 1px solid ThreeDShadow;
110   border-top: 1px solid ThreeDShadow;
111   border-right: 1px solid ThreeDHighlight; */
112 }
113
114 #CardViewBox {
115         -moz-user-focus: ignore;
116         overflow: auto;
117         min-width: 150px;
118         background-color: #CCD0DD;
119 }
120
121 #CardViewInnerBox {
122         margin-top: 2px;
123         margin-bottom: 2px;
124         padding-left: 8px;
125         padding-right: 8px;
126 }
127
128 #CardTitle {
129         font-size: 150%;
130         font-weight: bold;
131         border-bottom: 2px solid black;
132         min-width: 120px;
133         margin: 0px;
134 }
135  
136 .cardViewGroup {
137         margin-top: 8px;
138         padding-bottom: 5px;
139         min-width: 50px;
140 }
141
142 .CardViewHeading {
143         padding: 1px;
144         padding-left: 5px;
145         margin: 0px 0px 1px 0px;
146         background-color: #9999CC;
147         color: #FFFFFF;
148         font-weight: bold;
149         min-width: 30px;
150 }
151
152 .CardViewText,
153 .CardViewLink {
154         padding-left: 20px;
155         padding-right: 2px;
156         min-width: 30px;
157         margin: 0px;
158 }
159
160 .CardViewLink {
161         color: blue;
162         text-decoration: underline;
163         cursor: pointer;
164 }
165
166 html|a {
167         padding-left: 0px;
168         padding-right: 2px;
169         border: none !important;
170 }
171
172 html|p {
173   border: none !important;
174 }
175
176 /* ::::: border adjustments ::::: */
177
178 #sidebar-box {
179 /*  border-top: none;
180   border-right: 1px solid ThreeDHighlight;
181   border-bottom: none;
182   border-left: 1px solid ThreeDShadow; */
183 }
184
185 #dirTree, #resultsTree { 
186   border: none;
187   margin: 0px;
188 }
189
190 #resultsTree {
191 /*  border-left: 1px solid ThreeDShadow; */
192 }