adding new EarlyBlue skin, cleanup remains
[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 /*
53 #button-newcard:hover
54   {
55     list-style-image      : url("chrome://messenger/skin/addressbook/newcard-hover.gif");
56   } 
57
58 #button-newcard:hover:active
59   {
60     list-style-image      : url("chrome://messenger/skin/addressbook/newcard-hover-active.gif");
61   } 
62 */
63
64 #button-newlist {
65         list-style-image: url("chrome://messenger/skin/addressbook/newlist.gif");
66 }
67
68 #button-newlist[disabled="true"],
69 #button-newlist[disabled="true"]:hover,
70 #button-newlist[disabled="true"]:hover:active
71   {
72     list-style-image      : url("chrome://messenger/skin/addressbook/newlist-disabled.gif");
73   } 
74
75 /*
76 #button-newlist:hover
77   {
78     list-style-image      : url("chrome://messenger/skin/addressbook/newlist-hover.gif");
79   } 
80
81 #button-newlist:hover:active
82   {
83     list-style-image      : url("chrome://messenger/skin/addressbook/newlist-hover-active.gif");
84   } 
85 */
86
87 #button-editcard {
88         list-style-image:url("chrome://messenger/skin/addressbook/person.gif");
89 }
90
91 #button-editcard[disabled="true"],
92 #button-editcard[disabled="true"]:hover,
93 #button-editcard[disabled="true"]:hover:active
94   {
95     list-style-image      : url("chrome://messenger/skin/addressbook/person-disabled.gif");
96   } 
97
98 /*
99 #button-editcard:hover
100   {
101     list-style-image      : url("chrome://messenger/skin/addressbook/person-hover.gif");
102   } 
103
104 #button-editcard:hover:active
105   {
106     list-style-image      : url("chrome://messenger/skin/addressbook/person-hover-active.gif");
107   } 
108 */
109
110 #button-newmessage {
111         list-style-image:url("chrome://messenger/skin/addressbook/newmsg.gif");
112 }
113
114 #button-newmessage[disabled="true"],
115 #button-newmessage[disabled="true"]:hover,
116 #button-newmessage[disabled="true"]:hover:active
117   {
118     list-style-image      : url("chrome://messenger/skin/addressbook/newmsg-disabled.gif");
119   } 
120
121 /*
122 #button-newmessage:hover
123   {
124     list-style-image      : url("chrome://messenger/skin/addressbook/newmsg-hover.gif");
125   } 
126
127 #button-newmessage:hover:active
128   {
129     list-style-image      : url("chrome://messenger/skin/addressbook/newmsg-hover-active.gif");
130   }
131 */
132
133 #button-delete {
134         list-style-image:url("chrome://messenger/skin/addressbook/trash.gif");
135 }
136
137 #button-delete[disabled="true"],
138 #button-delete[disabled="true"]:hover,
139 #button-delete[disabled="true"]:hover:active
140   {
141     list-style-image      : url("chrome://messenger/skin/addressbook/trash-disabled.gif");
142   } 
143
144 /*
145 #button-delete:hover
146   {
147     list-style-image      : url("chrome://messenger/skin/addressbook/trash-hover.gif");
148   } 
149
150 #button-delete:hover:active
151   {
152     list-style-image      : url("chrome://messenger/skin/addressbook/trash-hover-active.gif");
153   } 
154 */
155
156 /* ::::: sidebar header ::::: */
157
158 sidebarheader {
159   border: 1px outset #CCD0DD;
160 }
161
162 #sidebar-title-box {
163   border: none;
164 }
165
166 /* CardView styles - used in the Card View Pane */
167
168 #CardViewOuterBox {
169 /*  border-left: 1px solid ThreeDShadow;
170   border-top: 1px solid ThreeDShadow;
171   border-right: 1px solid ThreeDHighlight; */
172 }
173
174 #CardViewBox {
175         -moz-user-focus: ignore;
176         overflow: auto;
177         min-width: 150px;
178         background-color: #CCD0DD;
179 }
180
181 #CardViewInnerBox {
182         margin-top: 2px;
183         margin-bottom: 2px;
184         padding-left: 8px;
185         padding-right: 8px;
186 }
187
188 #CardTitle {
189         font-size: 150%;
190         font-weight: bold;
191         border-bottom: 2px solid black;
192         min-width: 120px;
193         margin: 0px;
194 }
195  
196 .cardViewGroup {
197         margin-top: 8px;
198         padding-bottom: 5px;
199         min-width: 50px;
200 }
201
202 .CardViewHeading {
203         padding: 1px;
204         padding-left: 5px;
205         margin: 0px 0px 1px 0px;
206         background-color: #9999CC;
207         color: #FFFFFF;
208         font-weight: bold;
209         min-width: 30px;
210 }
211
212 .CardViewText {
213         padding-left: 20px;
214         padding-right: 2px;
215         min-width: 30px;
216         margin: 0px;
217 }
218
219 html|a {
220         padding-left: 0px;
221         padding-right: 2px;
222         border: none !important;
223 }
224
225 html|p {
226   border: none !important;
227 }
228
229 /* ::::: border adjustments ::::: */
230
231 #sidebar-box {
232 /*  border-top: none;
233   border-right: 1px solid ThreeDHighlight;
234   border-bottom: none;
235   border-left: 1px solid ThreeDShadow; */
236 }
237
238 #dirTree, #resultsTree { 
239   border: none;
240 }
241
242 #resultsTree {
243 /*  border-left: 1px solid ThreeDShadow; */
244 }