Commit | Line | Data |
---|---|---|
351107c9 | 1 | /* ***** BEGIN LICENSE BLOCK ***** |
2 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | |
3 | * | |
4 | * The contents of this file are subject to the Mozilla Public License Version | |
5 | * 1.1 (the "License"); you may not use this file except in compliance with | |
6 | * the License. You may obtain a copy of the License at | |
7 | * http://www.mozilla.org/MPL/ | |
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 "Classic" theme of mozilla.org code. | |
15 | * | |
16 | * The Initial Developer of the Original Code is | |
17 | * the Mozilla Organization. | |
18 | * Portions created by the Initial Developer are Copyright (C) 1998-2001 | |
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 | |
25 | * either the GNU General Public License Version 2 or later (the "GPL"), or | |
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 MPL, 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 MPL, the GPL or the LGPL. | |
35 | * | |
36 | * ***** END LICENSE BLOCK ***** */ | |
37 | ||
3d6dd546 | 38 | /** Contains style definitions for the navigator application |
351107c9 | 39 | **/ |
40 | ||
b1eaa419 | 41 | @import url("chrome://navigator/content/navigator.css"); |
42 | @import url("chrome://communicator/skin/"); | |
b1eaa419 | 43 | @import url("chrome://communicator/skin/bookmarks/bookmarksToolbar.css"); |
351107c9 | 44 | |
45 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
46 | ||
b1eaa419 | 47 | /* ::::: primary toolbar buttons ::::: */ |
351107c9 | 48 | |
b1eaa419 | 49 | #back-button { |
e10e7add RK |
50 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); |
51 | -moz-image-region: rect(42px 25px 63px 0px); | |
b1eaa419 | 52 | } |
351107c9 | 53 | |
c710949d RK |
54 | #back-button[disabled="true"] { |
55 | -moz-image-region: rect(42px 50px 63px 25px); | |
b1eaa419 | 56 | } |
57 | ||
c710949d RK |
58 | #back-button:not([disabled="true"]):hover, |
59 | #back-button:not([disabled="true"]):hover:active, | |
60 | #back-button[open="true"] { | |
61 | -moz-image-region: rect(42px 75px 63px 50px); | |
b1eaa419 | 62 | } |
63 | ||
64 | #forward-button { | |
e10e7add RK |
65 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); |
66 | -moz-image-region: rect(63px 25px 84px 0px); | |
b1eaa419 | 67 | } |
351107c9 | 68 | |
c710949d RK |
69 | #forward-button[disabled="true"] { |
70 | -moz-image-region: rect(63px 50px 84px 25px); | |
b1eaa419 | 71 | } |
351107c9 | 72 | |
c710949d RK |
73 | #forward-button:not([disabled="true"]):hover, |
74 | #forward-button:not([disabled="true"]):hover:active, | |
75 | #forward-button[open="true"] { | |
76 | -moz-image-region: rect(63px 75px 84px 50px); | |
b1eaa419 | 77 | } |
78 | ||
79 | #reload-button { | |
c710949d RK |
80 | list-style-image: url("chrome://navigator/skin/icons/navigatoricons.png"); |
81 | -moz-image-region: rect(0px 25px 21px 0px); | |
b1eaa419 | 82 | } |
351107c9 | 83 | |
c710949d RK |
84 | #reload-button[disabled="true"] { |
85 | -moz-image-region: rect(0px 50px 21px 25px); | |
b1eaa419 | 86 | } |
87 | ||
c710949d RK |
88 | #reload-button:not([disabled="true"]):hover, |
89 | #reload-button:not([disabled="true"]):hover:active { | |
90 | -moz-image-region: rect(0px 75px 21px 50px); | |
b1eaa419 | 91 | } |
92 | ||
93 | #stop-button { | |
e10e7add RK |
94 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); |
95 | -moz-image-region: rect(21px 25px 42px 0px); | |
b1eaa419 | 96 | } |
351107c9 | 97 | |
c710949d RK |
98 | #stop-button[disabled="true"] { |
99 | -moz-image-region: rect(21px 50px 42px 25px); | |
3d6dd546 | 100 | } |
351107c9 | 101 | |
c710949d RK |
102 | #stop-button:not([disabled="true"]):hover, |
103 | #stop-button:not([disabled="true"]):hover:active { | |
104 | -moz-image-region: rect(21px 75px 42px 50px); | |
3d6dd546 | 105 | } |
b1eaa419 | 106 | |
0ef1663c RK |
107 | #home-button { |
108 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); | |
109 | -moz-image-region: rect(84px 25px 105px 0px); | |
110 | } | |
111 | ||
112 | #home-button[disabled="true"] { | |
113 | -moz-image-region: rect(84px 50px 105px 25px); | |
114 | } | |
115 | ||
116 | #home-button:not([disabled="true"]):hover, | |
117 | #home-button:not([disabled="true"]):hover:active { | |
118 | -moz-image-region: rect(84px 75px 105px 50px); | |
119 | } | |
120 | ||
c2e1f790 RK |
121 | #sync-button { |
122 | list-style-image: url("chrome://communicator/skin/sync/sync-32.png"); | |
123 | } | |
124 | ||
125 | #sync-button[status=active] { | |
126 | list-style-image: url("chrome://communicator/skin/sync/sync-32-throbber.png"); | |
127 | } | |
128 | ||
b1e5c9b1 | 129 | #clear-button { |
130 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
131 | } | |
132 | ||
61290d60 | 133 | #clear-button:hover { |
134 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
135 | } | |
136 | ||
80916bc4 | 137 | /* ::::: small primary toolbar buttons ::::: */ |
138 | ||
0ef1663c RK |
139 | toolbar[iconsize="small"] > #back-button { |
140 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); | |
141 | -moz-image-region: rect(32px 16px 48px 0); | |
142 | } | |
143 | ||
144 | toolbar[iconsize="small"] > #back-button[disabled="true"] { | |
145 | -moz-image-region: rect(32px 32px 48px 16px) !important; | |
146 | } | |
147 | ||
148 | toolbar[iconsize="small"] > #back-button:not([disabled="true"]):hover, | |
149 | toolbar[iconsize="small"] > #back-button:not([disabled="true"]):hover:active { | |
150 | -moz-image-region: rect(32px 48px 48px 32px); | |
151 | } | |
152 | ||
153 | toolbar[iconsize="small"] > #forward-button { | |
154 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); | |
155 | -moz-image-region: rect(48px 16px 64px 0); | |
156 | } | |
157 | ||
158 | toolbar[iconsize="small"] > #forward-button[disabled="true"] { | |
159 | -moz-image-region: rect(48px 32px 64px 16px) !important; | |
160 | } | |
161 | ||
162 | toolbar[iconsize="small"] > #forward-button:not([disabled="true"]):hover, | |
163 | toolbar[iconsize="small"] > #forward-button:not([disabled="true"]):hover:active { | |
164 | -moz-image-region: rect(48px 48px 64px 32px); | |
165 | } | |
166 | ||
167 | toolbar[iconsize="small"] > #reload-button { | |
168 | list-style-image: url("chrome://navigator/skin/icons/navigatoricons-small.png"); | |
169 | -moz-image-region: rect(0 16px 16px 0); | |
170 | } | |
171 | ||
172 | toolbar[iconsize="small"] > #reload-button[disabled="true"] { | |
173 | -moz-image-region: rect(0 32px 16px 16px) !important; | |
174 | } | |
175 | ||
176 | toolbar[iconsize="small"] > #reload-button:not([disabled="true"]):hover, | |
177 | toolbar[iconsize="small"] > #reload-button:not([disabled="true"]):hover:active { | |
178 | -moz-image-region: rect(0 48px 16px 32px); | |
179 | } | |
180 | ||
181 | toolbar[iconsize="small"] > #stop-button { | |
182 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); | |
183 | -moz-image-region: rect(16px 16px 32px 0); | |
184 | } | |
185 | ||
186 | toolbar[iconsize="small"] > #stop-button[disabled="true"] { | |
187 | -moz-image-region: rect(16px 32px 32px 16px) !important; | |
188 | } | |
189 | ||
190 | toolbar[iconsize="small"] > #stop-button:not([disabled="true"]):hover, | |
191 | toolbar[iconsize="small"] > #stop-button:not([disabled="true"]):hover:active { | |
192 | -moz-image-region: rect(16px 48px 32px 32px); | |
193 | } | |
194 | ||
0ef1663c RK |
195 | toolbar[iconsize="small"] > #home-button { |
196 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); | |
197 | -moz-image-region: rect(64px 16px 80px 0); | |
198 | } | |
199 | ||
200 | toolbar[iconsize="small"] > #home-button[disabled="true"] { | |
201 | -moz-image-region: rect(64px 32px 80px 16px) !important; | |
202 | } | |
203 | ||
204 | toolbar[iconsize="small"] > #home-button:not([disabled="true"]):hover, | |
205 | toolbar[iconsize="small"] > #home-button:not([disabled="true"]):hover:active { | |
206 | -moz-image-region: rect(64px 48px 80px 32px); | |
207 | } | |
208 | ||
c2e1f790 RK |
209 | toolbar[iconsize="small"] > toolbarpaletteitem > #sync-button, |
210 | toolbar[iconsize="small"] > #sync-button { | |
211 | list-style-image: url("chrome://communicator/skin/sync/sync-16.png"); | |
212 | } | |
213 | ||
214 | toolbar[iconsize="small"] > toolbarpaletteitem > #sync-button[status=active], | |
215 | toolbar[iconsize="small"] > #sync-button[status=active] { | |
216 | list-style-image: url("chrome://communicator/skin/sync/sync-16-throbber.png"); | |
217 | } | |
218 | ||
f1b199d6 RK |
219 | #FindToolbar:-moz-lwtheme { |
220 | /* -moz-border-top-colors: transparent; | |
221 | -moz-border-bottom-colors: transparent; */ | |
222 | } | |
223 | ||
80916bc4 | 224 | /* ::::: fullscreen window controls ::::: */ |
225 | ||
226 | #window-controls { | |
227 | -moz-box-align: center; | |
862a6f44 | 228 | padding: 0 1px; |
e20d243c | 229 | border-left: 3px solid #000000; |
862a6f44 | 230 | -moz-margin-start: 2px; |
e20d243c | 231 | } |
232 | ||
233 | #window-controls > toolbarbutton { | |
862a6f44 RK |
234 | padding: 3px; |
235 | -moz-padding-start: 2px; | |
236 | -moz-padding-end: 1px; | |
80916bc4 | 237 | } |
238 | ||
7a7b11b3 RK |
239 | toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon { |
240 | display: -moz-box; | |
241 | } | |
242 | ||
80916bc4 | 243 | #minimize-button { |
244 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); | |
245 | } | |
246 | ||
e20d243c | 247 | #minimize-button:hover { |
248 | list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); | |
249 | } | |
250 | ||
80916bc4 | 251 | #restore-button { |
252 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); | |
253 | } | |
254 | ||
e20d243c | 255 | #restore-button:hover { |
256 | list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); | |
257 | } | |
258 | ||
80916bc4 | 259 | #close-button { |
260 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); | |
261 | } | |
262 | ||
e20d243c | 263 | #close-button:hover { |
264 | list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); | |
265 | } | |
266 | ||
b1eaa419 | 267 | /* ::::: nav-bar-inner ::::: */ |
268 | ||
d1476608 | 269 | .nav-bar-class { |
c710949d RK |
270 | -moz-padding-start: 1px; |
271 | -moz-padding-end: 1px; | |
b1eaa419 | 272 | min-width: 0px; |
c710949d | 273 | -moz-box-align: center; |
b1eaa419 | 274 | } |
275 | ||
276 | #urlbar { | |
569543b3 | 277 | border-radius: 5px; |
c710949d RK |
278 | margin: 0; |
279 | -moz-margin-start: 3px; | |
f0071a71 RK |
280 | /* make color as light as possible to deal with dark non-domain parts */ |
281 | color: #FFBFFF; | |
2c8f3260 RK |
282 | } |
283 | ||
7197fc13 | 284 | .urlbar-security-level { |
569543b3 | 285 | border-radius: 3px 0 0 3px; |
2c8f3260 | 286 | padding: 2px; |
b1eaa419 | 287 | } |
288 | ||
cf3319d7 RK |
289 | .urlbar-security-level[level="high"], |
290 | .urlbar-security-level[level="low"] { | |
d84b9613 | 291 | background-color: #FFCF00; |
292 | color: #000000; | |
293 | } | |
294 | ||
e8fc8e8e RK |
295 | #wrapper-nav-bar-inner[place="palette"] > #nav-bar-inner > .button-toolbar, |
296 | #wrapper-nav-bar-inner[place="palette"] > #nav-bar-inner > #urlbar > .urlbar-icons { | |
297 | display: none; | |
298 | } | |
299 | ||
fb2b5761 RK |
300 | /* ::::: notification popups ::::: */ |
301 | ||
fb2b5761 RK |
302 | .popup-notification-icon { |
303 | width: 64px; | |
304 | height: 64px; | |
305 | -moz-margin-end: 10px; | |
306 | } | |
307 | ||
308 | .popup-notification-icon[popupid="geolocation"] { | |
309 | list-style-image: url("chrome://communicator/skin/icons/geolocation-64.png"); | |
310 | } | |
311 | ||
a3b6328b RK |
312 | .popup-notification-icon[popupid="addon-install-disabled"], |
313 | .popup-notification-icon[popupid="addon-install-blocked"], | |
b4af54ca RK |
314 | .popup-notification-icon[popupid="addon-install-started"], |
315 | .popup-notification-icon[popupid="addon-install-cancelled"], | |
a3b6328b | 316 | .popup-notification-icon[popupid="addon-install-failed"], |
c1f7cc84 RK |
317 | .popup-notification-icon[popupid="addon-install-complete"], |
318 | .popup-notification-icon[popupid="lwtheme-install-request"], | |
319 | .popup-notification-icon[popupid="lwtheme-install-notification"] { | |
a3b6328b RK |
320 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); |
321 | width: 32px; | |
322 | height: 32px; | |
323 | } | |
324 | ||
c2e1f790 RK |
325 | .popup-notification-icon[popupid="indexedDB-permissions-prompt"], |
326 | .popup-notification-icon[popupid="indexedDB-quota-prompt"] { | |
327 | list-style-image: url("chrome://global/skin/icons/question-64.png"); | |
328 | } | |
329 | ||
330 | .popup-notification-icon[popupid="password-change"], | |
fb2b5761 RK |
331 | .popup-notification-icon[popupid="password-save"] { |
332 | list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png"); | |
333 | } | |
334 | ||
335 | /* Notification icon box */ | |
336 | #notification-popup-box { | |
337 | -moz-margin-end: 3px; | |
338 | } | |
339 | ||
340 | .notification-anchor-icon:-moz-focusring { | |
341 | outline: 1px dotted; | |
342 | } | |
343 | ||
c2e1f790 RK |
344 | #default-notification-icon { |
345 | list-style-image: url("chrome://global/skin/icons/information-16.png"); | |
346 | width: 16px; | |
347 | height: 16px; | |
348 | } | |
349 | ||
fb2b5761 RK |
350 | #geo-notification-icon { |
351 | list-style-image: url("chrome://communicator/skin/icons/geolocation-16.png"); | |
352 | width: 16px; | |
353 | height: 16px; | |
354 | } | |
355 | ||
a3b6328b RK |
356 | #addons-notification-icon { |
357 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); | |
358 | width: 16px; | |
359 | height: 16px; | |
360 | } | |
361 | ||
c2e1f790 RK |
362 | #indexedDB-notification-icon { |
363 | list-style-image: url("chrome://global/skin/icons/question-16.png"); | |
364 | width: 16px; | |
365 | height: 16px; | |
366 | } | |
367 | ||
fb2b5761 RK |
368 | #password-notification-icon { |
369 | list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png"); | |
370 | width: 16px; | |
371 | height: 16px; | |
372 | } | |
373 | ||
b1eaa419 | 374 | /* ::::: page proxy icon ::::: */ |
3d6dd546 | 375 | |
b1eaa419 | 376 | #page-proxy-deck, |
377 | #page-proxy-favicon, | |
378 | #page-proxy-button { | |
379 | width: 16px; | |
380 | height: 16px; | |
381 | } | |
351107c9 | 382 | |
383 | #page-proxy-deck { | |
d2f0d128 | 384 | cursor: -moz-grab; |
2c8f3260 | 385 | margin: 0; |
3d6dd546 | 386 | } |
351107c9 | 387 | |
b1eaa419 | 388 | #page-proxy-button { |
3d6dd546 | 389 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); |
3d6dd546 | 390 | } |
391 | ||
b1eaa419 | 392 | #page-proxy-favicon { |
393 | list-style-image: none; | |
3d6dd546 | 394 | } |
351107c9 | 395 | |
b1eaa419 | 396 | /* ::::: autocomplete ::::: */ |
397 | ||
01fc5c11 | 398 | .autocomplete-treebody::-moz-tree-cell-text(value) { |
e8fc8e8e | 399 | -moz-padding-start: 13px; |
b1eaa419 | 400 | } |
401 | ||
01fc5c11 | 402 | .autocomplete-treebody::-moz-tree-cell-text(comment) { |
b1eaa419 | 403 | color: #E7ADE7; |
404 | /* font-style: italic; */ | |
351107c9 | 405 | } |
406 | ||
b1eaa419 | 407 | .autocomplete-search-box { |
408 | border-top: 1px solid #FF9F00; | |
409 | background-color: #9C9CFF; | |
410 | color: #000000; | |
3d6dd546 | 411 | } |
351107c9 | 412 | |
b1eaa419 | 413 | .autocomplete-result-popup[nomatch] > .autocomplete-search-box { |
414 | border-top: 1px solid #9C9CFF; | |
351107c9 | 415 | } |
351107c9 | 416 | |
b1eaa419 | 417 | .autocomplete-search-engine { |
418 | padding: 2px; | |
3d6dd546 | 419 | } |
351107c9 | 420 | |
b1eaa419 | 421 | .autocomplete-search-engine[menuactive="true"] { |
422 | background-color: #008484; | |
423 | color: #FFCF00; | |
3d6dd546 | 424 | } |
351107c9 | 425 | |
b1eaa419 | 426 | .autocomplete-search-engine-img { |
8caa872d | 427 | -moz-margin-end: 4px; |
b1eaa419 | 428 | } |
429 | ||
f8bb6584 RK |
430 | .autocomplete-history-dropmarker:hover { |
431 | background-color: #FFCF00; | |
432 | } | |
433 | ||
434 | .autocomplete-history-dropmarker:hover:active, | |
435 | .autocomplete-history-dropmarker[open="true"] { | |
436 | background-color: #FF9F00; | |
437 | } | |
438 | ||
5ddff932 RK |
439 | .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { |
440 | color: #E7ADE7; | |
441 | } | |
442 | ||
b1eaa419 | 443 | /* ::::: go and searchbuttons ::::: */ |
444 | ||
3d6dd546 | 445 | #search-button, |
351107c9 | 446 | #go-button { |
c710949d | 447 | margin: 0; |
6d73bd65 | 448 | padding: 2px 0; |
c710949d | 449 | -moz-margin-start: 2px; |
b1eaa419 | 450 | background-color: #000000; |
351107c9 | 451 | } |
452 | ||
3d6dd546 | 453 | #search-button:hover, |
351107c9 | 454 | #go-button:hover { |
b1eaa419 | 455 | background-color: #FFCF00; |
351107c9 | 456 | } |
457 | ||
2c8f3260 RK |
458 | /* care that those buttons base on the same min height of 16px that the urlbar |
459 | autocomplete box gets through site icon and urlbar icons at the right */ | |
d1476608 | 460 | #search-button > .button-box, |
2c8f3260 RK |
461 | #go-button > .button-box { |
462 | min-height: 16px; | |
463 | } | |
464 | ||
b1eaa419 | 465 | #search-button { |
466 | /* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */ | |
b1eaa419 | 467 | } |
351107c9 | 468 | |
c1f7cc84 RK |
469 | #search-button > .button-box > .button-icon { |
470 | display: -moz-box; | |
471 | } | |
472 | ||
7a7b11b3 RK |
473 | /* |
474 | toolbar[mode="text"] #search-button > .button-box > .button-icon, | |
475 | toolbar[mode="icons"] #search-button > .button-box > .button-text { | |
476 | display: none; | |
477 | } | |
478 | */ | |
479 | ||
5ddff932 RK |
480 | /* ::::: search bar ::::: */ |
481 | ||
482 | .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment), | |
483 | .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) { | |
484 | color: #E7ADE7; | |
485 | font-size: smaller; | |
486 | } | |
487 | ||
488 | .autocomplete-treebody::-moz-tree-cell(suggesthint) { | |
489 | border-top: 1px solid #E7ADE7; | |
490 | } | |
491 | ||
31e46317 RK |
492 | /* ::::: throbber ::::: */ |
493 | ||
494 | #throbber-box { | |
495 | -moz-margin-start: 2px; | |
496 | } | |
497 | ||
dc8e1207 | 498 | /* ::::: security button ::::: */ |
351107c9 | 499 | |
aeb317b8 RK |
500 | #security-button { |
501 | list-style-image: url("chrome://communicator/skin/icons/lock-insecure.gif"); | |
502 | } | |
503 | ||
81012713 | 504 | #security-button > .statusbarpanel-contentbox > .statusbarpanel-text { |
aeb317b8 | 505 | margin: 0px; |
b1eaa419 | 506 | } |
351107c9 | 507 | |
57d23eae | 508 | /* |high| and |low| styles could be different, to better reflect the secure level... */ |
ff5bd775 RK |
509 | #security-button[level="high"] > .statusbarpanel-contentbox, |
510 | #security-button[level="low"] > .statusbarpanel-contentbox { | |
aeb317b8 RK |
511 | list-style-image: url("chrome://communicator/skin/icons/lock-secure-hover.png"); |
512 | background-color: #FFCF00; | |
dc8e1207 | 513 | } |
514 | ||
ff5bd775 | 515 | #security-button[level="broken"] > .statusbarpanel-contentbox { |
aeb317b8 RK |
516 | list-style-image: url("chrome://communicator/skin/icons/lock-broken.gif"); |
517 | background-color: #FF0000; | |
518 | } | |
519 | ||
ff5bd775 | 520 | #security-button[label][level="high"] > .statusbarpanel-contentbox { |
aeb317b8 RK |
521 | list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif"); |
522 | background-color: #008484; | |
523 | color: #FFCF00; | |
b1eaa419 | 524 | } |
351107c9 | 525 | |
d9954aaf RK |
526 | #ev-button { |
527 | list-style-image: url("chrome://communicator/skin/icons/identity.png"); | |
528 | } | |
529 | ||
a3b3d4d6 | 530 | #popupIcon { |
531 | list-style-image:url("chrome://navigator/skin/icons/popup-blocked.gif"); | |
532 | } | |
533 | ||
fb2b5761 RK |
534 | #invalid-form-popup { |
535 | border: 1px solid #FFCF00; | |
536 | border : 1px outset #FFFFCC; | |
537 | padding: 2px 3px 0px 3px; | |
538 | max-width: 40em; | |
539 | background-color: #9C9CFF; | |
540 | color: #000000; | |
541 | font-weight: bold; | |
542 | } | |
543 | ||
dc8e1207 | 544 | /* ::::: personal toolbar ::::: */ |
351107c9 | 545 | |
dc8e1207 | 546 | #bookmarks-button { |
547 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); | |
b1eaa419 | 548 | } |
351107c9 | 549 | |
dc8e1207 | 550 | #bookmarks-button[open="true"] { |
551 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); | |
b1eaa419 | 552 | } |
351107c9 | 553 | |
c710949d | 554 | toolbarbutton.chevron { |
e10e7add | 555 | list-style-image: url("chrome://navigator/skin/icons/chevron.gif") !important; |
ac1cdf20 | 556 | } |
557 | ||
c710949d RK |
558 | toolbarbutton.chevron:hover, |
559 | toolbarbutton.chevron[open="true"] { | |
e10e7add | 560 | list-style-image: url("chrome://navigator/skin/icons/chevron-hover.gif") !important; |
ac1cdf20 | 561 | } |
562 | ||
7a7b11b3 | 563 | toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { |
ac1cdf20 | 564 | display: none; |
565 | } | |
e10e7add | 566 | |
7a7b11b3 RK |
567 | toolbarbutton.chevron > .toolbarbutton-text { |
568 | display: none; /* hide chevron label which has a width even if blank */ | |
569 | } | |
570 | ||
571 | toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon { | |
572 | display: -moz-box; /* display chevron icon in text mode */ | |
573 | } | |
574 | ||
575 | /* Prevent [mode="icons"|"text"] from hiding the label and icon */ | |
576 | #bookmarks-ptf .bookmark-item > .toolbarbutton-text, | |
577 | #bookmarks-ptf .bookmark-item > .toolbarbutton-icon { | |
578 | display: -moz-box !important; | |
579 | } | |
580 | ||
e8fc8e8e | 581 | #PersonalToolbar[iconsize="small"] > toolbarpaletteitem > #home-button > .toolbarbutton-icon, |
0ef1663c RK |
582 | #PersonalToolbar[iconsize="small"] > #home-button > .toolbarbutton-icon { |
583 | /* width: 16px; | |
584 | height: 16px; */ | |
585 | } | |
586 | ||
587 | #PersonalToolbar > #home-button { | |
588 | cursor: pointer; | |
589 | } | |
590 | ||
591 | #PersonalToolbar > #home-button[disabled="true"] { | |
592 | cursor: default !important; | |
593 | } | |
594 | ||
e8fc8e8e RK |
595 | /* |
596 | In customize mode we hide the normal bookmark items and show a placeholder | |
597 | for the drag/drop UI. | |
598 | */ | |
599 | .bookmarks-toolbar-customize { | |
d3d79c39 | 600 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png"); |
e8fc8e8e RK |
601 | display: none; |
602 | max-width: 15em !important; | |
603 | } | |
604 | ||
d3d79c39 RK |
605 | #wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box { |
606 | width: 16px; | |
607 | height: 16px; | |
608 | background: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") no-repeat; | |
e8fc8e8e RK |
609 | } |
610 | ||
1b3c8528 RK |
611 | /* ::::: star button ::::: */ |
612 | ||
613 | #star-button { | |
614 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png"); | |
615 | -moz-image-region: rect(16px 16px 32px 0px); | |
616 | } | |
617 | ||
618 | #star-button:hover { | |
619 | -moz-image-region: rect(16px 32px 32px 16px); | |
620 | } | |
621 | ||
622 | #star-button:hover:active { | |
623 | -moz-image-region: rect(16px 48px 32px 32px); | |
624 | } | |
625 | ||
626 | #star-button[starred="true"] { | |
627 | -moz-image-region: rect(0px 16px 16px 0px); | |
628 | } | |
629 | ||
630 | #star-button[starred="true"]:hover { | |
631 | -moz-image-region: rect(0px 32px 16px 16px); | |
632 | } | |
633 | ||
634 | #star-button[starred="true"]:hover:active { | |
635 | -moz-image-region: rect(0px 48px 16px 32px); | |
636 | } | |
637 | ||
a3b6328b RK |
638 | #editBookmarkPanelStarIcon { |
639 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png"); | |
640 | -moz-image-region: rect(0px 16px 16px 0px); | |
641 | } | |
642 | ||
e10e7add RK |
643 | /* ::::: feeds ::::: */ |
644 | ||
cf3319d7 RK |
645 | .feedsMenu { |
646 | list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png"); | |
e10e7add RK |
647 | -moz-image-region: rect(0px 16px 16px 0px); |
648 | } | |
649 | ||
cf3319d7 | 650 | .feedsMenu[disabled="true"] { |
e10e7add RK |
651 | -moz-image-region: rect(32px 16px 48px 0px); |
652 | } | |
653 | ||
cf3319d7 | 654 | .feedsButton { |
e10e7add RK |
655 | list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png"); |
656 | -moz-image-region: rect(0px 32px 16px 16px); | |
657 | } | |
658 | ||
cf3319d7 | 659 | .feedsButton:hover { |
e10e7add RK |
660 | -moz-image-region: rect(16px 32px 32px 16px); |
661 | } | |
662 | ||
cf3319d7 | 663 | .feedsButton:hover:active { |
e10e7add RK |
664 | -moz-image-region: rect(48px 32px 64px 16px); |
665 | } |