update both themes for suite default changes up to 2010-12-03
[themes.git] / EarlyBlue / messenger / addressbook / addressbook.css
... / ...
CommitLineData
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/* CardView styles - used in the Card View Pane */
105
106#CardViewOuterBox {
107/* border-left: 1px solid ThreeDShadow;
108 border-top: 1px solid ThreeDShadow;
109 border-right: 1px solid ThreeDHighlight; */
110}
111
112#CardViewBox {
113 -moz-user-focus: ignore;
114 overflow: auto;
115 min-width: 150px;
116 background-color: #CCD0DD;
117}
118
119#CardViewInnerBox {
120 margin-top: 2px;
121 margin-bottom: 2px;
122 -moz-padding-start: 8px;
123 -moz-padding-end: 8px;
124}
125
126#CardTitle {
127 font-size: 150%;
128 font-weight: bold;
129 border-bottom: 2px solid black;
130 min-width: 120px;
131 margin: 0px;
132}
133
134.cardViewGroup {
135 margin-top: 8px;
136 padding-bottom: 5px;
137 min-width: 50px;
138}
139
140.CardViewHeading {
141 padding: 1px;
142 -moz-padding-start: 5px;
143 margin: 0 0 1px;
144 background-color: #9999CC;
145 color: #FFFFFF;
146 font-weight: bold;
147 min-width: 30px;
148}
149
150#cvBuddyIcon {
151 -moz-padding-start: 20px;
152 padding-top: 2px;
153}
154
155.CardViewText,
156.CardViewLink {
157 -moz-padding-start: 20px;
158 -moz-padding-end: 2px;
159 min-width: 30px;
160 margin: 0px;
161}
162
163.CardViewLink {
164 color: blue;
165 text-decoration: underline;
166 cursor: pointer;
167}
168
169#cvHomeMapIt, #cvWorkMapIt {
170 margin-bottom: 0px;
171}
172
173html|a {
174 -moz-padding-start: 0px;
175 -moz-padding-end: 2px;
176 border: none !important;
177}
178
179html|p {
180 border: none !important;
181}
182
183/* ::::: border adjustments ::::: */
184
185#abResultsTree {
186/* border-left: 1px solid ThreeDShadow; */
187}
188
189/* ::::: lightweight themes ::::: */
190
191#CardViewOuterBox:-moz-lwtheme,
192treecols:-moz-lwtheme {
193 text-shadow: none;
194 /* color: -moz-dialogtext;
195 background-color: -moz-dialog; */
196}