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