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 | |
79 | |
80 | /* CardEdit styles - used in the Card Edit Dialog */ |
81 | |
82 | [class="CardEditWidth"] { |
83 | width: 25em; |
84 | } |
85 | |
86 | [class="CardEditLabel"] { |
87 | padding: 0px; |
88 | margin-top: 3px; |
89 | } |
90 | |
91 | [class="alignBoxWithFieldset"] { |
92 | margin-left: 6px; |
93 | margin-right: 5px; |
94 | } |
95 | |
96 | .stateZipSpacer { width: 3em; } |
97 | |
98 | |
99 | /* Custom Trees */ |
100 | |
101 | tree { |
102 | border-left: 1px solid transparent; |
103 | } |
104 | |
105 | #headRow > treecell { |
106 | background-color: #9C9CFF; |
107 | border-right: 1px solid black; |
108 | } |
109 | |
110 | treeitem[selected="true"] > treerow { |
111 | /* color: black; |
112 | background-color: #CCCCDD; */ |
113 | } |
114 | |
115 | tree[class="abDirectory"] treeitem > treerow > treecell > .tree-icon { |
116 | list-style-image: url("chrome://messenger/skin/addressbook/myaddrbk.gif"); |
117 | } |
118 | |
119 | tree[class="abResults"] treeitem > treerow > treecell.cardicon { |
120 | list-style-image: url("chrome://messenger/skin/addressbook/person.gif"); |
121 | height: 14px; |
122 | min-height: 14px; |
123 | } |
124 | |
125 | |
126 | /* Address Book specific style */ |
127 | |
128 | #results_box { |
129 | border-left: 8px solid #CCCCDD; |
130 | } |
131 | |
132 | [hide] { |
133 | visibility: collapse; |
134 | } |
135 | |
136 | #button-newcard { |
137 | list-style-image:url("chrome://messenger/skin/addressbook/newcard.gif"); |
138 | } |
139 | |
140 | #button-newcard:hover { |
141 | list-style-image:url("chrome://messenger/skin/addressbook/newcard-hover.gif"); |
142 | } |
143 | |
144 | #button-newcard[disabled="true"] { |
145 | list-style-image:url("chrome://messenger/skin/addressbook/newcard_dis.gif"); |
146 | } |
147 | |
148 | #button-newlist { |
149 | list-style-image:url("chrome://messenger/skin/addressbook/newlist.gif"); |
150 | } |
151 | |
152 | #button-newlist:hover { |
153 | list-style-image:url("chrome://messenger/skin/addressbook/newlist-hover.gif"); |
154 | } |
155 | |
156 | #button-newlist[disabled="true"] { |
157 | list-style-image:url("chrome://messenger/skin/addressbook/newlist_dis.gif"); |
158 | } |
159 | |
160 | #button-editcard { |
161 | list-style-image:url("chrome://messenger/skin/addressbook/edit.gif"); |
162 | } |
163 | |
164 | #button-editcard:hover { |
165 | list-style-image:url("chrome://messenger/skin/addressbook/edit-hover.gif"); |
166 | } |
167 | |
168 | #button-editcard[disabled="true"] { |
169 | list-style-image:url("chrome://messenger/skin/addressbook/edit_dis.gif"); |
170 | } |
171 | |
172 | #button-newmessage { |
173 | list-style-image:url("chrome://messenger/skin/addressbook/newmsgab.gif"); |
174 | } |
175 | |
176 | #button-newmessage:hover { |
177 | list-style-image:url("chrome://messenger/skin/addressbook/newmsgab-hover.gif"); |
178 | } |
179 | |
180 | #button-newmessage[disabled="true"] { |
181 | list-style-image:url("chrome://messenger/skin/addressbook/newmsgab_dis.gif"); |
182 | } |
183 | |
184 | #button-delete { |
185 | list-style-image:url("chrome://messenger/skin/addressbook/trash.gif"); |
186 | } |
187 | |
188 | #button-delete:hover { |
189 | list-style-image:url("chrome://messenger/skin/addressbook/trash-hover.gif"); |
190 | } |
191 | |
192 | #button-delete[disabled="true"] { |
193 | list-style-image:url("chrome://messenger/skin/addressbook/trash_dis.gif"); |
194 | } |
195 | |
196 | /* |
197 | #button-delete { |
198 | list-style-image:url("chrome://messenger/skin/addressbook/trash.gif") !important; |
199 | } |
200 | |
201 | #button-delete:hover { |
202 | list-style-image:url("chrome://messenger/skin/addressbook/trash-hover.gif") !important; |
203 | } |
204 | |
205 | #button-delete[disabled="true"] { |
206 | list-style-image:url("chrome://messenger/skin/addressbook/trash_dis.gif") !important; |
207 | } |
208 | */ |
209 | |
210 | #button-stop { |
211 | list-style-image:url("chrome://global/skin/stop.gif"); |
212 | } |
213 | |
214 | #button-stop:hover { |
215 | list-style-image:url("chrome://global/skin/stop-hover.gif"); |
216 | } |
217 | |
218 | #button-stop[disabled="true"] { |
219 | list-style-image:url("chrome://global/skin/stop_dis.gif"); |
220 | } |
221 | |
222 | #button-search { |
223 | list-style-image:url("chrome://global/skin/search.gif"); |
224 | } |
225 | |
226 | #button-search:hover { |
227 | list-style-image:url("chrome://global/skin/search-hover.gif"); |
228 | } |
229 | |
230 | #button-search[disabled="true"] { |
231 | list-style-image:url("chrome://global/skin/search_dis.gif"); |
232 | } |
233 | |
234 | #searchlabel { |
235 | padding: 0px; |
236 | padding-left: 5px; |
237 | padding-bottom:2px; |
238 | white-space: nowrap; |
239 | font-size: smaller; |
240 | min-width: 20px; |
241 | } |
242 | |
243 | #searchtext { |
244 | min-width: 20px; |
245 | padding: 0px; |
246 | } |
247 | |
248 | treeitem[empty="true"] > treerow > treecell > .tree-cell-twisty { |
249 | |
250 | list-style-image: none !important; |
251 | |
252 | } |
253 | |