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