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