more work to make LCARStrek work nice on Firefox 4
[themes.git] / LCARStrek / browser / browser.css
CommitLineData
acb0e9b8 1/* ***** BEGIN LICENSE BLOCK *****
319c6529 2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
acb0e9b8 3 *
319c6529
RK
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/
acb0e9b8 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)
613daf44 25 * Dean Tessman (dean_tessman@hotmail.com)
319c6529
RK
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)
acb0e9b8 31 *
32 * Alternatively, the contents of this file may be used under the terms of
33 * either the GNU General Public License Version 2 or later (the "GPL"), or
34 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
35 * in which case the provisions of the GPL or the LGPL are applicable instead
36 * of those above. If you wish to allow use of your version of this file only
37 * under the terms of either the GPL or the LGPL, and not to allow others to
319c6529 38 * use your version of this file under the terms of the MPL, indicate your
acb0e9b8 39 * decision by deleting the provisions above and replace them with the notice
40 * and other provisions required by the GPL or the LGPL. If you do not delete
41 * the provisions above, a recipient may use your version of this file under
319c6529 42 * the terms of any one of the MPL, the GPL or the LGPL.
acb0e9b8 43 *
44 * ***** END LICENSE BLOCK ***** */
45
46@import url("chrome://global/skin/");
47
48@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
319c6529
RK
49@namespace html url("http://www.w3.org/1999/xhtml");
50
51toolbar {
52 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
53}
acb0e9b8 54
41279e76
RK
55toolbar[type="menubar"][autohide="true"] {
56 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide");
57}
58
acb0e9b8 59menubar {
319c6529 60 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
acb0e9b8 61}
62
319c6529
RK
63#menubar-items {
64 -moz-box-orient: vertical; /* for flex hack */
acb0e9b8 65}
66
319c6529
RK
67#main-menubar {
68 -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
69}
70
63ada306
RK
71/* ::::: primary toolbar ::::: */
72
73.toolbar-primary > .toolbar-box > .toolbar-holder {
74 background-color: #FF9F00;
75}
76
77.toolbar-primary > .toolbar-box > .toolbar-startcap,
78.toolbar-primary > .toolbar-box > .toolbar-endcap {
79 background-color: #9C9CFF;
80}
81
82
319c6529
RK
83#navigator-toolbox {
84}
85
9abeb12c
RK
86#navigator-toolbox::after {
87 content: "";
88 display: -moz-box;
89 -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
90 height: 1px;
91}
92#navigator-toolbox[tabsontop=false]::after,
93#main-window[disablechrome] #navigator-toolbox::after {
94 visibility: collapse;
95}
96
319c6529
RK
97#navigator-toolbox > toolbar:not(:-moz-lwtheme) {
98}
99
d54f5b23 100#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme) {
319c6529
RK
101 /* like menubar */
102 background-color: #6000CF;
103 color: #FF9F00;
104}
d54f5b23 105#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
319c6529
RK
106 background-color: #8050B0;
107 color: #FF9F00;
108}
109
110#main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
111 visibility: hidden;
112}
113#main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
114 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
115 visibility: visible;
116}
117
319c6529
RK
118#navigator-toolbox[tabsontop="true"] > #nav-bar,
119#navigator-toolbox[tabsontop="true"]:not([customizing]) > #nav-bar[collapsed="true"] + toolbar,
120#navigator-toolbox[tabsontop="true"]:not([customizing]) > #nav-bar[collapsed="true"] + #customToolbars + #PersonalToolbar {
121 /* background-image: -moz-linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); */
122}
123
319c6529 124#personal-bookmarks {
38cfeb47 125/* min-height: 24px; */
319c6529
RK
126}
127
128#print-preview-toolbar:not(:-moz-lwtheme) {
129 /* -moz-appearance: toolbox; */
acb0e9b8 130}
131
319c6529
RK
132/* ::::: app menu button ::::: */
133
134#appmenu-button {
acb0e9b8 135 background-color: #FF9F00;
319c6529
RK
136 background-clip: padding-box;
137 border-radius: 0;
138 border: none;
139 border-left: 3px solid #000000;
140 border-right: 3px solid #000000;
141 color: #000000;
142 font-weight: bold;
143 padding: 0 1.5em .05em;
144 margin: 0 0 2px;
acb0e9b8 145}
146
319c6529
RK
147#main-window[privatebrowsingmode=temporary] #appmenu-button {
148 background-color: #6000CF;
149 color: #FFCF00;
150}
151
b36fc72e
RK
152#appmenu-button:hover:not(:active):not([open]) {
153}
154
155#main-window[privatebrowsingmode=temporary] #appmenu-button:hover:not(:active):not([open]) {
156}
157
319c6529
RK
158#appmenu-button:hover,
159#appmenu-button:hover:active,
160#appmenu-button[open] {
161 background-color: #FFCF00;
162 color: #000000;
163}
164
165#appmenu-button > .button-box > .button-menu-dropmarker {
166 list-style-image: url("appmenu-dropmarker.png");
167 width: auto;
168 height: auto;
169 padding: 0;
170 margin: 0;
171 -moz-margin-start: .5em;
172}
173
38cfeb47
RK
174#appmenuPrimaryPane > menuitem,
175#appmenuSecondaryPane > menuitem,
176#appmenuPrimaryPane > menu {
177 padding: 2px;
178}
179
d54f5b23 180.splitmenu-menuitem {
38cfeb47
RK
181 -moz-padding-start: 2px;
182 padding-top: 2px;
183 padding-bottom: 2px;
d54f5b23
RK
184 -moz-margin-end: 1px;
185}
186
ab799a7a 187.splitmenu-menu {
38cfeb47
RK
188 padding-top: 2px;
189 padding-bottom: 2px;
319c6529
RK
190 -moz-box-pack: end;
191}
192
193.appmenu-edit-button {
194}
195
196.appmenu-edit-button[disabled="true"] {
197}
198
199#appmenuPrimaryPane {
200 -moz-border-end: 1px solid #9C9CFF;
201}
202/*
203 #appmenu-popup {
204 }
205 #appmenuPrimaryPane {
206 }
207 #appmenuSecondaryPane {
208 }
209 #appmenuSecondaryPane:-moz-locale-dir(rtl) {
210 }
211
212 #appmenuSecondaryPane menupopup {
213 }
214
215 .appmenu-menuseparator {
216 }
217
218 .appmenu-edit-button:not([disabled]):hover {
219 }
220*/
221#appmenuSecondaryPane-spacer {
222 min-height: 1em;
223}
224
9abeb12c
RK
225#appmenu-editmenu {
226 -moz-box-pack: end;
227}
228
319c6529
RK
229#appmenu_print,
230#appmenu_print_popup,
231.appmenu-edit-button,
9abeb12c
RK
232#appmenu-editmenu-cut,
233#appmenu-editmenu-copy,
234#appmenu-editmenu-paste,
319c6529
RK
235#appmenu-quit {
236 list-style-image: url("appmenu-icons.png");
237}
238
9abeb12c
RK
239#appmenu-cut,
240#appmenu-editmenu-cut {
319c6529 241 -moz-image-region: rect(0 16px 16px 0);
acb0e9b8 242}
243
143c5409
RK
244#appmenu-cut:hover:not([disabled="true"]),
245#appmenu-editmenu-cut:hover:not([disabled="true"]) {
246 -moz-image-region: rect(16px 16px 32px 0);
247}
248
249#appmenu-cut[disabled="true"],
250#appmenu-editmenu-cut[disabled="true"] {
251 -moz-image-region: rect(32px 16px 48px 0);
252}
253
9abeb12c
RK
254#appmenu-copy,
255#appmenu-editmenu-copy {
319c6529
RK
256 -moz-image-region: rect(0 32px 16px 16px);
257}
258
143c5409
RK
259#appmenu-copy:hover:not([disabled="true"]),
260#appmenu-editmenu-copy:hover:not([disabled="true"]) {
261 -moz-image-region: rect(16px 32px 32px 16px);
262}
263
264#appmenu-copy[disabled="true"],
265#appmenu-editmenu-copy[disabled="true"] {
266 -moz-image-region: rect(32px 32px 48px 16px);
267}
268
9abeb12c
RK
269#appmenu-paste,
270#appmenu-editmenu-paste {
319c6529
RK
271 -moz-image-region: rect(0 48px 16px 32px);
272}
273
143c5409
RK
274#appmenu-paste:hover:not([disabled="true"]),
275#appmenu-editmenu-paste:hover:not([disabled="true"]) {
276 -moz-image-region: rect(16px 48px 32px 32px);
277}
278
279#appmenu-paste[disabled="true"],
280#appmenu-editmenu-paste[disabled="true"] {
281 -moz-image-region: rect(32px 48px 48px 32px);
282}
283
319c6529
RK
284#appmenu_print,
285#appmenu_print_popup {
286 -moz-image-region: rect(0 64px 16px 48px);
287}
288
143c5409
RK
289#appmenu_print:hover:not([disabled="true"]),
290#appmenu_print[open="true"],
291#appmenu_print_popup:hover:not([disabled="true"]) {
292 -moz-image-region: rect(16px 64px 32px 48px);
293}
294
295#appmenu-print[disabled="true"],
296#appmenu_print_popup[disabled="true"] {
297 -moz-image-region: rect(32px 64px 48px 48px);
298}
299
319c6529
RK
300#appmenu-quit {
301 -moz-image-region: rect(0 80px 16px 64px);
302}
303
143c5409
RK
304#appmenu-quit:hover {
305 -moz-image-region: rect(16px 80px 32px 64px);
306}
307
319c6529
RK
308#appmenu-edit-label {
309 -moz-appearance: none;
310 background: transparent;
311 font-style: italic;
312}
313
314#appmenu_bookmarks {
315 list-style-image: url("chrome://browser/skin/places/bookmark.png");
316 -moz-image-region: rect(0px 48px 16px 32px);
317}
318
319#appmenu_privateBrowsing {
320 list-style-image: url("chrome://browser/skin/Privacy-16.png");
321}
322
323#appmenu_addons {
324 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
325}
326
327#BMB_bookmarkThisPage,
328#appmenu_bookmarkThisPage {
329 list-style-image: url("chrome://browser/skin/places/bookmark.png");
330 -moz-image-region: rect(0 16px 16px 0);
331}
332
333/* ::::: titlebar ::::: */
334
335#main-window[sizemode="normal"] > #titlebar {
336}
337
338#main-window[sizemode="maximized"] > #titlebar {
339}
340
341#titlebar-buttonbox {
342}
343
344#main-window[sizemode="maximized"] #titlebar-buttonbox {
345}
346
347.titlebar-placeholder[type="appmenu-button"] {
348 margin-left: 4px;
349}
350
351.titlebar-placeholder[type="caption-buttons"] {
352 margin-left: 10px;
353}
354
355/* titlebar command buttons */
356
357#titlebar-min {
358}
359
360#titlebar-max {
361}
362
363#main-window[sizemode="maximized"] #titlebar-max {
364}
365
366#titlebar-close {
acb0e9b8 367}
368
369/* ::::: bookmark buttons ::::: */
370
acb0e9b8 371.bookmark-item > .toolbarbutton-icon {
372 width: 16px;
373 height: 16px;
374}
375
376/* Prevent [mode="icons"] from hiding the label */
377.bookmark-item > .toolbarbutton-text {
378 display: -moz-box !important;
379}
380
319c6529
RK
381.bookmark-item > .toolbarbutton-menu-dropmarker {
382 display: none;
383}
384
385#wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box {
386 width: 16px;
387 height: 16px;
388 background: url("chrome://browser/skin/places/bookmarksToolbar.png") no-repeat;
389}
390
391.bookmarks-toolbar-customize {
392 max-width: 15em !important;
393 list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important;
394}
395
396/* ::::: bookmark menus ::::: */
397
398menu.bookmark-item,
399menuitem.bookmark-item {
400 min-width: 0;
ab799a7a 401 max-width: 32em;
319c6529
RK
402}
403
404.bookmark-item > .menu-iconic-left {
405 margin-top: 0;
406 margin-bottom: 0;
407}
408
409.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
410 -moz-padding-start: 0px;
411}
412
413/* ::::: bookmark items ::::: */
414
415.bookmark-item {
416 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
417}
418
419.bookmark-item[container] {
420 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
421}
422
423.bookmark-item[container][open] {
424 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
425}
426
427.bookmark-item[container][livemark] {
428 list-style-image: url("chrome://browser/skin/livemark-folder.png");
429 -moz-image-region: auto;
430}
431
432.bookmark-item[container][livemark] .bookmark-item {
433 list-style-image: url("chrome://browser/skin/livemark-item.png");
434 -moz-image-region: auto;
435}
436
437.bookmark-item[container][query] {
438 list-style-image: url("chrome://browser/skin/places/query.png");
439 -moz-image-region: auto;
440}
441
442.bookmark-item[query][tagContainer] {
443 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
444 -moz-image-region: auto;
445}
446
447.bookmark-item[query][dayContainer] {
448 list-style-image: url("chrome://browser/skin/places/calendar.png");
449 -moz-image-region: auto;
450}
451
452.bookmark-item[query][hostContainer] {
453 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
454}
455
456.bookmark-item[query][hostContainer][open] {
457 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
458}
459
460/* ::::: primary toolbar buttons ::::: */
461
63ada306
RK
462.toolbarbutton-1 {
463 list-style-image: url("chrome://browser/skin/Toolbar.png");
464}
465
466.toolbarbutton-1:not([type="menu-button"]) {
467 -moz-box-orient: vertical;
468}
469
319c6529
RK
470.toolbarbutton-1,
471.toolbarbutton-1 > .toolbarbutton-menubutton-button {
472 min-width: 36px;
473 min-height: 36px;
319c6529
RK
474}
475
ab799a7a
RK
476.toolbarbutton-1:not([type="menu-button"]) {
477 -moz-box-orient: vertical;
319c6529
RK
478}
479
480.toolbarbutton-1,
481.toolbarbutton-1 > .toolbarbutton-menubutton-button,
482.toolbarbutton-1[disabled="true"]:hover:active,
483.toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
484 padding: 1px 2px;
485}
486
487.toolbarbutton-1:hover:active,
488.toolbarbutton-1[open="true"],
489.toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
490 padding-top: 2px;
491 padding-bottom: 0px;
492 -moz-padding-start: 3px;
493 -moz-padding-end: 1px;
494}
495
319c6529
RK
496/* ::::: small primary toolbar buttons ::::: */
497
9abeb12c
RK
498#nav-bar {
499 /* force iconsize="small" on this toolbar */
500 counter-reset: smallicons;
501}
502
319c6529
RK
503toolbar[mode="text"] .toolbarbutton-1,
504toolbar[mode="icons"] .toolbarbutton-1,
505toolbar[iconsize="small"] .toolbarbutton-1,
506:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1,
507toolbar[mode="text"] .toolbarbutton-menubutton-button,
508toolbar[mode="icons"] .toolbarbutton-menubutton-button,
509toolbar[iconsize="small"] .toolbarbutton-menubutton-button,
510:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button {
511 min-width: 0px;
512 min-height: 0px;
513}
514
515toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker {
516 padding-top: 4px;
517 padding-bottom: 8px;
518 -moz-padding-start: 1px;
519 -moz-padding-end: 1px;
520}
521
522toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker,
523toolbar[iconsize="small"] .toolbarbutton-menubutton-dropmarker,
524:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
525 padding-top: 0px;
526 padding-bottom: 13px;
527 -moz-padding-start: 1px;
528 -moz-padding-end: 1px;
529}
530
531toolbar[mode="text"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
532toolbar[mode="text"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
533 padding-top: 5px;
534 padding-bottom: 7px;
535 -moz-padding-start: 0px;
536 -moz-padding-end: 2px;
537}
538
539toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
540toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
541toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
542toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
543:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
544:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
545 padding-top: 1px;
546 padding-bottom: 12px;
547 -moz-padding-start: 0px;
548 -moz-padding-end: 2px;
549}
550
551toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker[disabled="true"] {
552 padding-top: 4px !important;
553 padding-bottom: 8px !important;
554 -moz-padding-start: 1px !important;
555 -moz-padding-end: 1px !important;
556}
557
558toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker[disabled="true"],
559toolbar[iconsize="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] {
560 padding-top: 0px !important;
561 padding-bottom: 13px !important;
562 -moz-padding-start: 1px !important;
563 -moz-padding-end: 1px !important;
564}
565
566toolbar[mode="icons"] .toolbarbutton-text,
567toolbar[mode="text"] .toolbarbutton-icon {
568 display: none;
569}
570
571toolbar[mode="text"] .toolbarbutton-text {
572 padding: 4px 0;
573}
574
575toolbar[mode="text"] .toolbarbutton-1,
576toolbar[mode="text"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
577 -moz-box-orient: horizontal;
578}
579
580toolbar[mode="full"] .toolbarbutton-1,
581toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
582 min-width: 30px;
583}
584
d54f5b23 585#navigator-toolbox[iconsize=small] > #nav-bar {
d54f5b23
RK
586}
587
588#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar {
d54f5b23
RK
589}
590
591
319c6529
RK
592/* unified back/forward button */
593
594#back-button {
595 -moz-image-region: rect(0, 18px, 18px, 0);
596 -moz-margin-end: 0;
597}
598
38cfeb47
RK
599#back-button:not([disabled="true"]):hover {
600 -moz-image-region: rect(18px, 18px, 36px, 0);
601}
602
603#back-button[disabled="true"] {
604 -moz-image-region: rect(36px, 18px, 54px, 0);
605}
606
319c6529
RK
607#forward-button {
608 -moz-image-region: rect(0, 36px, 18px, 18px);
609 border-left: none;
610 -moz-margin-start: 0;
611}
612
38cfeb47
RK
613#forward-button:not([disabled="true"]):hover {
614 -moz-image-region: rect(18px, 36px, 36px, 18px);
615}
616
617#forward-button[disabled="true"] {
618 -moz-image-region: rect(36px, 36px, 54px, 18px);
b36fc72e
RK
619}
620
319c6529
RK
621#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
622#forward-button:-moz-locale-dir(rtl),
623#forward-button:-moz-locale-dir(rtl) > .toolbarbutton-text {
624 -moz-transform: scaleX(-1);
625}
626
b36fc72e
RK
627#nav-bar #back-button {
628 -moz-margin-end: 0 !important;
629}
630
631#nav-bar #forward-button {
632 border-left-style: none;
633 -moz-margin-start: 0 !important;
634}
635
636#nav-bar #back-button:-moz-locale-dir(ltr) {
319c6529
RK
637 border-top-right-radius: 0;
638 border-bottom-right-radius: 0;
639}
640
b36fc72e
RK
641#nav-bar #back-button:-moz-locale-dir(rtl),
642#nav-bar #forward-button {
319c6529
RK
643 border-top-left-radius: 0;
644 border-bottom-left-radius: 0;
645}
646
9abeb12c 647#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button {
319c6529
RK
648 border-radius: 10000px;
649 width: 30px;
650 height: 30px;
651 position: relative;
652 z-index: 1;
653 margin-top: -2px;
654 margin-bottom: -2px;
655 border: none;
38cfeb47
RK
656 -moz-image-region: rect(54px, 20px, 74px, 0);
657}
658
659#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):hover,
660#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[open="true"] {
661 -moz-image-region: rect(54px, 40px, 74px, 20px);
662}
663
664#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[disabled="true"] {
665 -moz-image-region: rect(54px, 60px, 74px, 40px);
319c6529
RK
666}
667
9abeb12c 668#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover {
319c6529
RK
669}
670
9abeb12c
RK
671#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):hover:active,
672#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[open="true"] {
319c6529
RK
673}
674
9abeb12c
RK
675#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar[currentset*="unified-back-forward-button"],
676#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar:not([currentset]) {
319c6529
RK
677/* padding-top: 3px;
678 padding-bottom: 5px; */
679}
680
9abeb12c
RK
681#navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar[currentset*="unified-back-forward-button"],
682#navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar:not([currentset]) {
319c6529
RK
683/* padding-top: 5px; */
684}
685
9abeb12c 686#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button {
319c6529
RK
687 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
688 mask: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-mask");
9abeb12c 689 -moz-margin-start: -6px !important;
319c6529
RK
690 padding-left: 7px;
691 padding-right: 3px;
692}
693
9abeb12c 694#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button:not([disabled="true"]):not(:active):hover {
319c6529
RK
695 /*mask: url(keyhole-forward-mask.svg#mask-hover);*/
696 mask: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-mask-hover");
697}
698
699.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
700.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
701 list-style-image: url("chrome://browser/skin/menu-back.png") !important;
702}
703
704.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
705.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
706 list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
707}
708
709/* stop button */
710
711#stop-button {
712 -moz-image-region: rect(0, 54px, 18px, 36px);
713}
714
143c5409
RK
715#stop-button:not([disabled="true"]):hover {
716 -moz-image-region: rect(18px, 54px, 36px, 36px);
717}
718
719#stop-button[disabled="true"] {
720 -moz-image-region: rect(36px, 54px, 54px, 36px);
721}
722
319c6529
RK
723/* reload button */
724
725#reload-button {
726 -moz-image-region: rect(0, 72px, 18px, 54px);
727}
728
143c5409
RK
729#reload-button:not([disabled="true"]):hover {
730 -moz-image-region: rect(18px, 72px, 36px, 54px);
731}
732
733#reload-button[disabled="true"] {
734 -moz-image-region: rect(36px, 72px, 54px, 54px);
735}
736
319c6529
RK
737/* home button */
738
739#home-button.bookmark-item {
740 list-style-image: url("chrome://browser/skin/Toolbar.png");
741}
742#home-button {
743 -moz-image-region: rect(0, 90px, 18px, 72px);
744}
745
143c5409
RK
746#home-button:not([disabled="true"]):hover {
747 -moz-image-region: rect(18px, 90px, 36px, 72px);
748}
749
750#home-button[disabled="true"] {
751 -moz-image-region: rect(36px, 90px, 54px, 72px);
752}
753
319c6529
RK
754/* tabview button */
755
d54f5b23
RK
756#tabview-button,
757#menu_tabview {
319c6529 758 list-style-image: url("chrome://browser/skin/tabview/tabview.png");
d54f5b23
RK
759}
760
761#tabview-button {
319c6529
RK
762 -moz-image-region: rect(0, 90px, 18px, 72px);
763}
764
765#tabview-button[groups="0"] {
766 -moz-image-region: rect(0, 18px, 18px, 0);
767}
768
769#tabview-button[groups="1"] {
770 -moz-image-region: rect(0, 36px, 18px, 18px);
771}
772
773#tabview-button[groups="2"] {
774 -moz-image-region: rect(0, 54px, 18px, 36px);
775}
776
777#tabview-button[groups="3"] {
778 -moz-image-region: rect(0, 72px, 18px, 54px);
779}
780
d54f5b23
RK
781#menu_tabview {
782 -moz-image-region: rect(1px, 89px, 17px, 73px);
783}
784
785#menu_tabview[groups="0"] {
786 -moz-image-region: rect(1px, 17px, 17px, 1px);
787}
788
789#menu_tabview[groups="1"] {
790 -moz-image-region: rect(1px, 35px, 17px, 19px);
791}
792
793#menu_tabview[groups="2"] {
794 -moz-image-region: rect(1px, 53px, 17px, 37px);
795}
796
797#menu_tabview[groups="3"] {
798 -moz-image-region: rect(1px, 71px, 17px, 55px);
799}
800
319c6529
RK
801/* download manager button */
802
803#downloads-button {
804 -moz-image-region: rect(0, 108px, 18px, 90px);
805}
806
143c5409
RK
807#downloads-button:not([disabled="true"]):hover {
808 -moz-image-region: rect(18px, 108px, 36px, 90px);
809}
810
811#downloads-button[disabled="true"] {
812 -moz-image-region: rect(36px, 108px, 54px, 90px);
813}
814
319c6529
RK
815/* history sidebar button */
816
817#history-button {
818 -moz-image-region: rect(0, 126px, 18px, 108px);
819}
820
143c5409
RK
821#history-button:not([disabled="true"]):hover {
822 -moz-image-region: rect(18px, 126px, 36px, 108px);
823}
824
825#history-button[disabled="true"] {
826 -moz-image-region: rect(36px, 126px, 54px, 108px);
827}
828
319c6529
RK
829/* bookmark sidebar & menu buttons */
830
831#bookmarks-button,
832#bookmarks-menu-button {
833 -moz-image-region: rect(0, 144px, 18px, 126px);
834}
835
836#bookmarks-menu-button.bookmark-item {
837 list-style-image: url("chrome://browser/skin/Toolbar.png");
838}
839
840#bookmarks-menu-button.toolbarbutton-1 {
841 -moz-box-orient: horizontal;
842}
843
143c5409
RK
844#bookmarks-button:not([disabled="true"]):hover,
845#bookmarks-menu-button[open="true"],
846#bookmarks-menu-button:not([disabled="true"]):hover {
847 -moz-image-region: rect(18px, 144px, 36px, 126px);
848}
849
850#bookmarks-button[disabled="true"],
851#bookmarks-menu-button[disabled="true"] {
852 -moz-image-region: rect(36px, 144px, 54px, 126px);
853}
854
319c6529
RK
855/* print button */
856
857#print-button {
858 -moz-image-region: rect(0, 162px, 18px, 144px);
859}
860
143c5409
RK
861#print-button:not([disabled="true"]):hover {
862 -moz-image-region: rect(18px, 162px, 36px, 144px);
863}
864
865#print-button[disabled="true"] {
866 -moz-image-region: rect(36px, 162px, 54px, 144px);
867}
868
319c6529
RK
869/* toolbar new tab button */
870
871#new-tab-button {
872 -moz-image-region: rect(0, 180px, 18px, 162px);
873}
874
143c5409
RK
875#print-button:not([disabled="true"]):hover {
876 -moz-image-region: rect(18px, 162px, 36px, 144px);
877}
878
879#print-button[disabled="true"] {
880 -moz-image-region: rect(36px, 162px, 54px, 144px);
881}
882
319c6529
RK
883/* new window button */
884
885#new-window-button {
886 -moz-image-region: rect(0, 198px, 18px, 180px);
887}
888
143c5409
RK
889#new-window-button:not([disabled="true"]):hover {
890 -moz-image-region: rect(18px, 198px, 36px, 180px);
891}
892
893#new-window-button[disabled="true"] {
894 -moz-image-region: rect(36px, 198px, 54px, 180px);
895}
896
319c6529
RK
897/* cut button */
898
899#cut-button {
900 -moz-image-region: rect(0, 216px, 18px, 198px);
901}
902
143c5409
RK
903#cut-button:not([disabled="true"]):hover {
904 -moz-image-region: rect(18px, 216px, 36px, 198px);
905}
906
907#cut-button[disabled="true"] {
908 -moz-image-region: rect(36px, 216px, 54px, 198px);
909}
910
319c6529
RK
911/* copy button */
912
913#copy-button {
914 -moz-image-region: rect(0, 234px, 18px, 216px);
915}
916
143c5409
RK
917#copy-button:not([disabled="true"]):hover {
918 -moz-image-region: rect(18px, 234px, 36px, 216px);
919}
920
921#copy-button[disabled="true"] {
922 -moz-image-region: rect(36px, 234px, 54px, 216px);
923}
924
319c6529
RK
925/* paste button */
926
927#paste-button {
928 -moz-image-region: rect(0, 252px, 18px, 234px);
929}
930
143c5409
RK
931#paste-button:not([disabled="true"]):hover {
932 -moz-image-region: rect(18px, 252px, 36px, 234px);
933}
934
935#paste-button[disabled="true"] {
936 -moz-image-region: rect(36px, 252px, 54px, 234px);
937}
938
319c6529
RK
939/* fullscreen button */
940
941#fullscreen-button {
942 -moz-image-region: rect(0, 270px, 18px, 252px);
943}
944
143c5409
RK
945#fullscreen-button:not([disabled="true"]):hover {
946 -moz-image-region: rect(18px, 270px, 36px, 252px);
947}
948
949#fullscreen-button[disabled="true"] {
950 -moz-image-region: rect(36px, 270px, 54px, 252px);
951}
952
319c6529
RK
953/* zoom controls */
954
955#zoom-out-button {
956 -moz-image-region: rect(0, 288px, 18px, 270px);
957 -moz-margin-end: 0;
958}
959
960#zoom-in-button {
961 -moz-image-region: rect(0, 306px, 18px, 288px);
b36fc72e
RK
962}
963
964#nav-bar #zoom-out-button {
965 -moz-margin-end: 0;
966}
967
968#nav-bar #zoom-in-button {
319c6529
RK
969 -moz-border-start: none;
970 -moz-margin-start: 0;
971}
972
b36fc72e
RK
973#nav-bar #zoom-out-button:-moz-locale-dir(ltr),
974#nav-bar #zoom-in-button:-moz-locale-dir(rtl) {
319c6529
RK
975 border-top-right-radius: 0;
976 border-bottom-right-radius: 0;
977}
978
b36fc72e
RK
979#nav-bar #zoom-out-button:-moz-locale-dir(rtl),
980#nav-bar #zoom-in-button:-moz-locale-dir(ltr) {
319c6529
RK
981 border-top-left-radius: 0;
982 border-bottom-left-radius: 0;
983}
984
143c5409
RK
985#zoom-out-button:not([disabled="true"]):hover {
986 -moz-image-region: rect(18px, 288px, 36px, 270px);
987}
988
989#zoom-out-button[disabled="true"] {
990 -moz-image-region: rect(36px, 288px, 54px, 270px);
991}
992
993#zoom-in-button:not([disabled="true"]):hover {
994 -moz-image-region: rect(18px, 306px, 36px, 288px);
995}
996
997#zoom-in-button[disabled="true"] {
998 -moz-image-region: rect(36px, 306px, 54px, 288px);
999}
1000
319c6529
RK
1001/* sync button */
1002
1003#sync-button {
1004 -moz-image-region: rect(0, 324px, 18px, 306px);
1005}
1006
1007#sync-button[status="active"] {
1008 list-style-image: url("chrome://browser/skin/sync-throbber.png");
1009 -moz-image-region: rect(0, 18px, 18px, 0);
1010}
1011
143c5409
RK
1012#sync-button[disabled="true"] {
1013 -moz-image-region: rect(36px, 324px, 54px, 306px);
1014}
1015
319c6529
RK
1016/* feed button */
1017
1018#feed-button {
1019 -moz-image-region: rect(0, 342px, 18px, 324px);
1020}
1021
143c5409
RK
1022#feed-button[disabled="true"] {
1023 -moz-image-region: rect(36px, 342px, 54px, 324px);
1024}
1025
319c6529
RK
1026/* ::::: fullscreen window controls ::::: */
1027
ab799a7a
RK
1028#TabsToolbar > #window-controls {
1029 -moz-margin-start: 4px;
1030}
1031
319c6529
RK
1032#minimize-button,
1033#restore-button,
1034#close-button {
1035/* padding: 0; */
1036}
1037
1038#minimize-button {
1039 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1040}
1041
1042#minimize-button:hover {
1043 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1044}
1045
1046#restore-button {
1047 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1048}
1049
1050#restore-button:hover {
1051 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1052}
1053
1054#close-button {
1055 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1056}
1057
1058#close-button:hover {
1059 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1060}
1061
1062/* ::::: Location Bar ::::: */
1063
1064#urlbar {
1065 width: 7em;
1066 min-width: 7em;
1067}
1068
1069#urlbar,
1070.searchbar-textbox {
1071 border-radius: 5px;
1072 margin: 0;
1073 -moz-margin-start: 3px;
1074}
1075
319c6529
RK
1076#urlbar:-moz-lwtheme,
1077.searchbar-textbox:-moz-lwtheme {
1078 /* background-color: rgba(255,255,255,.8);
1079 @navbarTextboxCustomBorder@
1080 color: black; */
1081}
1082
1083html|*.urlbar-input:-moz-lwtheme:-moz-placeholder,
1084.searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input:-moz-placeholder {
1085 color: #E7ADE7;
1086}
1087
1088#urlbar:-moz-lwtheme[focused="true"],
1089.searchbar-textbox:-moz-lwtheme[focused="true"] {
1090/* background-color: white; */
1091}
1092
1093#urlbar-container {
1094 -moz-box-orient: horizontal;
1095 -moz-box-align: stretch;
1096}
1097
9abeb12c
RK
1098.urlbar-textbox-container {
1099 -moz-box-align: stretch;
1100}
1101
319c6529
RK
1102#urlbar-icons {
1103 height: 18px;
1104 -moz-box-align: center;
1105}
1106
1107.urlbar-icon {
1108 padding: 0 2px !important;
1109}
1110
1111.urlbar-icon:-moz-system-metric(touch-enabled) {
1112 -moz-margin-end: 1px !important;
1113 padding: 0 3px !important;
1114}
1115
1116#urlbar-search-splitter {
1117 min-width: 6px;
1118 -moz-margin-start: -3px;
1119 border: none;
1120 background: transparent;
1121}
1122
1123#urlbar-search-splitter + #urlbar-container > #urlbar ,
1124#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1125 -moz-margin-start: 0;
1126}
1127
319c6529
RK
1128#urlbar-display {
1129 margin-top: -2px;
1130 margin-bottom: -2px;
319c6529
RK
1131 -moz-border-end: 1px solid #9C9CFF;
1132 -moz-margin-end: 3px;
1133}
1134
ab799a7a
RK
1135#urlbar-display {
1136 margin-top: 0;
1137 margin-bottom: 0;
1138 color: #8050B0;
1139}
1140
319c6529
RK
1141/* identity box */
1142
1143#identity-box {
1144 background-color: #000000;
1145 color: #FF9F00;
1146 border-radius: 2px;
1147}
1148
1149#identity-box:hover {
1150 background-color: #9C9CFF;
1151 color: #000000;
1152}
1153
1154#identity-box[open="true"],
1155#identity-box:hover:active {
1156 background-color: #FF9F00;
1157 color: #000000;
1158}
1159
1160#identity-box.verifiedDomain {
1161 background-color: #FFCF00;
1162 color: #000000;
1163}
1164
1165#identity-box.verifiedIdentity {
1166 background-color: #008484;
1167 color: #000000;
1168}
1169
1170#identity-box:-moz-focusring {
1171 outline: 1px dotted #008484;
1172 outline-offset: -3px;
1173}
1174
1175#identity-box.verifiedDomain:-moz-focusring,
1176#identity-box.verifiedIdentity:-moz-focusring {
1177 outline-color: #000000;
1178}
1179
1180#identity-icon-labels {
1181 -moz-margin-start: 1px;
1182 -moz-margin-end: 3px;
1183 -moz-transform: translate(0, -1px);
1184}
1185
1186/* Location bar dropmarker */
1187
38cfeb47 1188.urlbar-history-dropmarker:not(:hover):not([open="true"]) {
319c6529 1189 background-color: transparent;
319c6529
RK
1190}
1191
38cfeb47
RK
1192#urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker {
1193 border: none;
1194 border-radius: 0px;
319c6529
RK
1195}
1196
1197/* page proxy icon */
1198
1199#page-proxy-favicon,
1200#urlbar-throbber {
1201 width: 16px;
1202 height: 16px;
1203}
1204
1205#page-proxy-stack {
1206 width: 24px;
1207 height: 18px;
1208 padding: 1px 4px;
1209 background: url("urlbar-favicon-glow.png") center center no-repeat;
1210}
1211
1212#page-proxy-favicon:not([src]) {
1213 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
acb0e9b8 1214}
1215
319c6529
RK
1216#page-proxy-favicon[pageproxystate="invalid"] {
1217 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
acb0e9b8 1218}
1219
319c6529
RK
1220#urlbar-throbber {
1221 list-style-image: url("chrome://global/skin/icons/loading.gif");
acb0e9b8 1222}
1223
319c6529
RK
1224/* autocomplete */
1225
319c6529
RK
1226#treecolAutoCompleteImage {
1227 max-width: 36px;
1228}
acb0e9b8 1229
319c6529
RK
1230.ac-result-type-bookmark,
1231.autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
1232 list-style-image: url("chrome://browser/skin/places/editBookmark.png");
1233 -moz-image-region: rect(0px 16px 16px 0px);
1234 width: 16px;
1235 height: 16px;
acb0e9b8 1236}
1237
319c6529
RK
1238.ac-result-type-keyword,
1239.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
1240 list-style-image: url("chrome://global/skin/icons/Search-glass.png");
1241 -moz-image-region: rect(0px 32px 16px 16px);
acb0e9b8 1242 width: 16px;
1243 height: 16px;
1244}
1245
319c6529
RK
1246.ac-result-type-tag,
1247.autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
1248 list-style-image: url("chrome://browser/skin/places/tag.png");
1249 width: 16px;
1250 height: 16px;
1251}
acb0e9b8 1252
319c6529
RK
1253.ac-comment {
1254 font-size: 1.15em;
acb0e9b8 1255}
319c6529
RK
1256
1257.ac-extra > .ac-comment {
1258 font-size: inherit;
acb0e9b8 1259}
319c6529
RK
1260
1261.ac-url-text,
1262.ac-action-text {
1263 color: #9C9CFF;
acb0e9b8 1264}
319c6529
RK
1265
1266richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
1267 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
acb0e9b8 1268}
1269
319c6529
RK
1270.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
1271 color: #8050B0;
1272}
acb0e9b8 1273
319c6529
RK
1274.ac-comment[selected="true"],
1275.ac-url-text[selected="true"],
1276.ac-action-text[selected="true"] {
1277 color: inherit !important;
acb0e9b8 1278}
1279
319c6529
RK
1280.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
1281.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
1282{
1283 color: #8050B0;
1284 font-size: smaller;
acb0e9b8 1285}
319c6529
RK
1286
1287.autocomplete-treebody::-moz-tree-cell(suggesthint) {
1288 border-top: 1px solid #9C9CFF;
acb0e9b8 1289}
1290
319c6529 1291/* go button */
acb0e9b8 1292
319c6529
RK
1293#go-button {
1294 list-style-image: url("chrome://browser/skin/Go-arrow.png");
1295 -moz-image-region: rect(0px, 16px, 16px, 0px);
acb0e9b8 1296}
1297
9abeb12c
RK
1298#go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1299 -moz-transform: scaleX(-1);
1300}
1301
319c6529
RK
1302#go-button:hover {
1303 -moz-image-region: rect(16px, 16px, 32px, 0px);
acb0e9b8 1304}
1305
319c6529
RK
1306/* combined go/reload/stop button in location bar */
1307
1308#urlbar > toolbarbutton {
1309 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
38cfeb47 1310 /* margin: -2px; */
9abeb12c 1311 -moz-margin-start: 0;
319c6529
RK
1312 padding: 0 3px;
1313 background-origin: border-box;
1314 border: none;
9abeb12c
RK
1315 -moz-border-start: 1px solid #9C9CFF;
1316}
1317
1318#urlbar:-moz-locale-dir(ltr) > toolbarbutton {
38cfeb47
RK
1319 border-top-left-radius: 0px;
1320 border-bottom-left-radius: 0px;
acb0e9b8 1321}
acb0e9b8 1322
9abeb12c 1323#urlbar:-moz-locale-dir(rtl) > toolbarbutton {
38cfeb47
RK
1324 border-top-right-radius: 0px;
1325 border-bottom-right-radius: 0px;
9abeb12c
RK
1326}
1327
319c6529 1328#urlbar > toolbarbutton:not([disabled]):active:hover {
9abeb12c
RK
1329 -moz-padding-start: 4px;
1330 -moz-border-start: none;
acb0e9b8 1331}
1332
319c6529
RK
1333#urlbar-go-button {
1334 -moz-image-region: rect(0px, 56px, 14px, 42px);
acb0e9b8 1335}
1336
319c6529 1337#urlbar-go-button:hover {
38cfeb47 1338 -moz-image-region: rect(14px, 56px, 28px, 42px);
acb0e9b8 1339}
1340
319c6529 1341#urlbar-reload-button {
38cfeb47
RK
1342 -moz-image-region: rect(0px, 28px, 14px, 14px);
1343}
1344
1345#urlbar-reload-button[disabled] {
319c6529 1346 -moz-image-region: rect(0px, 14px, 14px, 0px);
acb0e9b8 1347}
1348
319c6529 1349#urlbar-reload-button:not([disabled]):hover {
38cfeb47 1350 -moz-image-region: rect(14px, 28px, 28px, 14px);
acb0e9b8 1351}
319c6529
RK
1352
1353#urlbar-stop-button {
1354 -moz-image-region: rect(0px, 42px, 14px, 28px);
acb0e9b8 1355}
319c6529
RK
1356
1357#urlbar-stop-button:hover {
38cfeb47 1358 -moz-image-region: rect(14px, 42px, 28px, 28px);
acb0e9b8 1359}
1360
319c6529
RK
1361/* popup blocker button */
1362
1363#page-report-button {
1364 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
1365 -moz-image-region: rect(0, 16px, 16px, 0);
acb0e9b8 1366}
319c6529
RK
1367
1368#page-report-button:hover {
1369 -moz-image-region: rect(0, 32px, 16px, 16px);
acb0e9b8 1370}
319c6529
RK
1371
1372#page-report-button:hover:active,
1373#page-report-button[open="true"] {
1374 -moz-image-region: rect(0, 48px, 16px, 32px);
acb0e9b8 1375}
1376
319c6529
RK
1377/* star button */
1378
1379#star-button {
1380 list-style-image: url("chrome://browser/skin/places/bookmark.png");
1381 -moz-image-region: rect(0px 16px 16px 0px);
acb0e9b8 1382}
319c6529
RK
1383
1384#star-button:hover {
1385 -moz-image-region: rect(0px 32px 16px 16px);
acb0e9b8 1386}
319c6529
RK
1387
1388#star-button:hover:active {
1389 -moz-image-region: rect(0px 48px 16px 32px);
acb0e9b8 1390}
1391
319c6529
RK
1392#star-button[starred="true"] {
1393 list-style-image: url("chrome://browser/skin/places/editBookmark.png");
acb0e9b8 1394}
319c6529
RK
1395
1396/* bookmarking panel */
1397#editBookmarkPanelStarIcon {
1398 list-style-image: url("chrome://browser/skin/places/starred48.png");
1399 width: 48px;
1400 height: 48px;
acb0e9b8 1401}
319c6529
RK
1402
1403#editBookmarkPanelStarIcon[unstarred] {
1404 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
acb0e9b8 1405}
1406
319c6529
RK
1407#editBookmarkPanelTitle {
1408 font-size: 130%;
acb0e9b8 1409}
319c6529
RK
1410
1411#editBookmarkPanelHeader,
1412#editBookmarkPanelContent {
1413 margin-bottom: .5em;
acb0e9b8 1414}
319c6529
RK
1415
1416/* Implements editBookmarkPanel resizing on folderTree un-collapse. */
1417#editBMPanel_folderTree {
1418 min-width: 27em;
acb0e9b8 1419}
1420
319c6529
RK
1421/* ::::: content area ::::: */
1422
1423#sidebar {
1424 background-color: Window;
acb0e9b8 1425}
319c6529
RK
1426
1427#sidebar-title {
1428 -moz-padding-start: 0px;
acb0e9b8 1429}
319c6529
RK
1430
1431/* ::::: throbber ::::: */
1432
1433#navigator-throbber {
1434 width: 16px;
1435 min-height: 16px;
1436 margin: 0 3px;
acb0e9b8 1437}
1438
319c6529
RK
1439#navigator-throbber[busy="true"] {
1440 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.gif");
acb0e9b8 1441}
319c6529
RK
1442
1443#navigator-throbber,
1444#wrapper-navigator-throbber > #navigator-throbber {
1445 list-style-image: url("chrome://communicator/skin/brand/throbber16-single.gif");
acb0e9b8 1446}
319c6529
RK
1447
1448/* Tabstrip */
b36fc72e 1449
319c6529
RK
1450#TabsToolbar {
1451 min-height: 0;
1452 padding: 0;
b36fc72e
RK
1453 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
1454}
1455
1456#TabsToolbar .toolbar-holder {
1457 background-color: #000000; /* correct effect of being an actal toolbar */
acb0e9b8 1458}
1459
b36fc72e 1460#main-window[disablechrome] #TabsToolbar,
319c6529
RK
1461#TabsToolbar[tabsontop="false"] {
1462 border-bottom: 1px solid #FF9F00;
acb0e9b8 1463}
319c6529 1464
319c6529
RK
1465.tabbrowser-tab,
1466.tabs-newtab-button {
1467 margin-top: 0px;
acb0e9b8 1468}
319c6529
RK
1469
1470.tabbrowser-tab:hover,
1471.tabs-newtab-button:hover {
acb0e9b8 1472}
319c6529
RK
1473
1474.tabbrowser-tab[selected="true"] {
acb0e9b8 1475}
1476
9abeb12c
RK
1477#main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) {
1478}
1479
319c6529 1480.tabbrowser-tab:-moz-lwtheme {
acb0e9b8 1481}
319c6529
RK
1482
1483.tabbrowser-tab[selected="true"]:-moz-lwtheme {
acb0e9b8 1484}
319c6529
RK
1485
1486.tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]),
1487.tabs-newtab-button:-moz-lwtheme-brighttext {
acb0e9b8 1488}
1489
319c6529
RK
1490.tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover,
1491.tabs-newtab-button:-moz-lwtheme-brighttext:hover {
acb0e9b8 1492}
319c6529
RK
1493
1494.tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]),
1495.tabs-newtab-button:-moz-lwtheme-darktext {
acb0e9b8 1496}
319c6529
RK
1497
1498.tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover,
1499.tabs-newtab-button:-moz-lwtheme-darktext:hover {
acb0e9b8 1500}
1501
319c6529
RK
1502.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
1503 background-color: #E7ADE7;
613daf44 1504}
319c6529
RK
1505.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
1506 background-color: #0000FF;
1507 color: #000000;
613daf44 1508}
319c6529
RK
1509
1510.tab-throbber,
1511.tab-icon-image {
1512 width: 16px;
1513 height: 16px;
1514 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
1515 -moz-image-region: rect(0px, 16px, 16px, 0px);
1516 -moz-margin-end: 3px;
613daf44 1517}
1518
319c6529
RK
1519.tab-throbber {
1520 list-style-image: url("chrome://browser/skin/tabbrowser/connecting.png");
613daf44 1521}
319c6529
RK
1522
1523.tab-throbber[progress] {
1524 list-style-image: url("chrome://browser/skin/tabbrowser/loading.png");
613daf44 1525}
319c6529 1526
d54f5b23 1527#tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
319c6529 1528 min-height: 16px; /* corresponds to the max. height of non-textual tab contents, i.e. the favicon */
613daf44 1529}
1530
319c6529
RK
1531.tab-throbber[pinned],
1532.tab-icon-image[pinned] {
1533 -moz-margin-start: 2px;
1534 -moz-margin-end: 2px;
613daf44 1535}
319c6529
RK
1536
1537/* tabbrowser-tab focus ring */
1538.tabbrowser-tab:focus > .tab-stack {
1539 outline: 1px dotted;
613daf44 1540}
319c6529
RK
1541
1542/* Tab DnD indicator */
1543.tab-drop-indicator {
1544 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
9abeb12c 1545 margin-bottom: -11px;
613daf44 1546}
1547
319c6529
RK
1548/* Tab close button */
1549.tab-close-button {
1550 border: none;
1551 padding: 0px;
1552 list-style-image: url("chrome://global/skin/icons/close-button.gif");
1553}
acb0e9b8 1554
319c6529
RK
1555.tab-close-button:-moz-system-metric(touch-enabled) {
1556 -moz-transform: scale(1.2);
1557}
acb0e9b8 1558
319c6529
RK
1559.tab-close-button:hover,
1560.tab-close-button:hover[selected="true"] {
1561 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 1562}
319c6529
RK
1563
1564.tab-close-button:hover:active,
1565.tab-close-button:hover:active[selected="true"] {
1566 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 1567}
319c6529
RK
1568
1569.tab-close-button:focus {
1570 outline: none !important;
acb0e9b8 1571}
1572
319c6529
RK
1573/* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
1574
1575@media all and (-moz-touch-enabled) {
1576 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1577 .tabbrowser-arrowscrollbox > .scrollbutton-down,
1578 #TabsToolbar .toolbarbutton-1 {
1579 min-width: 8.1mozmm;
1580 }
1581
1582 .tabs-newtab-button {
1583 min-width: 10mozmm;
1584 }
1585
1586 .tab-content {
1587 min-height: -moz-calc(6.8mozmm - 7px); /* subtract borders from the desired height */
1588 }
acb0e9b8 1589}
319c6529
RK
1590
1591.tabbrowser-arrowscrollbox > .scrollbutton-up,
1592.tabbrowser-arrowscrollbox > .scrollbutton-down {
319c6529
RK
1593 margin: 0;
1594 padding-top: 0;
1595 padding-bottom: 0;
acb0e9b8 1596}
319c6529 1597
319c6529
RK
1598.tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
1599 background-color: #008484;
acb0e9b8 1600}
319c6529
RK
1601
1602.tabs-newtab-button > .toolbarbutton-icon {
1603 margin-top: -1px;
1604 margin-bottom: -1px;
acb0e9b8 1605}
319c6529
RK
1606
1607.tabs-newtab-button,
1608#TabsToolbar > #new-tab-button,
1609#TabsToolbar > toolbarpaletteitem > #new-tab-button {
38cfeb47 1610 list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png");
319c6529 1611 -moz-image-region: rect(0, 16px, 18px, 0);
acb0e9b8 1612}
1613
319c6529
RK
1614.tabs-newtab-button {
1615 width: 31px;
acb0e9b8 1616}
319c6529 1617
38cfeb47
RK
1618.tabs-newtab-button:hover,
1619#TabsToolbar > #new-tab-button:hover {
319c6529 1620 -moz-image-region: rect(0, 32px, 18px, 16px);
acb0e9b8 1621}
319c6529
RK
1622
1623#alltabs-button {
1624 list-style-image: url("chrome://browser/skin/tabbrowser/alltabs.png");
1625 -moz-image-region: rect(0, 14px, 16px, 0);
acb0e9b8 1626}
1627
319c6529
RK
1628#alltabs-button:hover:active {
1629 -moz-image-region: rect(0, 28px, 16px, 14px);
acb0e9b8 1630}
319c6529
RK
1631
1632#alltabs-button[type="menu"] {
1633 list-style-image: url("chrome://browser/skin/mainwindow-dropdown-arrow.png");
1634 -moz-image-region: rect(0, 13px, 11px, 0);
acb0e9b8 1635}
319c6529
RK
1636
1637#alltabs-button[type="menu"] > .toolbarbutton-icon {
1638 margin: 3px 0;
acb0e9b8 1639}
1640
319c6529
RK
1641#alltabs-button[type="menu"] > .toolbarbutton-menu-dropmarker {
1642 display: none;
acb0e9b8 1643}
319c6529
RK
1644
1645#alltabs-button[type="menu"]:hover:active,
1646#alltabs-button[type="menu"][open="true"] {
1647 -moz-image-region: rect(0, 26px, 11px, 13px);
acb0e9b8 1648}
319c6529
RK
1649
1650/* All tabs menupopup */
1651.alltabs-item > .menu-iconic-left > .menu-iconic-icon {
1652 list-style-image: url("chrome://global/skin/icons/folder-item.png");
1653 -moz-image-region: rect(0px, 16px, 16px, 0px);
acb0e9b8 1654}
1655
319c6529
RK
1656.alltabs-item[selected="true"] {
1657 font-weight: bold;
acb0e9b8 1658}
319c6529
RK
1659
1660.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
1661 list-style-image: url("chrome://global/skin/icons/loading.gif");
acb0e9b8 1662}
319c6529
RK
1663
1664/* Tabstrip close button */
1665.tabs-closebutton {
1666 -moz-box-flex: 1;
1667 margin: 0px;
1668 padding: 2px;
1669 list-style-image: url("chrome://global/skin/icons/close-button.gif");
acb0e9b8 1670}
1671
b36fc72e
RK
1672.tabs-closebutton > .toolbarbutton-icon {
1673}
1674
319c6529
RK
1675.tabs-closebutton:hover,
1676.tabs-closebutton:hover:active {
1677 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 1678}
319c6529
RK
1679
1680toolbarbutton.chevron {
1681 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
acb0e9b8 1682}
319c6529
RK
1683
1684toolbarbutton.chevron:hover {
1685 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
acb0e9b8 1686}
1687
319c6529
RK
1688toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
1689toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
1690 -moz-transform: scaleX(-1);
acb0e9b8 1691}
319c6529
RK
1692
1693toolbarbutton.chevron > .toolbarbutton-text,
1694toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
1695 display: none;
acb0e9b8 1696}
319c6529
RK
1697
1698toolbarbutton.chevron > .toolbarbutton-icon {
1699 margin: 0;
acb0e9b8 1700}
1701
319c6529
RK
1702toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
1703 display: -moz-box; /* display chevron icon in text mode */
acb0e9b8 1704}
319c6529
RK
1705
1706#sidebar-throbber[loading="true"] {
1707 list-style-image: url("chrome://global/skin/icons/loading.gif");
1708 -moz-margin-end: 4px;
acb0e9b8 1709}
319c6529
RK
1710
1711/* Bookmarks toolbar */
1712#PlacesToolbarDropIndicator {
1713 list-style-image: url("chrome://browser/skin/places/toolbarDropMarker.png");
acb0e9b8 1714}
1715
319c6529
RK
1716toolbarbutton.bookmark-item[dragover="true"][open="true"] {
1717 background-color: #008484 !important;
1718 color: #FFCF00 !important;
613daf44 1719}
319c6529
RK
1720
1721/* rules for menupopup drop indicators */
1722.menupopup-drop-indicator-bar {
1723 position: relative;
1724 /* these two margins must together compensate the indicator's height */
1725 margin-top: -1px;
1726 margin-bottom: -1px;
613daf44 1727}
319c6529
RK
1728
1729.menupopup-drop-indicator {
1730 list-style-image: none;
1731 height: 2px;
1732 -moz-margin-end: -4em;
1733 background-color: #008484;
613daf44 1734}
1735
319c6529
RK
1736/* ::::: Identity Indicator Styling ::::: */
1737
1738/* Popup Icons */
1739#identity-popup-icon {
1740 height: 64px;
1741 width: 64px;
1742 padding: 0;
1743 list-style-image: url("chrome://browser/skin/identity.png");
1744 -moz-image-region: rect(0px, 64px, 64px, 0px);
613daf44 1745}
319c6529
RK
1746
1747#identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
1748 -moz-image-region: rect(64px, 64px, 128px, 0px);
613daf44 1749}
319c6529
RK
1750
1751#identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
1752 -moz-image-region: rect(128px, 64px, 192px, 0px);
613daf44 1753}
1754
319c6529
RK
1755/* Popup Body Text */
1756.identity-popup-description {
1757 white-space: pre-wrap;
1758 -moz-padding-start: 15px;
1759 margin: 2px 0 4px;
613daf44 1760}
319c6529
RK
1761
1762.identity-popup-label {
1763 white-space: pre-wrap;
1764 -moz-padding-start: 15px;
1765 margin: 0;
613daf44 1766}
319c6529
RK
1767
1768#identity-popup-content-host ,
1769#identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
1770 font-size: 1.2em;
613daf44 1771}
1772
319c6529
RK
1773#identity-popup-content-host {
1774 margin-top: 3px;
1775 margin-bottom: 5px;
1776 font-weight: bold;
1777 max-width: 300px;
1778}
613daf44 1779
319c6529
RK
1780#identity-popup-content-owner {
1781 margin-top: 4px;
1782 margin-bottom: 0 !important;
1783 font-weight: bold;
1784 max-width: 300px;
1785}
613daf44 1786
319c6529
RK
1787.verifiedDomain > #identity-popup-content-owner {
1788 font-weight: normal;
613daf44 1789}
1790
319c6529
RK
1791#identity-popup-content-verifier {
1792 margin: 4px 0 2px;
613daf44 1793}
1794
319c6529
RK
1795#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
1796#identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
1797 margin-top: 10px;
1798 -moz-margin-start: -24px;
613daf44 1799}
1800
319c6529
RK
1801#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
1802#identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
1803 list-style-image: url("chrome://browser/skin/Secure24.png");
613daf44 1804}
1805
319c6529
RK
1806#identity-popup-more-info-button {
1807 margin-top: 6px;
1808 margin-bottom: 0;
1809 -moz-margin-end: 0;
613daf44 1810}
acb0e9b8 1811
319c6529
RK
1812.popup-notification-icon {
1813 width: 64px;
1814 height: 64px;
1815 -moz-margin-end: 10px;
1816}
acb0e9b8 1817
319c6529
RK
1818.popup-notification-icon[popupid="geolocation"] {
1819 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
acb0e9b8 1820}
1821
319c6529
RK
1822.popup-notification-icon[popupid="xpinstall-disabled"],
1823.popup-notification-icon[popupid="addon-progress"],
1824.popup-notification-icon[popupid="addon-install-cancelled"],
1825.popup-notification-icon[popupid="addon-install-blocked"],
1826.popup-notification-icon[popupid="addon-install-failed"],
1827.popup-notification-icon[popupid="addon-install-complete"] {
1828 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
1829 width: 32px;
1830 height: 32px;
acb0e9b8 1831}
319c6529
RK
1832
1833.addon-progress-description {
1834 width: 350px;
1835 max-width: 350px;
acb0e9b8 1836}
319c6529
RK
1837
1838.popup-progress-label,
1839.popup-progress-meter {
1840 -moz-margin-start: 0;
1841 -moz-margin-end: 0;
acb0e9b8 1842}
319c6529
RK
1843
1844.popup-progress-cancel {
1845 -moz-appearance: none;
1846 background: transparent;
1847 border: none;
1848 padding: 0;
1849 margin: 0;
1850 min-height: 0;
1851 min-width: 0;
1852 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
1853 -moz-image-region: rect(0px, 32px, 16px, 16px);
acb0e9b8 1854}
319c6529
RK
1855
1856.popup-progress-cancel:hover {
1857 -moz-image-region: rect(16px, 32px, 32px, 16px);
acb0e9b8 1858}
1859
319c6529
RK
1860.popup-progress-cancel:active {
1861 -moz-image-region: rect(32px, 32px, 48px, 16px);
1862}
acb0e9b8 1863
319c6529
RK
1864.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
1865.popup-notification-icon[popupid="indexedDB-quota-prompt"] {
1866 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
acb0e9b8 1867}
1868
319c6529
RK
1869.popup-notification-icon[popupid="password-save"],
1870.popup-notification-icon[popupid="password-change"] {
1871 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
acb0e9b8 1872}
1873
319c6529
RK
1874/* Notification icon box */
1875#notification-popup-box {
1876 margin: 0 3px;
1877}
acb0e9b8 1878
319c6529 1879.notification-anchor-icon {
acb0e9b8 1880 width: 16px;
1881 height: 16px;
1882}
1883
319c6529
RK
1884.notification-anchor-icon:-moz-focusring {
1885 outline: 1px dotted -moz-DialogText;
1886 outline-offset: -3px;
acb0e9b8 1887}
1888
ab799a7a
RK
1889#default-notification-icon {
1890 list-style-image: url("chrome://global/skin/icons/information-16.png");
1891}
1892
319c6529
RK
1893#geo-notification-icon {
1894 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
acb0e9b8 1895}
1896
319c6529
RK
1897#addons-notification-icon {
1898 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
acb0e9b8 1899}
1900
319c6529
RK
1901#indexedDB-notification-icon {
1902 list-style-image: url("chrome://global/skin/icons/question-16.png");
acb0e9b8 1903}
1904
319c6529
RK
1905#password-notification-icon {
1906 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
acb0e9b8 1907}
1908
319c6529
RK
1909#identity-popup-container {
1910 min-width: 280px;
1911}
acb0e9b8 1912
319c6529
RK
1913#download-monitor {
1914 list-style-image: url("chrome://browser/skin/Toolbar.png");
1915 -moz-image-region: rect(0, 108px, 18px, 90px);
acb0e9b8 1916}
1917
319c6529
RK
1918/* Bookmarks roots menu-items */
1919#appmenu_subscribeToPage:not([disabled]),
1920#appmenu_subscribeToPageMenu,
1921#subscribeToPageMenuitem:not([disabled]),
1922#subscribeToPageMenupopup,
1923#BMB_subscribeToPageMenuitem:not([disabled]),
1924#BMB_subscribeToPageMenupopup {
1925 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
613daf44 1926}
1927
319c6529
RK
1928#bookmarksToolbarFolderMenu,
1929#appmenu_bookmarksToolbar,
1930#BMB_bookmarksToolbar {
1931 list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png");
1932 -moz-image-region: auto;
1933}
acb0e9b8 1934
319c6529
RK
1935#appmenu_unsortedBookmarks,
1936#BMB_unsortedBookmarks {
1937 list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png");
1938 -moz-image-region: auto;
acb0e9b8 1939}
1940
319c6529 1941/* ::::: Keyboard UI Panel ::::: */
acb0e9b8 1942
319c6529
RK
1943.KUI-panel {
1944 color: #FF9F00;
1945 border-style: none;
1946 border-radius: 20px;
acb0e9b8 1947}
1948
319c6529
RK
1949.KUI-panel[level="top"] {
1950 /*background-color: rgba(27%,27%,27%,.65);*/
acb0e9b8 1951}
1952
319c6529
RK
1953.KUI-panel-closebutton {
1954 list-style-image: url("KUI-close.png");
1955 width: 24px;
1956 height: 24px;
acb0e9b8 1957}
1958
319c6529 1959.KUI-panel-closebutton:not(:hover) {
acb0e9b8 1960}
1961
319c6529 1962.KUI-panel-closebutton > .toolbarbutton-icon {
acb0e9b8 1963}
1964
319c6529 1965/* ::::: Ctrl-Tab and All Tabs Panels ::::: */
acb0e9b8 1966
319c6529
RK
1967/* Ctrl-Tab */
1968
1969#ctrlTab-panel {
1970 padding: 20px 10px 10px;
1971 font-weight: bold;
acb0e9b8 1972}
1973
319c6529
RK
1974.ctrlTab-favicon[src] {
1975 background-color: #000000;
1976 width: 20px;
1977 height: 20px;
1978 padding: 2px;
1979}
acb0e9b8 1980
319c6529 1981.ctrlTab-preview-inner > .tabPreview-canvas {
acb0e9b8 1982}
1983
319c6529
RK
1984.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
1985 margin-bottom: 2px;
acb0e9b8 1986}
1987
319c6529
RK
1988.ctrlTab-preview-inner {
1989 padding-bottom: 10px;
acb0e9b8 1990}
1991
319c6529
RK
1992#ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
1993 padding: 10px;
1994 background-color: #000000;
1995 border-radius: .5em;
acb0e9b8 1996}
1997
319c6529
RK
1998.ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
1999 color: white;
2000 background-color: #000000;
2001 text-shadow: none;
2002 padding: 8px;
2003 border: 2px solid #9C9CFF;
2004 border-radius: .5em;
acb0e9b8 2005}
2006
319c6529
RK
2007.ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
2008 margin: -10px -10px 0;
acb0e9b8 2009}
2010
319c6529
RK
2011#ctrlTab-showAll {
2012 margin-top: .5em;
acb0e9b8 2013}
2014
319c6529
RK
2015/* All Tabs */
2016
2017#allTabs-panel {
2018 padding-bottom: 10px;
613daf44 2019}
2020
319c6529
RK
2021#allTabs-meta {
2022 margin: 10px;
613daf44 2023}
2024
319c6529
RK
2025#allTabs-filter {
2026 -moz-margin-start: 24px;
2027 -moz-margin-end: 0;
2028}
acb0e9b8 2029
319c6529 2030#allTabs-tab-close-button > .toolbarbutton-icon {
acb0e9b8 2031 margin: 0;
acb0e9b8 2032}
319c6529
RK
2033
2034.allTabs-favicon[src] {
2035 width: 22px;
2036 height: 22px;
2037 padding-top: 1px;
2038 padding-bottom: 5px;
2039 -moz-padding-start: 1px;
2040 -moz-padding-end: 5px;
2041 margin-top: -2px;
2042 -moz-margin-start: -2px;
2043 border-bottom-right-radius: 4px;
acb0e9b8 2044}
2045
319c6529
RK
2046.allTabs-favicon[src]:-moz-locale-dir(rtl) {
2047 border-bottom-right-radius: 0;
2048 border-bottom-left-radius: 4px;
acb0e9b8 2049}
319c6529
RK
2050
2051.allTabs-preview-inner > .tabPreview-canvas {
2052 background-color: #E7ADE7;
acb0e9b8 2053}
2054
319c6529 2055.allTabs-preview:not(:hover):not([closebuttonhover]) > html|canvas {
acb0e9b8 2056}
319c6529
RK
2057
2058.allTabs-preview:focus > * > .allTabs-preview-inner {
2059 outline: 1px dotted #008484;
acb0e9b8 2060}
2061
319c6529
RK
2062/* Inspector / Highlighter */
2063
2064#highlighter-panel {
2065 -moz-window-shadow: none;
2066 background: #000000;
2067 border: none;
acb0e9b8 2068}
319c6529
RK
2069
2070listitem.style-selector {
2071 background-color: #9C9CFF;
2072 color: #000000;
acb0e9b8 2073}
2074
319c6529
RK
2075listitem.style-section {
2076 background-color: #E7ADE7;
2077 color: #000000;
2078 font-weight: bold;
2079}
acb0e9b8 2080
319c6529
RK
2081panel[dimmed="true"] {
2082 opacity: 0.5;
acb0e9b8 2083}
613daf44 2084
b36fc72e
RK
2085/* Add-on bar */
2086
2087#addon-bar {
2088 min-height: 20px;
2089 border-top: 3px solid #000000;
2090}
2091
2092#addon-bar:not(:-moz-lwtheme) {
2093 -moz-appearance: statusbar;
2094}
2095
2096#addon-bar .toolbar-holder {
2097 background-color: #8050B0;
2098 color: #FFCF00;
2099}
2100
2101#addon-bar .toolbar-holder {
2102 background-color: #8050B0;
2103 color: #FFCF00;
2104}
2105
2106#addon-bar .toolbar-startcap,
2107#addon-bar .toolbar-endcap{
2108 background-color: #6000CF;
2109}
2110
319c6529 2111#status-bar {
b36fc72e 2112 -moz-binding: url("chrome://global/content/bindings/general.xml#statusbar");
319c6529
RK
2113 margin-top: .3em;
2114 border-width: 0;
613daf44 2115}
2116
319c6529
RK
2117/* Remove all borders from statusbarpanel children of
2118 the statusbar.
2119#status-bar > statusbarpanel {
2120 border-width: 0;
2121} */
2122
319c6529
RK
2123#addonbar-closebutton {
2124 border: none;
2125 padding: 3px 5px;
2126 list-style-image: url("chrome://global/skin/icons/close-button.gif");
613daf44 2127}
2128
319c6529
RK
2129#addonbar-closebutton:hover,
2130#addonbar-closebutton:hover:active {
2131 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
613daf44 2132}
9abeb12c
RK
2133
2134/* Status panel */
2135
2136.statuspanel-label {
2137 margin: 0;
2138 padding: 2px 4px;
38cfeb47 2139 background: #404000;
9abeb12c
RK
2140 border: 1px none #9C9CFF;
2141 border-top-style: solid;
2142 color: #FF9F00;
2143 text-shadow: none;
2144}
2145
2146.statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
2147.statuspanel-label:-moz-locale-dir(rtl)[mirror] {
2148 border-right-style: solid;
2149 border-top-right-radius: .3em;
2150 margin-right: 1em;
2151}
2152
2153.statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
2154.statuspanel-label:-moz-locale-dir(ltr)[mirror] {
2155 border-left-style: solid;
2156 border-top-left-radius: .3em;
2157 margin-left: 1em;
2158}