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