update to suite default status of 2009-01-30: bug 474807 - replace margin/padding...
[themes.git] / LCARStrek / messenger / addressbook / addressbook.css
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
45 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
46 @namespace html url("http://www.w3.org/1999/xhtml");
47
48 /* ::::: primary toolbar buttons ::::: */
49
50 #button-newcard {
51   list-style-image:url("chrome://messenger/skin/addressbook/icons/newcard.gif");
52 }
53
54 #button-newcard:hover,
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 }
62
63 #button-newlist {
64   list-style-image: url("chrome://messenger/skin/addressbook/icons/newlist.gif");
65 }
66
67 #button-newlist:hover,
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 }
75
76 #button-editcard {
77   list-style-image:url("chrome://messenger/skin/addressbook/icons/person.gif");
78 }
79
80 #button-editcard:hover,
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 }
88
89 #button-newmessage {
90   list-style-image:url("chrome://messenger/skin/addressbook/icons/newmsg.gif");
91 }
92
93 #button-newmessage:hover,
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 }
101
102 #button-newim {
103   list-style-image:url("chrome://messenger/skin/addressbook/icons/im.gif");
104 }
105
106 #button-newim:hover,
107 #button-newim:hover:active {
108   list-style-image: url("chrome://messenger/skin/addressbook/icons/im-hover.gif");
109 }
110
111 #button-newim[disabled="true"] {
112   list-style-image: url("chrome://messenger/skin/addressbook/icons/im-disabled.gif") !important;
113 }
114
115 #button-delete {
116   list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
117   -moz-image-region: rect(0px 25px 21px 0px);
118 }
119
120 #button-delete[disabled="true"] {
121   -moz-image-region: rect(0px 50px 21px 25px);
122 }
123
124 #button-delete:not([disabled="true"]):hover,
125 #button-delete:not([disabled="true"]):hover:active {
126   -moz-image-region: rect(0px 75px 21px 50px);
127 }
128
129 /* CardView styles - used in the Card View Pane */
130
131 #CardViewOuterBox {
132 /*  border-left: 1px solid ThreeDShadow;
133   border-top: 1px solid ThreeDShadow;
134   border-right: 1px solid ThreeDHighlight; */
135 }
136
137 #CardViewBox {
138   -moz-user-focus: ignore;
139   overflow: auto;
140   min-width: 150px;
141   background-color: #000000;
142 }
143
144 #CardViewInnerBox {
145   margin: 2px 0px;
146   padding: 0px 8px;
147 }
148
149 #CardTitle {
150   font-size: 150%;
151   font-weight: bold;
152   border-bottom: 2px solid #6000CF;
153   min-width: 120px;
154   margin: 0px;
155 }
156
157 .cardViewGroup {
158   margin-top: 8px;
159   padding-bottom: 5px;
160   min-width: 50px;
161 }
162
163 .CardViewHeading {
164   padding: 1px;
165   -moz-padding-start: 5px;
166   margin: 0px 0px 1px 0px;
167   background-color: #008484;
168   color: #000000;
169   font-weight: bold;
170   min-width: 30px;
171 }
172
173 #cvBuddyIcon {
174   -moz-padding-start: 20px;
175   padding-top: 2px;
176 }
177
178 .CardViewText,
179 .CardViewLink {
180   -moz-padding-start: 20px;
181   -moz-padding-end: 2px;
182   min-width: 30px;
183   margin: 0px;
184 }
185
186 .CardViewLink {
187   color: blue;
188   text-decoration: underline;
189   cursor: pointer;
190 }
191
192 #cvHomeMapIt, #cvWorkMapIt {
193   margin-bottom: 0px;
194 }
195
196 html|a {
197   -moz-padding-start: 0px;
198   -moz-padding-end: 2px;
199   border: none !important;
200 }
201
202 html|p {
203   border: none !important;
204 }
205
206 /* ::::: border adjustments ::::: */
207
208 #results-splitter {
209   border: none;
210 }
211
212 #dirTree, #abResultsTree {
213   border: none;
214   margin: 0px;
215 }
216
217 #resultsTree {
218 /*  border-left: 1px solid ThreeDShadow; */
219 }
220
221 /* ::::: Search Bar  ::::: */
222
223 #searchBox {
224 /*
225   border-top: 1px solid ThreeDHighlight;
226   border-bottom: 1px solid ThreeDShadow;
227 */
228 }