Commit | Line | Data |
---|---|---|
351107c9 | 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 | * | |
3d6dd546 | 16 | * The Initial Developer of the Original Code is |
351107c9 | 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 | |
3d6dd546 | 26 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
351107c9 | 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/"); | |
351107c9 | 44 | |
45 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
3d6dd546 | 46 | @namespace html url("http://www.w3.org/1999/xhtml"); |
351107c9 | 47 | |
351107c9 | 48 | /* ::::: primary toolbar buttons ::::: */ |
49 | ||
50 | #button-newcard { | |
b1eaa419 | 51 | list-style-image:url("chrome://messenger/skin/addressbook/icons/newcard.gif"); |
351107c9 | 52 | } |
53 | ||
351107c9 | 54 | #button-newcard:hover, |
b1eaa419 | 55 | #button-newcard:hover:active { |
56 | list-style-image: url("chrome://messenger/skin/addressbook/icons/newcard-hover.gif"); | |
3d6dd546 | 57 | } |
b1eaa419 | 58 | |
59 | #button-newcard[disabled="true"] { | |
60 | list-style-image: url("chrome://messenger/skin/addressbook/icons/newcard-disabled.gif") !important; | |
3d6dd546 | 61 | } |
351107c9 | 62 | |
63 | #button-newlist { | |
b1eaa419 | 64 | list-style-image: url("chrome://messenger/skin/addressbook/icons/newlist.gif"); |
351107c9 | 65 | } |
66 | ||
351107c9 | 67 | #button-newlist:hover, |
b1eaa419 | 68 | #button-newlist:hover:active { |
69 | list-style-image: url("chrome://messenger/skin/addressbook/icons/newlist-hover.gif"); | |
3d6dd546 | 70 | } |
b1eaa419 | 71 | |
72 | #button-newlist[disabled="true"] { | |
73 | list-style-image: url("chrome://messenger/skin/addressbook/icons/newlist-disabled.gif") !important; | |
3d6dd546 | 74 | } |
351107c9 | 75 | |
76 | #button-editcard { | |
b1eaa419 | 77 | list-style-image:url("chrome://messenger/skin/addressbook/icons/person.gif"); |
351107c9 | 78 | } |
79 | ||
351107c9 | 80 | #button-editcard:hover, |
b1eaa419 | 81 | #button-editcard:hover:active { |
82 | list-style-image: url("chrome://messenger/skin/addressbook/icons/person-hover.gif"); | |
3d6dd546 | 83 | } |
b1eaa419 | 84 | |
85 | #button-editcard[disabled="true"] { | |
86 | list-style-image: url("chrome://messenger/skin/addressbook/icons/person-disabled.gif") !important; | |
3d6dd546 | 87 | } |
351107c9 | 88 | |
89 | #button-newmessage { | |
b1eaa419 | 90 | list-style-image:url("chrome://messenger/skin/addressbook/icons/newmsg.gif"); |
351107c9 | 91 | } |
92 | ||
351107c9 | 93 | #button-newmessage:hover, |
b1eaa419 | 94 | #button-newmessage:hover:active { |
95 | list-style-image: url("chrome://messenger/skin/addressbook/icons/newmsg-hover.gif"); | |
3d6dd546 | 96 | } |
b1eaa419 | 97 | |
98 | #button-newmessage[disabled="true"] { | |
99 | list-style-image: url("chrome://messenger/skin/addressbook/icons/newmsg-disabled.gif") !important; | |
3d6dd546 | 100 | } |
351107c9 | 101 | |
8a7d0690 | 102 | #button-newim { |
a3b3d4d6 | 103 | list-style-image:url("chrome://messenger/skin/addressbook/icons/im.gif"); |
8a7d0690 | 104 | } |
105 | ||
106 | #button-newim:hover, | |
107 | #button-newim:hover:active { | |
a3b3d4d6 | 108 | list-style-image: url("chrome://messenger/skin/addressbook/icons/im-hover.gif"); |
3d6dd546 | 109 | } |
8a7d0690 | 110 | |
111 | #button-newim[disabled="true"] { | |
a3b3d4d6 | 112 | list-style-image: url("chrome://messenger/skin/addressbook/icons/im-disabled.gif") !important; |
3d6dd546 | 113 | } |
8a7d0690 | 114 | |
351107c9 | 115 | #button-delete { |
303bd2e1 RK |
116 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
117 | -moz-image-region: rect(0px 25px 21px 0px); | |
351107c9 | 118 | } |
119 | ||
303bd2e1 RK |
120 | #button-delete[disabled="true"] { |
121 | -moz-image-region: rect(0px 50px 21px 25px); | |
3d6dd546 | 122 | } |
b1eaa419 | 123 | |
303bd2e1 RK |
124 | #button-delete:not([disabled="true"]):hover, |
125 | #button-delete:not([disabled="true"]):hover:active { | |
126 | -moz-image-region: rect(0px 75px 21px 50px); | |
3d6dd546 | 127 | } |
351107c9 | 128 | |
351107c9 | 129 | /* CardView styles - used in the Card View Pane */ |
130 | ||
131 | #CardViewOuterBox { | |
132 | /* border-left: 1px solid ThreeDShadow; | |
133 | border-top: 1px solid ThreeDShadow; | |
134 | border-right: 1px solid ThreeDHighlight; */ | |
135 | } | |
136 | ||
137 | #CardViewBox { | |
b1eaa419 | 138 | -moz-user-focus: ignore; |
139 | overflow: auto; | |
140 | min-width: 150px; | |
141 | background-color: #000000; | |
351107c9 | 142 | } |
143 | ||
144 | #CardViewInnerBox { | |
b1eaa419 | 145 | margin: 2px 0px; |
146 | padding: 0px 8px; | |
351107c9 | 147 | } |
148 | ||
149 | #CardTitle { | |
b1eaa419 | 150 | font-size: 150%; |
151 | font-weight: bold; | |
152 | border-bottom: 2px solid #6000CF; | |
153 | min-width: 120px; | |
154 | margin: 0px; | |
351107c9 | 155 | } |
3d6dd546 | 156 | |
351107c9 | 157 | .cardViewGroup { |
b1eaa419 | 158 | margin-top: 8px; |
159 | padding-bottom: 5px; | |
160 | min-width: 50px; | |
351107c9 | 161 | } |
162 | ||
163 | .CardViewHeading { | |
b1eaa419 | 164 | padding: 1px; |
8caa872d | 165 | -moz-padding-start: 5px; |
02920d2b | 166 | margin: 0 0 1px; |
b1eaa419 | 167 | background-color: #008484; |
168 | color: #000000; | |
169 | font-weight: bold; | |
170 | min-width: 30px; | |
351107c9 | 171 | } |
172 | ||
8a7d0690 | 173 | #cvBuddyIcon { |
8caa872d | 174 | -moz-padding-start: 20px; |
8a7d0690 | 175 | padding-top: 2px; |
176 | } | |
177 | ||
351107c9 | 178 | .CardViewText, |
179 | .CardViewLink { | |
8caa872d RK |
180 | -moz-padding-start: 20px; |
181 | -moz-padding-end: 2px; | |
b1eaa419 | 182 | min-width: 30px; |
183 | margin: 0px; | |
351107c9 | 184 | } |
185 | ||
186 | .CardViewLink { | |
b1eaa419 | 187 | color: blue; |
188 | text-decoration: underline; | |
189 | cursor: pointer; | |
351107c9 | 190 | } |
191 | ||
80916bc4 | 192 | #cvHomeMapIt, #cvWorkMapIt { |
193 | margin-bottom: 0px; | |
194 | } | |
195 | ||
351107c9 | 196 | html|a { |
8caa872d RK |
197 | -moz-padding-start: 0px; |
198 | -moz-padding-end: 2px; | |
b1eaa419 | 199 | border: none !important; |
351107c9 | 200 | } |
201 | ||
202 | html|p { | |
203 | border: none !important; | |
204 | } | |
205 | ||
206 | /* ::::: border adjustments ::::: */ | |
207 | ||
3d6dd546 | 208 | #results-splitter { |
351107c9 | 209 | border: none; |
210 | } | |
211 | ||
3d6dd546 | 212 | #dirTree, #abResultsTree { |
351107c9 | 213 | border: none; |
214 | margin: 0px; | |
215 | } | |
216 | ||
217 | #resultsTree { | |
218 | /* border-left: 1px solid ThreeDShadow; */ | |
219 | } |