make location bar colors lighter to deal with darkening on non-domain parts
[themes.git] / LCARStrek / browser / browser.css
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 mozilla.org code.
15  *
16  * The Initial Developer of the Original Code is
17  * Netscape Communications Corporation.
18  * Portions created by the Initial Developer are Copyright (C) 1998-1999
19  * the Initial Developer. All Rights Reserved.
20  *
21  * Contributor(s):
22  *   Joe Hewitt (hewitt@netscape.com)
23  *   Jason Kersey (kerz@netscape.com)
24  *   Pierre Chanial (chanial@noos.fr)
25  *   Dean Tessman (dean_tessman@hotmail.com)
26  *   Blake Ross (blake@cs.stanford.edu)
27  *   Pamela Greene (pamg.bugs@gmail.com)
28  *   Dão Gottwald (dao@mozilla.com)
29  *   Jim Mathies (jmathies@mozilla.com)
30  *   Drew Willcoxon (adw@mozilla.com)
31  *   Paul Rouget (paul@mozilla.com)
32  *   Rob Campbell (rcampbell@mozilla.com)
33  *
34  * Alternatively, the contents of this file may be used under the terms of
35  * either the GNU General Public License Version 2 or later (the "GPL"), or
36  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
37  * in which case the provisions of the GPL or the LGPL are applicable instead
38  * of those above. If you wish to allow use of your version of this file only
39  * under the terms of either the GPL or the LGPL, and not to allow others to
40  * use your version of this file under the terms of the MPL, indicate your
41  * decision by deleting the provisions above and replace them with the notice
42  * and other provisions required by the GPL or the LGPL. If you do not delete
43  * the provisions above, a recipient may use your version of this file under
44  * the terms of any one of the MPL, the GPL or the LGPL.
45  *
46  * ***** END LICENSE BLOCK ***** */
47
48 @import url("chrome://global/skin/");
49
50 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
51 @namespace html url("http://www.w3.org/1999/xhtml");
52
53 toolbar {
54   -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
55 }
56
57 toolbar[type="menubar"][autohide="true"] {
58   -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide");
59 }
60
61 menubar {
62   -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
63 }
64
65 #menubar-items {
66   -moz-box-orient: vertical; /* for flex hack */
67 }
68
69 #main-menubar {
70   -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
71 }
72
73 /* ::::: primary toolbar ::::: */
74
75 .toolbar-primary > .toolbar-box > .toolbar-holder {
76   background-color: #FF9F00;
77 }
78
79 .toolbar-primary > .toolbar-box > .toolbar-startcap,
80 .toolbar-primary > .toolbar-box > .toolbar-endcap {
81   background-color: #9C9CFF;
82 }
83
84
85 #navigator-toolbox {
86 }
87
88 #navigator-toolbox::after {
89   content: "";
90   display: -moz-box;
91   -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
92   height: 1px;
93 }
94 #navigator-toolbox[tabsontop=false]::after,
95 #main-window[disablechrome] #navigator-toolbox::after {
96   visibility: collapse;
97 }
98
99 #navigator-toolbox > toolbar:not(:-moz-lwtheme) {
100 }
101
102 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme) {
103   /* like menubar */
104   background-color: #6000CF;
105   color: #FF9F00;
106 }
107 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
108   background-color: #8050B0;
109   color: #FF9F00;
110 }
111
112 #main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
113   visibility: hidden;
114 }
115 #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
116   -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
117   visibility: visible;
118 }
119
120 #navigator-toolbox[tabsontop="true"] > #nav-bar,
121 #navigator-toolbox[tabsontop="true"]:not([customizing]) > #nav-bar[collapsed="true"] + toolbar,
122 #navigator-toolbox[tabsontop="true"]:not([customizing]) > #nav-bar[collapsed="true"] + #customToolbars + #PersonalToolbar {
123   /* background-image: -moz-linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); */
124 }
125
126 #personal-bookmarks {
127 /*  min-height: 24px; */
128 }
129
130 #print-preview-toolbar:not(:-moz-lwtheme) {
131   /* -moz-appearance: toolbox; */
132 }
133
134 /* ::::: app menu button ::::: */
135
136 #appmenu-button {
137   background-color: #FF9F00;
138   background-clip: padding-box;
139   border-radius: 0;
140   border: none;
141   border-right: 3px solid #000000;
142   color: #000000;
143   font-weight: bold;
144   padding: 1px 1.5em;
145   margin: 0;
146 }
147
148 #appmenu-button:-moz-locale-dir(rtl) {
149   border-left: 3px solid #000000;
150   border-right: none;
151 }
152
153 #main-window[privatebrowsingmode=temporary] #appmenu-button {
154   background-color: #6000CF;
155   color: #FFCF00;
156 }
157
158 #appmenu-button:hover:not(:active):not([open]) {
159 }
160
161 #main-window[privatebrowsingmode=temporary] #appmenu-button:hover:not(:active):not([open]) {
162 }
163
164 #appmenu-button:hover,
165 #appmenu-button:hover:active,
166 #appmenu-button[open] {
167   background-color: #FFCF00;
168   color: #000000;
169 }
170
171 #appmenu-button > .button-box > .button-menu-dropmarker {
172   list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
173   width: auto;
174   height: auto;
175   padding: 0;
176   margin: 0;
177   border: none;
178   background-color: transparent;
179   -moz-margin-start: .5em;
180 }
181
182 #main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .button-menu-dropmarker {
183   list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
184 }
185
186 #appmenuPrimaryPane > menuitem,
187 #appmenuSecondaryPane > menuitem,
188 #appmenuPrimaryPane > menu {
189   padding: 2px;
190 }
191
192 .splitmenu-menuitem {
193   -moz-padding-start: 2px;
194   padding-top: 2px;
195   padding-bottom: 2px;
196   -moz-margin-end: 1px;
197 }
198
199 .splitmenu-menu {
200   padding-top: 2px;
201   padding-bottom: 2px;
202   -moz-box-pack: end;
203 }
204
205 .appmenu-edit-button {
206 }
207
208 .appmenu-edit-button[disabled="true"] {
209 }
210
211 #appmenuPrimaryPane {
212   -moz-border-end: 1px solid #9C9CFF;
213 }
214 /*
215   #appmenu-popup {
216   }
217   #appmenuPrimaryPane {
218   }
219   #appmenuSecondaryPane {
220   }
221   #appmenuSecondaryPane:-moz-locale-dir(rtl) {
222   }
223
224   #appmenuSecondaryPane menupopup {
225   }
226
227   .appmenu-menuseparator {
228   }
229
230   .appmenu-edit-button:not([disabled]):hover {
231   }
232 */
233 #appmenuSecondaryPane-spacer {
234   min-height: 1em;
235 }
236
237 #appmenu-editmenu {
238   -moz-box-pack: end;
239 }
240
241 #appmenu_print,
242 #appmenu_print_popup,
243 .appmenu-edit-button,
244 #appmenu-editmenu-cut,
245 #appmenu-editmenu-copy,
246 #appmenu-editmenu-paste,
247 #appmenu-quit {
248   list-style-image: url("appmenu-icons.png");
249 }
250
251 #appmenu-cut,
252 #appmenu-editmenu-cut {
253   -moz-image-region: rect(0 16px 16px 0);
254 }
255
256 #appmenu-cut:hover:not([disabled="true"]),
257 #appmenu-editmenu-cut:hover:not([disabled="true"]) {
258   -moz-image-region: rect(16px 16px 32px 0);
259 }
260
261 #appmenu-cut[disabled="true"],
262 #appmenu-editmenu-cut[disabled="true"] {
263   -moz-image-region: rect(32px 16px 48px 0);
264 }
265
266 #appmenu-copy,
267 #appmenu-editmenu-copy {
268   -moz-image-region: rect(0 32px 16px 16px);
269 }
270
271 #appmenu-copy:hover:not([disabled="true"]),
272 #appmenu-editmenu-copy:hover:not([disabled="true"]) {
273   -moz-image-region: rect(16px 32px 32px 16px);
274 }
275
276 #appmenu-copy[disabled="true"],
277 #appmenu-editmenu-copy[disabled="true"] {
278   -moz-image-region: rect(32px 32px 48px 16px);
279 }
280
281 #appmenu-paste,
282 #appmenu-editmenu-paste {
283   -moz-image-region: rect(0 48px 16px 32px);
284 }
285
286 #appmenu-paste:hover:not([disabled="true"]),
287 #appmenu-editmenu-paste:hover:not([disabled="true"]) {
288   -moz-image-region: rect(16px 48px 32px 32px);
289 }
290
291 #appmenu-paste[disabled="true"],
292 #appmenu-editmenu-paste[disabled="true"] {
293   -moz-image-region: rect(32px 48px 48px 32px);
294 }
295
296 #appmenu_print,
297 #appmenu_print_popup {
298   -moz-image-region: rect(0 64px 16px 48px);
299 }
300
301 #appmenu_print:hover:not([disabled="true"]),
302 #appmenu_print[open="true"],
303 #appmenu_print_popup:hover:not([disabled="true"]) {
304   -moz-image-region: rect(16px 64px 32px 48px);
305 }
306
307 #appmenu-print[disabled="true"],
308 #appmenu_print_popup[disabled="true"] {
309   -moz-image-region: rect(32px 64px 48px 48px);
310 }
311
312 #appmenu-quit {
313   -moz-image-region: rect(0 80px 16px 64px);
314 }
315
316 #appmenu-quit:hover {
317   -moz-image-region: rect(16px 80px 32px 64px);
318 }
319
320 #appmenu-edit-label {
321   -moz-appearance: none;
322   background: transparent;
323   font-style: italic;
324 }
325
326 #appmenu_bookmarks {
327   list-style-image: url("chrome://browser/skin/places/bookmark.png");
328   -moz-image-region: rect(0px 48px 16px 32px);
329 }
330
331 #appmenu_privateBrowsing {
332   list-style-image: url("chrome://browser/skin/Privacy-16.png");
333 }
334
335 #appmenu_addons {
336   list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
337 }
338
339 #BMB_bookmarkThisPage,
340 #appmenu_bookmarkThisPage {
341   list-style-image: url("chrome://browser/skin/places/bookmark.png");
342   -moz-image-region: rect(0 16px 16px 0);
343 }
344
345 /* ::::: titlebar ::::: */
346
347 #titlebar {
348   /* like menubar */
349   background-color: #6000CF;
350   color: #FF9F00;
351 }
352 #titlebar:-moz-window-inactive {
353   background-color: #8050B0;
354   color: #FF9F00;
355 }
356
357 #main-window[sizemode="normal"] > #titlebar {
358   margin-top: -3px;
359   margin-bottom: 3px;
360 }
361
362 #main-window[sizemode="maximized"] > #titlebar {
363   margin-top: 4px;
364 }
365
366 #titlebar-buttonbox {
367   margin-top: 5px;
368   -moz-margin-end: 3px;
369 }
370
371 #main-window[sizemode="maximized"] #titlebar-buttonbox {
372 }
373
374 .titlebar-placeholder[type="appmenu-button"] {
375   margin-left: 4px;
376 }
377
378 .titlebar-placeholder[type="caption-buttons"] {
379   margin-left: 10px;
380 }
381
382 /* titlebar command buttons */
383
384 #titlebar-min {
385   list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
386 }
387
388 #titlebar-min:hover {
389   list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
390 }
391
392 #titlebar-max {
393   list-style-image: url("chrome://browser/skin/win-maximize.gif");
394 }
395
396 #titlebar-max:hover {
397   list-style-image: url("chrome://browser/skin/win-maximize-hover.gif");
398 }
399
400 #main-window[sizemode="maximized"] #titlebar-max {
401   list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
402 }
403
404 #main-window[sizemode="maximized"] #titlebar-max:hover {
405   list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
406 }
407
408 #titlebar-close {
409   list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
410 }
411
412 #titlebar-close:hover {
413   list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
414 }
415
416 /* ::::: bookmark buttons ::::: */
417
418 /*.bookmark-item:not(#bookmarks-menu-button) > .toolbarbutton-icon */
419 .bookmark-item > .toolbarbutton-icon {
420   width: 16px;
421   height: 16px;
422 }
423
424 /* Prevent [mode="icons"] from hiding the label */
425 .bookmark-item > .toolbarbutton-text {
426   display: -moz-box !important;
427 }
428
429 .bookmark-item > .toolbarbutton-menu-dropmarker {
430   display: none;
431 }
432
433 #wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box {
434   width: 16px;
435   height: 16px;
436   background: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") no-repeat;
437 }
438
439 .bookmarks-toolbar-customize {
440   max-width: 15em !important;
441   list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
442 }
443
444 /* ::::: bookmark menus ::::: */
445
446 menu.bookmark-item,
447 menuitem.bookmark-item {
448   min-width: 0;
449   max-width: 32em;
450 }
451
452 .bookmark-item > .menu-iconic-left {
453   margin-top: 0;
454   margin-bottom: 0;
455 }
456
457 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
458   -moz-padding-start: 0px;
459 }
460
461 /* ::::: bookmark items ::::: */
462
463 .bookmark-item  {
464   list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
465   -moz-image-region: auto;
466 }
467
468 .bookmark-item[container] {
469   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
470   -moz-image-region: auto;
471 }
472
473 .bookmark-item[container][open] {
474   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
475   -moz-image-region: auto;
476 }
477
478 .bookmark-item[container][livemark] {
479   list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
480   -moz-image-region: auto;
481 }
482
483 .bookmark-item[container][livemark] .bookmark-item {
484   list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
485   -moz-image-region: auto;
486 }
487
488 .bookmark-item[container][query] {
489   list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
490   -moz-image-region: auto;
491 }
492
493 .bookmark-item[query][tagContainer] {
494   list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
495   -moz-image-region: auto;
496 }
497
498 .bookmark-item[query][dayContainer] {
499   list-style-image: url("chrome://communicator/skin/history/calendar.png");
500   -moz-image-region: auto;
501 }
502
503 .bookmark-item[query][hostContainer] {
504   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
505   -moz-image-region: auto;
506 }
507
508 .bookmark-item[query][hostContainer][open] {
509   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
510   -moz-image-region: auto;
511 }
512
513 .bookmark-item[cutting] > .toolbarbutton-icon,
514 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
515   opacity: 0.5;
516 }
517
518 .bookmark-item[cutting] > .toolbarbutton-text,
519 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
520   opacity: 0.7;
521 }
522
523 /* ::::: primary toolbar buttons ::::: */
524
525 .toolbarbutton-1 {
526   list-style-image: url("chrome://browser/skin/Toolbar.png");
527 }
528
529 .toolbarbutton-1:not([type="menu-button"]) {
530   -moz-box-orient: vertical;
531 }
532
533 .toolbarbutton-1,
534 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
535   min-width: 36px;
536   min-height: 36px;
537 }
538
539 .toolbarbutton-1:not([type="menu-button"]) {
540   -moz-box-orient: vertical;
541 }
542
543 .toolbarbutton-1,
544 .toolbarbutton-1 > .toolbarbutton-menubutton-button,
545 .toolbarbutton-1[disabled="true"]:hover:active,
546 .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
547   padding: 1px 2px;
548 }
549
550 .toolbarbutton-1:hover:active,
551 .toolbarbutton-1[open="true"],
552 .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
553   padding-top: 2px;
554   padding-bottom: 0px;
555   -moz-padding-start: 3px;
556   -moz-padding-end: 1px;
557 }
558
559 /* ::::: small primary toolbar buttons ::::: */
560
561 #nav-bar {
562   /* force iconsize="small" on this toolbar */
563   counter-reset: smallicons;
564 }
565
566 toolbar[mode="text"] .toolbarbutton-1,
567 toolbar[mode="icons"] .toolbarbutton-1,
568 toolbar[iconsize="small"] .toolbarbutton-1,
569 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1,
570 toolbar[mode="text"] .toolbarbutton-menubutton-button,
571 toolbar[mode="icons"] .toolbarbutton-menubutton-button,
572 toolbar[iconsize="small"] .toolbarbutton-menubutton-button,
573 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button {
574   min-width: 0px;
575   min-height: 0px;
576 }
577
578 toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker {
579   padding-top: 4px;
580   padding-bottom: 8px;
581   -moz-padding-start: 1px;
582   -moz-padding-end: 1px;
583 }
584
585 toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker,
586 toolbar[iconsize="small"] .toolbarbutton-menubutton-dropmarker,
587 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
588   padding-top: 0px;
589   padding-bottom: 13px;
590   -moz-padding-start: 1px;
591   -moz-padding-end: 1px;
592 }
593
594 toolbar[mode="text"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
595 toolbar[mode="text"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
596   padding-top: 5px;
597   padding-bottom: 7px;
598   -moz-padding-start: 0px;
599   -moz-padding-end: 2px;
600 }
601
602 toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
603 toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
604 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
605 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
606 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
607 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
608   padding-top: 1px;
609   padding-bottom: 12px;
610   -moz-padding-start: 0px;
611   -moz-padding-end: 2px;
612 }
613
614 toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker[disabled="true"] {
615   padding-top: 4px !important;
616   padding-bottom: 8px !important;
617   -moz-padding-start: 1px !important;
618   -moz-padding-end: 1px !important;
619 }
620
621 toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker[disabled="true"],
622 toolbar[iconsize="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] {
623   padding-top: 0px !important;
624   padding-bottom: 13px !important;
625   -moz-padding-start: 1px !important;
626   -moz-padding-end: 1px !important;
627 }
628
629 toolbar[mode="icons"] .toolbarbutton-text,
630 toolbar[mode="text"] .toolbarbutton-icon {
631   display: none;
632 }
633
634 toolbar[mode="text"] .toolbarbutton-text {
635   padding: 4px 0;
636 }
637
638 toolbar[mode="text"] .toolbarbutton-1,
639 toolbar[mode="text"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
640   -moz-box-orient: horizontal;
641 }
642
643 toolbar[mode="full"] .toolbarbutton-1,
644 toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
645   min-width: 30px;
646 }
647
648 #navigator-toolbox[iconsize=small] > #nav-bar {
649 }
650
651 #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar {
652 }
653
654
655 /* unified back/forward button */
656
657 #back-button {
658   -moz-image-region: rect(0, 18px, 18px, 0);
659   -moz-margin-end: 0;
660 }
661
662 #back-button:not([disabled="true"]):hover {
663   -moz-image-region: rect(18px, 18px, 36px, 0);
664 }
665
666 #back-button[disabled="true"] {
667   -moz-image-region: rect(36px, 18px, 54px, 0);
668 }
669
670 #forward-button {
671   -moz-image-region: rect(0, 36px, 18px, 18px);
672   border-left: none;
673   -moz-margin-start: 0;
674 }
675
676 #forward-button:not([disabled="true"]):hover {
677   -moz-image-region: rect(18px, 36px, 36px, 18px);
678 }
679
680 #forward-button[disabled="true"] {
681   -moz-image-region: rect(36px, 36px, 54px, 18px);
682 }
683
684 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
685 #forward-button:-moz-locale-dir(rtl),
686 #forward-button:-moz-locale-dir(rtl) > .toolbarbutton-text {
687   -moz-transform: scaleX(-1);
688 }
689
690 #nav-bar #back-button {
691   -moz-margin-end: 0 !important;
692 }
693
694 #nav-bar #forward-button {
695   border-left-style: none;
696   -moz-margin-start: 0 !important;
697 }
698
699 #nav-bar #back-button:-moz-locale-dir(ltr) {
700   border-top-right-radius: 0;
701   border-bottom-right-radius: 0;
702 }
703
704 #nav-bar #back-button:-moz-locale-dir(rtl),
705 #nav-bar #forward-button {
706   border-top-left-radius: 0;
707   border-bottom-left-radius: 0;
708 }
709
710 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button {
711   border-radius: 10000px;
712   width: 30px;
713   height: 30px;
714   position: relative;
715   z-index: 1;
716   margin-top: -2px;
717   margin-bottom: -2px;
718   border: none;
719   -moz-image-region: rect(54px, 20px, 74px, 0);
720 }
721
722 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):hover,
723 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[open="true"] {
724   -moz-image-region: rect(54px, 40px, 74px, 20px);
725 }
726
727 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[disabled="true"] {
728   -moz-image-region: rect(54px, 60px, 74px, 40px);
729 }
730
731 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover {
732 }
733
734 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):hover:active,
735 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[open="true"] {
736 }
737
738 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar[currentset*="unified-back-forward-button"],
739 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar:not([currentset]) {
740 /*  padding-top: 3px;
741   padding-bottom: 5px; */
742 }
743
744 #navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar[currentset*="unified-back-forward-button"],
745 #navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar:not([currentset]) {
746 /*  padding-top: 5px; */
747 }
748
749 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button {
750   /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
751   mask: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-mask");
752   -moz-margin-start: -6px !important;
753   padding-left: 7px;
754   padding-right: 3px;
755   margin-top: 2px;
756   margin-bottom: 2px;
757 }
758
759 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button:-moz-locale-dir(ltr) {
760   border-top-right-radius: 11px;
761   border-bottom-right-radius: 11px;
762 }
763
764 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button:-moz-locale-dir(rtl) {
765   border-top-left-radius: 11px;
766   border-bottom-left-radius: 11px;
767 }
768
769 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button:not([disabled="true"]):not(:active):hover {
770   /*mask: url(keyhole-forward-mask.svg#mask-hover);*/
771   mask: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-mask-hover");
772 }
773
774 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
775 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
776   list-style-image: url("chrome://global/skin/arrow/arrow-left.gif") !important;
777 }
778
779 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr):hover,
780 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl):hover {
781   list-style-image: url("chrome://global/skin/arrow/arrow-left-hover.gif") !important;
782 }
783
784 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
785 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
786   list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important;
787 }
788
789 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr):hover,
790 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl):hover {
791   list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important;
792 }
793
794 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
795     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
796     #unified-back-forward-button > #forward-button {
797 /*  border-top-right-radius: 0;
798   border-bottom-right-radius: 0;
799   -moz-margin-end: 0; */
800 }
801
802 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
803     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
804     #unified-back-forward-button:not([switchingtabs]) > #forward-button {
805   -moz-transition: opacity 150ms ease-out;
806 }
807
808 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
809     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
810     #unified-back-forward-button:not(:hover) > #forward-button[disabled] {
811   opacity: 0;
812 }
813
814 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
815     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
816     #unified-back-forward-button:hover > #forward-button[disabled] {
817   background-color: transparent;
818 }
819
820 /* stop button */
821
822 #stop-button {
823   -moz-image-region: rect(0, 54px, 18px, 36px);
824 }
825
826 #stop-button:not([disabled="true"]):hover {
827   -moz-image-region: rect(18px, 54px, 36px, 36px);
828 }
829
830 #stop-button[disabled="true"] {
831   -moz-image-region: rect(36px, 54px, 54px, 36px);
832 }
833
834 /* reload button */
835
836 #reload-button {
837   -moz-image-region: rect(0, 72px, 18px, 54px);
838 }
839
840 #reload-button:not([disabled="true"]):hover {
841   -moz-image-region: rect(18px, 72px, 36px, 54px);
842 }
843
844 #reload-button[disabled="true"] {
845   -moz-image-region: rect(36px, 72px, 54px, 54px);
846 }
847
848 /* home button */
849
850 #home-button.bookmark-item {
851   list-style-image: url("chrome://browser/skin/Toolbar.png");
852 }
853 #home-button {
854   -moz-image-region: rect(0, 90px, 18px, 72px);
855 }
856
857 #home-button:not([disabled="true"]):hover {
858   -moz-image-region: rect(18px, 90px, 36px, 72px);
859 }
860
861 #home-button[disabled="true"] {
862   -moz-image-region: rect(36px, 90px, 54px, 72px);
863 }
864
865 /* tabview button */
866
867 #tabview-button,
868 #menu_tabview {
869   list-style-image: url("chrome://browser/skin/tabview/tabview.png");
870 }
871
872 #tabview-button {
873   -moz-image-region: rect(0, 90px, 18px, 72px);
874 }
875
876 #tabview-button[groups="0"] {
877   -moz-image-region: rect(0, 18px, 18px, 0);
878 }
879
880 #tabview-button[groups="1"] {
881   -moz-image-region: rect(0, 36px, 18px, 18px);
882 }
883
884 #tabview-button[groups="2"] {
885   -moz-image-region: rect(0, 54px, 18px, 36px);
886 }
887
888 #tabview-button[groups="3"] {
889   -moz-image-region: rect(0, 72px, 18px, 54px);
890 }
891
892 #menu_tabview {
893   -moz-image-region: rect(1px, 89px, 17px, 73px);
894 }
895
896 #menu_tabview[groups="0"] {
897   -moz-image-region: rect(1px, 17px, 17px, 1px);
898 }
899
900 #menu_tabview[groups="1"] {
901   -moz-image-region: rect(1px, 35px, 17px, 19px);
902 }
903
904 #menu_tabview[groups="2"] {
905   -moz-image-region: rect(1px, 53px, 17px, 37px);
906 }
907
908 #menu_tabview[groups="3"] {
909   -moz-image-region: rect(1px, 71px, 17px, 55px);
910 }
911
912 /* download manager button */
913
914 #downloads-button {
915   -moz-image-region: rect(0, 108px, 18px, 90px);
916 }
917
918 #downloads-button:not([disabled="true"]):hover {
919   -moz-image-region: rect(18px, 108px, 36px, 90px);
920 }
921
922 #downloads-button[disabled="true"] {
923   -moz-image-region: rect(36px, 108px, 54px, 90px);
924 }
925
926 /* history sidebar button */
927
928 #history-button {
929   -moz-image-region: rect(0, 126px, 18px, 108px);
930 }
931
932 #history-button:not([disabled="true"]):hover {
933   -moz-image-region: rect(18px, 126px, 36px, 108px);
934 }
935
936 #history-button[disabled="true"] {
937   -moz-image-region: rect(36px, 126px, 54px, 108px);
938 }
939
940 /* bookmark sidebar & menu buttons */
941
942 #bookmarks-button,
943 #bookmarks-menu-button {
944   list-style-image: url("chrome://browser/skin/Toolbar.png") !important; /* for making the palette work */
945   -moz-image-region: rect(0, 144px, 18px, 126px);
946 }
947
948 #bookmarks-menu-button.bookmark-item {
949   /* list-style-image: url("chrome://browser/skin/Toolbar.png"); */
950 }
951
952 #bookmarks-menu-button.toolbarbutton-1 {
953   -moz-box-orient: horizontal;
954 }
955
956 #bookmarks-button:not([disabled="true"]):hover,
957 #bookmarks-menu-button[open="true"],
958 #bookmarks-menu-button:not([disabled="true"]):hover {
959   -moz-image-region: rect(18px, 144px, 36px, 126px);
960 }
961
962 #bookmarks-button[disabled="true"],
963 #bookmarks-menu-button[disabled="true"] {
964   -moz-image-region: rect(36px, 144px, 54px, 126px);
965 }
966
967 /* print button */
968
969 #print-button {
970   -moz-image-region: rect(0, 162px, 18px, 144px);
971 }
972
973 #print-button:not([disabled="true"]):hover {
974   -moz-image-region: rect(18px, 162px, 36px, 144px);
975 }
976
977 #print-button[disabled="true"] {
978   -moz-image-region: rect(36px, 162px, 54px, 144px);
979 }
980
981 /* toolbar new tab button */
982
983 #new-tab-button {
984   -moz-image-region: rect(0, 180px, 18px, 162px);
985 }
986
987 #print-button:not([disabled="true"]):hover {
988   -moz-image-region: rect(18px, 162px, 36px, 144px);
989 }
990
991 #print-button[disabled="true"] {
992   -moz-image-region: rect(36px, 162px, 54px, 144px);
993 }
994
995 /* new window button */
996
997 #new-window-button {
998   -moz-image-region: rect(0, 198px, 18px, 180px);
999 }
1000
1001 #new-window-button:not([disabled="true"]):hover {
1002   -moz-image-region: rect(18px, 198px, 36px, 180px);
1003 }
1004
1005 #new-window-button[disabled="true"] {
1006   -moz-image-region: rect(36px, 198px, 54px, 180px);
1007 }
1008
1009 /* cut button */
1010
1011 #cut-button {
1012   -moz-image-region: rect(0, 216px, 18px, 198px);
1013 }
1014
1015 #cut-button:not([disabled="true"]):hover {
1016   -moz-image-region: rect(18px, 216px, 36px, 198px);
1017 }
1018
1019 #cut-button[disabled="true"] {
1020   -moz-image-region: rect(36px, 216px, 54px, 198px);
1021 }
1022
1023 /* copy button */
1024
1025 #copy-button {
1026   -moz-image-region: rect(0, 234px, 18px, 216px);
1027 }
1028
1029 #copy-button:not([disabled="true"]):hover {
1030   -moz-image-region: rect(18px, 234px, 36px, 216px);
1031 }
1032
1033 #copy-button[disabled="true"] {
1034   -moz-image-region: rect(36px, 234px, 54px, 216px);
1035 }
1036
1037 /* paste button */
1038
1039 #paste-button {
1040   -moz-image-region: rect(0, 252px, 18px, 234px);
1041 }
1042
1043 #paste-button:not([disabled="true"]):hover {
1044   -moz-image-region: rect(18px, 252px, 36px, 234px);
1045 }
1046
1047 #paste-button[disabled="true"] {
1048   -moz-image-region: rect(36px, 252px, 54px, 234px);
1049 }
1050
1051 /* fullscreen button */
1052
1053 #fullscreen-button {
1054   -moz-image-region: rect(0, 270px, 18px, 252px);
1055 }
1056
1057 #fullscreen-button:not([disabled="true"]):hover {
1058   -moz-image-region: rect(18px, 270px, 36px, 252px);
1059 }
1060
1061 #fullscreen-button[disabled="true"] {
1062   -moz-image-region: rect(36px, 270px, 54px, 252px);
1063 }
1064
1065 /* zoom controls */
1066
1067 #zoom-out-button {
1068   -moz-image-region: rect(0, 288px, 18px, 270px);
1069   -moz-margin-end: 0;
1070 }
1071
1072 #zoom-in-button {
1073   -moz-image-region: rect(0, 306px, 18px, 288px);
1074 }
1075
1076 #nav-bar #zoom-out-button {
1077   -moz-margin-end: 0;
1078 }
1079
1080 #nav-bar #zoom-in-button {
1081   -moz-border-start: none;
1082   -moz-margin-start: 0;
1083 }
1084
1085 #nav-bar #zoom-out-button:-moz-locale-dir(ltr),
1086 #nav-bar #zoom-in-button:-moz-locale-dir(rtl) {
1087   border-top-right-radius: 0;
1088   border-bottom-right-radius: 0;
1089 }
1090
1091 #nav-bar #zoom-out-button:-moz-locale-dir(rtl),
1092 #nav-bar #zoom-in-button:-moz-locale-dir(ltr) {
1093   border-top-left-radius: 0;
1094   border-bottom-left-radius: 0;
1095 }
1096
1097 #zoom-out-button:not([disabled="true"]):hover {
1098   -moz-image-region: rect(18px, 288px, 36px, 270px);
1099 }
1100
1101 #zoom-out-button[disabled="true"] {
1102   -moz-image-region: rect(36px, 288px, 54px, 270px);
1103 }
1104
1105 #zoom-in-button:not([disabled="true"]):hover {
1106   -moz-image-region: rect(18px, 306px, 36px, 288px);
1107 }
1108
1109 #zoom-in-button[disabled="true"] {
1110   -moz-image-region: rect(36px, 306px, 54px, 288px);
1111 }
1112
1113 /* sync button */
1114
1115 #sync-button:not([status]) {
1116   list-style-image: url("chrome://browser/skin/Toolbar.png") !important; /* for making the palette work */
1117   -moz-image-region: rect(0, 324px, 18px, 306px);
1118 }
1119
1120 #sync-button[status="active"] {
1121   list-style-image: url("chrome://browser/skin/sync-throbber.png");
1122   -moz-image-region: rect(0, 18px, 18px, 0);
1123 }
1124
1125 #sync-button[disabled="true"] {
1126   -moz-image-region: rect(36px, 324px, 54px, 306px);
1127 }
1128
1129 /* feed button */
1130
1131 #feed-button {
1132   -moz-image-region: rect(0, 342px, 18px, 324px);
1133 }
1134
1135 #feed-button[disabled="true"] {
1136   -moz-image-region: rect(36px, 342px, 54px, 324px);
1137 }
1138
1139 /* ::::: fullscreen window controls ::::: */
1140
1141 #TabsToolbar > #window-controls {
1142   -moz-margin-start: 4px;
1143 }
1144
1145 #minimize-button,
1146 #restore-button,
1147 #close-button {
1148 /*  padding: 0; */
1149 }
1150
1151 #minimize-button {
1152   list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1153 }
1154
1155 #minimize-button:hover {
1156   list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1157 }
1158
1159 #restore-button {
1160   list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1161 }
1162
1163 #restore-button:hover {
1164   list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1165 }
1166
1167 #close-button {
1168   list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1169 }
1170
1171 #close-button:hover {
1172   list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1173 }
1174
1175 /* ::::: Location Bar ::::: */
1176
1177 #urlbar,
1178 .searchbar-textbox {
1179   border-radius: 5px;
1180   margin: 0;
1181   -moz-margin-start: 3px;
1182 }
1183
1184 #urlbar {
1185   width: 7em;
1186   min-width: 7em;
1187   /* make color as light as possible to deal with dark non-domain parts */
1188   color: #FFBFFF;
1189 }
1190
1191 #urlbar:-moz-lwtheme,
1192 .searchbar-textbox:-moz-lwtheme {
1193   /* background-color: rgba(255,255,255,.8);
1194   @navbarTextboxCustomBorder@
1195   color: black; */
1196 }
1197
1198 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1199     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1200     #unified-back-forward-button + #urlbar-container {
1201   padding-left: 22px;
1202   -moz-margin-start: -22px;
1203   position: relative;
1204   pointer-events: none;
1205 }
1206
1207 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1208     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1209     #unified-back-forward-button + #urlbar-container > #urlbar {
1210 /*  -moz-border-start: none;
1211   margin-left: 0; */
1212   pointer-events: all;
1213 }
1214
1215 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1216     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1217     #unified-back-forward-button:not([switchingtabs]) + #urlbar-container > #urlbar {
1218   -moz-transition: margin-left 150ms ease-out;
1219 }
1220
1221 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1222     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1223     #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(ltr) {
1224 /*  border-top-left-radius: 0;
1225   border-bottom-left-radius: 0; */
1226 }
1227
1228 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1229     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1230     #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(rtl) {
1231 /*  border-top-right-radius: 0;
1232   border-bottom-right-radius: 0; */
1233 }
1234
1235 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1236     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1237     #unified-back-forward-button[forwarddisabled] + #urlbar-container {
1238   mask: url("chrome://browser/content/browser.xul#winstripe-urlbar-back-button-mask");
1239 }
1240
1241 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1242     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1243     #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar {
1244   margin-left: -22px;
1245 }
1246
1247 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1248     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1249     #unified-back-forward-button[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar {
1250   /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
1251   -moz-transition-delay: 100s;
1252 }
1253
1254 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1255     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1256     #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar {
1257   /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
1258   margin-left: -22.01px;
1259 }
1260
1261 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1262     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1263     #unified-back-forward-button + #urlbar-container:-moz-locale-dir(rtl),
1264 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1265     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1266     #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(rtl) {
1267   /* let winstripe-urlbar-back-button-mask clip the urlbar's right side for RTL */
1268   -moz-transform: scaleX(-1);
1269 }
1270
1271 html|*.urlbar-input:-moz-lwtheme:-moz-placeholder,
1272 .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input:-moz-placeholder {
1273   color: #E7ADE7;
1274 }
1275
1276 #urlbar:-moz-lwtheme[focused="true"],
1277 .searchbar-textbox:-moz-lwtheme[focused="true"] {
1278 /*  background-color: white; */
1279 }
1280
1281 #urlbar-container {
1282   -moz-box-orient: horizontal;
1283   -moz-box-align: stretch;
1284 }
1285
1286 .urlbar-textbox-container {
1287   -moz-box-align: stretch;
1288 }
1289
1290 #urlbar-icons {
1291   -moz-box-align: center;
1292 }
1293
1294 .urlbar-icon {
1295   padding: 2px;
1296 }
1297
1298 .searchbar-engine-button,
1299 .search-go-container {
1300   padding: 2px;
1301 }
1302
1303 .search-go-container > .search-go-button {
1304   padding: 0;
1305 }
1306
1307 .urlbar-icon:-moz-system-metric(touch-enabled) {
1308   -moz-margin-end: 1px !important;
1309   padding: 0 3px !important;
1310 }
1311
1312 .urlbar-icon:hover {
1313 }
1314
1315 .urlbar-icon[open="true"],
1316 .urlbar-icon:hover:active {
1317 }
1318
1319 #urlbar-search-splitter {
1320   min-width: 6px;
1321   -moz-margin-start: -3px;
1322   border: none;
1323   background: transparent;
1324 }
1325
1326 #urlbar-search-splitter + #urlbar-container > #urlbar,
1327 #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1328   -moz-margin-start: 0;
1329 }
1330
1331 #urlbar-display {
1332   -moz-border-end: 1px solid #9C9CFF;
1333   -moz-margin-end: 3px;
1334   margin-top: 0;
1335   margin-bottom: 0;
1336   color: #8050B0;
1337 }
1338
1339 /* identity box */
1340
1341 #identity-box {
1342   background-color: #000000;
1343   color: #FF9F00;
1344   border-radius: 2px;
1345 }
1346
1347 #notification-popup-box:not([hidden]) + #identity-box {
1348   -moz-padding-start: 10px;
1349   border-radius: 0;
1350 }
1351
1352 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1353     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1354     #unified-back-forward-button + #urlbar-container > #urlbar > #identity-box {
1355 /*   border-radius: 0; */
1356 }
1357
1358 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1359     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1360     #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
1361   padding-left: 5px;
1362   -moz-transition: padding-left;
1363 }
1364
1365 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1366     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1367     #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
1368   padding-right: 5px;
1369   -moz-transition: padding-right;
1370 }
1371
1372 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1373     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1374     #unified-back-forward-button[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box {
1375   /* forward button hiding is delayed when hovered */
1376   -moz-transition-delay: 100s;
1377 }
1378
1379 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1380     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1381     #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
1382   /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
1383   padding-left: 5.01px;
1384 }
1385
1386 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1387     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1388     #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
1389   /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
1390   padding-right: 5.01px;
1391 }
1392
1393 #identity-box:hover {
1394   background-color: #9C9CFF;
1395   color: #000000;
1396 }
1397
1398 #identity-box[open="true"],
1399 #identity-box:hover:active {
1400   background-color: #FF9F00;
1401   color: #000000;
1402 }
1403
1404 #identity-box.verifiedDomain {
1405   background-color: #FFCF00;
1406   color: #000000;
1407 }
1408
1409 #identity-box.verifiedIdentity {
1410   background-color: #008484;
1411   color: #000000;
1412 }
1413
1414 #identity-box:-moz-focusring {
1415   outline: 1px dotted #008484;
1416   outline-offset: -1px;
1417 }
1418
1419 #identity-box.verifiedDomain:-moz-focusring,
1420 #identity-box.verifiedIdentity:-moz-focusring {
1421   outline-color: #000000;
1422 }
1423
1424 #identity-icon-labels {
1425   -moz-margin-start: 1px;
1426   -moz-margin-end: 3px;
1427 }
1428
1429 /* Location bar dropmarker */
1430
1431 .urlbar-history-dropmarker:not(:hover):not([open="true"]) {
1432   background-color: transparent;
1433 }
1434
1435 #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker {
1436   border: none;
1437   border-radius: 0px;
1438 }
1439
1440 .urlbar-history-dropmarker:hover {
1441 }
1442
1443 .urlbar-history-dropmarker:hover:active,
1444 .urlbar-history-dropmarker[open="true"] {
1445 }
1446
1447 /* page proxy icon */
1448
1449 #page-proxy-favicon {
1450   width: 16px;
1451   height: 16px;
1452 }
1453
1454 #page-proxy-stack {
1455   width: 24px;
1456   height: 18px;
1457   padding: 1px 4px;
1458 }
1459
1460 #page-proxy-favicon:not([src]) {
1461   list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
1462 }
1463
1464 #page-proxy-favicon[pageproxystate="invalid"] {
1465   opacity: 0.5;
1466 }
1467
1468 /* autocomplete */
1469
1470 #treecolAutoCompleteImage {
1471   max-width: 36px;
1472 }
1473
1474 .ac-result-type-bookmark,
1475 .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
1476   list-style-image: url("chrome://browser/skin/places/bookmark.png");
1477   -moz-image-region: rect(0px 16px 16px 0px);
1478   width: 16px;
1479   height: 16px;
1480 }
1481
1482 .ac-result-type-keyword,
1483 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
1484   list-style-image: url("chrome://global/skin/icons/Search-glass.png");
1485   -moz-image-region: rect(0px 32px 16px 16px);
1486   width: 16px;
1487   height: 16px;
1488 }
1489
1490 .ac-result-type-tag,
1491 .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
1492   list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
1493   width: 16px;
1494   height: 16px;
1495 }
1496
1497 .ac-comment {
1498   font-size: 1.15em;
1499 }
1500
1501 .ac-extra > .ac-comment {
1502   font-size: inherit;
1503 }
1504
1505 .ac-url-text,
1506 .ac-action-text {
1507   color: #9C9CFF;
1508 }
1509
1510 richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
1511   list-style-image: url("chrome://browser/skin/actionicon-tab.png");
1512 }
1513
1514 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
1515   color: #8050B0;
1516 }
1517
1518 .ac-comment[selected="true"],
1519 .ac-url-text[selected="true"],
1520 .ac-action-text[selected="true"] {
1521   color: inherit !important;
1522 }
1523
1524 .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
1525 .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
1526 {
1527   color: #8050B0;
1528   font-size: smaller;
1529 }
1530
1531 .autocomplete-treebody::-moz-tree-cell(suggesthint) {
1532   border-top: 1px solid #9C9CFF;
1533 }
1534
1535 /* combined go/reload/stop button in location bar */
1536
1537 #go-button,
1538 #urlbar > toolbarbutton {
1539   list-style-image: url("chrome://browser/skin/reload-stop-go.png");
1540   /* margin: -2px; */
1541   -moz-margin-start: 0;
1542   padding: 0 2px;
1543   background-origin: border-box;
1544   border: none;
1545   -moz-border-start: 1px solid #9C9CFF;
1546 }
1547
1548 #go-button {
1549   padding: 0 3px;
1550 }
1551
1552 #urlbar:-moz-locale-dir(ltr) > toolbarbutton {
1553   border-top-left-radius: 0px;
1554   border-bottom-left-radius: 0px;
1555 }
1556
1557 #urlbar:-moz-locale-dir(rtl) > toolbarbutton {
1558   border-top-right-radius: 0px;
1559   border-bottom-right-radius: 0px;
1560 }
1561
1562 #urlbar > toolbarbutton:not([disabled]):active:hover,
1563 #urlbar-reload-button:not(:hover) {
1564   -moz-border-start-style: none;
1565   -moz-padding-start: 3px;
1566 }
1567
1568 #urlbar > toolbarbutton:not([disabled]):active:hover {
1569 }
1570
1571 #urlbar-go-button {
1572   -moz-image-region: rect(0, 42px, 14px, 28px);
1573 }
1574
1575 #go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
1576 #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1577   -moz-transform: scaleX(-1);
1578 }
1579
1580 #urlbar-go-button:hover,
1581 #go-button:hover {
1582   -moz-image-region: rect(14px, 42px, 28px, 28px);
1583 }
1584
1585 #urlbar-reload-button {
1586   -moz-image-region: rect(0px, 14px, 14px, 0px);
1587 }
1588
1589 #urlbar-reload-button[disabled] {
1590   -moz-image-region: rect(28px, 14px, 42px, 0px);
1591 }
1592
1593 #urlbar-reload-button:not([disabled]):hover {
1594   -moz-image-region: rect(14px, 14px, 28px, 0px);
1595 }
1596
1597 #urlbar-stop-button {
1598   -moz-image-region: rect(0px, 28px, 14px, 14px);
1599 }
1600
1601 #urlbar-stop-button:hover {
1602   -moz-image-region: rect(14px, 28px, 28px, 14px);
1603 }
1604
1605 /* popup blocker button */
1606
1607 #page-report-button {
1608   list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
1609   -moz-image-region: rect(0, 16px, 16px, 0);
1610 }
1611
1612 #page-report-button:hover ,
1613 #page-report-button:hover:active,
1614 #page-report-button[open="true"] {
1615   -moz-image-region: rect(0, 32px, 16px, 16px);
1616 }
1617
1618 /* star button */
1619
1620 #star-button {
1621   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png");
1622   -moz-image-region: rect(16px 16px 32px 0px);
1623 }
1624
1625 #star-button:hover {
1626   -moz-image-region: rect(16px 32px 32px 16px);
1627 }
1628
1629 #star-button:hover:active {
1630   -moz-image-region: rect(16px 48px 32px 32px);
1631 }
1632
1633 #star-button[starred="true"] {
1634   -moz-image-region: rect(0px 16px 16px 0px);
1635 }
1636
1637 #star-button[starred="true"]:hover {
1638   -moz-image-region: rect(0px 32px 16px 16px);
1639 }
1640
1641 #star-button[starred="true"]:hover:active {
1642   -moz-image-region: rect(0px 48px 16px 32px);
1643 }
1644
1645 /* bookmarking panel */
1646 #editBookmarkPanelStarIcon {
1647   list-style-image: url("chrome://browser/skin/places/starred48.png");
1648   width: 48px;
1649   height: 48px;
1650 }
1651
1652 #editBookmarkPanelStarIcon[unstarred] {
1653   list-style-image: url("chrome://browser/skin/places/unstarred48.png");
1654 }
1655
1656 #editBookmarkPanelTitle {
1657   font-size: 130%;
1658 }
1659
1660 #editBookmarkPanelHeader,
1661 #editBookmarkPanelContent {
1662   margin-bottom: .5em;
1663 }
1664
1665 /* Implements editBookmarkPanel resizing on folderTree un-collapse. */
1666 #editBMPanel_folderTree {
1667   min-width: 27em;
1668 }
1669
1670 .panel-promo-box {
1671   margin: 5px -6px -6px;
1672   padding: 5px;
1673   border-bottom-left-radius: 5px;
1674   border-bottom-right-radius: 5px;
1675   border-top: 1px solid #9C9CFF;
1676 }
1677
1678 .panel-promo-icon {
1679   list-style-image: url("chrome://browser/skin/sync-notification-24.png");
1680   -moz-margin-end: 10px;
1681   vertical-align: middle;
1682 }
1683
1684 .panel-promo-closebutton {
1685   list-style-image: url("chrome://global/skin/icons/close-button.gif");
1686   -moz-margin-end: -3px;
1687   margin-top: -3px;
1688 }
1689
1690 .panel-promo-closebutton:hover {
1691   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1692 }
1693
1694 .panel-promo-closebutton:hover:active {
1695   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1696 }
1697
1698 .panel-promo-closebutton > .toolbarbutton-text {
1699   padding: 0;
1700   margin: 0;
1701 }
1702
1703 /* ::::: content area ::::: */
1704
1705 #sidebar {
1706   background-color: Window;
1707 }
1708
1709 #sidebar-title {
1710   -moz-padding-start: 0px;
1711 }
1712
1713 /* ::::: throbber ::::: */
1714
1715 #navigator-throbber {
1716   width: 16px;
1717   min-height: 16px;
1718   margin: 0 3px;
1719 }
1720
1721 #navigator-throbber[busy="true"] {
1722   list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.gif");
1723 }
1724
1725 #navigator-throbber,
1726 #wrapper-navigator-throbber > #navigator-throbber {
1727   list-style-image: url("chrome://communicator/skin/brand/throbber16-single.gif");
1728 }
1729
1730 /* Tabstrip */
1731
1732 #TabsToolbar {
1733   min-height: 0;
1734   padding: 0;
1735   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
1736 }
1737
1738 #TabsToolbar .toolbar-holder {
1739   background-color: #000000; /* correct effect of being an actual toolbar */
1740 }
1741
1742 #main-window[disablechrome] #TabsToolbar,
1743 #TabsToolbar[tabsontop="false"] {
1744   border-bottom: 1px solid #FF9F00;
1745 }
1746
1747 .tabbrowser-tab,
1748 .tabs-newtab-button {
1749   margin-top: 0px;
1750 }
1751
1752 .tabbrowser-tab:hover,
1753 .tabs-newtab-button:hover {
1754 }
1755
1756 .tabbrowser-tab[selected="true"] {
1757 }
1758
1759 #main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) {
1760 }
1761
1762 .tabbrowser-tab:-moz-lwtheme {
1763 }
1764
1765 .tabbrowser-tab[selected="true"]:-moz-lwtheme {
1766 }
1767
1768 .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]),
1769 .tabs-newtab-button:-moz-lwtheme-brighttext {
1770 }
1771
1772 .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover,
1773 .tabs-newtab-button:-moz-lwtheme-brighttext:hover {
1774 }
1775
1776 .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]),
1777 .tabs-newtab-button:-moz-lwtheme-darktext {
1778 }
1779
1780 .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover,
1781 .tabs-newtab-button:-moz-lwtheme-darktext:hover {
1782 }
1783
1784 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
1785   background-color: #E7ADE7;
1786 }
1787 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
1788   background-color: #0000FF;
1789   color: #000000;
1790 }
1791
1792 .tab-throbber,
1793 .tab-icon-image {
1794   width: 16px;
1795   height: 16px;
1796   list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
1797   -moz-image-region: auto;
1798   -moz-margin-end: 3px;
1799 }
1800
1801 .tab-throbber {
1802   list-style-image: url("chrome://browser/skin/tabbrowser/connecting.png");
1803 }
1804
1805 .tab-throbber[progress] {
1806   list-style-image: url("chrome://browser/skin/tabbrowser/loading.png");
1807 }
1808
1809 #tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
1810   min-height: 16px; /* corresponds to the max. height of non-textual tab contents, i.e. the favicon */
1811 }
1812
1813 .tab-throbber[pinned],
1814 .tab-icon-image[pinned] {
1815   -moz-margin-start: 2px;
1816   -moz-margin-end: 2px;
1817 }
1818
1819 /* tabbrowser-tab focus ring */
1820 .tabbrowser-tab:focus > .tab-stack {
1821   outline: 1px dotted;
1822 }
1823
1824 /* Tab DnD indicator */
1825 .tab-drop-indicator {
1826   list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
1827   margin-bottom: -11px;
1828 }
1829
1830 /* Tab close button */
1831 .tab-close-button {
1832   border: none;
1833   padding: 0px;
1834   list-style-image: url("chrome://global/skin/icons/close-button.gif");
1835 }
1836
1837 .tab-close-button:-moz-system-metric(touch-enabled) {
1838   -moz-transform: scale(1.2);
1839 }
1840
1841 .tab-close-button:hover,
1842 .tab-close-button:hover[selected="true"] {
1843   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1844 }
1845
1846 .tab-close-button:hover:active,
1847 .tab-close-button:hover:active[selected="true"] {
1848   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1849 }
1850
1851 /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
1852
1853 @media all and (-moz-touch-enabled) {
1854   .tabbrowser-arrowscrollbox > .scrollbutton-up,
1855   .tabbrowser-arrowscrollbox > .scrollbutton-down,
1856   #TabsToolbar .toolbarbutton-1 {
1857     min-width: 8.1mozmm;
1858   }
1859
1860   .tabs-newtab-button {
1861     min-width: 10mozmm;
1862   }
1863
1864   .tab-content {
1865     min-height: -moz-calc(6.8mozmm - 7px); /* subtract borders from the desired height */
1866   }
1867 }
1868
1869 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1870 .tabbrowser-arrowscrollbox > .scrollbutton-down {
1871   margin: 0;
1872   padding-top: 0;
1873   padding-bottom: 0;
1874 }
1875
1876 .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
1877   background-color: #008484;
1878 }
1879
1880 .tabs-newtab-button > .toolbarbutton-icon {
1881   margin-top: -1px;
1882   margin-bottom: -1px;
1883 }
1884
1885 .tabs-newtab-button,
1886 #TabsToolbar > #new-tab-button,
1887 #TabsToolbar > toolbarpaletteitem > #new-tab-button {
1888   list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png");
1889   -moz-image-region: rect(0, 16px, 18px, 0);
1890 }
1891
1892 .tabs-newtab-button {
1893   width: 28px;
1894 }
1895
1896 #TabsToolbar > #new-tab-button {
1897   width: 26px;
1898 }
1899
1900 .tabs-newtab-button:hover,
1901 #TabsToolbar > #new-tab-button:hover {
1902   -moz-image-region: rect(0, 32px, 18px, 16px);
1903 }
1904
1905 #alltabs-button {
1906   list-style-image: url("chrome://browser/skin/tabbrowser/alltabs.png");
1907   -moz-image-region: rect(0, 14px, 16px, 0);
1908 }
1909
1910 #alltabs-button:hover,
1911 #alltabs-button:hover:active {
1912   -moz-image-region: rect(0, 28px, 16px, 14px);
1913 }
1914
1915 #alltabs-button[type="menu"] {
1916   list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
1917   -moz-image-region: auto;
1918 }
1919
1920 #alltabs-button[type="menu"] > .toolbarbutton-menu-dropmarker {
1921   display: none;
1922 }
1923
1924 #alltabs-button[type="menu"]:hover,
1925 #alltabs-button[type="menu"]:hover:active,
1926 #alltabs-button[type="menu"][open="true"] {
1927   list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
1928   -moz-image-region: auto;
1929 }
1930
1931 /* All tabs menupopup */
1932 .alltabs-item > .menu-iconic-left > .menu-iconic-icon {
1933   list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
1934   -moz-image-region: auto;
1935 }
1936
1937 .alltabs-item[selected="true"] {
1938   font-weight: bold;
1939 }
1940
1941 .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
1942   list-style-image: url("chrome://global/skin/icons/loading.gif");
1943 }
1944
1945 .alltabs-item[tabIsVisible] {
1946   background-color: #402800;
1947 }
1948
1949 /* Tabstrip close button */
1950 .tabs-closebutton {
1951   -moz-box-flex: 1;
1952   margin: 0px;
1953   padding: 2px;
1954   list-style-image: url("chrome://global/skin/icons/close-button.gif");
1955 }
1956
1957 .tabs-closebutton > .toolbarbutton-icon {
1958 }
1959
1960 .tabs-closebutton > .toolbarbutton-text {
1961   display: none;
1962 }
1963
1964 .tabs-closebutton:hover,
1965 .tabs-closebutton:hover:active {
1966   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1967 }
1968
1969 toolbarbutton.chevron {
1970   list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
1971 }
1972
1973 toolbarbutton.chevron:hover {
1974   list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
1975 }
1976
1977 toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
1978 toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
1979   -moz-transform: scaleX(-1);
1980 }
1981
1982 toolbarbutton.chevron > .toolbarbutton-text,
1983 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
1984   display: none;
1985 }
1986
1987 toolbarbutton.chevron > .toolbarbutton-icon {
1988   margin: 0;
1989 }
1990
1991 toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
1992   display: -moz-box; /* display chevron icon in text mode */
1993 }
1994
1995 #sidebar-throbber[loading="true"] {
1996   list-style-image: url("chrome://global/skin/icons/loading.gif");
1997   -moz-margin-end: 4px;
1998 }
1999
2000 /* Bookmarks toolbar */
2001 #PlacesToolbarDropIndicator {
2002   list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
2003 }
2004
2005 toolbarbutton.bookmark-item[dragover="true"][open="true"] {
2006   background-color: #008484 !important;
2007   color: #FFCF00 !important;
2008 }
2009
2010 /* rules for menupopup drop indicators */
2011 .menupopup-drop-indicator-bar {
2012   position: relative;
2013   /* these two margins must together compensate the indicator's height */
2014   margin-top: -1px;
2015   margin-bottom: -1px;
2016 }
2017
2018 .menupopup-drop-indicator {
2019   list-style-image: none;
2020   height: 2px;
2021   -moz-margin-end: -4em;
2022   background-color: #008484;
2023 }
2024
2025 /* ::::: Identity Indicator Styling ::::: */
2026
2027 /* Popup Icons */
2028 #identity-popup-icon {
2029   height: 64px;
2030   width: 64px;
2031   padding: 0;
2032   list-style-image: url("chrome://browser/skin/identity.png");
2033   -moz-image-region: rect(0px, 64px, 64px, 0px);
2034 }
2035
2036 #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
2037   -moz-image-region: rect(64px, 64px, 128px, 0px);
2038 }
2039
2040 #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
2041   -moz-image-region: rect(128px, 64px, 192px, 0px);
2042 }
2043
2044 /* Popup Body Text */
2045 .identity-popup-description {
2046   white-space: pre-wrap;
2047   -moz-padding-start: 15px;
2048   margin: 2px 0 4px;
2049 }
2050
2051 .identity-popup-label {
2052   white-space: pre-wrap;
2053   -moz-padding-start: 15px;
2054   margin: 0;
2055 }
2056
2057 #identity-popup-content-host ,
2058 #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
2059   font-size: 1.2em;
2060 }
2061
2062 #identity-popup-content-host {
2063   margin-top: 3px;
2064   margin-bottom: 5px;
2065   font-weight: bold;
2066   max-width: 300px;
2067 }
2068
2069 #identity-popup-content-owner {
2070   margin-top: 4px;
2071   margin-bottom: 0 !important;
2072   font-weight: bold;
2073   max-width: 300px;
2074 }
2075
2076 .verifiedDomain > #identity-popup-content-owner {
2077   font-weight: normal;
2078 }
2079
2080 #identity-popup-content-verifier {
2081   margin: 4px 0 2px;
2082 }
2083
2084 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
2085 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
2086   margin-top: 10px;
2087   -moz-margin-start: -24px;
2088 }
2089
2090 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
2091 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
2092   list-style-image: url("chrome://browser/skin/Secure24.png");
2093 }
2094
2095 #identity-popup-more-info-button {
2096   margin-top: 6px;
2097   margin-bottom: 0;
2098   -moz-margin-end: 0;
2099 }
2100
2101 .popup-notification-icon {
2102   width: 64px;
2103   height: 64px;
2104   -moz-margin-end: 10px;
2105 }
2106
2107 .popup-notification-icon[popupid="geolocation"] {
2108   list-style-image: url("chrome://browser/skin/Geolocation-64.png");
2109 }
2110
2111 .popup-notification-icon[popupid="xpinstall-disabled"],
2112 .popup-notification-icon[popupid="addon-progress"],
2113 .popup-notification-icon[popupid="addon-install-cancelled"],
2114 .popup-notification-icon[popupid="addon-install-blocked"],
2115 .popup-notification-icon[popupid="addon-install-failed"],
2116 .popup-notification-icon[popupid="addon-install-complete"] {
2117   list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
2118   width: 32px;
2119   height: 32px;
2120 }
2121
2122 .addon-progress-description {
2123   width: 350px;
2124   max-width: 350px;
2125 }
2126
2127 .popup-progress-label,
2128 .popup-progress-meter {
2129   -moz-margin-start: 0;
2130   -moz-margin-end: 0;
2131 }
2132
2133 .popup-progress-cancel {
2134   -moz-appearance: none;
2135   background: transparent;
2136   border: none;
2137   padding: 0;
2138   margin: 0;
2139   min-height: 0;
2140   min-width: 0;
2141   list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
2142   -moz-image-region: rect(0px, 32px, 16px, 16px);
2143 }
2144
2145 .popup-progress-cancel:hover {
2146   -moz-image-region: rect(16px, 32px, 32px, 16px);
2147 }
2148
2149 .popup-progress-cancel:active {
2150   -moz-image-region: rect(32px, 32px, 48px, 16px);
2151 }
2152
2153 .popup-notification-icon[popupid="indexedDB-permissions-prompt"],
2154 .popup-notification-icon[popupid="indexedDB-quota-prompt"] {
2155   list-style-image: url("chrome://global/skin/icons/alert-question.gif");
2156 }
2157
2158 .popup-notification-icon[popupid="password-save"],
2159 .popup-notification-icon[popupid="password-change"] {
2160   list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
2161 }
2162
2163 /* Notification icon box */
2164 #notification-popup-box {
2165   position: relative;
2166   background-color: #000000;
2167   background-clip: padding-box;
2168   padding-left: 3px;
2169   border-radius: 3px 0 0 3px;
2170   -moz-border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
2171   -moz-margin-end: -8px;
2172 }
2173
2174 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
2175     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
2176     #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box {
2177   padding-left: 5px;
2178 }
2179
2180 #notification-popup-box:-moz-locale-dir(rtl),
2181 .notification-anchor-icon:-moz-locale-dir(rtl) {
2182   -moz-transform: scaleX(-1);
2183 }
2184
2185 .notification-anchor-icon {
2186   width: 16px;
2187   height: 16px;
2188 }
2189
2190 .notification-anchor-icon:-moz-focusring {
2191   outline: 1px dotted #008484;
2192 /*  outline-offset: -3px; */
2193 }
2194
2195 #default-notification-icon {
2196   list-style-image: url("chrome://global/skin/icons/information-16.png");
2197 }
2198
2199 #geo-notification-icon {
2200   list-style-image: url("chrome://browser/skin/Geolocation-16.png");
2201 }
2202
2203 #addons-notification-icon {
2204   list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
2205 }
2206
2207 #indexedDB-notification-icon {
2208   list-style-image: url("chrome://global/skin/icons/question-16.png");
2209 }
2210
2211 #password-notification-icon {
2212   list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
2213 }
2214
2215 #identity-popup-container {
2216   min-width: 280px;
2217 }
2218
2219 #download-monitor {
2220   list-style-image: url("chrome://browser/skin/Toolbar.png");
2221   -moz-image-region: rect(0, 108px, 18px, 90px);
2222 }
2223
2224 /* Bookmarks roots menu-items */
2225 #appmenu_subscribeToPage:not([disabled]),
2226 #appmenu_subscribeToPageMenu,
2227 #subscribeToPageMenuitem:not([disabled]),
2228 #subscribeToPageMenupopup,
2229 #BMB_subscribeToPageMenuitem:not([disabled]),
2230 #BMB_subscribeToPageMenupopup {
2231   list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
2232 }
2233
2234 #bookmarksToolbarFolderMenu,
2235 #appmenu_bookmarksToolbar,
2236 #BMB_bookmarksToolbar {
2237   list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
2238   -moz-image-region: auto;
2239 }
2240
2241 #appmenu_unsortedBookmarks,
2242 #BMB_unsortedBookmarks {
2243   list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
2244   -moz-image-region: auto;
2245 }
2246
2247 /* ::::: Keyboard UI Panel ::::: */
2248
2249 .KUI-panel {
2250   color: #FF9F00;
2251   border-style: none;
2252   border-radius: 20px;
2253 }
2254
2255 .KUI-panel[level="top"] {
2256   /*background-color: rgba(27%,27%,27%,.65);*/
2257 }
2258
2259 .KUI-panel-closebutton {
2260   list-style-image: url("KUI-close.png");
2261   width: 24px;
2262   height: 24px;
2263 }
2264
2265 .KUI-panel-closebutton:not(:hover) {
2266 }
2267
2268 .KUI-panel-closebutton > .toolbarbutton-icon {
2269 }
2270
2271 /* ::::: Ctrl-Tab and All Tabs Panels ::::: */
2272
2273 /* Ctrl-Tab */
2274
2275 #ctrlTab-panel {
2276   padding: 20px 10px 10px;
2277   font-weight: bold;
2278 }
2279
2280 .ctrlTab-favicon[src] {
2281   background-color: #000000;
2282   width: 20px;
2283   height: 20px;
2284   padding: 2px;
2285 }
2286
2287 .ctrlTab-preview-inner > .tabPreview-canvas {
2288 }
2289
2290 .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
2291   margin-bottom: 2px;
2292 }
2293
2294 .ctrlTab-preview-inner {
2295   padding-bottom: 10px;
2296 }
2297
2298 #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
2299   padding: 10px;
2300   background-color: #000000;
2301   border-radius: .5em;
2302 }
2303
2304 .ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
2305   color: white;
2306   background-color: #000000;
2307   text-shadow: none;
2308   padding: 8px;
2309   border: 2px solid #9C9CFF;
2310   border-radius: .5em;
2311 }
2312
2313 .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
2314   margin: -10px -10px 0;
2315 }
2316
2317 #ctrlTab-showAll {
2318   margin-top: .5em;
2319 }
2320
2321 /* All Tabs */
2322
2323 #allTabs-panel {
2324   padding-bottom: 10px;
2325 }
2326
2327 #allTabs-meta {
2328   margin: 10px;
2329 }
2330
2331 #allTabs-filter {
2332   -moz-margin-start: 24px;
2333   -moz-margin-end: 0;
2334 }
2335
2336 #allTabs-tab-close-button > .toolbarbutton-icon {
2337   margin: 0;
2338 }
2339
2340 .allTabs-favicon[src] {
2341   width: 22px;
2342   height: 22px;
2343   padding-top: 1px;
2344   padding-bottom: 5px;
2345   -moz-padding-start: 1px;
2346   -moz-padding-end: 5px;
2347   margin-top: -2px;
2348   -moz-margin-start: -2px;
2349   border-bottom-right-radius: 4px;
2350 }
2351
2352 .allTabs-favicon[src]:-moz-locale-dir(rtl) {
2353   border-bottom-right-radius: 0;
2354   border-bottom-left-radius: 4px;
2355 }
2356
2357 .allTabs-preview-inner > .tabPreview-canvas {
2358   background-color: #E7ADE7;
2359 }
2360
2361 .allTabs-preview:not(:hover):not([closebuttonhover]) > html|canvas {
2362 }
2363
2364 .allTabs-preview:focus > * > .allTabs-preview-inner {
2365   outline: 1px dotted #008484;
2366 }
2367
2368 /* Inspector / Highlighter */
2369
2370 #highlighter-panel {
2371   -moz-window-shadow: none;
2372   background: #000000;
2373   border: none;
2374 }
2375
2376 listitem.style-selector {
2377   background-color: #9C9CFF;
2378   color: #000000;
2379 }
2380
2381 listitem.style-section {
2382   background-color: #E7ADE7;
2383   color: #000000;
2384   font-weight: bold;
2385 }
2386
2387 panel[dimmed="true"] {
2388   opacity: 0.5;
2389 }
2390
2391 /* Add-on bar */
2392
2393 #addon-bar {
2394   min-height: 20px;
2395   border-top: 3px solid #000000;
2396   border-bottom-width: 0;
2397 }
2398
2399 #addon-bar .toolbar-holder {
2400   background-color: #8050B0;
2401   color: #FFCF00;
2402 }
2403
2404 #addon-bar .toolbar-holder {
2405   background-color: #8050B0;
2406   color: #FFCF00;
2407 }
2408
2409 #addon-bar .toolbar-startcap,
2410 #addon-bar .toolbar-endcap{
2411   background-color: #6000CF;
2412 }
2413
2414 #status-bar {
2415   -moz-binding: url("chrome://global/content/bindings/general.xml#statusbar");
2416   margin-top: .3em;
2417   border-width: 0;
2418 }
2419
2420 #addon-bar[customizing] > #status-bar {
2421   opacity: .5;
2422 /*  background-image: -moz-repeating-linear-gradient(-45deg,
2423                                                    rgba(255,255,255,.3), rgba(255,255,255,.3) 5px,
2424                                                    rgba(0,0,0,.3) 5px, rgba(0,0,0,.3) 10px);*/
2425 }
2426
2427 /* Remove all borders from statusbarpanel children of
2428    the statusbar.
2429 #status-bar > statusbarpanel {
2430   border-width: 0;
2431 } */
2432
2433 #addonbar-closebutton {
2434   border: none;
2435   padding: 3px 5px;
2436   list-style-image: url("chrome://global/skin/icons/close-button.gif");
2437 }
2438
2439 #addonbar-closebutton:hover,
2440 #addonbar-closebutton:hover:active {
2441   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2442 }
2443
2444 /* Status panel */
2445
2446 .statuspanel-label {
2447   margin: 0;
2448   padding: 2px 4px;
2449   background: #404000;
2450   border: 1px none #9C9CFF;
2451   border-top-style: solid;
2452   color: #FF9F00;
2453   text-shadow: none;
2454 }
2455
2456 .statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
2457 .statuspanel-label:-moz-locale-dir(rtl)[mirror] {
2458   border-right-style: solid;
2459   border-top-right-radius: .3em;
2460   margin-right: 1em;
2461 }
2462
2463 .statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
2464 .statuspanel-label:-moz-locale-dir(ltr)[mirror] {
2465   border-left-style: solid;
2466   border-top-left-radius: .3em;
2467   margin-left: 1em;
2468 }
2469
2470 /* HACK to abolish devily color on main content */
2471
2472 #content {
2473   background-color: transparent !important;
2474 }
2475
2476 /* Highlighter */
2477
2478 .highlighter-veil {
2479   background-color: rgba(25, 25, 25, 0.5);
2480 }
2481
2482 #highlighter-closebutton {
2483   list-style-image: url("chrome://global/skin/icons/close-button.gif");
2484 }
2485
2486 #highlighter-closebutton:hover,
2487 #highlighter-closebutton:hover:active {
2488   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2489 }
2490
2491 highlighter-veil-transparentbox {
2492   box-shadow: 0 0 0 1px rgba(0,0,0,0.5);
2493   outline: 1px dashed rgba(255,255,255,0.5);
2494   outline-offset: -1px;
2495 }
2496
2497 #highlighter-veil-container[locked] > #highlighter-veil-middlebox > #highlighter-veil-transparentbox {
2498   box-shadow: 0 0 0 1px black;
2499   outline-color: white;
2500 }
2501
2502 /* Highlighter toolbar */
2503
2504 #inspector-toolbar {
2505   border-top: 3px solid #000000;
2506   border-bottom: none;
2507 }
2508
2509 #inspector-toolbar[treepanel-open] {
2510   padding-top: 0;
2511   -moz-padding-end: 0;
2512 }
2513
2514 #inspector-tools {
2515   -moz-padding-end: 2px;
2516   border-left: 3px solid #000000;
2517   border-right: 3px solid #000000;
2518   -moz-margin-start: 2px;
2519 }
2520
2521 /* Highlighter - toolbar resizers */
2522
2523 .inspector-resizer {
2524   -moz-appearance: none;
2525   cursor: n-resize;
2526 }
2527
2528 #inspector-top-resizer {
2529   background: none;
2530   height: 4px;
2531 }
2532
2533 #inspector-end-resizer {
2534   width: 12px;
2535   height: 8px;
2536   border-width: 1px 1px 0;
2537   border-style: solid;
2538   border-color: #008484;
2539   margin: 7px 7px 8px;
2540 }
2541
2542 /* Highlighter - Node Infobar */
2543
2544 /* Highlighter - Node Infobar - text */
2545
2546 #highlighter-nodeinfobar-tagname {
2547   color: #FFCF00;
2548 }
2549
2550 #highlighter-nodeinfobar-id {
2551   color: #9C9CFF;
2552 }
2553
2554 .highlighter-nodeinfobar-class {
2555   color: #FF9F00;
2556 }
2557
2558 /* Highlighter - Node Infobar - box & arrow */
2559
2560 #highlighter-nodeinfobar {
2561   border: 1px solid rgba(156, 156, 255, .5);
2562   border-radius: 3px;
2563   padding: 8px 16px;
2564   background: #000000 padding-box;
2565 }
2566
2567 .highlighter-nodeinfobar-arrow {
2568   width: 14px;
2569   height: 14px;
2570   -moz-margin-start: -moz-calc(50% - 7px);
2571   -moz-transform: rotate(-45deg);
2572   border: 1px solid transparent;
2573   background-clip: padding-box;
2574   background-repeat: no-repeat;
2575 }
2576
2577 #highlighter-nodeinfobar-arrow-top {
2578   margin-bottom: -8px;
2579   margin-top: 8px;
2580   border-right-color: rgba(0, 132, 132, .5);
2581   border-top-color: rgba(0, 132, 132, .5);
2582   background-image: -moz-linear-gradient(bottom left, transparent 50%, rgb(0, 132, 132) 50%);
2583 }
2584
2585 #highlighter-nodeinfobar-arrow-bottom {
2586   margin-top: -8px;
2587   margin-bottom: 8px;
2588   border-left-color: rgba(0, 132, 132, .5);
2589   border-bottom-color: rgba(0, 132, 132, .5);
2590   background-image: -moz-linear-gradient(top right, transparent 50%, rgb(0, 132, 132) 50%);
2591 }
2592
2593 #highlighter-nodeinfobar-container[position="top"] > #highlighter-nodeinfobar,
2594 #highlighter-nodeinfobar-container[position="overlap"] > #highlighter-nodeinfobar {
2595   box-shadow: 0 1px 0 hsla(0, 0%, 100%, .1) inset;
2596 }
2597
2598 #highlighter-nodeinfobar-container[hide-arrow] > #highlighter-nodeinfobar {
2599   margin: 7px 0;
2600 }
2601
2602 #full-screen-warning-message {
2603   background-color: #000000;
2604   color: #FF9F00;
2605   font-size: 32px;
2606   border-radius: 8px;
2607   margin-top: 30px;
2608   padding: 30px 50px;
2609   box-shadow: 0 0 2px #9C9CFF;
2610 }
2611
2612 #full-screen-warning-container[obscure-browser] {
2613   background-color: rgba(0,0,0,0.75);
2614 }
2615
2616 #full-screen-warning-container[stop-obscuring-browser] {
2617   -moz-transition-property: background-color;
2618   -moz-transition-duration: 500ms;
2619   background-color: rgba(0,0,0,0);
2620 }
2621
2622 /* Highlighter toolbar - breadcrumbs */
2623
2624 #inspector-breadcrumbs {
2625   padding: 0 6px;
2626 }
2627
2628 .inspector-breadcrumbs-button {
2629   /*background-color: transparent;*/
2630   border-width: 2px 13px !important;
2631   outline: none;
2632   /* color: hsl(210,30%,85%); */
2633   max-width: 85px;
2634   /* The content of the button can be larger than the button */
2635   overflow: hidden;
2636   min-height: 25px;
2637   margin: 0 -11px 0 0;
2638   padding: 0 9px;
2639 }
2640
2641 .inspector-breadcrumbs-button[checked] > .inspector-breadcrumbs-tag {
2642   /*color: hsl(208,100%,60%); */
2643 }
2644
2645 .inspector-breadcrumbs-button[checked] > .inspector-breadcrumbs-id {
2646   /*color: hsl(205,100%,70%); */
2647 }
2648
2649 .inspector-breadcrumbs-id,
2650 .inspector-breadcrumbs-classes {
2651   /*color: #8d99a6; */
2652 }
2653
2654 /* Highlighter toolbar - breadcrumbs - LTR */
2655
2656 .inspector-breadcrumbs-button:-moz-locale-dir(ltr):first-of-type {
2657   margin-left: 0;
2658 }
2659
2660 .inspector-breadcrumbs-button {
2661   -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle.png") 2 13 2 13 stretch;
2662 }
2663
2664 .inspector-breadcrumbs-button[siblings-menu-open]:not([checked]),
2665 .inspector-breadcrumbs-button:not([checked]):hover:active {
2666   -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-pressed.png") 2 13 2 13 stretch;
2667 }
2668
2669 .inspector-breadcrumbs-button[checked] {
2670   -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-selected.png") 2 13 2 13 stretch;
2671 }
2672
2673 .inspector-breadcrumbs-button[checked][siblings-menu-open],
2674 .inspector-breadcrumbs-button[checked]:hover:active {
2675   -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-selected-pressed.png") 2 13 2 13 stretch;
2676 }
2677
2678 .inspector-breadcrumbs-button:first-of-type {
2679   -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start.png") 2 13 2 13 stretch;
2680 }
2681
2682 .inspector-breadcrumbs-button[siblings-menu-open]:first-of-type:not([checked]),
2683 .inspector-breadcrumbs-button:first-of-type:not([checked]):hover:active {
2684   -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-pressed.png") 2 13 2 13 stretch;
2685 }
2686
2687 .inspector-breadcrumbs-button:first-of-type[checked] {
2688   -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-selected.png") 2 13 2 13 stretch;
2689 }
2690
2691 .inspector-breadcrumbs-button[siblings-menu-open]:first-of-type[checked],
2692 .inspector-breadcrumbs-button:first-of-type[checked]:hover:active {
2693   -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-selected-pressed.png") 2 13 2 13 stretch;
2694 }
2695
2696 .inspector-breadcrumbs-button:last-of-type {
2697   -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end.png") 2 13 2 13 stretch;
2698 }
2699
2700 .inspector-breadcrumbs-button[siblings-menu-open]:last-of-type:not([checked]),
2701 .inspector-breadcrumbs-button:last-of-type:not([checked]):hover:active {
2702   -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-pressed.png") 2 13 2 13 stretch;
2703 }
2704
2705 .inspector-breadcrumbs-button:last-of-type[checked] {
2706   -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-selected.png") 2 13 2 13 stretch;
2707 }
2708
2709 .inspector-breadcrumbs-button[siblings-menu-open]:last-of-type[checked],
2710 .inspector-breadcrumbs-button:last-of-type[checked]:hover:active {
2711   -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-selected-pressed.png") 2 13 2 13 stretch;
2712 }
2713
2714 /* Highlighter toolbar - breadcrumbs - RTL */
2715
2716 .inspector-breadcrumbs-button:-moz-locale-dir(rtl):first-of-type {
2717   margin-right: 0;
2718 }
2719
2720 .inspector-breadcrumbs-button:-moz-locale-dir(rtl) {
2721   -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle.png") 2 13 2 13 stretch;
2722 }
2723
2724 .inspector-breadcrumbs-button[siblings-menu-open]:not([checked]):-moz-locale-dir(rtl),
2725 .inspector-breadcrumbs-button:not([checked]):hover:active:-moz-locale-dir(rtl) {
2726   -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-pressed.png") 2 13 2 13 stretch;
2727 }
2728
2729 .inspector-breadcrumbs-button[checked]:-moz-locale-dir(rtl) {
2730   -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-selected.png") 2 13 2 13 stretch;
2731 }
2732
2733 .inspector-breadcrumbs-button[checked][siblings-menu-open]:-moz-locale-dir(rtl),
2734 .inspector-breadcrumbs-button[checked]:hover:active:-moz-locale-dir(rtl) {
2735   -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-selected-pressed.png") 2 13 2 13 stretch;
2736 }
2737
2738 .inspector-breadcrumbs-button:first-of-type:-moz-locale-dir(rtl) {
2739   -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start.png") 2 13 2 13 stretch;
2740 }
2741
2742 .inspector-breadcrumbs-button[siblings-menu-open]:first-of-type:not([checked]):-moz-locale-dir(rtl),
2743 .inspector-breadcrumbs-button:first-of-type:not([checked]):hover:active:-moz-locale-dir(rtl) {
2744   -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-pressed.png") 2 13 2 13 stretch;
2745 }
2746
2747 .inspector-breadcrumbs-button:first-of-type[checked]:-moz-locale-dir(rtl) {
2748   -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-selected.png") 2 13 2 13 stretch;
2749 }
2750
2751 .inspector-breadcrumbs-button[siblings-menu-open]:first-of-type[checked]:-moz-locale-dir(rtl),
2752 .inspector-breadcrumbs-button:first-of-type[checked]:hover:active:-moz-locale-dir(rtl) {
2753   -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-selected-pressed.png") 2 13 2 13 stretch;
2754 }
2755
2756 .inspector-breadcrumbs-button:last-of-type:-moz-locale-dir(rtl) {
2757   -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end.png") 2 13 2 13 stretch;
2758 }
2759
2760 .inspector-breadcrumbs-button[siblings-menu-open]:last-of-type:not([checked]):-moz-locale-dir(rtl),
2761 .inspector-breadcrumbs-button:last-of-type:not([checked]):hover:active:-moz-locale-dir(rtl) {
2762   -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-pressed.png") 2 13 2 13 stretch;
2763 }
2764
2765 .inspector-breadcrumbs-button:last-of-type[checked]:-moz-locale-dir(rtl) {
2766   -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-selected.png") 2 13 2 13 stretch;
2767 }
2768
2769 .inspector-breadcrumbs-button[siblings-menu-open]:last-of-type[checked]:-moz-locale-dir(rtl),
2770 .inspector-breadcrumbs-button:last-of-type[checked]:hover:active:-moz-locale-dir(rtl) {
2771   -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-selected-pressed.png") 2 13 2 13 stretch;
2772 }