1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
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/
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
14 * The Original Code is mozilla.org code.
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.
22 * Joe Hewitt (hewitt@netscape.com)
23 * Robert Kaiser <KaiRo@KaiRo.at>
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.
37 * ***** END LICENSE BLOCK ***** */
39 /* ===== addressbook.css ================================================
40 == Styles for the main Address Book window.
41 ======================================================================= */
43 @import url("chrome://messenger/skin/");
45 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
46 @namespace html url("http://www.w3.org/1999/xhtml");
48 /* ::::: primary toolbar buttons ::::: */
51 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
52 -moz-image-region: rect(42px 25px 63px 0px);
55 #button-newcard[disabled="true"] {
56 -moz-image-region: rect(42px 50px 63px 25px);
60 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
61 -moz-image-region: rect(63px 25px 84px 0px);
64 #button-newlist[disabled="true"] {
65 -moz-image-region: rect(63px 50px 84px 25px);
69 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
70 -moz-image-region: rect(21px 25px 42px 0px);
73 #button-editcard[disabled="true"] {
74 -moz-image-region: rect(21px 50px 42px 25px);
78 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
79 -moz-image-region: rect(105px 25px 126px 0px);
82 #button-newmessage[disabled="true"] {
83 -moz-image-region: rect(105px 50px 126px 25px);
87 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
88 -moz-image-region: rect(84px 25px 105px 0px);
91 #button-newim[disabled="true"] {
92 -moz-image-region: rect(84px 25px 105px 0px);
96 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
97 -moz-image-region: rect(0px 25px 21px 0px);
100 #button-abdelete[disabled="true"] {
101 -moz-image-region: rect(0px 50px 21px 25px);
104 /* ::::: small primary toolbar buttons ::::: */
106 toolbar[iconsize="small"] > #button-newcard,
107 toolbar[iconsize="small"] > toolbarpaletteitem > #button-newcard {
108 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
109 -moz-image-region: rect(32px 16px 48px 0);
112 toolbar[iconsize="small"] > #button-newcard[disabled] {
113 -moz-image-region: rect(32px 32px 48px 16px);
116 toolbar[iconsize="small"] > #button-newlist,
117 toolbar[iconsize="small"] > toolbarpaletteitem > #button-newlist {
118 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
119 -moz-image-region: rect(48px 16px 64px 0);
122 toolbar[iconsize="small"] > #button-newlist[disabled] {
123 -moz-image-region: rect(48px 32px 64px 16px);
126 toolbar[iconsize="small"] > #button-editcard,
127 toolbar[iconsize="small"] > toolbarpaletteitem > #button-editcard {
128 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
129 -moz-image-region: rect(16px 16px 32px 0);
132 toolbar[iconsize="small"] > #button-editcard[disabled] {
133 -moz-image-region: rect(16px 32px 32px 16px);
136 toolbar[iconsize="small"] > #button-newmessage,
137 toolbar[iconsize="small"] > toolbarpaletteitem > #button-newmessage {
138 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
139 -moz-image-region: rect(80px 16px 96px 0);
142 toolbar[iconsize="small"] > #button-newmessage[disabled="true"] {
143 -moz-image-region: rect(80px 32px 96px 16px);
146 toolbar[iconsize="small"] > #button-newim,
147 toolbar[iconsize="small"] > toolbarpaletteitem > #button-newim {
148 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
149 -moz-image-region: rect(64px 16px 80px 0);
152 toolbar[iconsize="small"] > #button-newim[disabled] {
153 -moz-image-region: rect(64px 32px 80px 16px);
156 toolbar[iconsize="small"] > #button-abdelete,
157 toolbar[iconsize="small"] > toolbarpaletteitem > #button-abdelete {
158 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
159 -moz-image-region: rect(0 16px 16px 0);
162 toolbar[iconsize="small"] > #button-abdelete[disabled] {
163 -moz-image-region: rect(0 32px 16px 16px);
166 /* CardView styles - used in the Card View Pane */
169 /* border-left: 1px solid ThreeDShadow;
170 border-top: 1px solid ThreeDShadow;
171 border-right: 1px solid ThreeDHighlight; */
175 -moz-user-focus: ignore;
178 background-color: #CCD0DD;
184 -moz-padding-start: 8px;
185 -moz-padding-end: 8px;
191 border-bottom: 2px solid black;
204 -moz-padding-start: 5px;
206 background-color: #9999CC;
213 -moz-padding-start: 20px;
219 -moz-padding-start: 20px;
220 -moz-padding-end: 2px;
227 text-decoration: underline;
231 #cvHomeMapIt, #cvWorkMapIt {
236 -moz-padding-start: 0px;
237 -moz-padding-end: 2px;
238 border: none !important;
242 border: none !important;
245 /* ::::: border adjustments ::::: */
248 /* border-left: 1px solid ThreeDShadow; */
251 /* ::::: lightweight themes ::::: */
253 #CardViewOuterBox:-moz-lwtheme,
254 treecols:-moz-lwtheme {
256 /* color: -moz-dialogtext;
257 background-color: -moz-dialog; */