Commit | Line | Data |
---|---|---|
351107c9 | 1 | /* ***** BEGIN LICENSE BLOCK ***** |
2 | * Version: NPL 1.1/GPL 2.0/LGPL 2.1 | |
3 | * | |
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/ | |
8 | * | |
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. | |
13 | * | |
14 | * The Original Code is mozilla.org code. | |
15 | * | |
3a121502 | 16 | * The Initial Developer of the Original Code is |
351107c9 | 17 | * Netscape Communications Corporation. |
18 | * Portions created by the Initial Developer are Copyright (C) 1998 | |
19 | * the Initial Developer. All Rights Reserved. | |
20 | * | |
21 | * Contributor(s): | |
22 | * Robert Kaiser <KaiRo@KaiRo.at> | |
23 | * | |
24 | * Alternatively, the contents of this file may be used under the terms of | |
3a121502 | 25 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
351107c9 | 26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
27 | * in which case the provisions of the GPL or the LGPL are applicable instead | |
28 | * of those above. If you wish to allow use of your version of this file only | |
29 | * under the terms of either the GPL or the LGPL, and not to allow others to | |
30 | * use your version of this file under the terms of the NPL, indicate your | |
31 | * decision by deleting the provisions above and replace them with the notice | |
32 | * and other provisions required by the GPL or the LGPL. If you do not delete | |
33 | * the provisions above, a recipient may use your version of this file under | |
34 | * the terms of any one of the NPL, the GPL or the LGPL. | |
35 | * | |
36 | * ***** END LICENSE BLOCK ***** */ | |
37 | ||
38 | /* ===== primaryToolbar.css ============================================= | |
39 | == Images for the Mail primary toolbar. | |
40 | ======================================================================= */ | |
41 | ||
42 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
43 | ||
44 | /* ::::: primary toolbar buttons ::::: */ | |
45 | ||
b1eaa419 | 46 | #button-getmsg { |
47 | list-style-image: url("chrome://messenger/skin/toolbar/getmsg.gif"); | |
48 | } | |
351107c9 | 49 | |
50 | #button-getmsg:hover, | |
3a121502 | 51 | #button-getmsg:hover:active, |
b1eaa419 | 52 | #button-getmsg[open="true"] { |
53 | list-style-image: url("chrome://messenger/skin/toolbar/getmsg-hover.gif"); | |
3a121502 | 54 | } |
b1eaa419 | 55 | |
56 | #button-getmsg[disabled="true"] { | |
57 | list-style-image: url("chrome://messenger/skin/toolbar/getmsg-disabled.gif") !important; | |
58 | } | |
59 | ||
60 | #button-newmsg { | |
61 | list-style-image: url("chrome://messenger/skin/toolbar/newmsg.gif"); | |
62 | } | |
351107c9 | 63 | |
64 | #button-newmsg:hover, | |
b1eaa419 | 65 | #button-newmsg:hover:active { |
66 | list-style-image: url("chrome://messenger/skin/toolbar/newmsg-hover.gif"); | |
3a121502 | 67 | } |
b1eaa419 | 68 | |
69 | #button-newmsg[disabled="true"] { | |
70 | list-style-image: url("chrome://messenger/skin/toolbar/newmsg-disabled.gif") !important; | |
71 | } | |
72 | ||
73 | #button-reply { | |
74 | list-style-image: url("chrome://messenger/skin/toolbar/reply.gif"); | |
75 | } | |
351107c9 | 76 | |
77 | #button-reply:hover, | |
b1eaa419 | 78 | #button-reply:hover:active { |
79 | list-style-image: url("chrome://messenger/skin/toolbar/reply-hover.gif"); | |
3a121502 | 80 | } |
b1eaa419 | 81 | |
82 | #button-reply[disabled="true"] { | |
83 | list-style-image: url("chrome://messenger/skin/toolbar/reply-disabled.gif") !important; | |
84 | } | |
85 | ||
86 | #button-replyall { | |
87 | list-style-image: url("chrome://messenger/skin/toolbar/replyall.gif"); | |
88 | } | |
351107c9 | 89 | |
90 | #button-replyall:hover, | |
b1eaa419 | 91 | #button-replyall:hover:active { |
92 | list-style-image: url("chrome://messenger/skin/toolbar/replyall-hover.gif"); | |
3a121502 | 93 | } |
b1eaa419 | 94 | |
95 | #button-replyall[disabled="true"] { | |
96 | list-style-image: url("chrome://messenger/skin/toolbar/replyall-disabled.gif") !important; | |
97 | } | |
98 | ||
99 | #button-forward { | |
100 | list-style-image: url("chrome://messenger/skin/toolbar/forward.gif"); | |
101 | } | |
351107c9 | 102 | |
103 | #button-forward:hover, | |
b1eaa419 | 104 | #button-forward:hover:active { |
105 | list-style-image: url("chrome://messenger/skin/toolbar/forward-hover.gif"); | |
3a121502 | 106 | } |
b1eaa419 | 107 | |
108 | #button-forward[disabled="true"] { | |
109 | list-style-image: url("chrome://messenger/skin/toolbar/forward-disabled.gif") !important; | |
110 | } | |
111 | ||
112 | #button-file { | |
113 | list-style-image: url("chrome://messenger/skin/toolbar/file.gif"); | |
114 | } | |
351107c9 | 115 | |
116 | #button-file:hover, | |
3a121502 | 117 | #button-file:hover:active, |
b1eaa419 | 118 | #button-file[open="true"] { |
119 | list-style-image: url("chrome://messenger/skin/toolbar/file-hover.gif"); | |
3a121502 | 120 | } |
b1eaa419 | 121 | |
122 | #button-file[disabled="true"] { | |
123 | list-style-image: url("chrome://messenger/skin/toolbar/file-disabled.gif") !important; | |
124 | } | |
125 | ||
ee6cb01c RK |
126 | #button-goback { |
127 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); | |
128 | -moz-image-region: rect(42px 25px 63px 0px); | |
129 | } | |
130 | ||
c452635d RK |
131 | #button-goback:hover, |
132 | #button-goback:hover:active, | |
133 | #button-goback[open="true"] { | |
134 | -moz-image-region: rect(42px 75px 63px 50px); | |
135 | } | |
136 | ||
ee6cb01c RK |
137 | #button-goback[disabled="true"] { |
138 | -moz-image-region: rect(42px 50px 63px 25px) !important; | |
139 | } | |
140 | ||
141 | #button-goforward { | |
142 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); | |
143 | -moz-image-region: rect(63px 25px 84px 0px); | |
144 | } | |
145 | ||
c452635d RK |
146 | #button-goforward:hover, |
147 | #button-goforward:hover:active, | |
148 | #button-goforward[open="true"] { | |
149 | -moz-image-region: rect(63px 75px 84px 50px); | |
150 | } | |
151 | ||
ee6cb01c RK |
152 | #button-goforward[disabled="true"] { |
153 | -moz-image-region: rect(63px 50px 84px 25px) !important; | |
154 | } | |
155 | ||
b1eaa419 | 156 | #button-next { |
157 | list-style-image: url("chrome://messenger/skin/toolbar/next.gif"); | |
158 | } | |
351107c9 | 159 | |
160 | #button-next:hover, | |
b1eaa419 | 161 | #button-next:hover:active { |
162 | list-style-image: url("chrome://messenger/skin/toolbar/next-hover.gif"); | |
3a121502 | 163 | } |
b1eaa419 | 164 | |
165 | #button-next[disabled="true"] { | |
166 | list-style-image: url("chrome://messenger/skin/toolbar/next-disabled.gif") !important; | |
167 | } | |
168 | ||
169 | #button-delete { | |
170 | list-style-image: url("chrome://global/skin/icons/trash.gif"); | |
171 | } | |
351107c9 | 172 | |
173 | #button-delete:hover, | |
b1eaa419 | 174 | #button-delete:hover:active { |
175 | list-style-image: url("chrome://global/skin/icons/trash-hover.gif"); | |
3a121502 | 176 | } |
351107c9 | 177 | |
b1eaa419 | 178 | #button-delete[disabled="true"] { |
179 | list-style-image: url("chrome://global/skin/icons/trash-disabled.gif") !important; | |
351107c9 | 180 | } |
181 | ||
b1eaa419 | 182 | #button-mark { |
183 | list-style-image: url("chrome://messenger/skin/toolbar/mark.gif"); | |
184 | } | |
351107c9 | 185 | |
186 | #button-mark:hover, | |
3a121502 | 187 | #button-mark:hover:active, |
b1eaa419 | 188 | #button-mark[open="true"] { |
189 | list-style-image: url("chrome://messenger/skin/toolbar/mark-hover.gif"); | |
3a121502 | 190 | } |
b1eaa419 | 191 | |
192 | #button-mark[disabled="true"] { | |
193 | list-style-image: url("chrome://messenger/skin/toolbar/mark-disabled.gif") !important; | |
194 | } | |
195 | ||
196 | #button-print { | |
ee6cb01c RK |
197 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); |
198 | -moz-image-region: rect(0px 25px 21px 0px); | |
b1eaa419 | 199 | } |
351107c9 | 200 | |
201 | #button-print:hover, | |
3a121502 | 202 | #button-print:hover:active, |
b1eaa419 | 203 | #button-print[open="true"] { |
ee6cb01c | 204 | -moz-image-region: rect(0px 75px 21px 50px); |
b1eaa419 | 205 | } |
206 | ||
207 | #button-print[disabled="true"] { | |
ee6cb01c | 208 | -moz-image-region: rect(0px 50px 21px 25px) !important; |
b1eaa419 | 209 | } |
210 | ||
211 | #button-stop { | |
ee6cb01c RK |
212 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); |
213 | -moz-image-region: rect(21px 25px 42px 0px); | |
b1eaa419 | 214 | } |
351107c9 | 215 | |
216 | #button-stop:hover, | |
b1eaa419 | 217 | #button-stop:hover:active { |
ee6cb01c | 218 | -moz-image-region: rect(21px 75px 42px 50px); |
b1eaa419 | 219 | } |
220 | ||
221 | #button-stop[disabled="true"] { | |
ee6cb01c | 222 | -moz-image-region: rect(21px 50px 42px 25px) !important; |
b1eaa419 | 223 | } |
07b3f504 | 224 | |
225 | #button-junk { | |
a3b3d4d6 | 226 | list-style-image: url("chrome://messenger/skin/toolbar/junk.gif"); |
07b3f504 | 227 | } |
228 | ||
229 | #button-junk:hover, | |
242fc635 | 230 | #button-junk:hover:active, |
07b3f504 | 231 | #button-junk[open="true"] { |
a3b3d4d6 | 232 | list-style-image: url("chrome://messenger/skin/toolbar/junk-hover.gif"); |
3a121502 | 233 | } |
07b3f504 | 234 | |
235 | #button-junk[disabled="true"] { | |
a3b3d4d6 | 236 | list-style-image: url("chrome://messenger/skin/toolbar/junk-disabled.gif") !important; |
07b3f504 | 237 | } |
ac1cdf20 | 238 | |
4605f956 | 239 | /* ::::: message notification bar style rules ::::: */ |
ac1cdf20 | 240 | |
4605f956 | 241 | .msgNotificationBar { |
ac1cdf20 | 242 | -moz-border-radius: 7px; |
243 | padding: 3px; | |
244 | margin-bottom: 3px; | |
245 | background-color: #FF9F00; | |
246 | color: #000000; | |
247 | } | |
248 | ||
4605f956 | 249 | .msgNotificationBarText { |
250 | font-weight: bold; | |
251 | } | |
252 | ||
253 | #junkBarImage { | |
254 | list-style-image: url("chrome://messenger/skin/toolbar/junk-hover.gif"); | |
255 | } | |
256 | ||
ac1cdf20 | 257 | #junkIcon { |
136d0f43 | 258 | margin-left: 0.5ex; |
ac1cdf20 | 259 | list-style-image: url("chrome://messenger/skin/icons/folder-junk.gif"); |
260 | } | |
4605f956 | 261 | |
262 | #remoteContentImage { | |
263 | list-style-image: url("chrome://messenger/skin/toolbar/remote-blocked.png"); | |
264 | padding: 3px; | |
265 | } | |
8c976b60 | 266 | |
267 | #allowRemoteContentForAuthorDesc { | |
268 | padding-left: 10px; | |
269 | } |