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