128000f4 |
1 | /* ***** BEGIN LICENSE BLOCK ***** |
2 | * Version: NPL 1.1/GPL 2.0/LGPL 2.1 |
f6e0a33f |
3 | * |
128000f4 |
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/ |
f6e0a33f |
8 | * |
128000f4 |
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. |
f6e0a33f |
13 | * |
128000f4 |
14 | * The Original Code is mozilla.org code. |
15 | * |
76983f4c |
16 | * The Initial Developer of the Original Code is |
128000f4 |
17 | * Netscape Communications Corporation. |
18 | * Portions created by the Initial Developer are Copyright (C) 1998 |
19 | * the Initial Developer. All Rights Reserved. |
f6e0a33f |
20 | * |
21 | * Contributor(s): |
22 | * Joe Hewitt (hewitt@netscape.com) |
128000f4 |
23 | * Robert Kaiser <KaiRo@KaiRo.at> |
24 | * |
25 | * Alternatively, the contents of this file may be used under the terms of |
76983f4c |
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
128000f4 |
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 ***** */ |
f6e0a33f |
38 | |
39 | /* ===== addressbook.css ================================================ |
40 | == Styles for the main Address Book window. |
41 | ======================================================================= */ |
42 | |
43 | @import url("chrome://messenger/skin/"); |
f6e0a33f |
44 | |
45 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
76983f4c |
46 | @namespace html url("http://www.w3.org/1999/xhtml"); |
f6e0a33f |
47 | |
f6e0a33f |
48 | /* ::::: primary toolbar buttons ::::: */ |
49 | |
50 | #button-newcard { |
74d14f90 |
51 | list-style-image:url("chrome://messenger/skin/addressbook/icons/newcard.gif"); |
f6e0a33f |
52 | } |
53 | |
74d14f90 |
54 | #button-newcard[disabled="true"] { |
55 | list-style-image: url("chrome://messenger/skin/addressbook/icons/newcard-disabled.gif") !important; |
76983f4c |
56 | } |
f6e0a33f |
57 | |
f6e0a33f |
58 | #button-newlist { |
74d14f90 |
59 | list-style-image: url("chrome://messenger/skin/addressbook/icons/newlist.gif"); |
f6e0a33f |
60 | } |
61 | |
74d14f90 |
62 | #button-newlist[disabled="true"] { |
63 | list-style-image: url("chrome://messenger/skin/addressbook/icons/newlist-disabled.gif") !important; |
76983f4c |
64 | } |
f6e0a33f |
65 | |
f6e0a33f |
66 | #button-editcard { |
74d14f90 |
67 | list-style-image:url("chrome://messenger/skin/addressbook/icons/person.gif"); |
f6e0a33f |
68 | } |
69 | |
74d14f90 |
70 | #button-editcard[disabled="true"] { |
71 | list-style-image: url("chrome://messenger/skin/addressbook/icons/person-disabled.gif") !important; |
76983f4c |
72 | } |
f6e0a33f |
73 | |
f6e0a33f |
74 | #button-newmessage { |
74d14f90 |
75 | list-style-image:url("chrome://messenger/skin/addressbook/icons/newmsg.gif"); |
f6e0a33f |
76 | } |
77 | |
74d14f90 |
78 | #button-newmessage[disabled="true"] { |
79 | list-style-image: url("chrome://messenger/skin/addressbook/icons/newmsg-disabled.gif") !important; |
76983f4c |
80 | } |
f6e0a33f |
81 | |
8a7d0690 |
82 | #button-newim { |
1431bf9b |
83 | list-style-image:url("chrome://messenger/skin/addressbook/icons/im.gif"); |
8a7d0690 |
84 | } |
85 | |
86 | #button-newim[disabled="true"] { |
1431bf9b |
87 | list-style-image: url("chrome://messenger/skin/addressbook/icons/im-disabled.gif") !important; |
76983f4c |
88 | } |
8a7d0690 |
89 | |
f6e0a33f |
90 | #button-delete { |
74d14f90 |
91 | list-style-image:url("chrome://global/skin/icons/icons/trash.gif"); |
f6e0a33f |
92 | } |
93 | |
74d14f90 |
94 | #button-delete[disabled="true"] { |
95 | list-style-image: url("chrome://global/skin/icons/trash-disabled.gif") !important; |
76983f4c |
96 | } |
f6e0a33f |
97 | |
f6e0a33f |
98 | /* CardView styles - used in the Card View Pane */ |
99 | |
100 | #CardViewOuterBox { |
101 | /* border-left: 1px solid ThreeDShadow; |
102 | border-top: 1px solid ThreeDShadow; |
103 | border-right: 1px solid ThreeDHighlight; */ |
104 | } |
105 | |
106 | #CardViewBox { |
74d14f90 |
107 | -moz-user-focus: ignore; |
108 | overflow: auto; |
109 | min-width: 150px; |
110 | background-color: #CCD0DD; |
f6e0a33f |
111 | } |
112 | |
113 | #CardViewInnerBox { |
74d14f90 |
114 | margin-top: 2px; |
115 | margin-bottom: 2px; |
116 | padding-left: 8px; |
117 | padding-right: 8px; |
f6e0a33f |
118 | } |
119 | |
120 | #CardTitle { |
74d14f90 |
121 | font-size: 150%; |
122 | font-weight: bold; |
123 | border-bottom: 2px solid black; |
124 | min-width: 120px; |
125 | margin: 0px; |
f6e0a33f |
126 | } |
76983f4c |
127 | |
f6e0a33f |
128 | .cardViewGroup { |
74d14f90 |
129 | margin-top: 8px; |
130 | padding-bottom: 5px; |
131 | min-width: 50px; |
f6e0a33f |
132 | } |
133 | |
134 | .CardViewHeading { |
74d14f90 |
135 | padding: 1px; |
136 | padding-left: 5px; |
137 | margin: 0px 0px 1px 0px; |
138 | background-color: #9999CC; |
139 | color: #FFFFFF; |
140 | font-weight: bold; |
141 | min-width: 30px; |
f6e0a33f |
142 | } |
143 | |
8a7d0690 |
144 | #cvBuddyIcon { |
145 | padding-left: 20px; |
146 | padding-top: 2px; |
147 | } |
148 | |
cd130c22 |
149 | .CardViewText, |
150 | .CardViewLink { |
74d14f90 |
151 | padding-left: 20px; |
152 | padding-right: 2px; |
153 | min-width: 30px; |
154 | margin: 0px; |
f6e0a33f |
155 | } |
156 | |
cd130c22 |
157 | .CardViewLink { |
74d14f90 |
158 | color: blue; |
159 | text-decoration: underline; |
160 | cursor: pointer; |
cd130c22 |
161 | } |
162 | |
c8120ee9 |
163 | #cvHomeMapIt, #cvWorkMapIt { |
164 | margin-bottom: 0px; |
53fb801a |
165 | } |
c8120ee9 |
166 | |
f6e0a33f |
167 | html|a { |
74d14f90 |
168 | padding-left: 0px; |
169 | padding-right: 2px; |
170 | border: none !important; |
f6e0a33f |
171 | } |
172 | |
173 | html|p { |
174 | border: none !important; |
175 | } |
176 | |
177 | /* ::::: border adjustments ::::: */ |
178 | |
76983f4c |
179 | #dirTree, #abResultsTree { |
f6e0a33f |
180 | border: none; |
f840e302 |
181 | margin: 0px; |
f6e0a33f |
182 | } |
183 | |
184 | #resultsTree { |
185 | /* border-left: 1px solid ThreeDShadow; */ |
186 | } |
d36c7ec4 |
187 | |
188 | /* ::::: Search Bar ::::: */ |
189 | |
190 | #searchBox { |
191 | /* |
192 | border-top: 1px solid ThreeDHighlight; |
193 | border-bottom: 1px solid ThreeDShadow; |
194 | */ |
195 | } |