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 /* ===== messengercompose.css ===========================================
6 == Styles for the main Messenger Compose window.
7 ======================================================================= */
9 @import url("chrome://messenger/skin/");
11 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
13 /* ::::: primary toolbar buttons ::::: */
16 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
17 -moz-image-region: rect(231px 25px 252px 0px);
20 #button-send[disabled="true"] {
21 -moz-image-region: rect(231px 50px 252px 25px);
24 #button-send:not([disabled="true"]):hover,
25 #button-send:not([disabled="true"]):hover:active {
26 -moz-image-region: rect(231px 75px 252px 50px);
29 #button-send[offline="true"] {
30 -moz-image-region: rect(273px 25px 294px 0px);
33 #button-send[offline="true"][disabled="true"] {
34 -moz-image-region: rect(273px 50px 294px 25px);
37 #button-send[offline="true"]:not([disabled="true"]):hover,
38 #button-send[offline="true"]:not([disabled="true"]):hover:active {
39 -moz-image-region: rect(273px 75px 294px 50px);
43 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
44 -moz-image-region: rect(189px 25px 210px 0px);
47 #button-address[disabled="true"] {
48 -moz-image-region: rect(189px 50px 210px 25px);
51 #button-address:not([disabled="true"]):hover,
52 #button-address:not([disabled="true"]):hover:active {
53 -moz-image-region: rect(189px 75px 210px 50px);
57 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
58 -moz-image-region: rect(210px 25px 231px 0px);
61 #button-attach[disabled="true"] {
62 -moz-image-region: rect(210px 50px 231px 25px);
65 #button-attach:not([disabled="true"]):hover,
66 #button-attach:not([disabled="true"]):hover:active,
67 #button-attach[open="true"] {
68 -moz-image-region: rect(210px 75px 231px 50px);
72 list-style-image: url("chrome://editor/skin/icons/editoricons.png");
73 -moz-image-region: rect(168px 25px 189px 0px);
76 #spellingButton[disabled="true"] {
77 -moz-image-region: rect(168px 50px 189px 25px);
80 #spellingButton:not([disabled="true"]):hover,
81 #spellingButton:not([disabled="true"]):hover:active,
82 #spellingButton[open="true"] {
83 -moz-image-region: rect(168px 75px 189px 50px);
87 list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
88 -moz-image-region: rect(294px 25px 315px 0px);
91 #button-save[disabled="true"] {
92 -moz-image-region: rect(294px 50px 315px 25px);
95 #button-save:not([disabled="true"]):hover,
96 #button-save:not([disabled="true"]):hover:active,
97 #button-save[open="true"] {
98 -moz-image-region: rect(294px 75px 315px 50px);
101 /* ::::: small primary toolbar buttons ::::: */
103 toolbar[iconsize="small"] > #button-send,
104 toolbar[iconsize="small"] > toolbarpaletteitem > #button-send {
105 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
106 -moz-image-region: rect(176px 16px 192px 0);
109 toolbar[iconsize="small"] > #button-send[disabled="true"] {
110 -moz-image-region: rect(176px 32px 192px 16px);
113 toolbar[iconsize="small"] > #button-send:not([disabled="true"]):hover,
114 toolbar[iconsize="small"] > #button-send:not([disabled="true"]):hover:active {
115 -moz-image-region: rect(176px 48px 192px 32px);
118 toolbar[iconsize="small"] > #button-send[offline="true"] {
119 -moz-image-region: rect(208px 16px 224px 0);
122 toolbar[iconsize="small"] > #button-send[offline="true"][disabled="true"] {
123 -moz-image-region: rect(208px 32px 224px 16px);
126 toolbar[iconsize="small"] > #button-send[offline="true"]:not([disabled="true"]):hover,
127 toolbar[iconsize="small"] > #button-send[offline="true"]:not([disabled="true"]):hover:active {
128 -moz-image-region: rect(208px 48px 2224px 32px);
131 toolbar[iconsize="small"] > #button-address,
132 toolbar[iconsize="small"] > toolbarpaletteitem > #button-address {
133 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
134 -moz-image-region: rect(144px 16px 160px 0);
137 toolbar[iconsize="small"] > #button-address[disabled="true"] {
138 -moz-image-region: rect(144px 32px 160px 16px);
141 toolbar[iconsize="small"] > #button-address:not([disabled="true"]):hover,
142 toolbar[iconsize="small"] > #button-address:not([disabled="true"]):hover:active {
143 -moz-image-region: rect(144px 48px 160px 32px);
146 toolbar[iconsize="small"] > #button-attach,
147 toolbar[iconsize="small"] > toolbarpaletteitem > #button-attach {
148 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
149 -moz-image-region: rect(160px 16px 176px 0);
152 toolbar[iconsize="small"] > #button-attach[disabled="true"] {
153 -moz-image-region: rect(160px 32px 176px 16px);
156 toolbar[iconsize="small"] > #button-attach:not([disabled="true"]):hover,
157 toolbar[iconsize="small"] > #button-attach:not([disabled="true"]):hover:active,
158 toolbar[iconsize="small"] > #button-attach[open="true"] {
159 -moz-image-region: rect(160px 48px 176px 32px);
162 toolbar[iconsize="small"] > #spellingButton,
163 toolbar[iconsize="small"] > toolbarpaletteitem > #spellingButton {
164 list-style-image: url("chrome://editor/skin/icons/editoricons-small.png");
165 -moz-image-region: rect(128px 16px 144px 0);
168 toolbar[iconsize="small"] > #spellingButton[disabled="true"] {
169 -moz-image-region: rect(128px 32px 144px 16px);
172 toolbar[iconsize="small"] > #spellingButton:not([disabled="true"]):hover,
173 toolbar[iconsize="small"] > #spellingButton:not([disabled="true"]):hover:active,
174 toolbar[iconsize="small"] > #spellingButton[open="true"] {
175 -moz-image-region: rect(128px 48px 144px 32px);
178 toolbar[iconsize="small"] > #button-save,
179 toolbar[iconsize="small"] > toolbarpaletteitem > #button-save {
180 list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
181 -moz-image-region: rect(224px 16px 240px 0);
184 toolbar[iconsize="small"] > #button-save[disabled="true"] {
185 -moz-image-region: rect(224px 32px 240px 16px);
188 toolbar[iconsize="small"] > #button-save:not([disabled="true"]):hover,
189 toolbar[iconsize="small"] > #button-save:not([disabled="true"]):hover:active,
190 toolbar[iconsize="small"] > #button-save[open="true"] {
191 -moz-image-region: rect(224px 48px 240px 32px);
195 min-height: 0px; /* this undoes the min-height in toolbar.css */
198 #MsgHeadersToolbar > .toolbar-box > .toolbar-holder {
199 -moz-padding-end: 0; /* this undoes the padding in toolbar.css */
202 /* ::::: autocomplete icons ::::: */
204 treechildren::-moz-tree-cell-text(default-match) {
207 -moz-margin-start: 15px;
208 -moz-margin-end: -3px;
212 treechildren::-moz-tree-image(local-abook) {
215 -moz-margin-start: 4px;
216 -moz-margin-end: -1px;
217 list-style-image: url("chrome://messenger/skin/addressbook/icons/addrbook.gif");
220 treechildren::-moz-tree-image(remote-abook) {
222 -moz-margin-end: -3px;
223 list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook.gif");
226 treechildren::-moz-tree-image(remote-err) {
228 -moz-margin-end: -3px;
229 list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook-error.gif");
232 /* ::::: LCARStrek layout corrections ::::: */
234 #msgheaderstoolbar-box {
235 background-color: #E7ADE7;
244 #addresses-box > hbox > label,
245 #attachments-box > label {
246 -moz-margin-start: 0px;
250 -moz-margin-end: 0px;
254 -moz-margin-end: 0px;
262 #attachmentbucket-sizer {
265 background-color: #000000;
268 #compose-toolbar-sizer {
274 /* ::::: lightweight themes ::::: */
276 #MsgHeadersToolbar:-moz-lwtheme,
277 #FormatToolbar:-moz-lwtheme,
278 #compose-toolbar-sizer:-moz-lwtheme {
280 /* color: -moz-dialogtext;
281 background-color: -moz-dialog; */
284 #MsgHeadersToolbar textbox:-moz-lwtheme,
285 #MsgHeadersToolbar menulist:-moz-lwtheme,
286 .formatting-button menulist:-moz-lwtheme {