19fc7b001167cd4fb56f7ef79e841ef9e7a99c28
[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 @import url("chrome://communicator/skin/sidebar/sidebar.css");
45
46 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
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/newmsg.gif");
84 }
85
86 #button-newim[disabled="true"] {
87   list-style-image: url("chrome://messenger/skin/addressbook/icons/newmsg-disabled.gif") !important;
88
89
90 #button-delete {
91   list-style-image:url("chrome://global/skin/icons/icons/trash.gif");
92 }
93
94 #button-delete[disabled="true"] {
95   list-style-image: url("chrome://global/skin/icons/trash-disabled.gif") !important;
96
97
98 /* ::::: sidebar header ::::: */
99
100 sidebarheader {
101   border: 1px outset #CCD0DD;
102 }
103
104 #sidebar-title-box {
105   border: none;
106 }
107
108 /* CardView styles - used in the Card View Pane */
109
110 #CardViewOuterBox {
111 /*  border-left: 1px solid ThreeDShadow;
112   border-top: 1px solid ThreeDShadow;
113   border-right: 1px solid ThreeDHighlight; */
114 }
115
116 #CardViewBox {
117   -moz-user-focus: ignore;
118   overflow: auto;
119   min-width: 150px;
120   background-color: #CCD0DD;
121 }
122
123 #CardViewInnerBox {
124   margin-top: 2px;
125   margin-bottom: 2px;
126   padding-left: 8px;
127   padding-right: 8px;
128 }
129
130 #CardTitle {
131   font-size: 150%;
132   font-weight: bold;
133   border-bottom: 2px solid black;
134   min-width: 120px;
135   margin: 0px;
136 }
137  
138 .cardViewGroup {
139   margin-top: 8px;
140   padding-bottom: 5px;
141   min-width: 50px;
142 }
143
144 .CardViewHeading {
145   padding: 1px;
146   padding-left: 5px;
147   margin: 0px 0px 1px 0px;
148   background-color: #9999CC;
149   color: #FFFFFF;
150   font-weight: bold;
151   min-width: 30px;
152 }
153
154 #cvBuddyIcon {
155   padding-left: 20px;
156   padding-top: 2px;
157 }
158
159 .CardViewText,
160 .CardViewLink {
161   padding-left: 20px;
162   padding-right: 2px;
163   min-width: 30px;
164   margin: 0px;
165 }
166
167 .CardViewLink {
168   color: blue;
169   text-decoration: underline;
170   cursor: pointer;
171 }
172
173 #cvHomeMapIt, #cvWorkMapIt {
174   margin-bottom: 0px;
175 }
176
177 html|a {
178   padding-left: 0px;
179   padding-right: 2px;
180   border: none !important;
181 }
182
183 html|p {
184   border: none !important;
185 }
186
187 /* ::::: border adjustments ::::: */
188
189 #sidebar-box {
190 /*  border-top: none;
191   border-right: 1px solid ThreeDHighlight;
192   border-bottom: none;
193   border-left: 1px solid ThreeDShadow; */
194 }
195
196 #dirTree, #abResultsTree { 
197   border: none;
198   margin: 0px;
199 }
200
201 #resultsTree {
202 /*  border-left: 1px solid ThreeDShadow; */
203 }
204
205 /* ::::: Search Bar  ::::: */
206
207 #searchBox {
208 /*
209   border-top: 1px solid ThreeDHighlight;
210   border-bottom: 1px solid ThreeDShadow;
211 */
212 }