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