1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 /* ===== addressbook.css ================================================
6 == Styles for the main Address Book window.
7 ======================================================================= */
9 @import url("chrome://messenger/skin/");
11 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
12 @namespace html url("http://www.w3.org/1999/xhtml");
14 /* ::::: primary toolbar buttons ::::: */
17 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
18 -moz-image-region: rect(42px 25px 63px 0px);
21 #button-newcard[disabled="true"] {
22 -moz-image-region: rect(42px 50px 63px 25px);
26 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
27 -moz-image-region: rect(63px 25px 84px 0px);
30 #button-newlist[disabled="true"] {
31 -moz-image-region: rect(63px 50px 84px 25px);
35 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
36 -moz-image-region: rect(21px 25px 42px 0px);
39 #button-editcard[disabled="true"] {
40 -moz-image-region: rect(21px 50px 42px 25px);
44 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
45 -moz-image-region: rect(105px 25px 126px 0px);
48 #button-newmessage[disabled="true"] {
49 -moz-image-region: rect(105px 50px 126px 25px);
53 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
54 -moz-image-region: rect(84px 25px 105px 0px);
57 #button-newim[disabled="true"] {
58 -moz-image-region: rect(84px 25px 105px 0px);
62 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
63 -moz-image-region: rect(0px 25px 21px 0px);
66 #button-abdelete[disabled="true"] {
67 -moz-image-region: rect(0px 50px 21px 25px);
70 /* ::::: small primary toolbar buttons ::::: */
72 toolbar[iconsize="small"] > #button-newcard,
73 toolbar[iconsize="small"] > toolbarpaletteitem > #button-newcard {
74 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
75 -moz-image-region: rect(32px 16px 48px 0);
78 toolbar[iconsize="small"] > #button-newcard[disabled] {
79 -moz-image-region: rect(32px 32px 48px 16px);
82 toolbar[iconsize="small"] > #button-newlist,
83 toolbar[iconsize="small"] > toolbarpaletteitem > #button-newlist {
84 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
85 -moz-image-region: rect(48px 16px 64px 0);
88 toolbar[iconsize="small"] > #button-newlist[disabled] {
89 -moz-image-region: rect(48px 32px 64px 16px);
92 toolbar[iconsize="small"] > #button-editcard,
93 toolbar[iconsize="small"] > toolbarpaletteitem > #button-editcard {
94 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
95 -moz-image-region: rect(16px 16px 32px 0);
98 toolbar[iconsize="small"] > #button-editcard[disabled] {
99 -moz-image-region: rect(16px 32px 32px 16px);
102 toolbar[iconsize="small"] > #button-newmessage,
103 toolbar[iconsize="small"] > toolbarpaletteitem > #button-newmessage {
104 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
105 -moz-image-region: rect(80px 16px 96px 0);
108 toolbar[iconsize="small"] > #button-newmessage[disabled="true"] {
109 -moz-image-region: rect(80px 32px 96px 16px);
112 toolbar[iconsize="small"] > #button-newim,
113 toolbar[iconsize="small"] > toolbarpaletteitem > #button-newim {
114 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
115 -moz-image-region: rect(64px 16px 80px 0);
118 toolbar[iconsize="small"] > #button-newim[disabled] {
119 -moz-image-region: rect(64px 32px 80px 16px);
122 toolbar[iconsize="small"] > #button-abdelete,
123 toolbar[iconsize="small"] > toolbarpaletteitem > #button-abdelete {
124 list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png");
125 -moz-image-region: rect(0 16px 16px 0);
128 toolbar[iconsize="small"] > #button-abdelete[disabled] {
129 -moz-image-region: rect(0 32px 16px 16px);
132 /* CardView styles - used in the Card View Pane */
135 /* border-left: 1px solid ThreeDShadow;
136 border-top: 1px solid ThreeDShadow;
137 border-right: 1px solid ThreeDHighlight; */
141 -moz-user-focus: ignore;
144 background-color: #CCD0DD;
150 padding-inline-start: 8px;
151 padding-inline-end: 8px;
157 border-bottom: 2px solid black;
170 padding-inline-start: 5px;
172 background-color: #9999CC;
179 padding-inline-start: 20px;
185 padding-inline-start: 20px;
186 padding-inline-end: 2px;
193 text-decoration: underline;
197 #cvHomeMapIt, #cvWorkMapIt {
202 padding-inline-start: 0px;
203 padding-inline-end: 2px;
204 border: none !important;
208 border: none !important;
211 /* ::::: border adjustments ::::: */
214 /* border-left: 1px solid ThreeDShadow; */
217 /* ::::: lightweight themes ::::: */
219 #CardViewOuterBox:-moz-lwtheme,
220 treecols:-moz-lwtheme {
222 /* color: -moz-dialogtext;
223 background-color: -moz-dialog; */