make add icon work
[themes.git] / EarlyBlue / 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/. */
f6e0a33f 4
5/* ===== addressbook.css ================================================
6 == Styles for the main Address Book window.
7 ======================================================================= */
8
9@import url("chrome://messenger/skin/");
f6e0a33f 10
11@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
76983f4c 12@namespace html url("http://www.w3.org/1999/xhtml");
f6e0a33f 13
f6e0a33f 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);
f6e0a33f 19}
20
74d14f90 21#button-newcard[disabled="true"] {
1d7eeb22 22 -moz-image-region: rect(42px 50px 63px 25px);
76983f4c 23}
f6e0a33f 24
f6e0a33f 25#button-newlist {
1d7eeb22
RK
26 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
27 -moz-image-region: rect(63px 25px 84px 0px);
f6e0a33f 28}
29
74d14f90 30#button-newlist[disabled="true"] {
1d7eeb22 31 -moz-image-region: rect(63px 50px 84px 25px);
76983f4c 32}
f6e0a33f 33
f6e0a33f 34#button-editcard {
1d7eeb22
RK
35 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
36 -moz-image-region: rect(21px 25px 42px 0px);
f6e0a33f 37}
38
74d14f90 39#button-editcard[disabled="true"] {
1d7eeb22 40 -moz-image-region: rect(21px 50px 42px 25px);
76983f4c 41}
f6e0a33f 42
f6e0a33f 43#button-newmessage {
1d7eeb22
RK
44 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
45 -moz-image-region: rect(105px 25px 126px 0px);
f6e0a33f 46}
47
74d14f90 48#button-newmessage[disabled="true"] {
1d7eeb22 49 -moz-image-region: rect(105px 50px 126px 25px);
76983f4c 50}
f6e0a33f 51
8a7d0690 52#button-newim {
1d7eeb22
RK
53 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
54 -moz-image-region: rect(84px 25px 105px 0px);
8a7d0690 55}
56
57#button-newim[disabled="true"] {
1d7eeb22 58 -moz-image-region: rect(84px 25px 105px 0px);
76983f4c 59}
8a7d0690 60
1d7eeb22
RK
61#button-abdelete {
62 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
d61a45b2 63 -moz-image-region: rect(0px 25px 21px 0px);
f6e0a33f 64}
65
1d7eeb22 66#button-abdelete[disabled="true"] {
d61a45b2 67 -moz-image-region: rect(0px 50px 21px 25px);
76983f4c 68}
f6e0a33f 69
08682b18
RK
70/* ::::: small primary toolbar buttons ::::: */
71
72toolbar[iconsize="small"] > #button-newcard,
73toolbar[iconsize="small"] > toolbarpaletteitem > #button-newcard {
74 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
75 -moz-image-region: rect(32px 16px 48px 0);
76}
77
78toolbar[iconsize="small"] > #button-newcard[disabled] {
79 -moz-image-region: rect(32px 32px 48px 16px);
80}
81
82toolbar[iconsize="small"] > #button-newlist,
83toolbar[iconsize="small"] > toolbarpaletteitem > #button-newlist {
84 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
85 -moz-image-region: rect(48px 16px 64px 0);
86}
87
88toolbar[iconsize="small"] > #button-newlist[disabled] {
89 -moz-image-region: rect(48px 32px 64px 16px);
90}
91
92toolbar[iconsize="small"] > #button-editcard,
93toolbar[iconsize="small"] > toolbarpaletteitem > #button-editcard {
94 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
95 -moz-image-region: rect(16px 16px 32px 0);
96}
97
98toolbar[iconsize="small"] > #button-editcard[disabled] {
99 -moz-image-region: rect(16px 32px 32px 16px);
100}
101
102toolbar[iconsize="small"] > #button-newmessage,
103toolbar[iconsize="small"] > toolbarpaletteitem > #button-newmessage {
104 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
105 -moz-image-region: rect(80px 16px 96px 0);
106}
107
108toolbar[iconsize="small"] > #button-newmessage[disabled="true"] {
109 -moz-image-region: rect(80px 32px 96px 16px);
110}
111
112toolbar[iconsize="small"] > #button-newim,
113toolbar[iconsize="small"] > toolbarpaletteitem > #button-newim {
114 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
115 -moz-image-region: rect(64px 16px 80px 0);
116}
117
118toolbar[iconsize="small"] > #button-newim[disabled] {
119 -moz-image-region: rect(64px 32px 80px 16px);
120}
121
122toolbar[iconsize="small"] > #button-abdelete,
123toolbar[iconsize="small"] > toolbarpaletteitem > #button-abdelete {
124 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
125 -moz-image-region: rect(0 16px 16px 0);
126}
127
128toolbar[iconsize="small"] > #button-abdelete[disabled] {
129 -moz-image-region: rect(0 32px 16px 16px);
130}
131
f6e0a33f 132/* CardView styles - used in the Card View Pane */
133
134#CardViewOuterBox {
135/* border-left: 1px solid ThreeDShadow;
136 border-top: 1px solid ThreeDShadow;
137 border-right: 1px solid ThreeDHighlight; */
138}
139
140#CardViewBox {
74d14f90 141 -moz-user-focus: ignore;
142 overflow: auto;
143 min-width: 150px;
144 background-color: #CCD0DD;
f6e0a33f 145}
146
147#CardViewInnerBox {
74d14f90 148 margin-top: 2px;
149 margin-bottom: 2px;
8caa872d
RK
150 -moz-padding-start: 8px;
151 -moz-padding-end: 8px;
f6e0a33f 152}
153
154#CardTitle {
74d14f90 155 font-size: 150%;
156 font-weight: bold;
157 border-bottom: 2px solid black;
158 min-width: 120px;
159 margin: 0px;
f6e0a33f 160}
76983f4c 161
f6e0a33f 162.cardViewGroup {
74d14f90 163 margin-top: 8px;
164 padding-bottom: 5px;
165 min-width: 50px;
f6e0a33f 166}
167
168.CardViewHeading {
74d14f90 169 padding: 1px;
8caa872d 170 -moz-padding-start: 5px;
02920d2b 171 margin: 0 0 1px;
74d14f90 172 background-color: #9999CC;
173 color: #FFFFFF;
174 font-weight: bold;
175 min-width: 30px;
f6e0a33f 176}
177
8a7d0690 178#cvBuddyIcon {
8caa872d 179 -moz-padding-start: 20px;
8a7d0690 180 padding-top: 2px;
181}
182
cd130c22 183.CardViewText,
184.CardViewLink {
8caa872d
RK
185 -moz-padding-start: 20px;
186 -moz-padding-end: 2px;
74d14f90 187 min-width: 30px;
188 margin: 0px;
f6e0a33f 189}
190
cd130c22 191.CardViewLink {
74d14f90 192 color: blue;
193 text-decoration: underline;
194 cursor: pointer;
cd130c22 195}
196
c8120ee9 197#cvHomeMapIt, #cvWorkMapIt {
198 margin-bottom: 0px;
53fb801a 199}
c8120ee9 200
f6e0a33f 201html|a {
8caa872d
RK
202 -moz-padding-start: 0px;
203 -moz-padding-end: 2px;
74d14f90 204 border: none !important;
f6e0a33f 205}
206
207html|p {
208 border: none !important;
209}
210
211/* ::::: border adjustments ::::: */
212
0c8f119a 213#abResultsTree {
f6e0a33f 214/* border-left: 1px solid ThreeDShadow; */
215}
fb2b5761
RK
216
217/* ::::: lightweight themes ::::: */
218
219#CardViewOuterBox:-moz-lwtheme,
220treecols:-moz-lwtheme {
221 text-shadow: none;
222 /* color: -moz-dialogtext;
223 background-color: -moz-dialog; */
224}