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