make all menubuttons have a black and visible dropmarker
[themes.git] / LCARStrek / browser / browser.css
CommitLineData
9099c61d
RK
1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
acb0e9b8 4
5@import url("chrome://global/skin/");
fcaeefc2 6@import url("downloads/indicator.css");
acb0e9b8 7
8@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
319c6529
RK
9@namespace html url("http://www.w3.org/1999/xhtml");
10
11toolbar {
12 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
13}
acb0e9b8 14
fd291cce
RK
15/* Remove selector when Australis lands - this makes it only apply post-Australis as iconsize doesn't exist there */
16#navigator-toolbox:not([iconsize]) > toolbar[customizable="true"] {
43cc2806
RK
17 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-browsercustom");
18}
19
41279e76
RK
20toolbar[type="menubar"][autohide="true"] {
21 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide");
22}
23
fd291cce
RK
24/* Remove selector when Australis lands - this makes it only apply post-Australis as iconsize doesn't exist there */
25#navigator-toolbox:not([iconsize]) > #toolbar-menubar[autohide="true"] {
43cc2806
RK
26 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide-browsercustom");
27}
28
acb0e9b8 29menubar {
319c6529 30 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
acb0e9b8 31}
32
319c6529
RK
33#menubar-items {
34 -moz-box-orient: vertical; /* for flex hack */
acb0e9b8 35}
36
319c6529
RK
37#main-menubar {
38 -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
39}
40
63ada306
RK
41/* ::::: primary toolbar ::::: */
42
43.toolbar-primary > .toolbar-box > .toolbar-holder {
270cbf0c 44 background-color: #A09090;
63ada306
RK
45}
46
47.toolbar-primary > .toolbar-box > .toolbar-startcap,
48.toolbar-primary > .toolbar-box > .toolbar-endcap {
49 background-color: #9C9CFF;
50}
51
43cc2806
RK
52/* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the
53 toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care
54 of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */
55#toolbar-menubar:not([autohide="true"]) ~ #TabsToolbar,
56#toolbar-menubar[autohide="true"]:not([inactive]) ~ #TabsToolbar {
57/* margin-top: 3px;*/
58}
59
60#main-window[tabsintitlebar][sizemode="normal"][chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar,
61#main-window[tabsintitlebar][sizemode="normal"] #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
62/* margin-top: 15px;*/
63}
64
fd291cce
RK
65/* Remove selector when Australis lands - this makes it only apply post-Australis as iconsize doesn't exist there */
66#navigator-toolbox:not([iconsize]) > #toolbar-menubar:not([autohide="true"]) {
43cc2806
RK
67 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
68}
69
70#main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme) {
71 /* like menubar */
72 background-color: #6000CF;
73 color: #FF9F00;
74}
75
76#main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme):-moz-window-inactive {
77 background-color: #8050B0;
78 color: #FF9F00;
79}
63ada306 80
319c6529
RK
81#navigator-toolbox {
82}
83
9abeb12c
RK
84#navigator-toolbox::after {
85 content: "";
86 display: -moz-box;
87 -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
88 height: 1px;
89}
90#navigator-toolbox[tabsontop=false]::after,
91#main-window[disablechrome] #navigator-toolbox::after {
92 visibility: collapse;
93}
94
319c6529
RK
95#navigator-toolbox > toolbar:not(:-moz-lwtheme) {
96}
97
d54f5b23 98#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme) {
319c6529
RK
99 /* like menubar */
100 background-color: #6000CF;
101 color: #FF9F00;
102}
d54f5b23 103#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
319c6529
RK
104 background-color: #8050B0;
105 color: #FF9F00;
106}
2caba1a9
RK
107#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar > .tabbrowser-tabs > .tabbrowser-tab {
108 padding-top: 3px;
109}
319c6529
RK
110
111#main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
112 visibility: hidden;
113}
114#main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
115 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
116 visibility: visible;
117}
118
676f0091
RK
119#nav-bar[tabsontop="true"],
120#nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + toolbar,
121#nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + #customToolbars + #PersonalToolbar {
0142a07b 122 /* background-image: linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); */
319c6529
RK
123}
124
319c6529 125#personal-bookmarks {
38cfeb47 126/* min-height: 24px; */
319c6529
RK
127}
128
129#print-preview-toolbar:not(:-moz-lwtheme) {
130 /* -moz-appearance: toolbox; */
acb0e9b8 131}
132
319c6529
RK
133/* ::::: app menu button ::::: */
134
135#appmenu-button {
acb0e9b8 136 background-color: #FF9F00;
319c6529
RK
137 background-clip: padding-box;
138 border-radius: 0;
139 border: none;
319c6529
RK
140 border-right: 3px solid #000000;
141 color: #000000;
142 font-weight: bold;
5305ef8d
RK
143 padding: 1px 1.5em;
144 margin: 0;
145}
146
147#appmenu-button:-moz-locale-dir(rtl) {
148 border-left: 3px solid #000000;
149 border-right: none;
acb0e9b8 150}
151
319c6529
RK
152#main-window[privatebrowsingmode=temporary] #appmenu-button {
153 background-color: #6000CF;
154 color: #FFCF00;
155}
156
b36fc72e
RK
157#appmenu-button:hover:not(:active):not([open]) {
158}
159
160#main-window[privatebrowsingmode=temporary] #appmenu-button:hover:not(:active):not([open]) {
161}
162
319c6529
RK
163#appmenu-button:hover,
164#appmenu-button:hover:active,
165#appmenu-button[open] {
166 background-color: #FFCF00;
167 color: #000000;
168}
169
170#appmenu-button > .button-box > .button-menu-dropmarker {
db6435b4 171 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
319c6529
RK
172 width: auto;
173 height: auto;
174 padding: 0;
175 margin: 0;
5305ef8d
RK
176 border: none;
177 background-color: transparent;
319c6529
RK
178 -moz-margin-start: .5em;
179}
180
db6435b4
RK
181#main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .button-menu-dropmarker {
182 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
183}
184
38cfeb47
RK
185#appmenuPrimaryPane > menuitem,
186#appmenuSecondaryPane > menuitem,
187#appmenuPrimaryPane > menu {
188 padding: 2px;
189}
190
d54f5b23 191.splitmenu-menuitem {
38cfeb47
RK
192 -moz-padding-start: 2px;
193 padding-top: 2px;
194 padding-bottom: 2px;
d54f5b23
RK
195 -moz-margin-end: 1px;
196}
197
ab799a7a 198.splitmenu-menu {
38cfeb47
RK
199 padding-top: 2px;
200 padding-bottom: 2px;
319c6529
RK
201 -moz-box-pack: end;
202}
203
204.appmenu-edit-button {
205}
206
207.appmenu-edit-button[disabled="true"] {
208}
209
210#appmenuPrimaryPane {
211 -moz-border-end: 1px solid #9C9CFF;
212}
213/*
214 #appmenu-popup {
215 }
216 #appmenuPrimaryPane {
217 }
218 #appmenuSecondaryPane {
219 }
220 #appmenuSecondaryPane:-moz-locale-dir(rtl) {
221 }
222
223 #appmenuSecondaryPane menupopup {
224 }
225
226 .appmenu-menuseparator {
227 }
228
229 .appmenu-edit-button:not([disabled]):hover {
230 }
231*/
232#appmenuSecondaryPane-spacer {
233 min-height: 1em;
234}
235
9abeb12c
RK
236#appmenu-editmenu {
237 -moz-box-pack: end;
238}
239
319c6529
RK
240#appmenu_print,
241#appmenu_print_popup,
242.appmenu-edit-button,
9abeb12c
RK
243#appmenu-editmenu-cut,
244#appmenu-editmenu-copy,
245#appmenu-editmenu-paste,
319c6529
RK
246#appmenu-quit {
247 list-style-image: url("appmenu-icons.png");
248}
249
9abeb12c
RK
250#appmenu-cut,
251#appmenu-editmenu-cut {
319c6529 252 -moz-image-region: rect(0 16px 16px 0);
acb0e9b8 253}
254
143c5409
RK
255#appmenu-cut:hover:not([disabled="true"]),
256#appmenu-editmenu-cut:hover:not([disabled="true"]) {
257 -moz-image-region: rect(16px 16px 32px 0);
258}
259
260#appmenu-cut[disabled="true"],
261#appmenu-editmenu-cut[disabled="true"] {
262 -moz-image-region: rect(32px 16px 48px 0);
263}
264
9abeb12c
RK
265#appmenu-copy,
266#appmenu-editmenu-copy {
319c6529
RK
267 -moz-image-region: rect(0 32px 16px 16px);
268}
269
143c5409
RK
270#appmenu-copy:hover:not([disabled="true"]),
271#appmenu-editmenu-copy:hover:not([disabled="true"]) {
272 -moz-image-region: rect(16px 32px 32px 16px);
273}
274
275#appmenu-copy[disabled="true"],
276#appmenu-editmenu-copy[disabled="true"] {
277 -moz-image-region: rect(32px 32px 48px 16px);
278}
279
9abeb12c
RK
280#appmenu-paste,
281#appmenu-editmenu-paste {
319c6529
RK
282 -moz-image-region: rect(0 48px 16px 32px);
283}
284
143c5409
RK
285#appmenu-paste:hover:not([disabled="true"]),
286#appmenu-editmenu-paste:hover:not([disabled="true"]) {
287 -moz-image-region: rect(16px 48px 32px 32px);
288}
289
290#appmenu-paste[disabled="true"],
291#appmenu-editmenu-paste[disabled="true"] {
292 -moz-image-region: rect(32px 48px 48px 32px);
293}
294
319c6529
RK
295#appmenu_print,
296#appmenu_print_popup {
297 -moz-image-region: rect(0 64px 16px 48px);
298}
299
143c5409
RK
300#appmenu_print:hover:not([disabled="true"]),
301#appmenu_print[open="true"],
302#appmenu_print_popup:hover:not([disabled="true"]) {
303 -moz-image-region: rect(16px 64px 32px 48px);
304}
305
306#appmenu-print[disabled="true"],
307#appmenu_print_popup[disabled="true"] {
308 -moz-image-region: rect(32px 64px 48px 48px);
309}
310
319c6529
RK
311#appmenu-quit {
312 -moz-image-region: rect(0 80px 16px 64px);
313}
314
143c5409
RK
315#appmenu-quit:hover {
316 -moz-image-region: rect(16px 80px 32px 64px);
317}
318
319c6529
RK
319#appmenu-edit-label {
320 -moz-appearance: none;
321 background: transparent;
322 font-style: italic;
323}
324
325#appmenu_bookmarks {
326 list-style-image: url("chrome://browser/skin/places/bookmark.png");
327 -moz-image-region: rect(0px 48px 16px 32px);
328}
329
0142a07b
RK
330#appmenu_privateBrowsing,
331#appmenu_newPrivateWindow {
319c6529
RK
332 list-style-image: url("chrome://browser/skin/Privacy-16.png");
333}
334
82b4252f
RK
335@media (min-resolution: 1.25dppx) {
336 #appmenu_privateBrowsing,
337 #appmenu_newPrivateWindow {
338 list-style-image: url("chrome://browser/skin/Privacy-32.png");
339 }
340}
341
319c6529
RK
342#appmenu_addons {
343 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
344}
345
82b4252f
RK
346@media (min-resolution: 1.25dppx) {
347 #appmenu_addons {
348 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
349 }
350}
351
319c6529
RK
352#BMB_bookmarkThisPage,
353#appmenu_bookmarkThisPage {
354 list-style-image: url("chrome://browser/skin/places/bookmark.png");
355 -moz-image-region: rect(0 16px 16px 0);
356}
357
358/* ::::: titlebar ::::: */
359
5305ef8d
RK
360#titlebar {
361 /* like menubar */
362 background-color: #6000CF;
363 color: #FF9F00;
364}
365#titlebar:-moz-window-inactive {
366 background-color: #8050B0;
367 color: #FF9F00;
368}
369
319c6529 370#main-window[sizemode="normal"] > #titlebar {
5305ef8d
RK
371 margin-top: -3px;
372 margin-bottom: 3px;
319c6529
RK
373}
374
375#main-window[sizemode="maximized"] > #titlebar {
5305ef8d 376 margin-top: 4px;
319c6529
RK
377}
378
43cc2806
RK
379/* The button box must appear on top of the navigator-toolbox in order for
380 * click and hover mouse events to work properly for the button in the restored
381 * window state. Otherwise, elements in the navigator-toolbox, like the menubar,
382 * can swallow those events. It will also place the buttons above the fog on
383 * themes with Aero Glass.
384 */
319c6529 385#titlebar-buttonbox {
5305ef8d
RK
386 margin-top: 5px;
387 -moz-margin-end: 3px;
43cc2806 388 z-index: 1;
319c6529
RK
389}
390
391#main-window[sizemode="maximized"] #titlebar-buttonbox {
392}
393
394.titlebar-placeholder[type="appmenu-button"] {
395 margin-left: 4px;
396}
397
398.titlebar-placeholder[type="caption-buttons"] {
399 margin-left: 10px;
400}
401
402/* titlebar command buttons */
403
404#titlebar-min {
5305ef8d
RK
405 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
406}
407
408#titlebar-min:hover {
409 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
319c6529
RK
410}
411
412#titlebar-max {
5305ef8d
RK
413 list-style-image: url("chrome://browser/skin/win-maximize.gif");
414}
415
416#titlebar-max:hover {
417 list-style-image: url("chrome://browser/skin/win-maximize-hover.gif");
319c6529
RK
418}
419
420#main-window[sizemode="maximized"] #titlebar-max {
5305ef8d
RK
421 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
422}
423
424#main-window[sizemode="maximized"] #titlebar-max:hover {
425 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
319c6529
RK
426}
427
428#titlebar-close {
5305ef8d
RK
429 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
430}
431
432#titlebar-close:hover {
433 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
acb0e9b8 434}
435
436/* ::::: bookmark buttons ::::: */
437
fb1aad97
RK
438/*.bookmark-item:not(#bookmarks-menu-button) > .toolbarbutton-icon */
439.bookmark-item > .toolbarbutton-icon {
acb0e9b8 440 width: 16px;
441 height: 16px;
442}
443
444/* Prevent [mode="icons"] from hiding the label */
445.bookmark-item > .toolbarbutton-text {
446 display: -moz-box !important;
447}
448
319c6529
RK
449.bookmark-item > .toolbarbutton-menu-dropmarker {
450 display: none;
451}
452
453#wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box {
c5772fdf 454 background: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") no-repeat center;
319c6529
RK
455}
456
457.bookmarks-toolbar-customize {
458 max-width: 15em !important;
8da9da4e 459 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
319c6529
RK
460}
461
462/* ::::: bookmark menus ::::: */
463
464menu.bookmark-item,
465menuitem.bookmark-item {
466 min-width: 0;
ab799a7a 467 max-width: 32em;
319c6529
RK
468}
469
470.bookmark-item > .menu-iconic-left {
471 margin-top: 0;
472 margin-bottom: 0;
473}
474
475.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
476 -moz-padding-start: 0px;
477}
478
479/* ::::: bookmark items ::::: */
480
481.bookmark-item {
dce90fef 482 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
8da9da4e 483 -moz-image-region: auto;
319c6529
RK
484}
485
486.bookmark-item[container] {
487 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
8da9da4e 488 -moz-image-region: auto;
319c6529
RK
489}
490
491.bookmark-item[container][open] {
492 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
8da9da4e 493 -moz-image-region: auto;
319c6529
RK
494}
495
8da9da4e
RK
496.bookmark-item[container][livemark] {
497 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
319c6529
RK
498 -moz-image-region: auto;
499}
500
501.bookmark-item[container][livemark] .bookmark-item {
8da9da4e 502 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
719b06bc 503 -moz-image-region: rect(0px, 16px, 16px, 0px);
319c6529
RK
504}
505
eec397be 506.bookmark-item[container][livemark] .bookmark-item[visited] {
719b06bc 507 -moz-image-region: rect(0px, 32px, 16px, 16px);
eec397be
RK
508}
509
319c6529 510.bookmark-item[container][query] {
8da9da4e 511 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
319c6529
RK
512 -moz-image-region: auto;
513}
514
515.bookmark-item[query][tagContainer] {
516 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
517 -moz-image-region: auto;
518}
519
520.bookmark-item[query][dayContainer] {
8da9da4e 521 list-style-image: url("chrome://communicator/skin/history/calendar.png");
319c6529
RK
522 -moz-image-region: auto;
523}
524
525.bookmark-item[query][hostContainer] {
526 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
8da9da4e 527 -moz-image-region: auto;
319c6529
RK
528}
529
530.bookmark-item[query][hostContainer][open] {
531 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
8da9da4e 532 -moz-image-region: auto;
319c6529
RK
533}
534
b1234db8
RK
535.bookmark-item[cutting] > .toolbarbutton-icon,
536.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
537 opacity: 0.5;
538}
539
540.bookmark-item[cutting] > .toolbarbutton-text,
541.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
542 opacity: 0.7;
543}
544
319c6529
RK
545/* ::::: primary toolbar buttons ::::: */
546
43cc2806
RK
547/* === BEGIN toolbarbuttons.inc.css === */
548
549/* Whole section of this included file: */
fd291cce
RK
550/* Remove |#navigator-toolbox:not([iconsize])| selector when Australis lands - this makes it only apply post-Australis as iconsize doesn't exist there */
551#navigator-toolbox:not([iconsize]) :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, #new-tab-button, #new-window-button,
43cc2806
RK
552 #cut-button, #copy-button, #paste-button, #fullscreen-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #sync-button, #feed-button,
553 #tabview-button, #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button, #preferences-button,
554 #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, #history-panelmenu, #nav-bar-overflow-button,
555 #PanelUI-menu-button, #characterencoding-button, #email-link-button),
fd291cce 556#navigator-toolbox:not([iconsize]) #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
43cc2806
RK
557 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
558}
559
fd291cce 560#navigator-toolbox:not([iconsize]) #back-button {
43cc2806
RK
561 -moz-image-region: rect(0, 36px, 18px, 18px);
562}
563
fd291cce 564#navigator-toolbox:not([iconsize]) #back-button:hover:not([disabled="true"]) {
43cc2806
RK
565 -moz-image-region: rect(18px, 36px, 36px, 18px);
566}
567
fd291cce 568#navigator-toolbox:not([iconsize]) #back-button[disabled="true"] {
43cc2806
RK
569 -moz-image-region: rect(36px, 36px, 54px, 18px);
570}
571
fd291cce 572#navigator-toolbox:not([iconsize]) #forward-button {
43cc2806
RK
573 -moz-image-region: rect(0, 72px, 18px, 54px);
574}
575
fd291cce 576#navigator-toolbox:not([iconsize]) #forward-button:hover:not([disabled="true"]) {
43cc2806
RK
577 -moz-image-region: rect(18px, 72px, 36px, 54px);
578}
579
fd291cce 580#navigator-toolbox:not([iconsize]) #forward-button[disabled="true"] {
43cc2806
RK
581 -moz-image-region: rect(36px, 72px, 54px, 54px);
582}
583
fd291cce
RK
584#navigator-toolbox:not([iconsize]) #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
585#navigator-toolbox:not([iconsize]) #forward-button:-moz-locale-dir(rtl) {
43cc2806
RK
586 transform: scaleX(-1);
587}
588
fd291cce 589#navigator-toolbox:not([iconsize]) #home-button[cui-areatype="toolbar"] {
43cc2806
RK
590 -moz-image-region: rect(0, 126px, 18px, 108px);
591}
592
fd291cce 593#navigator-toolbox:not([iconsize]) #home-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
594 -moz-image-region: rect(18px, 126px, 36px, 108px);
595}
596
fd291cce 597#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"] {
43cc2806
RK
598 -moz-image-region: rect(0, 144px, 18px, 126px);
599}
600
fd291cce
RK
601#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"]:hover,
602#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] {
43cc2806
RK
603 -moz-image-region: rect(18px, 144px, 36px, 126px);
604}
605
fd291cce 606#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"][starred] {
43cc2806
RK
607 -moz-image-region: rect(0, 162px, 18px, 144px);
608}
609
fd291cce
RK
610#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover,
611#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"] {
43cc2806
RK
612 -moz-image-region: rect(18px, 162px, 36px, 144px);
613}
614
fd291cce 615#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
43cc2806
RK
616 -moz-image-region: rect(0, 630px, 18px, 612px);
617}
618
fd291cce 619#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
43cc2806
RK
620 padding: 1px;
621 -moz-box-align: center;
622}
623
fd291cce
RK
624#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
625#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
43cc2806
RK
626 -moz-image-region: rect(18px, 630px, 36px, 612px);
627}
628
fd291cce
RK
629#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker,
630#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker {
43cc2806
RK
631 padding-top: 2px;
632 padding-bottom: 0px;
633 -moz-padding-start: 2px;
634 -moz-padding-end: 0px;
635}
636
fd291cce 637#navigator-toolbox:not([iconsize]) #history-panelmenu[cui-areatype="toolbar"] {
43cc2806
RK
638 -moz-image-region: rect(0, 180px, 18px, 162px);
639}
640
fd291cce
RK
641#navigator-toolbox:not([iconsize]) #history-panelmenu[cui-areatype="toolbar"]:hover,
642#navigator-toolbox:not([iconsize]) #history-panelmenu[cui-areatype="toolbar"][open="true"] {
43cc2806
RK
643 -moz-image-region: rect(18px, 180px, 36px, 162px);
644}
645
fd291cce 646#navigator-toolbox:not([iconsize]) #downloads-button[cui-areatype="toolbar"] {
43cc2806
RK
647 -moz-image-region: rect(0, 198px, 18px, 180px);
648}
649
fd291cce
RK
650#navigator-toolbox:not([iconsize]) #downloads-button[cui-areatype="toolbar"]:hover,
651#navigator-toolbox:not([iconsize]) #downloads-button[cui-areatype="toolbar"][open="true"] {
43cc2806
RK
652 -moz-image-region: rect(18px, 198px, 36px, 180px);
653}
654
fd291cce 655#navigator-toolbox:not([iconsize]) #add-ons-button[cui-areatype="toolbar"] {
43cc2806
RK
656 -moz-image-region: rect(0, 216px, 18px, 198px);
657}
658
fd291cce 659#navigator-toolbox:not([iconsize]) #add-ons-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
660 -moz-image-region: rect(18px, 216px, 36px, 198px);
661}
662
fd291cce 663#navigator-toolbox:not([iconsize]) #switch-to-metro-button[cui-areatype="toolbar"] {
43cc2806
RK
664 -moz-image-region: rect(0, 648px, 18px, 630px);
665}
666
fd291cce 667#navigator-toolbox:not([iconsize]) #switch-to-metro-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
668 -moz-image-region: rect(18px, 648px, 36px, 630px);
669}
670
fd291cce 671#navigator-toolbox:not([iconsize]) #open-file-button[cui-areatype="toolbar"] {
43cc2806
RK
672 -moz-image-region: rect(0, 234px, 18px, 216px);
673}
674
fd291cce 675#navigator-toolbox:not([iconsize]) #open-file-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
676 -moz-image-region: rect(18px, 234px, 36px, 216px);
677}
678
fd291cce 679#navigator-toolbox:not([iconsize]) #save-page-button[cui-areatype="toolbar"] {
43cc2806
RK
680 -moz-image-region: rect(0, 252px, 18px, 234px);
681}
682
fd291cce 683#navigator-toolbox:not([iconsize]) #save-page-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
684 -moz-image-region: rect(18px, 252px, 36px, 234px);
685}
686
fd291cce 687#navigator-toolbox:not([iconsize]) #sync-button[cui-areatype="toolbar"] {
43cc2806
RK
688 -moz-image-region: rect(0, 270px, 18px, 252px);
689}
690
fd291cce 691#navigator-toolbox:not([iconsize]) #sync-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
692 -moz-image-region: rect(18px, 270px, 36px, 252px);
693}
694
fd291cce 695#navigator-toolbox:not([iconsize]) #feed-button[cui-areatype="toolbar"] {
43cc2806
RK
696 -moz-image-region: rect(0, 288px, 18px, 270px);
697}
698
fd291cce 699#navigator-toolbox:not([iconsize]) #feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
43cc2806
RK
700 -moz-image-region: rect(18px, 288px, 36px, 270px);
701}
702
fd291cce 703#navigator-toolbox:not([iconsize]) #feed-button[cui-areatype="toolbar"][disabled="true"] {
cc4b0b0d
RK
704 -moz-image-region: rect(36px, 288px, 54px, 270px);
705}
706
fd291cce 707#navigator-toolbox:not([iconsize]) #social-share-button[cui-areatype="toolbar"] {
43cc2806
RK
708 -moz-image-region: rect(0px, 306px, 18px, 288px);
709}
710
fd291cce 711#navigator-toolbox:not([iconsize]) #social-share-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
712 -moz-image-region: rect(18px, 306px, 36px, 288px);
713}
714
fd291cce 715#navigator-toolbox:not([iconsize]) #email-link-button[cui-areatype="toolbar"] {
43cc2806
RK
716 -moz-image-region: rect(0, 306px, 18px, 288px);
717 /* This is temporary until we have an email-link icon (Bug 932235) */
718 transform: scale(-1, -1);
719}
720
fd291cce 721#navigator-toolbox:not([iconsize]) #email-link-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
722 -moz-image-region: rect(18px, 306px, 36px, 288px);
723}
724
fd291cce 725#navigator-toolbox:not([iconsize]) #characterencoding-button[cui-areatype="toolbar"] {
43cc2806
RK
726 -moz-image-region: rect(0, 324px, 18px, 306px);
727}
728
fd291cce
RK
729#navigator-toolbox:not([iconsize]) #characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
730#navigator-toolbox:not([iconsize]) #characterencoding-button[cui-areatype="toolbar"][open="true"] {
43cc2806
RK
731 -moz-image-region: rect(18px, 324px, 36px, 306px);
732}
733
fd291cce 734#navigator-toolbox:not([iconsize]) #characterencoding-button[cui-areatype="toolbar"][disabled="true"] {
cc4b0b0d
RK
735 -moz-image-region: rect(36px, 324px, 54px, 306px);
736}
737
fd291cce 738#navigator-toolbox:not([iconsize]) #new-window-button[cui-areatype="toolbar"] {
43cc2806
RK
739 -moz-image-region: rect(0, 342px, 18px, 324px);
740}
741
fd291cce 742#navigator-toolbox:not([iconsize]) #new-window-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
743 -moz-image-region: rect(18px, 342px, 36px, 324px);
744}
745
fd291cce 746#navigator-toolbox:not([iconsize]) #new-tab-button[cui-areatype="toolbar"] {
43cc2806
RK
747 -moz-image-region: rect(0, 360px, 18px, 342px);
748}
749
fd291cce 750#navigator-toolbox:not([iconsize]) #new-tab-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
751 -moz-image-region: rect(18px, 360px, 36px, 342px);
752}
753
fd291cce 754#navigator-toolbox:not([iconsize]) #privatebrowsing-button[cui-areatype="toolbar"] {
43cc2806
RK
755 -moz-image-region: rect(0, 378px, 18px, 360px);
756}
757
fd291cce 758#navigator-toolbox:not([iconsize]) #privatebrowsing-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
759 -moz-image-region: rect(18px, 378px, 36px, 360px);
760}
761
fd291cce 762#navigator-toolbox:not([iconsize]) #find-button[cui-areatype="toolbar"] {
43cc2806
RK
763 -moz-image-region: rect(0, 396px, 18px, 378px);
764}
765
fd291cce 766#navigator-toolbox:not([iconsize]) #find-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
767 -moz-image-region: rect(18px, 396px, 36px, 378px);
768}
769
fd291cce 770#navigator-toolbox:not([iconsize]) #print-button[cui-areatype="toolbar"] {
43cc2806
RK
771 -moz-image-region: rect(0, 414px, 18px, 396px);
772}
773
fd291cce 774#navigator-toolbox:not([iconsize]) #print-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
775 -moz-image-region: rect(18px, 414px, 36px, 396px);
776}
777
fd291cce 778#navigator-toolbox:not([iconsize]) #fullscreen-button[cui-areatype="toolbar"] {
43cc2806
RK
779 -moz-image-region: rect(0, 432px, 18px, 414px);
780}
781
fd291cce 782#navigator-toolbox:not([iconsize]) #fullscreen-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
783 -moz-image-region: rect(18px, 432px, 36px, 414px);
784}
785
fd291cce 786#navigator-toolbox:not([iconsize]) #developer-button[cui-areatype="toolbar"] {
43cc2806
RK
787 -moz-image-region: rect(0, 450px, 18px, 432px);
788}
789
fd291cce
RK
790#navigator-toolbox:not([iconsize]) #developer-button[cui-areatype="toolbar"]:hover,
791#navigator-toolbox:not([iconsize]) #developer-button[cui-areatype="toolbar"][open="true"] {
43cc2806
RK
792 -moz-image-region: rect(18px, 450px, 36px, 432px);
793}
794
fd291cce 795#navigator-toolbox:not([iconsize]) #preferences-button[cui-areatype="toolbar"] {
43cc2806
RK
796 -moz-image-region: rect(0, 468px, 18px, 450px);
797}
798
fd291cce 799#navigator-toolbox:not([iconsize]) #preferences-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
800 -moz-image-region: rect(18px, 468px, 36px, 450px);
801}
802
fd291cce 803#navigator-toolbox:not([iconsize]) #PanelUI-menu-button {
43cc2806
RK
804 -moz-image-region: rect(0, 486px, 18px, 468px);
805}
806
fd291cce
RK
807#navigator-toolbox:not([iconsize]) #PanelUI-menu-button:hover,
808#navigator-toolbox:not([iconsize]) #PanelUI-menu-button[open="true"] {
43cc2806
RK
809 -moz-image-region: rect(18px, 486px, 36px, 468px);
810}
811
fd291cce 812#navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #cut-button {
43cc2806
RK
813 -moz-image-region: rect(0, 504px, 18px, 486px);
814}
815
fd291cce 816#navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #cut-button:hover:not([disabled="true"]) {
43cc2806
RK
817 -moz-image-region: rect(18px, 504px, 36px, 486px);
818}
819
fd291cce 820#navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #cut-button[disabled="true"] {
cc4b0b0d
RK
821 -moz-image-region: rect(36px, 504px, 54px, 486px);
822}
823
fd291cce 824#navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #copy-button {
43cc2806
RK
825 -moz-image-region: rect(0, 522px, 18px, 504px);
826}
827
fd291cce 828#navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #copy-button:hover:not([disabled="true"]) {
43cc2806
RK
829 -moz-image-region: rect(18px, 522px, 36px, 504px);
830}
831
fd291cce 832#navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #copy-button[disabled="true"] {
cc4b0b0d
RK
833 -moz-image-region: rect(36px, 522px, 54px, 504px);
834}
835
fd291cce 836#navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #paste-button {
43cc2806
RK
837 -moz-image-region: rect(0, 540px, 18px, 522px);
838}
839
fd291cce 840#navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #paste-button:hover:not([disabled="true"]) {
43cc2806
RK
841 -moz-image-region: rect(18px, 540px, 36px, 522px);
842}
843
fd291cce 844#navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #paste-button[disabled="true"] {
cc4b0b0d
RK
845 -moz-image-region: rect(36px, 540px, 54px, 522px);
846}
847
fd291cce 848#navigator-toolbox:not([iconsize]) #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #zoom-out-button {
43cc2806
RK
849 -moz-image-region: rect(0, 558px, 18px, 540px);
850}
851
fd291cce 852#navigator-toolbox:not([iconsize]) #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #zoom-out-button:hover:not([disabled="true"]) {
43cc2806
RK
853 -moz-image-region: rect(18px, 558px, 36px, 540px);
854}
855
fd291cce 856#navigator-toolbox:not([iconsize]) #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #zoom-out-button[disabled="true"] {
cc4b0b0d
RK
857 -moz-image-region: rect(36px, 558px, 54px, 540px);
858}
859
fd291cce 860#navigator-toolbox:not([iconsize]) #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #zoom-in-button {
43cc2806
RK
861 -moz-image-region: rect(0, 576px, 18px, 558px);
862}
863
fd291cce 864#navigator-toolbox:not([iconsize]) #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #zoom-in-button:hover:not([disabled="true"]) {
43cc2806
RK
865 -moz-image-region: rect(18px, 576px, 36px, 558px);
866}
867
fd291cce 868#navigator-toolbox:not([iconsize]) #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #zoom-in-button[disabled="true"] {
cc4b0b0d
RK
869 -moz-image-region: rect(36px, 576px, 54px, 558px);
870}
871
fd291cce 872#navigator-toolbox:not([iconsize]) #webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) {
43cc2806
RK
873 -moz-image-region: rect(0, 594px, 18px, 576px);
874}
875
fd291cce
RK
876#navigator-toolbox:not([iconsize]) #webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)):hover,
877#navigator-toolbox:not([iconsize]) #webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem))[open="true"] {
43cc2806
RK
878 -moz-image-region: rect(18px, 594px, 36px, 576px);
879}
880
fd291cce 881#navigator-toolbox:not([iconsize]) #nav-bar-overflow-button {
43cc2806
RK
882 -moz-image-region: rect(0, 612px, 18px, 594px);
883}
884
fd291cce
RK
885#navigator-toolbox:not([iconsize]) #nav-bar-overflow-button:hover,
886#navigator-toolbox:not([iconsize]) #nav-bar-overflow-button[open="true"] {
43cc2806
RK
887 -moz-image-region: rect(18px, 612px, 36px, 594px);
888}
889
890/* === END toolbarbuttons.inc.css === */
891
892/* === BEGIN menupanel.inc.css === */
893
894/* Menu panel and palette styles */
895
896/* Remove |:-moz-any(#customization-palette, #panelUI-contents)| selector when Australis lands - this makes it only apply post-Australis as those elements only exist there */
897:-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, #new-tab-button, #new-window-button,
898 #cut-button, #copy-button, #paste-button, #fullscreen-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #sync-button, #feed-button,
899 #tabview-button, #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button, #preferences-button,
900 #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, #history-panelmenu, #nav-bar-overflow-button,
901 #PanelUI-menu-button, #characterencoding-button, #email-link-button)[cui-areatype="menu-panel"],
902:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, #new-tab-button, #new-window-button,
903 #cut-button, #copy-button, #paste-button, #fullscreen-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #sync-button, #feed-button,
904 #tabview-button, #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button, #preferences-button,
905 #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, #history-panelmenu, #nav-bar-overflow-button,
906 #PanelUI-menu-button, #characterencoding-button, #email-link-button) {
907 list-style-image: url("chrome://browser/skin/menuPanel.png");
908}
909
910#home-button[cui-areatype="menu-panel"],
911:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #home-button {
912 -moz-image-region: rect(0px, 128px, 32px, 96px);
913}
914
cc4b0b0d
RK
915#home-button[cui-areatype="menu-panel"]:hover,
916:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #home-button:hover {
917 -moz-image-region: rect(32px, 128px, 64px, 96px);
918}
919
43cc2806
RK
920#bookmarks-menu-button[cui-areatype="menu-panel"],
921:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #bookmarks-menu-button {
922 -moz-image-region: rect(0px, 160px, 32px, 128px);
923}
924
cc4b0b0d
RK
925#bookmarks-menu-button[cui-areatype="menu-panel"]:hover,
926:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover {
927 -moz-image-region: rect(32px, 160px, 64px, 128px);
928}
929
43cc2806
RK
930#bookmarks-menu-button[starred][cui-areatype="menu-panel"] {
931 -moz-image-region: rect(0px, 192px, 32px, 160px);
932}
933
cc4b0b0d
RK
934#bookmarks-menu-button[starred][cui-areatype="menu-panel"]:hover {
935 -moz-image-region: rect(32px, 192px, 64px, 160px);
936}
937
43cc2806
RK
938#history-panelmenu[cui-areatype="menu-panel"],
939:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #history-panelmenu {
940 -moz-image-region: rect(0px, 224px, 32px, 192px);
941}
942
cc4b0b0d
RK
943#history-panelmenu[cui-areatype="menu-panel"]:hover,
944:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #history-panelmenu:hover {
945 -moz-image-region: rect(32px, 224px, 64px, 192px);
946}
947
43cc2806
RK
948#downloads-button[cui-areatype="menu-panel"],
949#downloads-indicator[cui-areatype="menu-panel"],
950:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #downloads-button {
951 -moz-image-region: rect(0px, 256px, 32px, 224px);
952}
953
cc4b0b0d
RK
954#downloads-button[cui-areatype="menu-panel"]:hover,
955#downloads-indicator[cui-areatype="menu-panel"]:hover,
956:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #downloads-button:hover {
957 -moz-image-region: rect(32px, 256px, 64px, 224px);
958}
959
43cc2806
RK
960#switch-to-metro-button[cui-areatype="menu-panel"],
961:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #switch-to-metro-button {
962 -moz-image-region: rect(0px, 800px, 32px, 768px);
963}
964
cc4b0b0d
RK
965#switch-to-metro-button[cui-areatype="menu-panel"]:hover,
966:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #switch-to-metro-button:hover {
967 -moz-image-region: rect(32px, 800px, 64px, 768px);
968}
969
43cc2806
RK
970#add-ons-button[cui-areatype="menu-panel"],
971:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #add-ons-button {
972 -moz-image-region: rect(0px, 288px, 32px, 256px);
973}
974
cc4b0b0d
RK
975#add-ons-button[cui-areatype="menu-panel"]:hover,
976:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #add-ons-button:hover {
977 -moz-image-region: rect(32px, 288px, 64px, 256px);
978}
979
43cc2806
RK
980#open-file-button[cui-areatype="menu-panel"],
981:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #open-file-button {
982 -moz-image-region: rect(0px, 320px, 32px, 288px);
983}
984
cc4b0b0d
RK
985#open-file-button[cui-areatype="menu-panel"]:hover,
986:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #open-file-button:hover {
987 -moz-image-region: rect(32px, 320px, 64px, 288px);
988}
989
43cc2806
RK
990#save-page-button[cui-areatype="menu-panel"],
991:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #save-page-button {
992 -moz-image-region: rect(0px, 352px, 32px, 320px);
993}
994
cc4b0b0d
RK
995#save-page-button[cui-areatype="menu-panel"]:hover,
996:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #save-page-button:hover {
997 -moz-image-region: rect(32px, 352px, 64px, 320px);
998}
999
43cc2806
RK
1000#sync-button[cui-areatype="menu-panel"],
1001:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #sync-button {
1002 -moz-image-region: rect(0px, 384px, 32px, 352px);
1003}
1004
cc4b0b0d
RK
1005#sync-button[cui-areatype="menu-panel"]:hover,
1006:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #sync-button:hover {
1007 -moz-image-region: rect(32px, 384px, 64px, 352px);
1008}
1009
43cc2806
RK
1010#feed-button[cui-areatype="menu-panel"],
1011:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #feed-button {
1012 -moz-image-region: rect(0px, 416px, 32px, 384px);
1013}
1014
cc4b0b0d
RK
1015#feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1016:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) {
1017 -moz-image-region: rect(32px, 416px, 64px, 384px);
1018}
1019
1020#feed-button[cui-areatype="menu-panel"][disabled="true"],
1021:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] {
1022 -moz-image-region: rect(64px, 416px, 96px, 384px);
1023}
1024
43cc2806
RK
1025#social-share-button[cui-areatype="menu-panel"],
1026:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #social-share-button {
1027 -moz-image-region: rect(0px, 448px, 32px, 416px);
1028}
1029
cc4b0b0d
RK
1030#social-share-button[cui-areatype="menu-panel"]:hover,
1031:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #social-share-button:hover {
1032 -moz-image-region: rect(32px, 448px, 64px, 416px);
1033}
1034
43cc2806
RK
1035#email-link-button[cui-areatype="menu-panel"],
1036:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #email-link-button {
1037 -moz-image-region: rect(0, 448px, 32px, 416px);
1038}
1039
cc4b0b0d
RK
1040#email-link-button[cui-areatype="menu-panel"]:hover,
1041:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #email-link-button:hover {
fd291cce 1042 -moz-image-region: rect(32px, 448px, 64px, 416px);
cc4b0b0d
RK
1043}
1044
43cc2806
RK
1045/* This is temporary until we have an email-link icon (Bug 932235) */
1046#email-link-button[cui-areatype="menu-panel"] > image,
1047:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #email-link-button > image {
1048 transform: scale(-1, -1);
1049}
1050
1051#characterencoding-button[cui-areatype="menu-panel"],
1052:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #characterencoding-button {
1053 -moz-image-region: rect(0px, 480px, 32px, 448px);
1054}
1055
cc4b0b0d
RK
1056#characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1057:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) {
1058 -moz-image-region: rect(32px, 480px, 64px, 448px);
1059}
1060
1061#characterencoding-button[cui-areatype="menu-panel"][disabled="true"],
1062:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] {
1063 -moz-image-region: rect(64px, 480px, 96px, 448px);
1064}
1065
43cc2806
RK
1066#new-window-button[cui-areatype="menu-panel"],
1067:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #new-window-button {
1068 -moz-image-region: rect(0px, 512px, 32px, 480px);
1069}
1070
cc4b0b0d
RK
1071#new-window-button[cui-areatype="menu-panel"]:hover,
1072:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #new-window-button:hover {
1073 -moz-image-region: rect(32px, 512px, 64px, 480px);
1074}
1075
43cc2806
RK
1076#new-tab-button[cui-areatype="menu-panel"],
1077:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #new-tab-button {
1078 -moz-image-region: rect(0px, 544px, 32px, 512px);
1079}
1080
cc4b0b0d
RK
1081#new-tab-button[cui-areatype="menu-panel"]:hover,
1082:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #new-tab-button:hover {
1083 -moz-image-region: rect(32px, 544px, 64px, 512px);
1084}
1085
43cc2806
RK
1086#privatebrowsing-button[cui-areatype="menu-panel"],
1087:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #privatebrowsing-button {
1088 -moz-image-region: rect(0px, 576px, 32px, 544px);
1089}
1090
cc4b0b0d
RK
1091#privatebrowsing-button[cui-areatype="menu-panel"]:hover,
1092:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover {
1093 -moz-image-region: rect(32px, 576px, 64px, 544px);
1094}
1095
43cc2806
RK
1096#find-button[cui-areatype="menu-panel"],
1097:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #find-button {
1098 -moz-image-region: rect(0px, 640px, 32px, 608px);
1099}
1100
cc4b0b0d
RK
1101#find-button[cui-areatype="menu-panel"]:hover,
1102:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #find-button:hover {
1103 -moz-image-region: rect(32px, 640px, 64px, 608px);
1104}
1105
43cc2806
RK
1106#print-button[cui-areatype="menu-panel"],
1107:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #print-button {
1108 -moz-image-region: rect(0px, 672px, 32px, 640px);
1109}
1110
cc4b0b0d
RK
1111#print-button[cui-areatype="menu-panel"]:hover,
1112:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #print-button:hover {
1113 -moz-image-region: rect(32px, 672px, 64px, 640px);
1114}
1115
43cc2806
RK
1116#fullscreen-button[cui-areatype="menu-panel"],
1117:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #fullscreen-button {
1118 -moz-image-region: rect(0px, 704px, 32px, 672px);
1119}
1120
cc4b0b0d
RK
1121#fullscreen-button[cui-areatype="menu-panel"]:hover,
1122:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #fullscreen-button:hover {
1123 -moz-image-region: rect(32px, 704px, 64px, 672px);
1124}
1125
43cc2806
RK
1126#developer-button[cui-areatype="menu-panel"],
1127:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #developer-button {
1128 -moz-image-region: rect(0px, 736px, 32px, 704px);
1129}
1130
cc4b0b0d
RK
1131#developer-button[cui-areatype="menu-panel"]:hover,
1132:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #developer-button:hover {
1133 -moz-image-region: rect(32px, 736px, 64px, 704px);
1134}
1135
43cc2806
RK
1136#preferences-button[cui-areatype="menu-panel"],
1137:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #preferences-button {
1138 -moz-image-region: rect(0px, 768px, 32px, 736px);
1139}
1140
cc4b0b0d
RK
1141#preferences-button[cui-areatype="menu-panel"]:hover,
1142:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #preferences-button:hover {
1143 -moz-image-region: rect(32px, 768px, 64px, 736px);
1144}
1145
43cc2806
RK
1146/* Wide panel control icons */
1147
1148#edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > toolbarbutton,
1149#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > toolbarbutton,
1150:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton,
1151:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton {
1152 list-style-image: url("chrome://browser/skin/menuPanel-small.png");
1153}
1154
1155#edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #cut-button,
1156:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button {
1157 -moz-image-region: rect(0px, 32px, 16px, 16px);
1158}
1159
cc4b0b0d
RK
1160#edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #cut-button:hover:not([disabled="true"]),
1161:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) {
1162 -moz-image-region: rect(16px, 32px, 32px, 16px);
1163}
1164
1165#edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #cut-button[disabled="true"],
1166:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] {
1167 -moz-image-region: rect(32px, 32px, 48px, 16px);
1168}
1169
43cc2806
RK
1170#edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #copy-button,
1171:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button {
1172 -moz-image-region: rect(0px, 48px, 16px, 32px);
1173}
1174
cc4b0b0d
RK
1175#edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #copy-button:hover:not([disabled="true"]),
1176:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) {
1177 -moz-image-region: rect(16px, 48px, 32px, 32px);
1178}
1179
1180#edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #copy-button[disabled="true"],
1181:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] {
1182 -moz-image-region: rect(32px, 48px, 48px, 32px);
1183}
1184
43cc2806
RK
1185#edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #paste-button,
1186:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button {
1187 -moz-image-region: rect(0px, 64px, 16px, 48px);
1188}
1189
cc4b0b0d
RK
1190#edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #paste-button:hover:not([disabled="true"]),
1191:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) {
1192 -moz-image-region: rect(16px, 64px, 32px, 48px);
1193}
1194
1195#edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #paste-button[disabled="true"],
1196:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] {
1197 -moz-image-region: rect(32px, 64px, 48px, 48px);
1198}
1199
43cc2806
RK
1200#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #zoom-out-button,
1201:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button {
1202 -moz-image-region: rect(0px, 80px, 16px, 64px);
1203}
1204
cc4b0b0d
RK
1205#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #zoom-out-button:hover:not([disabled="true"]),
1206:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) {
1207 -moz-image-region: rect(16px, 80px, 32px, 64px);
1208}
1209
1210#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #zoom-out-button[disabled="true"],
1211:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] {
1212 -moz-image-region: rect(32px, 80px, 48px, 64px);
1213}
1214
43cc2806
RK
1215#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #zoom-in-button,
1216:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button {
1217 -moz-image-region: rect(0px, 96px, 16px, 80px);
1218}
1219
cc4b0b0d
RK
1220#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #zoom-in-button:hover:not([disabled="true"]),
1221:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) {
1222 -moz-image-region: rect(16px, 96px, 32px, 80px);
1223}
1224
1225#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #zoom-in-button[disabled="true"],
1226:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] {
1227 -moz-image-region: rect(32px, 96px, 48px, 80px);
1228}
1229
43cc2806
RK
1230/* === END menupanel.inc.css === */
1231
63ada306 1232.toolbarbutton-1 {
a736ce46 1233 list-style-image: url("chrome://browser/skin/FxToolbar.png");
63ada306
RK
1234}
1235
1236.toolbarbutton-1:not([type="menu-button"]) {
1237 -moz-box-orient: vertical;
1238}
1239
319c6529
RK
1240.toolbarbutton-1,
1241.toolbarbutton-1 > .toolbarbutton-menubutton-button {
1242 min-width: 36px;
1243 min-height: 36px;
319c6529
RK
1244}
1245
ab799a7a
RK
1246.toolbarbutton-1:not([type="menu-button"]) {
1247 -moz-box-orient: vertical;
319c6529
RK
1248}
1249
1250.toolbarbutton-1,
1251.toolbarbutton-1 > .toolbarbutton-menubutton-button,
1252.toolbarbutton-1[disabled="true"]:hover:active,
1253.toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
1254 padding: 1px 2px;
1255}
1256
1257.toolbarbutton-1:hover:active,
1258.toolbarbutton-1[open="true"],
1259.toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
1260 padding-top: 2px;
1261 padding-bottom: 0px;
1262 -moz-padding-start: 3px;
1263 -moz-padding-end: 1px;
1264}
1265
319c6529
RK
1266/* ::::: small primary toolbar buttons ::::: */
1267
9abeb12c
RK
1268#nav-bar {
1269 /* force iconsize="small" on this toolbar */
1270 counter-reset: smallicons;
1271}
1272
319c6529
RK
1273toolbar[mode="text"] .toolbarbutton-1,
1274toolbar[mode="icons"] .toolbarbutton-1,
1275toolbar[iconsize="small"] .toolbarbutton-1,
1276:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1,
1277toolbar[mode="text"] .toolbarbutton-menubutton-button,
1278toolbar[mode="icons"] .toolbarbutton-menubutton-button,
1279toolbar[iconsize="small"] .toolbarbutton-menubutton-button,
1280:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1281 min-width: 0px;
1282 min-height: 0px;
1283}
1284
1285toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker {
1286 padding-top: 4px;
1287 padding-bottom: 8px;
1288 -moz-padding-start: 1px;
1289 -moz-padding-end: 1px;
1290}
1291
1292toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker,
1293toolbar[iconsize="small"] .toolbarbutton-menubutton-dropmarker,
1294:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1295 padding-top: 0px;
1296 padding-bottom: 13px;
1297 -moz-padding-start: 1px;
1298 -moz-padding-end: 1px;
1299}
1300
1301toolbar[mode="text"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
1302toolbar[mode="text"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
1303 padding-top: 5px;
1304 padding-bottom: 7px;
43cc2806
RK
1305 -moz-padding-start: 2px;
1306 -moz-padding-end: 0px;
319c6529
RK
1307}
1308
1309toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
1310toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
1311toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
1312toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
1313:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
1314:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
1315 padding-top: 1px;
1316 padding-bottom: 12px;
43cc2806
RK
1317 -moz-padding-start: 2px;
1318 -moz-padding-end: 0px;
319c6529
RK
1319}
1320
1321toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker[disabled="true"] {
1322 padding-top: 4px !important;
1323 padding-bottom: 8px !important;
1324 -moz-padding-start: 1px !important;
1325 -moz-padding-end: 1px !important;
1326}
1327
1328toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker[disabled="true"],
1329toolbar[iconsize="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] {
1330 padding-top: 0px !important;
1331 padding-bottom: 13px !important;
1332 -moz-padding-start: 1px !important;
1333 -moz-padding-end: 1px !important;
1334}
1335
1336toolbar[mode="icons"] .toolbarbutton-text,
1337toolbar[mode="text"] .toolbarbutton-icon {
1338 display: none;
1339}
1340
1341toolbar[mode="text"] .toolbarbutton-text {
1342 padding: 4px 0;
1343}
1344
1345toolbar[mode="text"] .toolbarbutton-1,
1346toolbar[mode="text"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1347 -moz-box-orient: horizontal;
1348}
1349
1350toolbar[mode="full"] .toolbarbutton-1,
1351toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1352 min-width: 30px;
1353}
1354
d54f5b23 1355#navigator-toolbox[iconsize=small] > #nav-bar {
d54f5b23
RK
1356}
1357
1358#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar {
d54f5b23
RK
1359}
1360
1361
319c6529
RK
1362/* unified back/forward button */
1363
1364#back-button {
1365 -moz-image-region: rect(0, 18px, 18px, 0);
1366 -moz-margin-end: 0;
1367}
1368
38cfeb47
RK
1369#back-button:not([disabled="true"]):hover {
1370 -moz-image-region: rect(18px, 18px, 36px, 0);
1371}
1372
1373#back-button[disabled="true"] {
1374 -moz-image-region: rect(36px, 18px, 54px, 0);
1375}
1376
319c6529
RK
1377#forward-button {
1378 -moz-image-region: rect(0, 36px, 18px, 18px);
1379 border-left: none;
1380 -moz-margin-start: 0;
1381}
1382
38cfeb47
RK
1383#forward-button:not([disabled="true"]):hover {
1384 -moz-image-region: rect(18px, 36px, 36px, 18px);
1385}
1386
1387#forward-button[disabled="true"] {
1388 -moz-image-region: rect(36px, 36px, 54px, 18px);
b36fc72e
RK
1389}
1390
319c6529
RK
1391#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
1392#forward-button:-moz-locale-dir(rtl),
1393#forward-button:-moz-locale-dir(rtl) > .toolbarbutton-text {
71a617ff 1394 transform: scaleX(-1);
319c6529
RK
1395}
1396
b36fc72e
RK
1397#nav-bar #back-button {
1398 -moz-margin-end: 0 !important;
1399}
1400
1401#nav-bar #forward-button {
1402 border-left-style: none;
1403 -moz-margin-start: 0 !important;
1404}
1405
1406#nav-bar #back-button:-moz-locale-dir(ltr) {
319c6529
RK
1407 border-top-right-radius: 0;
1408 border-bottom-right-radius: 0;
1409}
1410
b36fc72e
RK
1411#nav-bar #back-button:-moz-locale-dir(rtl),
1412#nav-bar #forward-button {
319c6529
RK
1413 border-top-left-radius: 0;
1414 border-bottom-left-radius: 0;
1415}
1416
43cc2806
RK
1417/* Remove selector when Australis lands - this makes it only apply post-Australis as back/forward buttons are in the urlbar-container there */
1418#urlbar-container > #back-button,
676f0091
RK
1419window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1420 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1421 #unified-back-forward-button > #back-button {
319c6529
RK
1422 border-radius: 10000px;
1423 width: 30px;
1424 height: 30px;
1425 position: relative;
1426 z-index: 1;
1427 margin-top: -2px;
1428 margin-bottom: -2px;
1429 border: none;
38cfeb47
RK
1430 -moz-image-region: rect(54px, 20px, 74px, 0);
1431}
1432
43cc2806
RK
1433/* Remove selector when Australis lands - this makes it only apply post-Australis as back/forward buttons are in the urlbar-container there */
1434#urlbar-container > #back-button[open="true"],
676f0091
RK
1435window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1436 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1437 #unified-back-forward-button > #back-button:not([disabled="true"]):hover,
1438window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1439 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1440 #unified-back-forward-button > #back-button[open="true"] {
38cfeb47
RK
1441 -moz-image-region: rect(54px, 40px, 74px, 20px);
1442}
1443
43cc2806
RK
1444/* Remove selector when Australis lands - this makes it only apply post-Australis as back/forward buttons are in the urlbar-container there */
1445#urlbar-container > #back-button[disabled="true"],
676f0091
RK
1446window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1447 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1448 #unified-back-forward-button > #back-button[disabled="true"] {
38cfeb47 1449 -moz-image-region: rect(54px, 60px, 74px, 40px);
319c6529
RK
1450}
1451
676f0091
RK
1452window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1453 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1454 #unified-back-forward-button > #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover {
319c6529
RK
1455}
1456
676f0091
RK
1457window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1458 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1459 #unified-back-forward-button > #back-button:not([disabled="true"]):hover:active,
1460window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1461 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1462 #unified-back-forward-button > #back-button[open="true"] {
319c6529
RK
1463}
1464
9abeb12c
RK
1465#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar[currentset*="unified-back-forward-button"],
1466#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar:not([currentset]) {
319c6529
RK
1467/* padding-top: 3px;
1468 padding-bottom: 5px; */
1469}
1470
9abeb12c
RK
1471#navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar[currentset*="unified-back-forward-button"],
1472#navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar:not([currentset]) {
319c6529
RK
1473/* padding-top: 5px; */
1474}
1475
43cc2806
RK
1476/* Remove selector when Australis lands - this makes it only apply post-Australis as back/forward buttons are in the urlbar-container there */
1477#urlbar-container > #forward-button,
676f0091
RK
1478window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1479 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1480 #unified-back-forward-button > #forward-button {
319c6529 1481 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
2a5b7882 1482 /*clip-path: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-clip-path"); */
9abeb12c 1483 -moz-margin-start: -6px !important;
319c6529
RK
1484 padding-left: 7px;
1485 padding-right: 3px;
e8519ae0
RK
1486 margin-top: 2px;
1487 margin-bottom: 2px;
1488}
1489
43cc2806
RK
1490/* Remove selector when Australis lands - this makes it only apply post-Australis as back/forward buttons are in the urlbar-container there */
1491#urlbar-container > #forward-button:-moz-locale-dir(ltr),
676f0091
RK
1492window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1493 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1494 #unified-back-forward-button > #forward-button:-moz-locale-dir(ltr) {
e8519ae0
RK
1495 border-top-right-radius: 11px;
1496 border-bottom-right-radius: 11px;
1497}
1498
43cc2806
RK
1499/* Remove selector when Australis lands - this makes it only apply post-Australis as back/forward buttons are in the urlbar-container there */
1500#urlbar-container > #forward-button:-moz-locale-dir(rtl),
676f0091
RK
1501window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1502 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1503 #unified-back-forward-button > #forward-button:-moz-locale-dir(rtl) {
e8519ae0
RK
1504 border-top-left-radius: 11px;
1505 border-bottom-left-radius: 11px;
319c6529
RK
1506}
1507
319c6529
RK
1508.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
1509.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
71bac478
RK
1510 list-style-image: url("chrome://global/skin/arrow/arrow-left.gif") !important;
1511}
1512
1513.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr):hover,
1514.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl):hover {
1515 list-style-image: url("chrome://global/skin/arrow/arrow-left-hover.gif") !important;
319c6529
RK
1516}
1517
1518.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
1519.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
71bac478
RK
1520 list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important;
1521}
1522
1523.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr):hover,
1524.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl):hover {
1525 list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important;
319c6529
RK
1526}
1527
8ad8bf83
RK
1528window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1529 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1530 #unified-back-forward-button > #forward-button {
e8519ae0 1531/* border-top-right-radius: 0;
8ad8bf83 1532 border-bottom-right-radius: 0;
e8519ae0 1533 -moz-margin-end: 0; */
8ad8bf83
RK
1534}
1535
1536window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1537 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1538 #unified-back-forward-button:not([switchingtabs]) > #forward-button {
71a617ff 1539 transition: opacity 150ms ease-out;
8ad8bf83
RK
1540}
1541
1542window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1543 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1544 #unified-back-forward-button:not(:hover) > #forward-button[disabled] {
1545 opacity: 0;
1546}
1547
e8519ae0
RK
1548window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1549 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1550 #unified-back-forward-button:hover > #forward-button[disabled] {
1551 background-color: transparent;
1552}
1553
fd291cce
RK
1554/* A number of buttons use :-moz-any(#palette-box, #navigator-toolbox[iconsize]) - this makes it only apply pre-Australis as iconsize and the palette-box don't exist afterwards */
1555:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #stop-button {
319c6529
RK
1556 -moz-image-region: rect(0, 54px, 18px, 36px);
1557}
1558
fd291cce 1559:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #stop-button:not([disabled="true"]):hover {
143c5409
RK
1560 -moz-image-region: rect(18px, 54px, 36px, 36px);
1561}
1562
fd291cce 1563:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #stop-button[disabled="true"] {
143c5409
RK
1564 -moz-image-region: rect(36px, 54px, 54px, 36px);
1565}
1566
fd291cce 1567:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #reload-button {
319c6529
RK
1568 -moz-image-region: rect(0, 72px, 18px, 54px);
1569}
1570
fd291cce 1571:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #reload-button:not([disabled="true"]):hover {
143c5409
RK
1572 -moz-image-region: rect(18px, 72px, 36px, 54px);
1573}
1574
fd291cce 1575:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #reload-button[disabled="true"] {
143c5409
RK
1576 -moz-image-region: rect(36px, 72px, 54px, 54px);
1577}
1578
fd291cce 1579:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #home-button.bookmark-item {
a736ce46 1580 list-style-image: url("chrome://browser/skin/FxToolbar.png");
319c6529 1581}
fd291cce 1582:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #home-button {
319c6529
RK
1583 -moz-image-region: rect(0, 90px, 18px, 72px);
1584}
1585
fd291cce 1586:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #home-button:not([disabled="true"]):hover {
143c5409
RK
1587 -moz-image-region: rect(18px, 90px, 36px, 72px);
1588}
1589
fd291cce 1590:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #home-button[disabled="true"] {
143c5409
RK
1591 -moz-image-region: rect(36px, 90px, 54px, 72px);
1592}
1593
fd291cce 1594:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #downloads-button {
319c6529
RK
1595 -moz-image-region: rect(0, 108px, 18px, 90px);
1596}
1597
fd291cce 1598:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #downloads-button:not([disabled="true"]):hover {
143c5409
RK
1599 -moz-image-region: rect(18px, 108px, 36px, 90px);
1600}
1601
fd291cce 1602:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #downloads-button[disabled="true"] {
143c5409
RK
1603 -moz-image-region: rect(36px, 108px, 54px, 90px);
1604}
1605
36759a51
RK
1606#downloads-button > .toolbarbutton-icon {
1607 margin: 0;
1608}
1609
fd291cce 1610:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #history-button {
319c6529
RK
1611 -moz-image-region: rect(0, 126px, 18px, 108px);
1612}
1613
fd291cce 1614:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #history-button:not([disabled="true"]):hover {
143c5409
RK
1615 -moz-image-region: rect(18px, 126px, 36px, 108px);
1616}
1617
fd291cce 1618:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #history-button[disabled="true"] {
143c5409
RK
1619 -moz-image-region: rect(36px, 126px, 54px, 108px);
1620}
1621
fd291cce
RK
1622:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #bookmarks-button,
1623:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #bookmarks-menu-button {
a736ce46 1624 list-style-image: url("chrome://browser/skin/FxToolbar.png") !important; /* for making the palette work */
319c6529
RK
1625 -moz-image-region: rect(0, 144px, 18px, 126px);
1626}
1627
1628#bookmarks-menu-button.bookmark-item {
a736ce46 1629 /* list-style-image: url("chrome://browser/skin/FxToolbar.png"); */
319c6529
RK
1630}
1631
fd291cce 1632:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #bookmarks-menu-button.toolbarbutton-1 {
319c6529
RK
1633 -moz-box-orient: horizontal;
1634}
1635
fd291cce
RK
1636:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #bookmarks-button:not([disabled="true"]):hover,
1637:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #bookmarks-menu-button[open="true"],
1638:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #bookmarks-menu-button:not([disabled="true"]):hover {
143c5409
RK
1639 -moz-image-region: rect(18px, 144px, 36px, 126px);
1640}
1641
fd291cce
RK
1642:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #bookmarks-button[disabled="true"],
1643:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #bookmarks-menu-button[disabled="true"] {
143c5409
RK
1644 -moz-image-region: rect(36px, 144px, 54px, 126px);
1645}
1646
fd291cce 1647:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #print-button {
319c6529
RK
1648 -moz-image-region: rect(0, 162px, 18px, 144px);
1649}
1650
fd291cce 1651:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #print-button:not([disabled="true"]):hover {
143c5409
RK
1652 -moz-image-region: rect(18px, 162px, 36px, 144px);
1653}
1654
fd291cce 1655:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #print-button[disabled="true"] {
143c5409
RK
1656 -moz-image-region: rect(36px, 162px, 54px, 144px);
1657}
1658
fd291cce 1659:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #new-tab-button {
319c6529
RK
1660 -moz-image-region: rect(0, 180px, 18px, 162px);
1661}
1662
fd291cce 1663:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #new-tab-button:not([disabled="true"]):hover {
57fc408c 1664 -moz-image-region: rect(18px, 180px, 36px, 162px);
143c5409
RK
1665}
1666
fd291cce 1667:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #new-tab-button[disabled="true"] {
57fc408c 1668 -moz-image-region: rect(36px, 180px, 54px, 162px);
143c5409
RK
1669}
1670
fd291cce 1671:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #new-window-button {
319c6529
RK
1672 -moz-image-region: rect(0, 198px, 18px, 180px);
1673}
1674
fd291cce 1675:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #new-window-button:not([disabled="true"]):hover {
143c5409
RK
1676 -moz-image-region: rect(18px, 198px, 36px, 180px);
1677}
1678
fd291cce 1679:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #new-window-button[disabled="true"] {
143c5409
RK
1680 -moz-image-region: rect(36px, 198px, 54px, 180px);
1681}
1682
319c6529
RK
1683#cut-button {
1684 -moz-image-region: rect(0, 216px, 18px, 198px);
1685}
1686
143c5409
RK
1687#cut-button:not([disabled="true"]):hover {
1688 -moz-image-region: rect(18px, 216px, 36px, 198px);
1689}
1690
1691#cut-button[disabled="true"] {
1692 -moz-image-region: rect(36px, 216px, 54px, 198px);
1693}
1694
319c6529
RK
1695#copy-button {
1696 -moz-image-region: rect(0, 234px, 18px, 216px);
1697}
1698
143c5409
RK
1699#copy-button:not([disabled="true"]):hover {
1700 -moz-image-region: rect(18px, 234px, 36px, 216px);
1701}
1702
1703#copy-button[disabled="true"] {
1704 -moz-image-region: rect(36px, 234px, 54px, 216px);
1705}
1706
319c6529
RK
1707#paste-button {
1708 -moz-image-region: rect(0, 252px, 18px, 234px);
1709}
1710
143c5409
RK
1711#paste-button:not([disabled="true"]):hover {
1712 -moz-image-region: rect(18px, 252px, 36px, 234px);
1713}
1714
1715#paste-button[disabled="true"] {
1716 -moz-image-region: rect(36px, 252px, 54px, 234px);
1717}
1718
fd291cce 1719:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #fullscreen-button {
319c6529
RK
1720 -moz-image-region: rect(0, 270px, 18px, 252px);
1721}
1722
fd291cce 1723:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #fullscreen-button:not([disabled="true"]):hover {
143c5409
RK
1724 -moz-image-region: rect(18px, 270px, 36px, 252px);
1725}
1726
fd291cce 1727:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #fullscreen-button[disabled="true"] {
143c5409
RK
1728 -moz-image-region: rect(36px, 270px, 54px, 252px);
1729}
1730
319c6529
RK
1731#zoom-out-button {
1732 -moz-image-region: rect(0, 288px, 18px, 270px);
1733 -moz-margin-end: 0;
1734}
1735
1736#zoom-in-button {
1737 -moz-image-region: rect(0, 306px, 18px, 288px);
b36fc72e
RK
1738}
1739
143c5409
RK
1740#zoom-out-button:not([disabled="true"]):hover {
1741 -moz-image-region: rect(18px, 288px, 36px, 270px);
1742}
1743
1744#zoom-out-button[disabled="true"] {
1745 -moz-image-region: rect(36px, 288px, 54px, 270px);
1746}
1747
1748#zoom-in-button:not([disabled="true"]):hover {
1749 -moz-image-region: rect(18px, 306px, 36px, 288px);
1750}
1751
1752#zoom-in-button[disabled="true"] {
1753 -moz-image-region: rect(36px, 306px, 54px, 288px);
1754}
1755
fd291cce 1756:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #sync-button:not([status]) {
a736ce46 1757 list-style-image: url("chrome://browser/skin/FxToolbar.png") !important; /* for making the palette work */
319c6529
RK
1758 -moz-image-region: rect(0, 324px, 18px, 306px);
1759}
1760
fd291cce 1761:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #sync-button[status="active"] {
319c6529
RK
1762 list-style-image: url("chrome://browser/skin/sync-throbber.png");
1763 -moz-image-region: rect(0, 18px, 18px, 0);
1764}
1765
fd291cce 1766:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #sync-button[disabled="true"] {
143c5409
RK
1767 -moz-image-region: rect(36px, 324px, 54px, 306px);
1768}
1769
fd291cce 1770:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #feed-button {
319c6529
RK
1771 -moz-image-region: rect(0, 342px, 18px, 324px);
1772}
1773
fd291cce 1774:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #feed-button[disabled="true"] {
143c5409
RK
1775 -moz-image-region: rect(36px, 342px, 54px, 324px);
1776}
1777
fd291cce 1778:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #webrtc-status-button {
6adbc9a6
RK
1779 -moz-image-region: rect(0, 360px, 18px, 342px);
1780}
1781
fd291cce
RK
1782:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #webrtc-status-button:not([disabled="true"]):hover,
1783:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #webrtc-status-button[open="true"] {
6adbc9a6
RK
1784 -moz-image-region: rect(18px, 360px, 36px, 342px);
1785}
1786
fd291cce 1787:-moz-any(#palette-box, #navigator-toolbox[iconsize]) #webrtc-status-button[disabled="true"] {
6adbc9a6
RK
1788 -moz-image-region: rect(36px, 360px, 54px, 342px);
1789}
1790
1791/* tabview button & menu item */
1792
1793#tabview-button,
1794#menu_tabview {
fd291cce 1795 list-style-image: url("chrome://browser/skin/tabview/tabview.png") !important;
6adbc9a6
RK
1796}
1797
1798#tabview-button {
1799 -moz-image-region: rect(0, 90px, 18px, 72px);
1800}
1801
1802#tabview-button[groups="0"] {
1803 -moz-image-region: rect(0, 18px, 18px, 0);
1804}
1805
1806#tabview-button[groups="1"] {
1807 -moz-image-region: rect(0, 36px, 18px, 18px);
1808}
1809
1810#tabview-button[groups="2"] {
1811 -moz-image-region: rect(0, 54px, 18px, 36px);
1812}
1813
1814#tabview-button[groups="3"] {
1815 -moz-image-region: rect(0, 72px, 18px, 54px);
1816}
1817
1818#menu_tabview {
1819 -moz-image-region: rect(1px, 89px, 17px, 73px);
1820}
1821
1822#menu_tabview[groups="0"] {
1823 -moz-image-region: rect(1px, 17px, 17px, 1px);
1824}
1825
1826#menu_tabview[groups="1"] {
1827 -moz-image-region: rect(1px, 35px, 17px, 19px);
1828}
1829
1830#menu_tabview[groups="2"] {
1831 -moz-image-region: rect(1px, 53px, 17px, 37px);
1832}
1833
1834#menu_tabview[groups="3"] {
1835 -moz-image-region: rect(1px, 71px, 17px, 55px);
1836}
1837
319c6529
RK
1838/* ::::: fullscreen window controls ::::: */
1839
8d7ef0d9 1840#window-controls {
ab799a7a
RK
1841 -moz-margin-start: 4px;
1842}
1843
319c6529
RK
1844#minimize-button,
1845#restore-button,
1846#close-button {
1847/* padding: 0; */
1848}
1849
1850#minimize-button {
1851 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1852}
1853
1854#minimize-button:hover {
1855 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1856}
1857
1858#restore-button {
1859 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1860}
1861
1862#restore-button:hover {
1863 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1864}
1865
1866#close-button {
1867 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1868}
1869
1870#close-button:hover {
1871 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1872}
1873
1874/* ::::: Location Bar ::::: */
1875
319c6529
RK
1876#urlbar,
1877.searchbar-textbox {
1878 border-radius: 5px;
1879 margin: 0;
1880 -moz-margin-start: 3px;
1881}
1882
ffce2402
RK
1883#urlbar {
1884 width: 7em;
f0071a71
RK
1885 /* make color as light as possible to deal with dark non-domain parts */
1886 color: #FFBFFF;
ffce2402
RK
1887}
1888
319c6529
RK
1889#urlbar:-moz-lwtheme,
1890.searchbar-textbox:-moz-lwtheme {
1891 /* background-color: rgba(255,255,255,.8);
1892 @navbarTextboxCustomBorder@
1893 color: black; */
1894}
1895
8ad8bf83
RK
1896window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1897 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0
RK
1898 #unified-back-forward-button + #urlbar-container {
1899 padding-left: 22px;
1900 -moz-margin-start: -22px;
8ad8bf83
RK
1901 position: relative;
1902 pointer-events: none;
1903}
1904
1905window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1906 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0
RK
1907 #unified-back-forward-button + #urlbar-container > #urlbar {
1908/* -moz-border-start: none;
1909 margin-left: 0; */
8ad8bf83
RK
1910 pointer-events: all;
1911}
1912
1913window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1914 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1915 #unified-back-forward-button:not([switchingtabs]) + #urlbar-container > #urlbar {
71a617ff 1916 transition: margin-left 150ms ease-out;
8ad8bf83
RK
1917}
1918
1919window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1920 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0
RK
1921 #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(ltr) {
1922/* border-top-left-radius: 0;
1923 border-bottom-left-radius: 0; */
8ad8bf83
RK
1924}
1925
1926window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1927 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0
RK
1928 #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(rtl) {
1929/* border-top-right-radius: 0;
1930 border-bottom-right-radius: 0; */
8ad8bf83
RK
1931}
1932
8ad8bf83
RK
1933window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1934 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0
RK
1935 #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar {
1936 margin-left: -22px;
8ad8bf83
RK
1937}
1938
1939window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1940 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1941 #unified-back-forward-button[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar {
8ad8bf83 1942 /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
71a617ff 1943 transition-delay: 100s;
8ad8bf83
RK
1944}
1945
1946window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1947 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1948 #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar {
8ad8bf83 1949 /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
e8519ae0 1950 margin-left: -22.01px;
8ad8bf83
RK
1951}
1952
1953window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1954 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1955 #unified-back-forward-button + #urlbar-container:-moz-locale-dir(rtl),
8ad8bf83
RK
1956window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1957 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1958 #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(rtl) {
85cfb236 1959 /* let winstripe-urlbar-back-button-clip-path clip the urlbar's right side for RTL */
71a617ff 1960 transform: scaleX(-1);
8ad8bf83
RK
1961}
1962
a7145e95
RK
1963html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1964.searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
319c6529
RK
1965 color: #E7ADE7;
1966}
1967
1968#urlbar:-moz-lwtheme[focused="true"],
1969.searchbar-textbox:-moz-lwtheme[focused="true"] {
1970/* background-color: white; */
1971}
1972
1973#urlbar-container {
1974 -moz-box-orient: horizontal;
1975 -moz-box-align: stretch;
1976}
1977
9abeb12c
RK
1978.urlbar-textbox-container {
1979 -moz-box-align: stretch;
1980}
1981
a40f6a79
RK
1982.urlbar-input-box {
1983 -moz-margin-start: 0;
fcfb76ce 1984 min-width: 4em;
a40f6a79
RK
1985}
1986
319c6529 1987#urlbar-icons {
319c6529
RK
1988 -moz-box-align: center;
1989}
1990
1991.urlbar-icon {
b8384c33 1992 padding: 0 2px;
ffce2402
RK
1993}
1994
1995.searchbar-engine-button,
1996.search-go-container {
4b686546
RK
1997 padding: 2px;
1998}
1999
2000.search-go-container > .search-go-button {
2001 padding: 0;
319c6529
RK
2002}
2003
ffce2402
RK
2004.urlbar-icon:hover {
2005}
2006
2007.urlbar-icon[open="true"],
2008.urlbar-icon:hover:active {
2009}
2010
319c6529
RK
2011#urlbar-search-splitter {
2012 min-width: 6px;
2013 -moz-margin-start: -3px;
2014 border: none;
2015 background: transparent;
2016}
2017
f0071a71 2018#urlbar-search-splitter + #urlbar-container > #urlbar,
319c6529
RK
2019#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
2020 -moz-margin-start: 0;
2021}
2022
319c6529 2023#urlbar-display {
319c6529
RK
2024 -moz-border-end: 1px solid #9C9CFF;
2025 -moz-margin-end: 3px;
ab799a7a
RK
2026 margin-top: 0;
2027 margin-bottom: 0;
a40f6a79 2028 -moz-margin-start: 0;
ab799a7a
RK
2029 color: #8050B0;
2030}
2031
319c6529
RK
2032/* identity box */
2033
2034#identity-box {
319c6529 2035 border-radius: 2px;
85cfb236 2036 font-size: .9em;
319c6529
RK
2037}
2038
8ad8bf83 2039#notification-popup-box:not([hidden]) + #identity-box {
5517da5a 2040 -moz-padding-start: 10px !important;
8ad8bf83
RK
2041 border-radius: 0;
2042}
2043
2044window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
2045 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 2046 #unified-back-forward-button + #urlbar-container > #urlbar > #identity-box {
d15d08bf 2047/* border-radius: 0; */
2a5b7882
RK
2048 -moz-padding-start: 2px;
2049 -moz-padding-end: 2px;
2050 -moz-margin-end: 1px;
8ad8bf83
RK
2051}
2052
2053window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
2054 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 2055 #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
2a5b7882 2056 padding-left: 2px;
71a617ff 2057 transition: padding-left;
8ad8bf83
RK
2058}
2059
2060window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
2061 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 2062 #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
2a5b7882 2063 padding-right: 2px;
71a617ff 2064 transition: padding-right;
8ad8bf83
RK
2065}
2066
2067window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
2068 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 2069 #unified-back-forward-button[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box {
8ad8bf83 2070 /* forward button hiding is delayed when hovered */
71a617ff 2071 transition-delay: 100s;
8ad8bf83
RK
2072}
2073
2074window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
2075 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 2076 #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
8ad8bf83 2077 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2a5b7882 2078 padding-left: 2.01px;
8ad8bf83
RK
2079}
2080
2081window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
2082 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 2083 #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
8ad8bf83 2084 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2a5b7882 2085 padding-right: 2.01px;
8ad8bf83
RK
2086}
2087
56859d76
RK
2088#urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
2089#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
a40f6a79 2090 -moz-margin-end: 3px;
319c6529
RK
2091}
2092
56859d76 2093#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr),
37953ab4 2094#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) {
a40f6a79
RK
2095 border-top-right-radius: 0;
2096 border-bottom-right-radius: 0;
319c6529
RK
2097}
2098
56859d76 2099#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl),
37953ab4 2100#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
a40f6a79
RK
2101 border-top-left-radius: 0;
2102 border-bottom-left-radius: 0;
319c6529
RK
2103}
2104
a40f6a79
RK
2105#identity-box.verifiedIdentity:not(:-moz-lwtheme) {
2106 background-color: #000000;
319c6529
RK
2107}
2108
2109#identity-box:-moz-focusring {
2110 outline: 1px dotted #008484;
f993773d 2111 outline-offset: -1px;
319c6529
RK
2112}
2113
2114#identity-box.verifiedDomain:-moz-focusring,
2115#identity-box.verifiedIdentity:-moz-focusring {
2116 outline-color: #000000;
2117}
2118
2119#identity-icon-labels {
2120 -moz-margin-start: 1px;
2121 -moz-margin-end: 3px;
319c6529
RK
2122}
2123
2124/* Location bar dropmarker */
2125
38cfeb47 2126.urlbar-history-dropmarker:not(:hover):not([open="true"]) {
319c6529 2127 background-color: transparent;
319c6529
RK
2128}
2129
38cfeb47
RK
2130#urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker {
2131 border: none;
2132 border-radius: 0px;
319c6529
RK
2133}
2134
ffce2402
RK
2135.urlbar-history-dropmarker:hover {
2136}
2137
2138.urlbar-history-dropmarker:hover:active,
2139.urlbar-history-dropmarker[open="true"] {
2140}
2141
319c6529
RK
2142/* page proxy icon */
2143
e7c8bab1
RK
2144/* === BEGIN identity-block.inc.css === */
2145
2146#urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
2147 /* Default theme does different color per channel, we can't as they do it build-time. */
2148 color: #9C9CFF;
2149 -moz-border-end: 1px solid #9C9CFF;
2150}
2151
2152#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2153 color: #008484;
2154 -moz-border-end: 1px solid #008484;
2155}
2156
2157#urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
2158#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2159 background-position: right;
2160 background-size: 1px;
2161 background-repeat: no-repeat;
2162}
2163
2164/* page proxy icon */
2165
4d58ff64 2166#page-proxy-favicon {
319c6529
RK
2167 width: 16px;
2168 height: 16px;
a40f6a79 2169 list-style-image: url("chrome://browser/skin/identity-icons-generic.png");
e7c8bab1
RK
2170}
2171
2172.chromeUI > #page-proxy-favicon[pageproxystate="valid"] {
2173 list-style-image: url("chrome://branding/content/identity-icons-brand.png");
319c6529
RK
2174}
2175
2a5b7882 2176.verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
a40f6a79
RK
2177 list-style-image: url("chrome://browser/skin/identity-icons-https.png");
2178}
2179
2a5b7882 2180.verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
a40f6a79
RK
2181 list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png");
2182}
2183
56ab361a
RK
2184.mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
2185 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png");
2186}
2187
e7c8bab1
RK
2188.mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] {
2189 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
2190}
2191
2192.mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
2193 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
2194}
2195
2196#page-proxy-favicon[pageproxystate="invalid"] {
2197 opacity: 0.3;
2198}
2199
2200#identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
2201 list-style-image: url("chrome://branding/content/icon64.png");
2202}
2203
2204#identity-popup-brandName {
2205 font-weight: bold;
2206 font-size: 1.25em;
2207 margin-top: .5em;
2208 margin-bottom: .5em;
2209}
2210
2211#identity-popup-content-box {
2212 max-width: 50ch;
2213}
2214
2215/* === END identity-block.inc.css === */
2216
2217#page-proxy-favicon {
2218 -moz-image-region: rect(0, 16px, 16px, 0);
2219}
2220
2a5b7882 2221#identity-box:hover > #page-proxy-favicon {
a40f6a79
RK
2222 -moz-image-region: rect(0, 32px, 16px, 16px);
2223}
2224
2a5b7882
RK
2225#identity-box:hover:active > #page-proxy-favicon,
2226#identity-box[open=true] > #page-proxy-favicon {
a40f6a79 2227 -moz-image-region: rect(0, 48px, 16px, 32px);
acb0e9b8 2228}
2229
2a5b7882
RK
2230#identity-box:hover {
2231 background-color: #FFCF00;
7092015d 2232 color: #000000;
2a5b7882
RK
2233}
2234
2235#identity-box:hover:active,
2236#identity-box[open=true] {
2237 background-color: #FF9F00;
7092015d 2238 color: #000000;
2a5b7882
RK
2239}
2240
56859d76
RK
2241#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover,
2242#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active,
2243#urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] {
2244 background-color: #9C9CFF;
2245 color: #000000;
2246}
2247
387e6560
RK
2248#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
2249#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
2250#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
2a5b7882
RK
2251 background-color: #008484;
2252 color: #000000;
2253}
2254
319c6529
RK
2255/* autocomplete */
2256
319c6529
RK
2257#treecolAutoCompleteImage {
2258 max-width: 36px;
2259}
acb0e9b8 2260
319c6529
RK
2261.ac-result-type-bookmark,
2262.autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
71bac478 2263 list-style-image: url("chrome://browser/skin/places/bookmark.png");
319c6529 2264 -moz-image-region: rect(0px 16px 16px 0px);
c1f7cc84 2265 width: 16px;
319c6529 2266 height: 16px;
acb0e9b8 2267}
2268
319c6529
RK
2269.ac-result-type-keyword,
2270.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
2271 list-style-image: url("chrome://global/skin/icons/Search-glass.png");
2272 -moz-image-region: rect(0px 32px 16px 16px);
acb0e9b8 2273 width: 16px;
2274 height: 16px;
2275}
2276
319c6529
RK
2277.ac-result-type-tag,
2278.autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
8da9da4e 2279 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
c1f7cc84 2280 width: 16px;
319c6529
RK
2281 height: 16px;
2282}
acb0e9b8 2283
319c6529
RK
2284.ac-comment {
2285 font-size: 1.15em;
acb0e9b8 2286}
319c6529
RK
2287
2288.ac-extra > .ac-comment {
2289 font-size: inherit;
acb0e9b8 2290}
319c6529
RK
2291
2292.ac-url-text,
2293.ac-action-text {
2294 color: #9C9CFF;
acb0e9b8 2295}
319c6529
RK
2296
2297richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
2298 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
85cfb236
RK
2299 -moz-image-region: rect(0, 16px, 16px, 0);
2300 padding: 0 3px;
2301}
2302
2303richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
2304 -moz-image-region: rect(16px, 16px, 32px, 0);
acb0e9b8 2305}
2306
319c6529
RK
2307.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
2308 color: #8050B0;
2309}
acb0e9b8 2310
319c6529
RK
2311.ac-comment[selected="true"],
2312.ac-url-text[selected="true"],
2313.ac-action-text[selected="true"] {
2314 color: inherit !important;
acb0e9b8 2315}
2316
c1f7cc84
RK
2317.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
2318.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
319c6529
RK
2319{
2320 color: #8050B0;
2321 font-size: smaller;
acb0e9b8 2322}
319c6529
RK
2323
2324.autocomplete-treebody::-moz-tree-cell(suggesthint) {
2325 border-top: 1px solid #9C9CFF;
acb0e9b8 2326}
2327
319c6529
RK
2328/* combined go/reload/stop button in location bar */
2329
ffce2402 2330#go-button,
319c6529
RK
2331#urlbar > toolbarbutton {
2332 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
38cfeb47 2333 /* margin: -2px; */
9abeb12c 2334 -moz-margin-start: 0;
ffce2402 2335 padding: 0 2px;
319c6529
RK
2336 background-origin: border-box;
2337 border: none;
9abeb12c
RK
2338 -moz-border-start: 1px solid #9C9CFF;
2339}
2340
ffce2402
RK
2341#go-button {
2342 padding: 0 3px;
2343}
2344
9abeb12c 2345#urlbar:-moz-locale-dir(ltr) > toolbarbutton {
38cfeb47
RK
2346 border-top-left-radius: 0px;
2347 border-bottom-left-radius: 0px;
acb0e9b8 2348}
acb0e9b8 2349
9abeb12c 2350#urlbar:-moz-locale-dir(rtl) > toolbarbutton {
38cfeb47
RK
2351 border-top-right-radius: 0px;
2352 border-bottom-right-radius: 0px;
9abeb12c
RK
2353}
2354
dce90fef
RK
2355#urlbar > toolbarbutton:not([disabled]):active:hover,
2356#urlbar-reload-button:not(:hover) {
2357 -moz-border-start-style: none;
714b11f6 2358 -moz-padding-start: 3px;
dce90fef
RK
2359}
2360
2361#urlbar > toolbarbutton:not([disabled]):active:hover {
acb0e9b8 2362}
2363
319c6529 2364#urlbar-go-button {
ffce2402 2365 -moz-image-region: rect(0, 42px, 14px, 28px);
acb0e9b8 2366}
2367
ffce2402
RK
2368#go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
2369#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
71a617ff 2370 transform: scaleX(-1);
ffce2402
RK
2371}
2372
2373#urlbar-go-button:hover,
2374#go-button:hover {
2375 -moz-image-region: rect(14px, 42px, 28px, 28px);
acb0e9b8 2376}
2377
319c6529 2378#urlbar-reload-button {
ffce2402 2379 -moz-image-region: rect(0px, 14px, 14px, 0px);
38cfeb47
RK
2380}
2381
2382#urlbar-reload-button[disabled] {
ffce2402 2383 -moz-image-region: rect(28px, 14px, 42px, 0px);
acb0e9b8 2384}
2385
319c6529 2386#urlbar-reload-button:not([disabled]):hover {
ffce2402 2387 -moz-image-region: rect(14px, 14px, 28px, 0px);
acb0e9b8 2388}
319c6529
RK
2389
2390#urlbar-stop-button {
ffce2402 2391 -moz-image-region: rect(0px, 28px, 14px, 14px);
acb0e9b8 2392}
319c6529
RK
2393
2394#urlbar-stop-button:hover {
ffce2402 2395 -moz-image-region: rect(14px, 28px, 28px, 14px);
acb0e9b8 2396}
2397
319c6529
RK
2398/* popup blocker button */
2399
2400#page-report-button {
2401 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
2402 -moz-image-region: rect(0, 16px, 16px, 0);
acb0e9b8 2403}
319c6529 2404
71bac478 2405#page-report-button:hover ,
319c6529
RK
2406#page-report-button:hover:active,
2407#page-report-button[open="true"] {
71bac478 2408 -moz-image-region: rect(0, 32px, 16px, 16px);
acb0e9b8 2409}
2410
c4460289
RK
2411/* social share panel */
2412
2413#social-share-panel > iframe {
2414/* background: linear-gradient(to bottom, #f0f4f7, #fafbfc);*/
2415 width: 300px;
2416 height: 150px;
2417}
2418
2419#social-share-button {
2420 list-style-image: url("chrome://browser/skin/social/share-button.png");
2421 -moz-image-region: rect(0, 16px, 16px, 0);
2422}
2423
2424.social-share-toolbar {
2425 border-right: 1px solid #9C9CFF;
2426/* background-color: #000000; */
2427}
2428
2429#social-share-provider-buttons {
2430 padding: 6px;
2431}
2432
2433#social-share-provider-buttons > .share-provider-button {
2434 -moz-appearance: none;
2435 padding: 5px;
2436 margin: 1px;
2437 border: none;
2438 background: none;
2439 border-radius: 2px;
2440}
2441
2442#social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]),
2443#social-share-provider-buttons > .share-provider-button:hover,
2444#social-share-provider-buttons > .share-provider-button:active {
2445 padding: 4px;
2446}
2447
2448#social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]) {
2449}
2450
2451#social-share-provider-buttons > .share-provider-button > .toolbarbutton-text {
2452 display: none;
2453}
2454#social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon {
2455 width: 16px;
2456 min-height: 16px;
2457 max-height: 16px;
2458}
2459
2460/* fixup corners for share panel */
2461.social-panel > .social-panel-frame {
2462 border-radius: inherit;
2463}
2464
2465#social-share-panel {
2466 max-height: 600px;
2467 min-height: 100px;
2468 max-width: 800px;
2469 min-width: 300px;
2470}
2471
2472.social-share-frame {
2473/* background: linear-gradient(to bottom, #f0f4f7, #fafbfc); */
2474 width: 330px;
2475 height: 150px;
c4460289
RK
2476 /* we resize our panels dynamically, make it look nice */
2477 transition: height 100ms ease-out, width 100ms ease-out;
2478}
2479
e2734cc7
RK
2480.social-share-frame:-moz-locale-dir(ltr) {
2481 border-top-left-radius: 0;
2482 border-bottom-left-radius: 0;
2483 border-top-right-radius: inherit;
2484 border-bottom-right-radius: inherit;
2485}
2486
2487.social-share-frame:-moz-locale-dir(rtl) {
c4460289
RK
2488 border-top-left-radius: inherit;
2489 border-bottom-left-radius: inherit;
e2734cc7
RK
2490 border-top-right-radius: 0;
2491 border-bottom-right-radius: 0;
c4460289
RK
2492}
2493
e2734cc7
RK
2494#social-share-panel > .social-share-toolbar:-moz-locale-dir(ltr) {
2495 border-top-left-radius: inherit;
2496 border-bottom-left-radius: inherit;
2497}
2498
2499#social-share-panel > .social-share-toolbar:-moz-locale-dir(rtl) {
2500 border-top-right-radius: inherit;
2501 border-bottom-right-radius: inherit;
2502}
2503
2504#social-share-provider-buttons:-moz-locale-dir(ltr) {
c4460289
RK
2505 border-top-left-radius: inherit;
2506 border-bottom-left-radius: inherit;
2507}
2508
e2734cc7
RK
2509#social-share-provider-buttons:-moz-locale-dir(rtl) {
2510 border-top-right-radius: inherit;
2511 border-bottom-right-radius: inherit;
2512}
2513
889649fd
RK
2514/* social recommending panel */
2515
a6757852 2516#social-mark-button {
d7cfd768 2517 -moz-image-region: rect(0, 16px, 16px, 0);
889649fd
RK
2518}
2519
319c6529
RK
2520/* star button */
2521
2522#star-button {
71bac478
RK
2523 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png");
2524 -moz-image-region: rect(16px 16px 32px 0px);
acb0e9b8 2525}
319c6529
RK
2526
2527#star-button:hover {
71bac478 2528 -moz-image-region: rect(16px 32px 32px 16px);
acb0e9b8 2529}
319c6529
RK
2530
2531#star-button:hover:active {
71bac478 2532 -moz-image-region: rect(16px 48px 32px 32px);
acb0e9b8 2533}
2534
319c6529 2535#star-button[starred="true"] {
71bac478
RK
2536 -moz-image-region: rect(0px 16px 16px 0px);
2537}
2538
2539#star-button[starred="true"]:hover {
2540 -moz-image-region: rect(0px 32px 16px 16px);
2541}
2542
2543#star-button[starred="true"]:hover:active {
2544 -moz-image-region: rect(0px 48px 16px 32px);
acb0e9b8 2545}
319c6529
RK
2546
2547/* bookmarking panel */
2548#editBookmarkPanelStarIcon {
2549 list-style-image: url("chrome://browser/skin/places/starred48.png");
2550 width: 48px;
2551 height: 48px;
acb0e9b8 2552}
319c6529
RK
2553
2554#editBookmarkPanelStarIcon[unstarred] {
2555 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
acb0e9b8 2556}
2557
319c6529
RK
2558#editBookmarkPanelTitle {
2559 font-size: 130%;
acb0e9b8 2560}
319c6529
RK
2561
2562#editBookmarkPanelHeader,
2563#editBookmarkPanelContent {
2564 margin-bottom: .5em;
acb0e9b8 2565}
319c6529
RK
2566
2567/* Implements editBookmarkPanel resizing on folderTree un-collapse. */
2568#editBMPanel_folderTree {
2569 min-width: 27em;
acb0e9b8 2570}
2571
f993773d 2572.panel-promo-box {
5a3cfc14 2573 margin: 5px -6px -6px;
f0eab82c 2574 padding: 5px;
889649fd 2575 border-top: 1px solid #9C9CFF;
f0eab82c
RK
2576 border-bottom-left-radius: 5px;
2577 border-bottom-right-radius: 5px;
f993773d
RK
2578}
2579
2580.panel-promo-icon {
2581 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
2582 -moz-margin-end: 10px;
2583 vertical-align: middle;
2584}
2585
2586.panel-promo-closebutton {
2587 list-style-image: url("chrome://global/skin/icons/close-button.gif");
f0eab82c
RK
2588 -moz-margin-end: -3px;
2589 margin-top: -3px;
f993773d
RK
2590}
2591
2592.panel-promo-closebutton:hover {
2593 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2594}
2595
2596.panel-promo-closebutton:hover:active {
2597 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2598}
2599
2600.panel-promo-closebutton > .toolbarbutton-text {
2601 padding: 0;
2602 margin: 0;
2603}
2604
319c6529
RK
2605/* ::::: content area ::::: */
2606
2607#sidebar {
2608 background-color: Window;
acb0e9b8 2609}
319c6529
RK
2610
2611#sidebar-title {
2612 -moz-padding-start: 0px;
acb0e9b8 2613}
319c6529 2614
fe524e0c
RK
2615.browserContainer > findbar {
2616/*
2617 background-color: -moz-dialog;
2618 color: -moz-DialogText;
2619*/
2620}
2621
319c6529
RK
2622/* ::::: throbber ::::: */
2623
2624#navigator-throbber {
2625 width: 16px;
2626 min-height: 16px;
2627 margin: 0 3px;
acb0e9b8 2628}
2629
319c6529 2630#navigator-throbber[busy="true"] {
95f333af 2631 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
acb0e9b8 2632}
319c6529
RK
2633
2634#navigator-throbber,
2635#wrapper-navigator-throbber > #navigator-throbber {
95f333af 2636 list-style-image: url("chrome://communicator/skin/brand/throbber16-single.png");
acb0e9b8 2637}
319c6529
RK
2638
2639/* Tabstrip */
b36fc72e 2640
fd291cce
RK
2641/* Remove selector when Australis lands - this makes it only apply post-Australis as iconsize doesn't exist there */
2642#navigator-toolbox:not([iconsize]) > #TabsToolbar,
319c6529
RK
2643#TabsToolbar {
2644 min-height: 0;
2645 padding: 0;
b36fc72e
RK
2646 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
2647}
2648
2649#TabsToolbar .toolbar-holder {
c1f7cc84 2650 background-color: #000000; /* correct effect of being an actual toolbar */
acb0e9b8 2651}
2652
b36fc72e 2653#main-window[disablechrome] #TabsToolbar,
319c6529 2654#TabsToolbar[tabsontop="false"] {
8b5fc82e 2655 border-bottom: 1px solid #008484;
acb0e9b8 2656}
319c6529 2657
319c6529
RK
2658.tabbrowser-tab,
2659.tabs-newtab-button {
2660 margin-top: 0px;
acb0e9b8 2661}
319c6529 2662
57fc408c
RK
2663.tabbrowser-tab{
2664 padding: 1px 4px 2px;
2665}
2666
2667.tabbrowser-tab:first-of-type {
2668 -moz-margin-start: 2px;
2669}
2670
2671.tabs-newtab-button {
2672 border-radius: 8px 8px 0px 0px;
2673 -moz-margin-start: 0;
2674}
2675
2676.tabs-newtab-button:not(:hover) {
2677 background-color: #C09070;
2678}
2679
fe524e0c
RK
2680.tabbrowser-tab[remote] {
2681 text-decoration: underline;
2682}
2683
319c6529
RK
2684.tabbrowser-tab:hover,
2685.tabs-newtab-button:hover {
acb0e9b8 2686}
319c6529
RK
2687
2688.tabbrowser-tab[selected="true"] {
acb0e9b8 2689}
2690
9abeb12c
RK
2691#main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) {
2692}
2693
319c6529 2694.tabbrowser-tab:-moz-lwtheme {
acb0e9b8 2695}
319c6529
RK
2696
2697.tabbrowser-tab[selected="true"]:-moz-lwtheme {
acb0e9b8 2698}
319c6529
RK
2699
2700.tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]),
2701.tabs-newtab-button:-moz-lwtheme-brighttext {
acb0e9b8 2702}
2703
319c6529
RK
2704.tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover,
2705.tabs-newtab-button:-moz-lwtheme-brighttext:hover {
acb0e9b8 2706}
319c6529
RK
2707
2708.tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]),
2709.tabs-newtab-button:-moz-lwtheme-darktext {
acb0e9b8 2710}
319c6529
RK
2711
2712.tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover,
2713.tabs-newtab-button:-moz-lwtheme-darktext:hover {
acb0e9b8 2714}
2715
319c6529
RK
2716.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
2717 background-color: #E7ADE7;
613daf44 2718}
319c6529 2719.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
dbd844cb 2720 background-color: #3333FF;
319c6529 2721 color: #000000;
613daf44 2722}
319c6529
RK
2723
2724.tab-throbber,
2725.tab-icon-image {
2726 width: 16px;
2727 height: 16px;
dce90fef 2728 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
8da9da4e 2729 -moz-image-region: auto;
319c6529 2730 -moz-margin-end: 3px;
613daf44 2731}
2732
319c6529 2733.tab-throbber {
95f333af 2734 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
613daf44 2735}
319c6529
RK
2736
2737.tab-throbber[progress] {
95f333af 2738 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
613daf44 2739}
319c6529 2740
319c6529
RK
2741.tab-throbber[pinned],
2742.tab-icon-image[pinned] {
2743 -moz-margin-start: 2px;
2744 -moz-margin-end: 2px;
613daf44 2745}
319c6529
RK
2746
2747/* tabbrowser-tab focus ring */
2748.tabbrowser-tab:focus > .tab-stack {
2749 outline: 1px dotted;
613daf44 2750}
319c6529 2751
8ad8bf83 2752/* Tab DnD indicator */
319c6529
RK
2753.tab-drop-indicator {
2754 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
9abeb12c 2755 margin-bottom: -11px;
613daf44 2756}
2757
319c6529
RK
2758/* Tab close button */
2759.tab-close-button {
2760 border: none;
2761 padding: 0px;
57fc408c 2762 margin-top: 1px;
319c6529
RK
2763 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2764}
acb0e9b8 2765
319c6529
RK
2766.tab-close-button:hover,
2767.tab-close-button:hover[selected="true"] {
2768 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 2769}
319c6529
RK
2770
2771.tab-close-button:hover:active,
2772.tab-close-button:hover:active[selected="true"] {
2773 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 2774}
319c6529 2775
319c6529
RK
2776/* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
2777
319c6529
RK
2778.tabbrowser-arrowscrollbox > .scrollbutton-up,
2779.tabbrowser-arrowscrollbox > .scrollbutton-down {
319c6529
RK
2780 margin: 0;
2781 padding-top: 0;
2782 padding-bottom: 0;
acb0e9b8 2783}
319c6529 2784
319c6529
RK
2785.tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
2786 background-color: #008484;
acb0e9b8 2787}
319c6529
RK
2788
2789.tabs-newtab-button > .toolbarbutton-icon {
2790 margin-top: -1px;
2791 margin-bottom: -1px;
acb0e9b8 2792}
319c6529
RK
2793
2794.tabs-newtab-button,
2795#TabsToolbar > #new-tab-button,
2796#TabsToolbar > toolbarpaletteitem > #new-tab-button {
38cfeb47 2797 list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png");
319c6529 2798 -moz-image-region: rect(0, 16px, 18px, 0);
acb0e9b8 2799}
2800
319c6529 2801.tabs-newtab-button {
c1f7cc84
RK
2802 width: 28px;
2803}
2804
2805#TabsToolbar > #new-tab-button {
2806 width: 26px;
acb0e9b8 2807}
319c6529 2808
8b5fc82e 2809.tabs-newtab-button,
38cfeb47
RK
2810.tabs-newtab-button:hover,
2811#TabsToolbar > #new-tab-button:hover {
319c6529 2812 -moz-image-region: rect(0, 32px, 18px, 16px);
acb0e9b8 2813}
319c6529
RK
2814
2815#alltabs-button {
8da9da4e 2816 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
acb0e9b8 2817}
2818
f9fc08c7 2819#alltabs-button > .toolbarbutton-menu-dropmarker {
319c6529 2820 display: none;
acb0e9b8 2821}
319c6529 2822
f9fc08c7
RK
2823#alltabs-button:hover,
2824#alltabs-button:hover:active,
2825#alltabs-button[open="true"] {
8da9da4e 2826 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
acb0e9b8 2827}
319c6529
RK
2828
2829/* All tabs menupopup */
2830.alltabs-item > .menu-iconic-left > .menu-iconic-icon {
dce90fef 2831 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
8da9da4e 2832 -moz-image-region: auto;
acb0e9b8 2833}
2834
319c6529
RK
2835.alltabs-item[selected="true"] {
2836 font-weight: bold;
acb0e9b8 2837}
319c6529
RK
2838
2839.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
2840 list-style-image: url("chrome://global/skin/icons/loading.gif");
acb0e9b8 2841}
319c6529 2842
85cfb236 2843.alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
b1234db8
RK
2844 background-color: #402800;
2845}
2846
319c6529
RK
2847/* Tabstrip close button */
2848.tabs-closebutton {
2849 -moz-box-flex: 1;
2850 margin: 0px;
2851 padding: 2px;
2852 list-style-image: url("chrome://global/skin/icons/close-button.gif");
acb0e9b8 2853}
2854
b36fc72e
RK
2855.tabs-closebutton > .toolbarbutton-icon {
2856}
2857
8da9da4e
RK
2858.tabs-closebutton > .toolbarbutton-text {
2859 display: none;
2860}
2861
319c6529
RK
2862.tabs-closebutton:hover,
2863.tabs-closebutton:hover:active {
2864 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 2865}
319c6529
RK
2866
2867toolbarbutton.chevron {
2868 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
acb0e9b8 2869}
319c6529
RK
2870
2871toolbarbutton.chevron:hover {
2872 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
acb0e9b8 2873}
2874
319c6529
RK
2875toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
2876toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
71a617ff 2877 transform: scaleX(-1);
acb0e9b8 2878}
319c6529
RK
2879
2880toolbarbutton.chevron > .toolbarbutton-text,
2881toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
2882 display: none;
acb0e9b8 2883}
319c6529
RK
2884
2885toolbarbutton.chevron > .toolbarbutton-icon {
2886 margin: 0;
acb0e9b8 2887}
2888
319c6529
RK
2889toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
2890 display: -moz-box; /* display chevron icon in text mode */
acb0e9b8 2891}
319c6529
RK
2892
2893#sidebar-throbber[loading="true"] {
2894 list-style-image: url("chrome://global/skin/icons/loading.gif");
2895 -moz-margin-end: 4px;
acb0e9b8 2896}
319c6529
RK
2897
2898/* Bookmarks toolbar */
2899#PlacesToolbarDropIndicator {
8da9da4e 2900 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
acb0e9b8 2901}
2902
319c6529
RK
2903toolbarbutton.bookmark-item[dragover="true"][open="true"] {
2904 background-color: #008484 !important;
2905 color: #FFCF00 !important;
613daf44 2906}
319c6529
RK
2907
2908/* rules for menupopup drop indicators */
2909.menupopup-drop-indicator-bar {
2910 position: relative;
2911 /* these two margins must together compensate the indicator's height */
2912 margin-top: -1px;
2913 margin-bottom: -1px;
613daf44 2914}
319c6529
RK
2915
2916.menupopup-drop-indicator {
2917 list-style-image: none;
2918 height: 2px;
2919 -moz-margin-end: -4em;
2920 background-color: #008484;
613daf44 2921}
2922
319c6529
RK
2923/* ::::: Identity Indicator Styling ::::: */
2924
2925/* Popup Icons */
2926#identity-popup-icon {
2927 height: 64px;
2928 width: 64px;
2929 padding: 0;
2930 list-style-image: url("chrome://browser/skin/identity.png");
2931 -moz-image-region: rect(0px, 64px, 64px, 0px);
613daf44 2932}
319c6529
RK
2933
2934#identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
2935 -moz-image-region: rect(64px, 64px, 128px, 0px);
613daf44 2936}
319c6529
RK
2937
2938#identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
2939 -moz-image-region: rect(128px, 64px, 192px, 0px);
613daf44 2940}
2941
319c6529
RK
2942/* Popup Body Text */
2943.identity-popup-description {
2944 white-space: pre-wrap;
2945 -moz-padding-start: 15px;
2946 margin: 2px 0 4px;
613daf44 2947}
319c6529
RK
2948
2949.identity-popup-label {
2950 white-space: pre-wrap;
2951 -moz-padding-start: 15px;
2952 margin: 0;
613daf44 2953}
319c6529 2954
5517da5a 2955#identity-popup-content-host,
319c6529
RK
2956#identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
2957 font-size: 1.2em;
613daf44 2958}
2959
319c6529
RK
2960#identity-popup-content-host {
2961 margin-top: 3px;
2962 margin-bottom: 5px;
2963 font-weight: bold;
2964 max-width: 300px;
2965}
613daf44 2966
319c6529
RK
2967#identity-popup-content-owner {
2968 margin-top: 4px;
2969 margin-bottom: 0 !important;
2970 font-weight: bold;
2971 max-width: 300px;
2972}
613daf44 2973
319c6529
RK
2974.verifiedDomain > #identity-popup-content-owner {
2975 font-weight: normal;
613daf44 2976}
2977
319c6529
RK
2978#identity-popup-content-verifier {
2979 margin: 4px 0 2px;
613daf44 2980}
2981
319c6529
RK
2982#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
2983#identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
2984 margin-top: 10px;
2985 -moz-margin-start: -24px;
613daf44 2986}
2987
319c6529
RK
2988#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
2989#identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
2990 list-style-image: url("chrome://browser/skin/Secure24.png");
613daf44 2991}
2992
319c6529
RK
2993#identity-popup-more-info-button {
2994 margin-top: 6px;
2995 margin-bottom: 0;
2996 -moz-margin-end: 0;
613daf44 2997}
acb0e9b8 2998
fe524e0c
RK
2999#identity-popup > .panel-arrowcontainer > .panel-arrowcontent {
3000 padding: 0;
3001}
3002
3003#identity-popup-container {
3004 min-width: 280px;
3005 padding: 10px;
3006}
3007
3008#identity-popup-button-container {
3009/* background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent);*/
3010 padding: 10px;
3011 margin-top: 5px;
3012}
3013
319c6529
RK
3014.popup-notification-icon {
3015 width: 64px;
3016 height: 64px;
3017 -moz-margin-end: 10px;
3018}
acb0e9b8 3019
319c6529
RK
3020.popup-notification-icon[popupid="geolocation"] {
3021 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
acb0e9b8 3022}
3023
319c6529
RK
3024.popup-notification-icon[popupid="xpinstall-disabled"],
3025.popup-notification-icon[popupid="addon-progress"],
3026.popup-notification-icon[popupid="addon-install-cancelled"],
3027.popup-notification-icon[popupid="addon-install-blocked"],
3028.popup-notification-icon[popupid="addon-install-failed"],
a40f6a79 3029.popup-notification-icon[popupid="addon-install-complete"] {
319c6529
RK
3030 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
3031 width: 32px;
3032 height: 32px;
acb0e9b8 3033}
319c6529 3034
a40f6a79 3035.popup-notification-icon[popupid="click-to-play-plugins"] {
fcfb76ce 3036 list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
a40f6a79
RK
3037}
3038
a6757852
RK
3039.popup-notification-icon[popupid="plugins-not-found"] {
3040 list-style-image: url("chrome://browser/skin/pluginInstall-64.png");
3041}
3042
82b4252f
RK
3043.popup-notification-icon[popupid="web-notifications"] {
3044 list-style-image: url("chrome://browser/skin/notification-64.png");
3045}
3046
319c6529
RK
3047.addon-progress-description {
3048 width: 350px;
3049 max-width: 350px;
acb0e9b8 3050}
319c6529
RK
3051
3052.popup-progress-label,
3053.popup-progress-meter {
3054 -moz-margin-start: 0;
3055 -moz-margin-end: 0;
acb0e9b8 3056}
319c6529
RK
3057
3058.popup-progress-cancel {
3059 -moz-appearance: none;
3060 background: transparent;
3061 border: none;
3062 padding: 0;
3063 margin: 0;
3064 min-height: 0;
3065 min-width: 0;
3066 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
3067 -moz-image-region: rect(0px, 32px, 16px, 16px);
acb0e9b8 3068}
319c6529
RK
3069
3070.popup-progress-cancel:hover {
3071 -moz-image-region: rect(16px, 32px, 32px, 16px);
acb0e9b8 3072}
3073
319c6529
RK
3074.popup-progress-cancel:active {
3075 -moz-image-region: rect(32px, 32px, 48px, 16px);
3076}
acb0e9b8 3077
319c6529 3078.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
a6757852 3079.popup-notification-icon[popupid="indexedDB-quota-prompt"],
e2734cc7
RK
3080.popup-notification-icon[popupid*="offline-app-requested"],
3081.popup-notification-icon[popupid="offline-app-usage"] {
319c6529 3082 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
acb0e9b8 3083}
3084
319c6529
RK
3085.popup-notification-icon[popupid="password-save"],
3086.popup-notification-icon[popupid="password-change"] {
3087 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
acb0e9b8 3088}
3089
1b13529a 3090.popup-notification-icon[popupid="webapps-install-progress"],
8d7ef0d9 3091.popup-notification-icon[popupid="webapps-install"] {
87a1144f 3092 list-style-image: url("chrome://global/skin/icons/webapps-64.png");
8d7ef0d9
RK
3093}
3094
56ab361a
RK
3095.popup-notification-icon[popupid="mixed-content-blocked"] {
3096 list-style-image: url("chrome://browser/skin/mixed-content-blocked-64.png");
3097}
3098
0142a07b 3099.popup-notification-icon[popupid="webRTC-sharingDevices"],
7bc075b6
RK
3100.popup-notification-icon[popupid="webRTC-shareDevices"] {
3101 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
3102}
3103
82b4252f
RK
3104.popup-notification-icon[popupid="pointerLock"] {
3105 list-style-image: url("chrome://browser/skin/pointerLock-64.png");
3106}
3107
319c6529
RK
3108/* Notification icon box */
3109#notification-popup-box {
f993773d
RK
3110 position: relative;
3111 background-color: #000000;
3112 background-clip: padding-box;
3113 padding-left: 3px;
5517da5a 3114 padding-right: 8px;
f0eab82c 3115 border-radius: 3px 0 0 3px;
82b4252f 3116 border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
f993773d 3117 -moz-margin-end: -8px;
5517da5a 3118 border-right-width: 8px;
f993773d
RK
3119}
3120
8ad8bf83
RK
3121window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
3122 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 3123 #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box {
5517da5a 3124/* padding-left: 5px; */
f993773d
RK
3125}
3126
3127#notification-popup-box:-moz-locale-dir(rtl),
3128.notification-anchor-icon:-moz-locale-dir(rtl) {
71a617ff 3129 transform: scaleX(-1);
319c6529 3130}
acb0e9b8 3131
319c6529 3132.notification-anchor-icon {
acb0e9b8 3133 width: 16px;
3134 height: 16px;
85cfb236 3135 margin: 0 2px;
acb0e9b8 3136}
3137
319c6529 3138.notification-anchor-icon:-moz-focusring {
f0eab82c
RK
3139 outline: 1px dotted #008484;
3140/* outline-offset: -3px; */
acb0e9b8 3141}
3142
e2734cc7 3143.default-notification-icon,
ab799a7a
RK
3144#default-notification-icon {
3145 list-style-image: url("chrome://global/skin/icons/information-16.png");
3146}
3147
e2734cc7 3148.identity-notification-icon,
9585a561
RK
3149#identity-notification-icon {
3150 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
3151}
3152
e2734cc7 3153.geo-notification-icon,
319c6529
RK
3154#geo-notification-icon {
3155 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
acb0e9b8 3156}
3157
319c6529
RK
3158#addons-notification-icon {
3159 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
acb0e9b8 3160}
3161
e2734cc7 3162.indexedDB-notification-icon,
319c6529
RK
3163#indexedDB-notification-icon {
3164 list-style-image: url("chrome://global/skin/icons/question-16.png");
acb0e9b8 3165}
3166
319c6529
RK
3167#password-notification-icon {
3168 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
acb0e9b8 3169}
3170
8d7ef0d9 3171#webapps-notification-icon {
87a1144f 3172 list-style-image: url("chrome://gobal/skin/icons/webapps-16.png");
8d7ef0d9
RK
3173}
3174
a40f6a79 3175#plugins-notification-icon {
b27cc46e
RK
3176 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
3177}
3178
3179#alert-plugins-notification-icon {
3180 list-style-image: url("chrome://browser/skin/notification-pluginAlert.png");
a40f6a79
RK
3181}
3182
990cba4b 3183#blocked-plugins-notification-icon {
b27cc46e 3184 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
990cba4b
RK
3185}
3186
fe524e0c
RK
3187#plugins-notification-icon,
3188#alert-plugins-notification-icon,
3189#blocked-plugins-notification-icon {
3190/* -moz-image-region: rect(0, 16px, 16px, 0);*/
3191}
3192
3193#plugins-notification-icon:hover,
3194#alert-plugins-notification-icon:hover,
3195#blocked-plugins-notification-icon:hover {
3196/* -moz-image-region: rect(0, 32px, 16px, 16px);*/
3197}
3198
a6757852
RK
3199#plugin-install-notification-icon {
3200 list-style-image: url("chrome://browser/skin/pluginInstall-16.png");
3201}
3202
6adbc9a6
RK
3203#notification-popup-box[hidden] {
3204 /* Override display:none to make the pluginBlockedNotification animation work
3205 when showing the notification repeatedly. */
3206 display: -moz-box;
3207 visibility: collapse;
3208}
3209
990cba4b
RK
3210#blocked-plugins-notification-icon[showing] {
3211 animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
3212}
3213
3214@keyframes pluginBlockedNotification {
3215 from {
3216 opacity: 0;
3217 }
3218 to {
3219 opacity: 1;
3220 }
3221}
3222
e2734cc7 3223.mixed-content-blocked-notification-icon,
56ab361a
RK
3224#mixed-content-blocked-notification-icon {
3225 list-style-image: url("chrome://browser/skin/mixed-content-blocked-16.png");
3226}
3227
e2734cc7 3228.webRTC-shareDevices-notification-icon,
0142a07b 3229#webRTC-shareDevices-notification-icon {
7bc075b6
RK
3230 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
3231}
3232
e2734cc7 3233.webRTC-sharingDevices-notification-icon,
6adbc9a6
RK
3234#webRTC-sharingDevices-notification-icon {
3235 list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
3236}
3237
e2734cc7 3238.web-notifications-notification-icon,
82b4252f
RK
3239#web-notifications-notification-icon {
3240 list-style-image: url("chrome://browser/skin/notification-16.png");
3241}
3242
3243#pointerLock-notification-icon {
3244 list-style-image: url("chrome://browser/skin/pointerLock-16.png");
3245}
3246#pointerLock-cancel {
3247 margin: 0px;
3248}
3249
319c6529 3250#download-monitor {
a736ce46 3251 list-style-image: url("chrome://browser/skin/FxToolbar.png");
319c6529 3252 -moz-image-region: rect(0, 108px, 18px, 90px);
acb0e9b8 3253}
3254
319c6529
RK
3255/* Bookmarks roots menu-items */
3256#appmenu_subscribeToPage:not([disabled]),
3257#appmenu_subscribeToPageMenu,
3258#subscribeToPageMenuitem:not([disabled]),
3259#subscribeToPageMenupopup,