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