bd0fcaa8 |
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-1999 Netscape Communications Corporation. All |
18 | Rights Reserved. |
19 | */ |
20 | |
21 | @import url(chrome://communicator/skin/); |
22 | |
23 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */ |
24 | @namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */ |
25 | |
26 | /* CardView styles - used in the Card View Pane*/ |
27 | |
28 | #CardViewBox { |
29 | /* overflow: auto;*/ |
30 | background-color: #000000; |
31 | min-width: 150px; |
32 | -moz-user-focus: ignore; |
33 | } |
34 | |
35 | #CardViewInnerBox { |
36 | margin-top: 2px; |
37 | margin-bottom: 2px; |
38 | padding-left: 8px; |
39 | padding-right: 8px; |
40 | } |
41 | |
42 | #CardTitle { |
43 | font-size: 150%; |
44 | font-weight: bold; |
45 | border-bottom: 2px solid #6000CF; |
46 | min-width: 120px; |
47 | margin: 0px; |
48 | } |
49 | |
50 | .cardViewGroup { |
51 | margin-top: 8px; |
52 | padding-bottom: 5px; |
53 | min-width: 50px; |
54 | } |
55 | |
56 | [class="CardViewHeading"] { |
57 | padding: 1px; |
58 | padding-left: 5px; |
59 | margin: 0px 0px 1px 0px; |
60 | background-color: #008484; |
61 | color: #000000; |
62 | font-weight: bold; |
63 | min-width: 30px; |
64 | } |
65 | |
66 | [class="CardViewText"] { |
67 | padding-left: 20px; |
68 | padding-right: 2px; |
69 | min-width: 30px; |
70 | margin: 0px; |
71 | } |
72 | |
73 | html|a[class="CardViewText"] { |
74 | padding-left: 20px; |
75 | padding-right: 2px; |
76 | min-width: 30px; |
77 | } |
78 | |
c9990331 |
79 | html|p { |
80 | border: none !important; |
81 | } |
82 | |
83 | [hide] { |
84 | visibility: collapse; |
85 | } |
86 | |
bd0fcaa8 |
87 | |
88 | /* CardEdit styles - used in the Card Edit Dialog */ |
89 | |
90 | [class="CardEditWidth"] { |
91 | width: 25em; |
92 | } |
93 | |
94 | [class="CardEditLabel"] { |
95 | padding: 0px; |
96 | margin-top: 3px; |
97 | } |
98 | |
99 | [class="alignBoxWithFieldset"] { |
100 | margin-left: 6px; |
101 | margin-right: 5px; |
102 | } |
103 | |
104 | .stateZipSpacer { width: 3em; } |
105 | |
106 | |
107 | /* Custom Trees */ |
108 | |
109 | tree { |
110 | border-left: 1px solid transparent; |
111 | } |
112 | |
113 | #headRow > treecell { |
114 | background-color: #9C9CFF; |
115 | border-right: 1px solid black; |
116 | } |
117 | |
118 | treeitem[selected="true"] > treerow { |
119 | /* color: black; |
120 | background-color: #CCCCDD; */ |
121 | } |
122 | |
c9990331 |
123 | tree[class="abDirectory"] treeitem > treerow > treecell > .tree-cell-primary-icon { |
bd0fcaa8 |
124 | list-style-image: url("chrome://messenger/skin/addressbook/myaddrbk.gif"); |
125 | } |
126 | |
127 | tree[class="abResults"] treeitem > treerow > treecell.cardicon { |
128 | list-style-image: url("chrome://messenger/skin/addressbook/person.gif"); |
129 | height: 14px; |
130 | min-height: 14px; |
131 | } |
132 | |
c9990331 |
133 | treeitem[empty="true"] > treerow > treecell > .tree-cell-twisty { |
134 | list-style-image: none !important; |
135 | padding-left: 12px; |
136 | } |
bd0fcaa8 |
137 | |
138 | /* Address Book specific style */ |
139 | |
140 | #results_box { |
141 | border-left: 8px solid #CCCCDD; |
142 | } |
c9990331 |
143 | |
144 | /* Toolbar buttons */ |
bd0fcaa8 |
145 | |
146 | #button-newcard { |
147 | list-style-image:url("chrome://messenger/skin/addressbook/newcard.gif"); |
148 | } |
149 | |
150 | #button-newcard:hover { |
151 | list-style-image:url("chrome://messenger/skin/addressbook/newcard-hover.gif"); |
152 | } |
153 | |
154 | #button-newcard[disabled="true"] { |
155 | list-style-image:url("chrome://messenger/skin/addressbook/newcard_dis.gif"); |
156 | } |
157 | |
158 | #button-newlist { |
159 | list-style-image:url("chrome://messenger/skin/addressbook/newlist.gif"); |
160 | } |
161 | |
162 | #button-newlist:hover { |
163 | list-style-image:url("chrome://messenger/skin/addressbook/newlist-hover.gif"); |
164 | } |
165 | |
166 | #button-newlist[disabled="true"] { |
167 | list-style-image:url("chrome://messenger/skin/addressbook/newlist_dis.gif"); |
168 | } |
169 | |
170 | #button-editcard { |
171 | list-style-image:url("chrome://messenger/skin/addressbook/edit.gif"); |
172 | } |
173 | |
174 | #button-editcard:hover { |
175 | list-style-image:url("chrome://messenger/skin/addressbook/edit-hover.gif"); |
176 | } |
177 | |
178 | #button-editcard[disabled="true"] { |
179 | list-style-image:url("chrome://messenger/skin/addressbook/edit_dis.gif"); |
180 | } |
181 | |
182 | #button-newmessage { |
183 | list-style-image:url("chrome://messenger/skin/addressbook/newmsgab.gif"); |
184 | } |
185 | |
186 | #button-newmessage:hover { |
187 | list-style-image:url("chrome://messenger/skin/addressbook/newmsgab-hover.gif"); |
188 | } |
189 | |
190 | #button-newmessage[disabled="true"] { |
191 | list-style-image:url("chrome://messenger/skin/addressbook/newmsgab_dis.gif"); |
192 | } |
193 | |
194 | #button-delete { |
195 | list-style-image:url("chrome://messenger/skin/addressbook/trash.gif"); |
196 | } |
197 | |
198 | #button-delete:hover { |
199 | list-style-image:url("chrome://messenger/skin/addressbook/trash-hover.gif"); |
200 | } |
201 | |
202 | #button-delete[disabled="true"] { |
203 | list-style-image:url("chrome://messenger/skin/addressbook/trash_dis.gif"); |
204 | } |
205 | |
206 | /* |
207 | #button-delete { |
208 | list-style-image:url("chrome://messenger/skin/addressbook/trash.gif") !important; |
209 | } |
210 | |
211 | #button-delete:hover { |
212 | list-style-image:url("chrome://messenger/skin/addressbook/trash-hover.gif") !important; |
213 | } |
214 | |
215 | #button-delete[disabled="true"] { |
216 | list-style-image:url("chrome://messenger/skin/addressbook/trash_dis.gif") !important; |
217 | } |
218 | */ |
219 | |
c9990331 |
220 | #searchlabel { |
221 | padding: 0px; |
222 | padding-left: 5px; |
223 | padding-bottom:2px; |
224 | white-space: nowrap; |
225 | font-size: smaller; |
226 | min-width: 20px; |
bd0fcaa8 |
227 | } |
228 | |
c9990331 |
229 | #searchtext { |
230 | min-width: 20px; |
231 | padding: 0px; |
bd0fcaa8 |
232 | } |
233 | |
c9990331 |
234 | +/* ==FOR abSelectAddressesDialog.xul =======*/ |
235 | |
236 | #3PaneBox { |
bd0fcaa8 |
237 | } |
238 | |
c9990331 |
239 | #dirTreeBox { |
240 | width : 180px; |
241 | height : 100%; |
242 | /* background-color : window; */ |
243 | border : none; |
bd0fcaa8 |
244 | } |
245 | |
c9990331 |
246 | /* -note- #dirTree#resultsTree is shared with addressbook.xul */ |
247 | |
248 | #sidebar-box { |
249 | border: none; |
bd0fcaa8 |
250 | } |
251 | |
c9990331 |
252 | tree > treehead > treerow { |
253 | border: none; |
bd0fcaa8 |
254 | } |
255 | |
c9990331 |
256 | #dirTree { // Tree that lists different Address Books |
257 | min-width : 10px; |
258 | border : none; |
bd0fcaa8 |
259 | } |
c9990331 |
260 | |
261 | #dirTreeBox { |
262 | border : none; |
263 | } |
bd0fcaa8 |
264 | |
c9990331 |
265 | #dirTree[type="dialog"] { |
bd0fcaa8 |
266 | } |
267 | |
c9990331 |
268 | #resultsTree { |
269 | border-top : none; |
270 | border-bottom : none; |
271 | } |
272 | |
273 | #results-bucket-tree-box { |
274 | } |
275 | |
276 | #resultsTreeBox { |
277 | /* background-color: window; */ |
278 | } |
bd0fcaa8 |
279 | |
c9990331 |
280 | #vertical-splitter { |
281 | min-width : 4px; |
282 | } |
283 | |
284 | #addToBucketButtonBox { // Row of "To" "CC" and "Bcc" buttons |
285 | padding : 0.3em; |
286 | min-width : 10px; |
287 | border-top: 1px solid ThreeDHighlight; |
288 | } |
289 | |
290 | #bucketBox { |
291 | height : 170px; |
292 | } |
293 | |
294 | #addressBucket { |
295 | height : 100px; |
296 | min-width : 10px; |
297 | } |
298 | |
299 | #rightColumnButtonBox { // Column with "New", "Edit" and "Remove" buttons |
300 | padding : .5em; |
301 | padding-right : 0px; |
302 | } |
303 | |
304 | .3rd-column-spring { // Vertical Springs between 3rd column buttons |
305 | height : 10px; |
306 | } |
307 | |
308 | .middle-button-spring { // Springs between To, CC, and BCC buttons |
309 | width : 10px; |
310 | } |
311 | |
312 | #bucket-splitter { |
313 | border: none; |
314 | min-height: 4px; |
315 | } |
316 | |
317 | #sidebar-panels-splitter { |
318 | border-top : none; |
319 | } |