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