adjust both themes for SeaMonkey 2.7 changes, i.e. bug 576402
[themes.git] / EarlyBlue / 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/addressbookicons.png");
52   -moz-image-region: rect(42px 25px 63px 0px);
53 }
54
55 #button-newcard[disabled="true"] {
56   -moz-image-region: rect(42px 50px 63px 25px);
57 }
58
59 #button-newlist {
60   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
61   -moz-image-region: rect(63px 25px 84px 0px);
62 }
63
64 #button-newlist[disabled="true"] {
65   -moz-image-region: rect(63px 50px 84px 25px);
66 }
67
68 #button-editcard {
69   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
70   -moz-image-region: rect(21px 25px 42px 0px);
71 }
72
73 #button-editcard[disabled="true"] {
74   -moz-image-region: rect(21px 50px 42px 25px);
75 }
76
77 #button-newmessage {
78   list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
79   -moz-image-region: rect(105px 25px 126px 0px);
80 }
81
82 #button-newmessage[disabled="true"] {
83   -moz-image-region: rect(105px 50px 126px 25px);
84 }
85
86 #button-newim {
87   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
88   -moz-image-region: rect(84px 25px 105px 0px);
89 }
90
91 #button-newim[disabled="true"] {
92   -moz-image-region: rect(84px 25px 105px 0px);
93 }
94
95 #button-abdelete {
96   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
97   -moz-image-region: rect(0px 25px 21px 0px);
98 }
99
100 #button-abdelete[disabled="true"] {
101   -moz-image-region: rect(0px 50px 21px 25px);
102 }
103
104 /* ::::: small primary toolbar buttons ::::: */
105
106 toolbar[iconsize="small"] > #button-newcard,
107 toolbar[iconsize="small"] > toolbarpaletteitem > #button-newcard {
108   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
109   -moz-image-region: rect(32px 16px 48px 0);
110 }
111
112 toolbar[iconsize="small"] > #button-newcard[disabled] {
113   -moz-image-region: rect(32px 32px 48px 16px);
114 }
115
116 toolbar[iconsize="small"] > #button-newlist,
117 toolbar[iconsize="small"] > toolbarpaletteitem > #button-newlist {
118   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
119   -moz-image-region: rect(48px 16px 64px 0);
120 }
121
122 toolbar[iconsize="small"] > #button-newlist[disabled] {
123   -moz-image-region: rect(48px 32px 64px 16px);
124 }
125
126 toolbar[iconsize="small"] > #button-editcard,
127 toolbar[iconsize="small"] > toolbarpaletteitem > #button-editcard {
128   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
129   -moz-image-region: rect(16px 16px 32px 0);
130 }
131
132 toolbar[iconsize="small"] > #button-editcard[disabled] {
133   -moz-image-region: rect(16px 32px 32px 16px);
134 }
135
136 toolbar[iconsize="small"] > #button-newmessage,
137 toolbar[iconsize="small"] > toolbarpaletteitem > #button-newmessage {
138   list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
139   -moz-image-region: rect(80px 16px 96px 0);
140 }
141
142 toolbar[iconsize="small"] > #button-newmessage[disabled="true"] {
143   -moz-image-region: rect(80px 32px 96px 16px);
144 }
145
146 toolbar[iconsize="small"] > #button-newim,
147 toolbar[iconsize="small"] > toolbarpaletteitem > #button-newim {
148   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
149   -moz-image-region: rect(64px 16px 80px 0);
150 }
151
152 toolbar[iconsize="small"] > #button-newim[disabled] {
153   -moz-image-region: rect(64px 32px 80px 16px);
154 }
155
156 toolbar[iconsize="small"] > #button-abdelete,
157 toolbar[iconsize="small"] > toolbarpaletteitem > #button-abdelete {
158   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
159   -moz-image-region: rect(0 16px 16px 0);
160 }
161
162 toolbar[iconsize="small"] > #button-abdelete[disabled] {
163   -moz-image-region: rect(0 32px 16px 16px);
164 }
165
166 /* CardView styles - used in the Card View Pane */
167
168 #CardViewOuterBox {
169 /*  border-left: 1px solid ThreeDShadow;
170   border-top: 1px solid ThreeDShadow;
171   border-right: 1px solid ThreeDHighlight; */
172 }
173
174 #CardViewBox {
175   -moz-user-focus: ignore;
176   overflow: auto;
177   min-width: 150px;
178   background-color: #CCD0DD;
179 }
180
181 #CardViewInnerBox {
182   margin-top: 2px;
183   margin-bottom: 2px;
184   -moz-padding-start: 8px;
185   -moz-padding-end: 8px;
186 }
187
188 #CardTitle {
189   font-size: 150%;
190   font-weight: bold;
191   border-bottom: 2px solid black;
192   min-width: 120px;
193   margin: 0px;
194 }
195
196 .cardViewGroup {
197   margin-top: 8px;
198   padding-bottom: 5px;
199   min-width: 50px;
200 }
201
202 .CardViewHeading {
203   padding: 1px;
204   -moz-padding-start: 5px;
205   margin: 0 0 1px;
206   background-color: #9999CC;
207   color: #FFFFFF;
208   font-weight: bold;
209   min-width: 30px;
210 }
211
212 #cvBuddyIcon {
213   -moz-padding-start: 20px;
214   padding-top: 2px;
215 }
216
217 .CardViewText,
218 .CardViewLink {
219   -moz-padding-start: 20px;
220   -moz-padding-end: 2px;
221   min-width: 30px;
222   margin: 0px;
223 }
224
225 .CardViewLink {
226   color: blue;
227   text-decoration: underline;
228   cursor: pointer;
229 }
230
231 #cvHomeMapIt, #cvWorkMapIt {
232   margin-bottom: 0px;
233 }
234
235 html|a {
236   -moz-padding-start: 0px;
237   -moz-padding-end: 2px;
238   border: none !important;
239 }
240
241 html|p {
242   border: none !important;
243 }
244
245 /* ::::: border adjustments ::::: */
246
247 #abResultsTree {
248 /*  border-left: 1px solid ThreeDShadow; */
249 }
250
251 /* ::::: lightweight themes ::::: */
252
253 #CardViewOuterBox:-moz-lwtheme,
254 treecols:-moz-lwtheme {
255   text-shadow: none;
256   /* color: -moz-dialogtext;
257   background-color: -moz-dialog; */
258 }