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 { | |
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 { |
d61a45b2 RK |
91 | list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); |
92 | -moz-image-region: rect(0px 25px 21px 0px); | |
f6e0a33f | 93 | } |
94 | ||
74d14f90 | 95 | #button-delete[disabled="true"] { |
d61a45b2 | 96 | -moz-image-region: rect(0px 50px 21px 25px); |
76983f4c | 97 | } |
f6e0a33f | 98 | |
f6e0a33f | 99 | /* CardView styles - used in the Card View Pane */ |
100 | ||
101 | #CardViewOuterBox { | |
102 | /* border-left: 1px solid ThreeDShadow; | |
103 | border-top: 1px solid ThreeDShadow; | |
104 | border-right: 1px solid ThreeDHighlight; */ | |
105 | } | |
106 | ||
107 | #CardViewBox { | |
74d14f90 | 108 | -moz-user-focus: ignore; |
109 | overflow: auto; | |
110 | min-width: 150px; | |
111 | background-color: #CCD0DD; | |
f6e0a33f | 112 | } |
113 | ||
114 | #CardViewInnerBox { | |
74d14f90 | 115 | margin-top: 2px; |
116 | margin-bottom: 2px; | |
8caa872d RK |
117 | -moz-padding-start: 8px; |
118 | -moz-padding-end: 8px; | |
f6e0a33f | 119 | } |
120 | ||
121 | #CardTitle { | |
74d14f90 | 122 | font-size: 150%; |
123 | font-weight: bold; | |
124 | border-bottom: 2px solid black; | |
125 | min-width: 120px; | |
126 | margin: 0px; | |
f6e0a33f | 127 | } |
76983f4c | 128 | |
f6e0a33f | 129 | .cardViewGroup { |
74d14f90 | 130 | margin-top: 8px; |
131 | padding-bottom: 5px; | |
132 | min-width: 50px; | |
f6e0a33f | 133 | } |
134 | ||
135 | .CardViewHeading { | |
74d14f90 | 136 | padding: 1px; |
8caa872d | 137 | -moz-padding-start: 5px; |
02920d2b | 138 | margin: 0 0 1px; |
74d14f90 | 139 | background-color: #9999CC; |
140 | color: #FFFFFF; | |
141 | font-weight: bold; | |
142 | min-width: 30px; | |
f6e0a33f | 143 | } |
144 | ||
8a7d0690 | 145 | #cvBuddyIcon { |
8caa872d | 146 | -moz-padding-start: 20px; |
8a7d0690 | 147 | padding-top: 2px; |
148 | } | |
149 | ||
cd130c22 | 150 | .CardViewText, |
151 | .CardViewLink { | |
8caa872d RK |
152 | -moz-padding-start: 20px; |
153 | -moz-padding-end: 2px; | |
74d14f90 | 154 | min-width: 30px; |
155 | margin: 0px; | |
f6e0a33f | 156 | } |
157 | ||
cd130c22 | 158 | .CardViewLink { |
74d14f90 | 159 | color: blue; |
160 | text-decoration: underline; | |
161 | cursor: pointer; | |
cd130c22 | 162 | } |
163 | ||
c8120ee9 | 164 | #cvHomeMapIt, #cvWorkMapIt { |
165 | margin-bottom: 0px; | |
53fb801a | 166 | } |
c8120ee9 | 167 | |
f6e0a33f | 168 | html|a { |
8caa872d RK |
169 | -moz-padding-start: 0px; |
170 | -moz-padding-end: 2px; | |
74d14f90 | 171 | border: none !important; |
f6e0a33f | 172 | } |
173 | ||
174 | html|p { | |
175 | border: none !important; | |
176 | } | |
177 | ||
178 | /* ::::: border adjustments ::::: */ | |
179 | ||
76983f4c | 180 | #dirTree, #abResultsTree { |
f6e0a33f | 181 | border: none; |
f840e302 | 182 | margin: 0px; |
f6e0a33f | 183 | } |
184 | ||
185 | #resultsTree { | |
186 | /* border-left: 1px solid ThreeDShadow; */ | |
187 | } |