0fe1507c7ccb299ae5a49725d61b2bd5b21bfb0a
[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-delete {
83   list-style-image:url("chrome://global/skin/icons/icons/trash.gif");
84 }
85
86 #button-delete[disabled="true"] {
87   list-style-image: url("chrome://global/skin/icons/trash-disabled.gif") !important;
88
89
90 /* ::::: sidebar header ::::: */
91
92 sidebarheader {
93   border: 1px outset #CCD0DD;
94 }
95
96 #sidebar-title-box {
97   border: none;
98 }
99
100 /* CardView styles - used in the Card View Pane */
101
102 #CardViewOuterBox {
103 /*  border-left: 1px solid ThreeDShadow;
104   border-top: 1px solid ThreeDShadow;
105   border-right: 1px solid ThreeDHighlight; */
106 }
107
108 #CardViewBox {
109   -moz-user-focus: ignore;
110   overflow: auto;
111   min-width: 150px;
112   background-color: #CCD0DD;
113 }
114
115 #CardViewInnerBox {
116   margin-top: 2px;
117   margin-bottom: 2px;
118   padding-left: 8px;
119   padding-right: 8px;
120 }
121
122 #CardTitle {
123   font-size: 150%;
124   font-weight: bold;
125   border-bottom: 2px solid black;
126   min-width: 120px;
127   margin: 0px;
128 }
129  
130 .cardViewGroup {
131   margin-top: 8px;
132   padding-bottom: 5px;
133   min-width: 50px;
134 }
135
136 .CardViewHeading {
137   padding: 1px;
138   padding-left: 5px;
139   margin: 0px 0px 1px 0px;
140   background-color: #9999CC;
141   color: #FFFFFF;
142   font-weight: bold;
143   min-width: 30px;
144 }
145
146 .CardViewText,
147 .CardViewLink {
148   padding-left: 20px;
149   padding-right: 2px;
150   min-width: 30px;
151   margin: 0px;
152 }
153
154 .CardViewLink {
155   color: blue;
156   text-decoration: underline;
157   cursor: pointer;
158 }
159
160 html|a {
161   padding-left: 0px;
162   padding-right: 2px;
163   border: none !important;
164 }
165
166 html|p {
167   border: none !important;
168 }
169
170 /* ::::: border adjustments ::::: */
171
172 #sidebar-box {
173 /*  border-top: none;
174   border-right: 1px solid ThreeDHighlight;
175   border-bottom: none;
176   border-left: 1px solid ThreeDShadow; */
177 }
178
179 #dirTree, #resultsTree { 
180   border: none;
181   margin: 0px;
182 }
183
184 #resultsTree {
185 /*  border-left: 1px solid ThreeDShadow; */
186 }