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/"); |
44 | @import url("chrome://communicator/skin/sidebar/sidebar.css"); |
45 | |
46 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
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"); |
57 | } |
58 | |
59 | #button-newcard[disabled="true"] { |
60 | list-style-image: url("chrome://messenger/skin/addressbook/icons/newcard-disabled.gif") !important; |
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"); |
70 | } |
71 | |
72 | #button-newlist[disabled="true"] { |
73 | list-style-image: url("chrome://messenger/skin/addressbook/icons/newlist-disabled.gif") !important; |
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"); |
83 | } |
84 | |
85 | #button-editcard[disabled="true"] { |
86 | list-style-image: url("chrome://messenger/skin/addressbook/icons/person-disabled.gif") !important; |
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"); |
96 | } |
97 | |
98 | #button-newmessage[disabled="true"] { |
99 | list-style-image: url("chrome://messenger/skin/addressbook/icons/newmsg-disabled.gif") !important; |
100 | } |
351107c9 |
101 | |
102 | #button-delete { |
b1eaa419 |
103 | list-style-image:url("chrome://global/skin/icons/trash.gif"); |
351107c9 |
104 | } |
105 | |
351107c9 |
106 | #button-delete:hover, |
b1eaa419 |
107 | #button-delete:hover:active { |
108 | list-style-image:url("chrome://global/skin/icons/trash-hover.gif"); |
109 | } |
110 | |
111 | #button-delete[disabled="true"] { |
112 | list-style-image: url("chrome://global/skin/icons/trash-disabled.gif") !important; |
113 | } |
351107c9 |
114 | |
115 | /* ::::: sidebar header ::::: */ |
116 | |
117 | sidebarheader { |
118 | border: none; |
119 | } |
120 | |
121 | #sidebar-title-box { |
122 | border: none; |
123 | } |
124 | |
125 | /* CardView styles - used in the Card View Pane */ |
126 | |
127 | #CardViewOuterBox { |
128 | /* border-left: 1px solid ThreeDShadow; |
129 | border-top: 1px solid ThreeDShadow; |
130 | border-right: 1px solid ThreeDHighlight; */ |
131 | } |
132 | |
133 | #CardViewBox { |
b1eaa419 |
134 | -moz-user-focus: ignore; |
135 | overflow: auto; |
136 | min-width: 150px; |
137 | background-color: #000000; |
351107c9 |
138 | } |
139 | |
140 | #CardViewInnerBox { |
b1eaa419 |
141 | margin: 2px 0px; |
142 | padding: 0px 8px; |
351107c9 |
143 | } |
144 | |
145 | #CardTitle { |
b1eaa419 |
146 | font-size: 150%; |
147 | font-weight: bold; |
148 | border-bottom: 2px solid #6000CF; |
149 | min-width: 120px; |
150 | margin: 0px; |
351107c9 |
151 | } |
152 | |
153 | .cardViewGroup { |
b1eaa419 |
154 | margin-top: 8px; |
155 | padding-bottom: 5px; |
156 | min-width: 50px; |
351107c9 |
157 | } |
158 | |
159 | .CardViewHeading { |
b1eaa419 |
160 | padding: 1px; |
161 | padding-left: 5px; |
162 | margin: 0px 0px 1px 0px; |
163 | background-color: #008484; |
164 | color: #000000; |
165 | font-weight: bold; |
166 | min-width: 30px; |
351107c9 |
167 | } |
168 | |
169 | .CardViewText, |
170 | .CardViewLink { |
b1eaa419 |
171 | padding-left: 20px; |
172 | padding-right: 2px; |
173 | min-width: 30px; |
174 | margin: 0px; |
351107c9 |
175 | } |
176 | |
177 | .CardViewLink { |
b1eaa419 |
178 | color: blue; |
179 | text-decoration: underline; |
180 | cursor: pointer; |
351107c9 |
181 | } |
182 | |
80916bc4 |
183 | #cvHomeMapIt, #cvWorkMapIt { |
184 | margin-bottom: 0px; |
185 | } |
186 | |
351107c9 |
187 | html|a { |
b1eaa419 |
188 | padding-left: 0px; |
189 | padding-right: 2px; |
190 | border: none !important; |
351107c9 |
191 | } |
192 | |
193 | html|p { |
194 | border: none !important; |
195 | } |
196 | |
197 | /* ::::: border adjustments ::::: */ |
198 | |
199 | #sidebar-box { |
200 | /* border-top: none; |
201 | border-right: 1px solid ThreeDHighlight; |
202 | border-bottom: none; |
203 | border-left: 1px solid ThreeDShadow; */ |
204 | } |
205 | |
206 | #results-splitter { |
207 | border: none; |
208 | } |
209 | |
210 | #dirTree, #resultsTree { |
211 | border: none; |
212 | margin: 0px; |
213 | } |
214 | |
215 | #resultsTree { |
216 | /* border-left: 1px solid ThreeDShadow; */ |
217 | } |