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