make add icon work
[themes.git] / LCARStrek / messenger / addressbook / addressbook.css
CommitLineData
9099c61d
RK
1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
351107c9 4
5/* ===== addressbook.css ================================================
6 == Styles for the main Address Book window.
7 ======================================================================= */
8
9@import url("chrome://messenger/skin/");
351107c9 10
11@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
3d6dd546 12@namespace html url("http://www.w3.org/1999/xhtml");
351107c9 13
351107c9 14/* ::::: primary toolbar buttons ::::: */
15
16#button-newcard {
1d7eeb22
RK
17 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
18 -moz-image-region: rect(42px 25px 63px 0px);
3d6dd546 19}
b1eaa419 20
21#button-newcard[disabled="true"] {
1d7eeb22 22 -moz-image-region: rect(42px 50px 63px 25px);
3d6dd546 23}
351107c9 24
1d7eeb22
RK
25#button-newcard:not([disabled="true"]):hover,
26#button-newcard:not([disabled="true"]):hover:active {
27 -moz-image-region: rect(42px 75px 63px 50px);
28}
29
351107c9 30#button-newlist {
1d7eeb22
RK
31 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
32 -moz-image-region: rect(63px 25px 84px 0px);
351107c9 33}
34
1d7eeb22
RK
35#button-newlist[disabled="true"] {
36 -moz-image-region: rect(63px 50px 84px 25px);
3d6dd546 37}
b1eaa419 38
1d7eeb22
RK
39#button-newlist:not([disabled="true"]):hover,
40#button-newlist:not([disabled="true"]):hover:active {
41 -moz-image-region: rect(63px 75px 84px 50px);
3d6dd546 42}
351107c9 43
44#button-editcard {
1d7eeb22
RK
45 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
46 -moz-image-region: rect(21px 25px 42px 0px);
351107c9 47}
48
1d7eeb22
RK
49#button-editcard[disabled="true"] {
50 -moz-image-region: rect(21px 50px 42px 25px);
3d6dd546 51}
b1eaa419 52
1d7eeb22
RK
53#button-editcard:not([disabled="true"]):hover,
54#button-editcard:not([disabled="true"]):hover:active {
55 -moz-image-region: rect(21px 75px 42px 50px);
3d6dd546 56}
351107c9 57
58#button-newmessage {
1d7eeb22
RK
59 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
60 -moz-image-region: rect(105px 25px 126px 0px);
351107c9 61}
62
1d7eeb22
RK
63#button-newmessage[disabled="true"] {
64 -moz-image-region: rect(105px 50px 126px 25px);
3d6dd546 65}
b1eaa419 66
1d7eeb22
RK
67#button-newmessage:not([disabled="true"]):hover,
68#button-newmessage:not([disabled="true"]):hover:active {
69 -moz-image-region: rect(105px 75px 126px 50px);
3d6dd546 70}
351107c9 71
8a7d0690 72#button-newim {
1d7eeb22
RK
73 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
74 -moz-image-region: rect(84px 25px 105px 0px);
8a7d0690 75}
76
1d7eeb22
RK
77#button-newim[disabled="true"] {
78 -moz-image-region: rect(84px 25px 105px 0px);
3d6dd546 79}
8a7d0690 80
1d7eeb22
RK
81#button-newim:not([disabled="true"]):hover,
82#button-newim:not([disabled="true"]):hover:active {
83 -moz-image-region: rect(84px 25px 105px 0px);
3d6dd546 84}
8a7d0690 85
1d7eeb22
RK
86#button-abdelete {
87 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
303bd2e1 88 -moz-image-region: rect(0px 25px 21px 0px);
351107c9 89}
90
1d7eeb22 91#button-abdelete[disabled="true"] {
303bd2e1 92 -moz-image-region: rect(0px 50px 21px 25px);
3d6dd546 93}
b1eaa419 94
1d7eeb22
RK
95#button-abdelete:not([disabled="true"]):hover,
96#button-abdelete:not([disabled="true"]):hover:active {
303bd2e1 97 -moz-image-region: rect(0px 75px 21px 50px);
3d6dd546 98}
351107c9 99
08682b18
RK
100/* ::::: small primary toolbar buttons ::::: */
101
102toolbar[iconsize="small"] > #button-newcard,
103toolbar[iconsize="small"] > toolbarpaletteitem > #button-newcard {
104 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
105 -moz-image-region: rect(32px 16px 48px 0);
106}
107
108toolbar[iconsize="small"] > #button-newcard[disabled] {
109 -moz-image-region: rect(32px 32px 48px 16px);
110}
111
112toolbar[iconsize="small"] > #button-newcard:not([disabled="true"]):hover,
113toolbar[iconsize="small"] > #button-newcard:not([disabled="true"]):hover:active {
114 -moz-image-region: rect(32px 48px 48px 32px);
115}
116
117toolbar[iconsize="small"] > #button-newlist,
118toolbar[iconsize="small"] > toolbarpaletteitem > #button-newlist {
119 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
120 -moz-image-region: rect(48px 16px 64px 0);
121}
122
123toolbar[iconsize="small"] > #button-newlist[disabled] {
124 -moz-image-region: rect(48px 32px 64px 16px);
125}
126
127toolbar[iconsize="small"] > #button-newlist:not([disabled="true"]):hover,
128toolbar[iconsize="small"] > #button-newlist:not([disabled="true"]):hover:active {
129 -moz-image-region: rect(48px 48px 64px 32px);
130}
131
132toolbar[iconsize="small"] > #button-editcard,
133toolbar[iconsize="small"] > toolbarpaletteitem > #button-editcard {
134 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
135 -moz-image-region: rect(16px 16px 32px 0);
136}
137
138toolbar[iconsize="small"] > #button-editcard[disabled] {
139 -moz-image-region: rect(16px 32px 32px 16px);
140}
141
142toolbar[iconsize="small"] > #button-editcard:not([disabled="true"]):hover,
143toolbar[iconsize="small"] > #button-editcard:not([disabled="true"]):hover:active {
144 -moz-image-region: rect(16px 48px 32px 32px);
145}
146
147toolbar[iconsize="small"] > #button-newmessage,
148toolbar[iconsize="small"] > toolbarpaletteitem > #button-newmessage {
149 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
150 -moz-image-region: rect(80px 16px 96px 0);
151}
152
153toolbar[iconsize="small"] > #button-newmessage[disabled="true"] {
154 -moz-image-region: rect(80px 32px 96px 16px);
155}
156
157toolbar[iconsize="small"] > #button-newmessage:not([disabled="true"]):hover,
158toolbar[iconsize="small"] > #button-newmessage:not([disabled="true"]):hover:active {
159 -moz-image-region: rect(80px 48px 96px 32px);
160}
161
162toolbar[iconsize="small"] > #button-newim,
163toolbar[iconsize="small"] > toolbarpaletteitem > #button-newim {
164 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
165 -moz-image-region: rect(64px 16px 80px 0);
166}
167
168toolbar[iconsize="small"] > #button-newim[disabled] {
169 -moz-image-region: rect(64px 32px 80px 16px);
170}
171
172toolbar[iconsize="small"] > #button-newim:not([disabled="true"]):hover,
173toolbar[iconsize="small"] > #button-newim:not([disabled="true"]):hover:active {
174 -moz-image-region: rect(64px 48px 80px 32px);
175}
176
177toolbar[iconsize="small"] > #button-abdelete,
178toolbar[iconsize="small"] > toolbarpaletteitem > #button-abdelete {
179 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
180 -moz-image-region: rect(0 16px 16px 0);
181}
182
183toolbar[iconsize="small"] > #button-abdelete[disabled] {
184 -moz-image-region: rect(0 32px 16px 16px);
185}
186
187toolbar[iconsize="small"] > #button-abdelete:not([disabled="true"]):hover,
188toolbar[iconsize="small"] > #button-abdelete:not([disabled="true"]):hover:active {
189 -moz-image-region: rect(0 48px 16px 32px);
190}
191
351107c9 192/* CardView styles - used in the Card View Pane */
193
194#CardViewOuterBox {
195/* border-left: 1px solid ThreeDShadow;
196 border-top: 1px solid ThreeDShadow;
197 border-right: 1px solid ThreeDHighlight; */
198}
199
200#CardViewBox {
b1eaa419 201 -moz-user-focus: ignore;
202 overflow: auto;
203 min-width: 150px;
204 background-color: #000000;
351107c9 205}
206
207#CardViewInnerBox {
b1eaa419 208 margin: 2px 0px;
209 padding: 0px 8px;
351107c9 210}
211
212#CardTitle {
b1eaa419 213 font-size: 150%;
214 font-weight: bold;
215 border-bottom: 2px solid #6000CF;
216 min-width: 120px;
217 margin: 0px;
351107c9 218}
3d6dd546 219
351107c9 220.cardViewGroup {
b1eaa419 221 margin-top: 8px;
222 padding-bottom: 5px;
223 min-width: 50px;
351107c9 224}
225
226.CardViewHeading {
b1eaa419 227 padding: 1px;
8caa872d 228 -moz-padding-start: 5px;
02920d2b 229 margin: 0 0 1px;
b1eaa419 230 background-color: #008484;
231 color: #000000;
232 font-weight: bold;
233 min-width: 30px;
351107c9 234}
235
8a7d0690 236#cvBuddyIcon {
8caa872d 237 -moz-padding-start: 20px;
8a7d0690 238 padding-top: 2px;
239}
240
351107c9 241.CardViewText,
242.CardViewLink {
8caa872d
RK
243 -moz-padding-start: 20px;
244 -moz-padding-end: 2px;
b1eaa419 245 min-width: 30px;
246 margin: 0px;
351107c9 247}
248
249.CardViewLink {
dbd844cb 250 color: #3333FF;
b1eaa419 251 text-decoration: underline;
252 cursor: pointer;
351107c9 253}
254
80916bc4 255#cvHomeMapIt, #cvWorkMapIt {
256 margin-bottom: 0px;
257}
258
351107c9 259html|a {
8caa872d
RK
260 -moz-padding-start: 0px;
261 -moz-padding-end: 2px;
b1eaa419 262 border: none !important;
351107c9 263}
264
265html|p {
266 border: none !important;
267}
268
269/* ::::: border adjustments ::::: */
270
0c8f119a 271#abResultsTree {
351107c9 272/* border-left: 1px solid ThreeDShadow; */
273}
fb2b5761
RK
274
275/* ::::: lightweight themes ::::: */
276
277#CardViewOuterBox:-moz-lwtheme,
278treecols:-moz-lwtheme {
279 text-shadow: none;
280 /* color: -moz-dialogtext;
281 background-color: -moz-dialog; */
282}