fix resizers to actually show up
[themes.git] / EarlyBlue / messenger / addressbook / addressbook.css
CommitLineData
128000f4 1/* ***** BEGIN LICENSE BLOCK *****
2 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
f6e0a33f 3 *
128000f4 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/
f6e0a33f 8 *
128000f4 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.
f6e0a33f 13 *
128000f4 14 * The Original Code is mozilla.org code.
15 *
76983f4c 16 * The Initial Developer of the Original Code is
128000f4 17 * Netscape Communications Corporation.
18 * Portions created by the Initial Developer are Copyright (C) 1998
19 * the Initial Developer. All Rights Reserved.
f6e0a33f 20 *
21 * Contributor(s):
22 * Joe Hewitt (hewitt@netscape.com)
128000f4 23 * Robert Kaiser <KaiRo@KaiRo.at>
24 *
25 * Alternatively, the contents of this file may be used under the terms of
76983f4c 26 * either the GNU General Public License Version 2 or later (the "GPL"), or
128000f4 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 ***** */
f6e0a33f 38
39/* ===== addressbook.css ================================================
40 == Styles for the main Address Book window.
41 ======================================================================= */
42
43@import url("chrome://messenger/skin/");
f6e0a33f 44
45@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
76983f4c 46@namespace html url("http://www.w3.org/1999/xhtml");
f6e0a33f 47
f6e0a33f 48/* ::::: primary toolbar buttons ::::: */
49
50#button-newcard {
1d7eeb22
RK
51 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
52 -moz-image-region: rect(42px 25px 63px 0px);
f6e0a33f 53}
54
74d14f90 55#button-newcard[disabled="true"] {
1d7eeb22 56 -moz-image-region: rect(42px 50px 63px 25px);
76983f4c 57}
f6e0a33f 58
f6e0a33f 59#button-newlist {
1d7eeb22
RK
60 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
61 -moz-image-region: rect(63px 25px 84px 0px);
f6e0a33f 62}
63
74d14f90 64#button-newlist[disabled="true"] {
1d7eeb22 65 -moz-image-region: rect(63px 50px 84px 25px);
76983f4c 66}
f6e0a33f 67
f6e0a33f 68#button-editcard {
1d7eeb22
RK
69 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
70 -moz-image-region: rect(21px 25px 42px 0px);
f6e0a33f 71}
72
74d14f90 73#button-editcard[disabled="true"] {
1d7eeb22 74 -moz-image-region: rect(21px 50px 42px 25px);
76983f4c 75}
f6e0a33f 76
f6e0a33f 77#button-newmessage {
1d7eeb22
RK
78 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
79 -moz-image-region: rect(105px 25px 126px 0px);
f6e0a33f 80}
81
74d14f90 82#button-newmessage[disabled="true"] {
1d7eeb22 83 -moz-image-region: rect(105px 50px 126px 25px);
76983f4c 84}
f6e0a33f 85
8a7d0690 86#button-newim {
1d7eeb22
RK
87 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
88 -moz-image-region: rect(84px 25px 105px 0px);
8a7d0690 89}
90
91#button-newim[disabled="true"] {
1d7eeb22 92 -moz-image-region: rect(84px 25px 105px 0px);
76983f4c 93}
8a7d0690 94
1d7eeb22
RK
95#button-abdelete {
96 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
d61a45b2 97 -moz-image-region: rect(0px 25px 21px 0px);
f6e0a33f 98}
99
1d7eeb22 100#button-abdelete[disabled="true"] {
d61a45b2 101 -moz-image-region: rect(0px 50px 21px 25px);
76983f4c 102}
f6e0a33f 103
08682b18
RK
104/* ::::: small primary toolbar buttons ::::: */
105
106toolbar[iconsize="small"] > #button-newcard,
107toolbar[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
112toolbar[iconsize="small"] > #button-newcard[disabled] {
113 -moz-image-region: rect(32px 32px 48px 16px);
114}
115
116toolbar[iconsize="small"] > #button-newlist,
117toolbar[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
122toolbar[iconsize="small"] > #button-newlist[disabled] {
123 -moz-image-region: rect(48px 32px 64px 16px);
124}
125
126toolbar[iconsize="small"] > #button-editcard,
127toolbar[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
132toolbar[iconsize="small"] > #button-editcard[disabled] {
133 -moz-image-region: rect(16px 32px 32px 16px);
134}
135
136toolbar[iconsize="small"] > #button-newmessage,
137toolbar[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
142toolbar[iconsize="small"] > #button-newmessage[disabled="true"] {
143 -moz-image-region: rect(80px 32px 96px 16px);
144}
145
146toolbar[iconsize="small"] > #button-newim,
147toolbar[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
152toolbar[iconsize="small"] > #button-newim[disabled] {
153 -moz-image-region: rect(64px 32px 80px 16px);
154}
155
156toolbar[iconsize="small"] > #button-abdelete,
157toolbar[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
162toolbar[iconsize="small"] > #button-abdelete[disabled] {
163 -moz-image-region: rect(0 32px 16px 16px);
164}
165
f6e0a33f 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 {
74d14f90 175 -moz-user-focus: ignore;
176 overflow: auto;
177 min-width: 150px;
178 background-color: #CCD0DD;
f6e0a33f 179}
180
181#CardViewInnerBox {
74d14f90 182 margin-top: 2px;
183 margin-bottom: 2px;
8caa872d
RK
184 -moz-padding-start: 8px;
185 -moz-padding-end: 8px;
f6e0a33f 186}
187
188#CardTitle {
74d14f90 189 font-size: 150%;
190 font-weight: bold;
191 border-bottom: 2px solid black;
192 min-width: 120px;
193 margin: 0px;
f6e0a33f 194}
76983f4c 195
f6e0a33f 196.cardViewGroup {
74d14f90 197 margin-top: 8px;
198 padding-bottom: 5px;
199 min-width: 50px;
f6e0a33f 200}
201
202.CardViewHeading {
74d14f90 203 padding: 1px;
8caa872d 204 -moz-padding-start: 5px;
02920d2b 205 margin: 0 0 1px;
74d14f90 206 background-color: #9999CC;
207 color: #FFFFFF;
208 font-weight: bold;
209 min-width: 30px;
f6e0a33f 210}
211
8a7d0690 212#cvBuddyIcon {
8caa872d 213 -moz-padding-start: 20px;
8a7d0690 214 padding-top: 2px;
215}
216
cd130c22 217.CardViewText,
218.CardViewLink {
8caa872d
RK
219 -moz-padding-start: 20px;
220 -moz-padding-end: 2px;
74d14f90 221 min-width: 30px;
222 margin: 0px;
f6e0a33f 223}
224
cd130c22 225.CardViewLink {
74d14f90 226 color: blue;
227 text-decoration: underline;
228 cursor: pointer;
cd130c22 229}
230
c8120ee9 231#cvHomeMapIt, #cvWorkMapIt {
232 margin-bottom: 0px;
53fb801a 233}
c8120ee9 234
f6e0a33f 235html|a {
8caa872d
RK
236 -moz-padding-start: 0px;
237 -moz-padding-end: 2px;
74d14f90 238 border: none !important;
f6e0a33f 239}
240
241html|p {
242 border: none !important;
243}
244
245/* ::::: border adjustments ::::: */
246
0c8f119a 247#abResultsTree {
f6e0a33f 248/* border-left: 1px solid ThreeDShadow; */
249}
fb2b5761
RK
250
251/* ::::: lightweight themes ::::: */
252
253#CardViewOuterBox:-moz-lwtheme,
254treecols:-moz-lwtheme {
255 text-shadow: none;
256 /* color: -moz-dialogtext;
257 background-color: -moz-dialog; */
258}