351107c9 |
1 | /* ***** BEGIN LICENSE BLOCK ***** |
2 | * Version: NPL 1.1/GPL 2.0/LGPL 2.1 |
3 | * |
4 | * The contents of this file are subject to the Netscape Public License |
5 | * Version 1.1 (the "License"); you may not use this file except in |
6 | * compliance with the License. You may obtain a copy of the License at |
7 | * http://www.mozilla.org/NPL/ |
8 | * |
9 | * Software distributed under the License is distributed on an "AS IS" basis, |
10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
11 | * for the specific language governing rights and limitations under the |
12 | * License. |
13 | * |
14 | * The Original Code is mozilla.org code. |
15 | * |
3d6dd546 |
16 | * The Initial Developer of the Original Code is |
351107c9 |
17 | * Netscape Communications Corporation. |
18 | * Portions created by the Initial Developer are Copyright (C) 1998 |
19 | * the Initial Developer. All Rights Reserved. |
20 | * |
21 | * Contributor(s): |
22 | * Joe Hewitt (hewitt@netscape.com) |
23 | * Robert Kaiser <KaiRo@KaiRo.at> |
24 | * |
25 | * Alternatively, the contents of this file may be used under the terms of |
3d6dd546 |
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
351107c9 |
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
28 | * in which case the provisions of the GPL or the LGPL are applicable instead |
29 | * of those above. If you wish to allow use of your version of this file only |
30 | * under the terms of either the GPL or the LGPL, and not to allow others to |
31 | * use your version of this file under the terms of the NPL, indicate your |
32 | * decision by deleting the provisions above and replace them with the notice |
33 | * and other provisions required by the GPL or the LGPL. If you do not delete |
34 | * the provisions above, a recipient may use your version of this file under |
35 | * the terms of any one of the NPL, the GPL or the LGPL. |
36 | * |
37 | * ***** END LICENSE BLOCK ***** */ |
38 | |
39 | /* ===== addressbook.css ================================================ |
40 | == Styles for the main Address Book window. |
41 | ======================================================================= */ |
42 | |
43 | @import url("chrome://messenger/skin/"); |
351107c9 |
44 | |
45 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
3d6dd546 |
46 | @namespace html url("http://www.w3.org/1999/xhtml"); |
351107c9 |
47 | |
351107c9 |
48 | /* ::::: primary toolbar buttons ::::: */ |
49 | |
50 | #button-newcard { |
b1eaa419 |
51 | list-style-image:url("chrome://messenger/skin/addressbook/icons/newcard.gif"); |
351107c9 |
52 | } |
53 | |
351107c9 |
54 | #button-newcard:hover, |
b1eaa419 |
55 | #button-newcard:hover:active { |
56 | list-style-image: url("chrome://messenger/skin/addressbook/icons/newcard-hover.gif"); |
3d6dd546 |
57 | } |
b1eaa419 |
58 | |
59 | #button-newcard[disabled="true"] { |
60 | list-style-image: url("chrome://messenger/skin/addressbook/icons/newcard-disabled.gif") !important; |
3d6dd546 |
61 | } |
351107c9 |
62 | |
63 | #button-newlist { |
b1eaa419 |
64 | list-style-image: url("chrome://messenger/skin/addressbook/icons/newlist.gif"); |
351107c9 |
65 | } |
66 | |
351107c9 |
67 | #button-newlist:hover, |
b1eaa419 |
68 | #button-newlist:hover:active { |
69 | list-style-image: url("chrome://messenger/skin/addressbook/icons/newlist-hover.gif"); |
3d6dd546 |
70 | } |
b1eaa419 |
71 | |
72 | #button-newlist[disabled="true"] { |
73 | list-style-image: url("chrome://messenger/skin/addressbook/icons/newlist-disabled.gif") !important; |
3d6dd546 |
74 | } |
351107c9 |
75 | |
76 | #button-editcard { |
b1eaa419 |
77 | list-style-image:url("chrome://messenger/skin/addressbook/icons/person.gif"); |
351107c9 |
78 | } |
79 | |
351107c9 |
80 | #button-editcard:hover, |
b1eaa419 |
81 | #button-editcard:hover:active { |
82 | list-style-image: url("chrome://messenger/skin/addressbook/icons/person-hover.gif"); |
3d6dd546 |
83 | } |
b1eaa419 |
84 | |
85 | #button-editcard[disabled="true"] { |
86 | list-style-image: url("chrome://messenger/skin/addressbook/icons/person-disabled.gif") !important; |
3d6dd546 |
87 | } |
351107c9 |
88 | |
89 | #button-newmessage { |
b1eaa419 |
90 | list-style-image:url("chrome://messenger/skin/addressbook/icons/newmsg.gif"); |
351107c9 |
91 | } |
92 | |
351107c9 |
93 | #button-newmessage:hover, |
b1eaa419 |
94 | #button-newmessage:hover:active { |
95 | list-style-image: url("chrome://messenger/skin/addressbook/icons/newmsg-hover.gif"); |
3d6dd546 |
96 | } |
b1eaa419 |
97 | |
98 | #button-newmessage[disabled="true"] { |
99 | list-style-image: url("chrome://messenger/skin/addressbook/icons/newmsg-disabled.gif") !important; |
3d6dd546 |
100 | } |
351107c9 |
101 | |
8a7d0690 |
102 | #button-newim { |
a3b3d4d6 |
103 | list-style-image:url("chrome://messenger/skin/addressbook/icons/im.gif"); |
8a7d0690 |
104 | } |
105 | |
106 | #button-newim:hover, |
107 | #button-newim:hover:active { |
a3b3d4d6 |
108 | list-style-image: url("chrome://messenger/skin/addressbook/icons/im-hover.gif"); |
3d6dd546 |
109 | } |
8a7d0690 |
110 | |
111 | #button-newim[disabled="true"] { |
a3b3d4d6 |
112 | list-style-image: url("chrome://messenger/skin/addressbook/icons/im-disabled.gif") !important; |
3d6dd546 |
113 | } |
8a7d0690 |
114 | |
351107c9 |
115 | #button-delete { |
b1eaa419 |
116 | list-style-image:url("chrome://global/skin/icons/trash.gif"); |
351107c9 |
117 | } |
118 | |
351107c9 |
119 | #button-delete:hover, |
b1eaa419 |
120 | #button-delete:hover:active { |
121 | list-style-image:url("chrome://global/skin/icons/trash-hover.gif"); |
3d6dd546 |
122 | } |
b1eaa419 |
123 | |
124 | #button-delete[disabled="true"] { |
125 | list-style-image: url("chrome://global/skin/icons/trash-disabled.gif") !important; |
3d6dd546 |
126 | } |
351107c9 |
127 | |
351107c9 |
128 | /* CardView styles - used in the Card View Pane */ |
129 | |
130 | #CardViewOuterBox { |
131 | /* border-left: 1px solid ThreeDShadow; |
132 | border-top: 1px solid ThreeDShadow; |
133 | border-right: 1px solid ThreeDHighlight; */ |
134 | } |
135 | |
136 | #CardViewBox { |
b1eaa419 |
137 | -moz-user-focus: ignore; |
138 | overflow: auto; |
139 | min-width: 150px; |
140 | background-color: #000000; |
351107c9 |
141 | } |
142 | |
143 | #CardViewInnerBox { |
b1eaa419 |
144 | margin: 2px 0px; |
145 | padding: 0px 8px; |
351107c9 |
146 | } |
147 | |
148 | #CardTitle { |
b1eaa419 |
149 | font-size: 150%; |
150 | font-weight: bold; |
151 | border-bottom: 2px solid #6000CF; |
152 | min-width: 120px; |
153 | margin: 0px; |
351107c9 |
154 | } |
3d6dd546 |
155 | |
351107c9 |
156 | .cardViewGroup { |
b1eaa419 |
157 | margin-top: 8px; |
158 | padding-bottom: 5px; |
159 | min-width: 50px; |
351107c9 |
160 | } |
161 | |
162 | .CardViewHeading { |
b1eaa419 |
163 | padding: 1px; |
164 | padding-left: 5px; |
165 | margin: 0px 0px 1px 0px; |
166 | background-color: #008484; |
167 | color: #000000; |
168 | font-weight: bold; |
169 | min-width: 30px; |
351107c9 |
170 | } |
171 | |
8a7d0690 |
172 | #cvBuddyIcon { |
173 | padding-left: 20px; |
174 | padding-top: 2px; |
175 | } |
176 | |
351107c9 |
177 | .CardViewText, |
178 | .CardViewLink { |
b1eaa419 |
179 | padding-left: 20px; |
180 | padding-right: 2px; |
181 | min-width: 30px; |
182 | margin: 0px; |
351107c9 |
183 | } |
184 | |
185 | .CardViewLink { |
b1eaa419 |
186 | color: blue; |
187 | text-decoration: underline; |
188 | cursor: pointer; |
351107c9 |
189 | } |
190 | |
80916bc4 |
191 | #cvHomeMapIt, #cvWorkMapIt { |
192 | margin-bottom: 0px; |
193 | } |
194 | |
351107c9 |
195 | html|a { |
b1eaa419 |
196 | padding-left: 0px; |
197 | padding-right: 2px; |
198 | border: none !important; |
351107c9 |
199 | } |
200 | |
201 | html|p { |
202 | border: none !important; |
203 | } |
204 | |
205 | /* ::::: border adjustments ::::: */ |
206 | |
3d6dd546 |
207 | #results-splitter { |
351107c9 |
208 | border: none; |
209 | } |
210 | |
3d6dd546 |
211 | #dirTree, #abResultsTree { |
351107c9 |
212 | border: none; |
213 | margin: 0px; |
214 | } |
215 | |
216 | #resultsTree { |
217 | /* border-left: 1px solid ThreeDShadow; */ |
218 | } |
2b722888 |
219 | |
220 | /* ::::: Search Bar ::::: */ |
221 | |
222 | #searchBox { |
223 | /* |
224 | border-top: 1px solid ThreeDHighlight; |
225 | border-bottom: 1px solid ThreeDShadow; |
226 | */ |
227 | } |