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 | * | |
e68e2f2b | 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 | |
e68e2f2b | 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 | /* ===== messengercompose.css =========================================== | |
40 | == Styles for the main Messenger Compose window. | |
41 | ======================================================================= */ | |
42 | ||
43 | @import url("chrome://messenger/skin/"); | |
44 | ||
45 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
46 | ||
74d14f90 | 47 | /* ::::: primary toolbar buttons ::::: */ |
e68e2f2b | 48 | |
74d14f90 | 49 | #button-send { |
50 | list-style-image: url("chrome://messenger/skin/messengercompose/send.gif"); | |
f6e0a33f | 51 | } |
52 | ||
74d14f90 | 53 | #button-send[disabled="true"] { |
54 | list-style-image: url("chrome://messenger/skin/messengercompose/send-disabled.gif") !important; | |
e68e2f2b | 55 | } |
74d14f90 | 56 | |
57 | #button-send[offline="true"] { | |
58 | list-style-image: url("chrome://messenger/skin/messengercompose/sendlater.gif"); | |
59 | } | |
60 | ||
61 | #button-send[offline="true"][disabled="true"] { | |
62 | list-style-image: url("chrome://messenger/skin/messengercompose/sendlater-disabled.gif") !important; | |
63 | } | |
64 | ||
65 | #button-address { | |
66 | list-style-image: url("chrome://messenger/skin/messengercompose/address.gif"); | |
67 | } | |
68 | ||
69 | #button-address[disabled="true"] { | |
70 | list-style-image: url("chrome://messenger/skin/messengercompose/address-disabled.gif") !important; | |
e68e2f2b | 71 | } |
74d14f90 | 72 | |
73 | #button-attach { | |
74 | list-style-image: url("chrome://messenger/skin/messengercompose/attach.gif"); | |
75 | } | |
76 | ||
77 | #button-attach[disabled="true"] { | |
78 | list-style-image: url("chrome://messenger/skin/messengercompose/attach-disabled.gif") !important; | |
e68e2f2b | 79 | } |
74d14f90 | 80 | |
81 | #button-quote { | |
82 | list-style-image: url("chrome://messenger/skin/messengercompose/quote.gif"); | |
83 | } | |
84 | ||
85 | #button-quote[disabled="true"] { | |
86 | list-style-image: url("chrome://messenger/skin/messengercompose/quote-disabled.gif") !important; | |
e68e2f2b | 87 | } |
74d14f90 | 88 | |
89 | #spellingButton { | |
259c0f10 | 90 | list-style-image: url("chrome://editor/skin/icons/spell.gif"); |
74d14f90 | 91 | } |
92 | ||
93 | #spellingButton[disabled="true"] { | |
259c0f10 | 94 | list-style-image: url("chrome://editor/skin/icons/spell-disabled.gif") !important; |
74d14f90 | 95 | } |
96 | ||
97 | #button-save { | |
98 | list-style-image: url("chrome://messenger/skin/messengercompose/savemsg.gif"); | |
99 | } | |
100 | ||
101 | #button-save[disabled="true"] { | |
102 | list-style-image: url("chrome://messenger/skin/messengercompose/savemsg-disabled.gif") !important; | |
e68e2f2b | 103 | } |
74d14f90 | 104 | |
105 | #button-stop { | |
106 | list-style-image: url("chrome://global/skin/icons/stop.gif"); | |
107 | } | |
108 | ||
109 | #button-stop[disabled="true"] { | |
110 | list-style-image: url("chrome://global/skin/icons/stop-disabled.gif") !important; | |
e68e2f2b | 111 | } |
f6e0a33f | 112 | |
6c5a63bb RK |
113 | #MsgHeadersToolbar { |
114 | min-height: 0px; /* this undoes the min-height in toolbar.css */ | |
115 | } | |
116 | ||
74d14f90 | 117 | /* ::::: autocomplete icons ::::: */ |
f6e0a33f | 118 | |
a1f525f0 | 119 | treechildren::-moz-tree-cell-text(default-match) { |
74d14f90 | 120 | margin: 2px -3px 2px 15px; |
121 | border: none; | |
122 | } | |
f6e0a33f | 123 | |
a1f525f0 | 124 | treechildren::-moz-tree-image(local-abook) { |
74d14f90 | 125 | margin: 2px -1px 2px 4px; |
74d14f90 | 126 | list-style-image: url("chrome://messenger/skin/addressbook/icons/addrbook.gif"); |
127 | } | |
f6e0a33f | 128 | |
a1f525f0 | 129 | treechildren::-moz-tree-image(remote-abook) { |
74d14f90 | 130 | margin: 2px -3px 2px 2px; |
74d14f90 | 131 | list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook.gif"); |
f6e0a33f | 132 | } |
133 | ||
a1f525f0 | 134 | treechildren::-moz-tree-image(remote-err) { |
74d14f90 | 135 | margin: 2px -3px 2px 2px; |
74d14f90 | 136 | list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook-error.gif"); |
f6e0a33f | 137 | } |
138 | ||
74d14f90 | 139 | /* ::::: EarlyBlue layout corrections ::::: */ |
140 | ||
141 | #addresses-box, | |
142 | #attachments-box { | |
143 | padding: 1px 5px; | |
f6e0a33f | 144 | } |
145 | ||
d36c7ec4 | 146 | #addresses-box > hbox > label, |
147 | #attachments-box > label { | |
148 | margin-left: 0px; | |
149 | } | |
150 | ||
73c8e4ae | 151 | #msgIdentity{ |
74d14f90 | 152 | margin-right: 0px; |
f6e0a33f | 153 | } |
154 | ||
73c8e4ae | 155 | #msgSubject { |
ddc494fc | 156 | margin-right: 0px; |
73c8e4ae | 157 | } |
158 | ||
74d14f90 | 159 | #attachmentBucket { |
160 | margin: 3px 0px 2px 0px; | |
f6e0a33f | 161 | } |
162 | ||
74d14f90 | 163 | #compose-toolbar-sizer { |
164 | border-top: none; | |
165 | } |