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