EarlyBlue 2.0a1 -> 2.0a2 updates, help and messenger parts, also reducing important...
[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/newcard.gif");
52 }
53
54 #button-newcard[disabled="true"] {
55   list-style-image: url("chrome://messenger/skin/addressbook/icons/newcard-disabled.gif") !important;
56 }
57
58 #button-newlist {
59   list-style-image: url("chrome://messenger/skin/addressbook/icons/newlist.gif");
60 }
61
62 #button-newlist[disabled="true"] {
63   list-style-image: url("chrome://messenger/skin/addressbook/icons/newlist-disabled.gif") !important;
64 }
65
66 #button-editcard {
67   list-style-image:url("chrome://messenger/skin/addressbook/icons/person.gif");
68 }
69
70 #button-editcard[disabled="true"] {
71   list-style-image: url("chrome://messenger/skin/addressbook/icons/person-disabled.gif") !important;
72 }
73
74 #button-newmessage {
75   list-style-image:url("chrome://messenger/skin/addressbook/icons/newmsg.gif");
76 }
77
78 #button-newmessage[disabled="true"] {
79   list-style-image: url("chrome://messenger/skin/addressbook/icons/newmsg-disabled.gif") !important;
80 }
81
82 #button-newim {
83   list-style-image:url("chrome://messenger/skin/addressbook/icons/im.gif");
84 }
85
86 #button-newim[disabled="true"] {
87   list-style-image: url("chrome://messenger/skin/addressbook/icons/im-disabled.gif") !important;
88 }
89
90 #button-delete {
91   list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
92   -moz-image-region: rect(0px 25px 21px 0px);
93 }
94
95 #button-delete[disabled="true"] {
96   -moz-image-region: rect(0px 50px 21px 25px);
97 }
98
99 /* CardView styles - used in the Card View Pane */
100
101 #CardViewOuterBox {
102 /*  border-left: 1px solid ThreeDShadow;
103   border-top: 1px solid ThreeDShadow;
104   border-right: 1px solid ThreeDHighlight; */
105 }
106
107 #CardViewBox {
108   -moz-user-focus: ignore;
109   overflow: auto;
110   min-width: 150px;
111   background-color: #CCD0DD;
112 }
113
114 #CardViewInnerBox {
115   margin-top: 2px;
116   margin-bottom: 2px;
117   padding-left: 8px;
118   padding-right: 8px;
119 }
120
121 #CardTitle {
122   font-size: 150%;
123   font-weight: bold;
124   border-bottom: 2px solid black;
125   min-width: 120px;
126   margin: 0px;
127 }
128
129 .cardViewGroup {
130   margin-top: 8px;
131   padding-bottom: 5px;
132   min-width: 50px;
133 }
134
135 .CardViewHeading {
136   padding: 1px;
137   padding-left: 5px;
138   margin: 0px 0px 1px 0px;
139   background-color: #9999CC;
140   color: #FFFFFF;
141   font-weight: bold;
142   min-width: 30px;
143 }
144
145 #cvBuddyIcon {
146   padding-left: 20px;
147   padding-top: 2px;
148 }
149
150 .CardViewText,
151 .CardViewLink {
152   padding-left: 20px;
153   padding-right: 2px;
154   min-width: 30px;
155   margin: 0px;
156 }
157
158 .CardViewLink {
159   color: blue;
160   text-decoration: underline;
161   cursor: pointer;
162 }
163
164 #cvHomeMapIt, #cvWorkMapIt {
165   margin-bottom: 0px;
166 }
167
168 html|a {
169   padding-left: 0px;
170   padding-right: 2px;
171   border: none !important;
172 }
173
174 html|p {
175   border: none !important;
176 }
177
178 /* ::::: border adjustments ::::: */
179
180 #dirTree, #abResultsTree {
181   border: none;
182   margin: 0px;
183 }
184
185 #resultsTree {
186 /*  border-left: 1px solid ThreeDShadow; */
187 }
188
189 /* ::::: Search Bar  ::::: */
190
191 #searchBox {
192 /*
193   border-top: 1px solid ThreeDHighlight;
194   border-bottom: 1px solid ThreeDShadow;
195 */
196 }