some corrections and finishing touches to that LCARStrek works well for Firefox 55...
[themes.git] / browser / browser.css
... / ...
CommitLineData
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/. */
4
5@import url("chrome://global/skin/");
6@import url("downloads/indicator.css");
7
8@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
9@namespace html url("http://www.w3.org/1999/xhtml");
10
11toolbar {
12 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
13}
14
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"] {
17 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-browsercustom");
18}
19
20toolbar[type="menubar"][autohide="true"] {
21 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide");
22}
23
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"] {
26 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide-browsercustom");
27}
28
29menubar {
30 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
31}
32
33#menubar-items {
34 -moz-box-orient: vertical; /* for flex hack */
35}
36
37#main-menubar {
38 -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
39}
40
41/* ::::: primary toolbar ::::: */
42
43.toolbar-primary > .toolbar-box > .toolbar-holder {
44 background-color: #A09090;
45}
46
47.toolbar-primary > .toolbar-box > .toolbar-startcap,
48.toolbar-primary > .toolbar-box > .toolbar-endcap {
49 background-color: #9C9CFF;
50}
51
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
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"]) {
67 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
68}
69
70#main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme) {
71 /* like menubar */
72 background-color: #6000CF;
73 color: #FF9F00;
74}
75
76#main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme):-moz-window-inactive {
77 background-color: #8050B0;
78 color: #FF9F00;
79}
80
81#navigator-toolbox {
82}
83
84#navigator-toolbox::after {
85 content: "";
86 display: -moz-box;
87 -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
88 height: 1px;
89}
90#navigator-toolbox[tabsontop=false]::after,
91#main-window[disablechrome] #navigator-toolbox::after {
92 visibility: collapse;
93}
94
95#navigator-toolbox > toolbar:not(:-moz-lwtheme) {
96}
97
98#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme) {
99 /* like menubar */
100 background-color: #6000CF;
101 color: #FF9F00;
102}
103#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
104 background-color: #8050B0;
105 color: #FF9F00;
106}
107#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar > .tabbrowser-tabs > .tabbrowser-tab {
108 padding-top: 3px;
109}
110
111#main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
112 visibility: hidden;
113}
114#main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
115 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
116 visibility: visible;
117}
118
119#nav-bar[tabsontop="true"],
120#nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + toolbar,
121#nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + #customToolbars + #PersonalToolbar {
122 /* background-image: linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); */
123}
124
125#personal-bookmarks {
126/* min-height: 24px; */
127}
128
129#print-preview-toolbar:not(:-moz-lwtheme) {
130 /* -moz-appearance: toolbox; */
131}
132
133/* ::::: app menu button ::::: */
134
135#appmenu-button {
136 background-color: #FF9F00;
137 background-clip: padding-box;
138 border-radius: 0;
139 border: none;
140 border-right: 3px solid #000000;
141 color: #000000;
142 font-weight: bold;
143 padding: 1px 1.5em;
144 margin: 0;
145}
146
147#appmenu-button:-moz-locale-dir(rtl) {
148 border-left: 3px solid #000000;
149 border-right: none;
150}
151
152#main-window[privatebrowsingmode=temporary] #appmenu-button {
153 background-color: #6000CF;
154 color: #FFCF00;
155}
156
157#appmenu-button:hover:not(:active):not([open]) {
158}
159
160#main-window[privatebrowsingmode=temporary] #appmenu-button:hover:not(:active):not([open]) {
161}
162
163#appmenu-button:hover,
164#appmenu-button:hover:active,
165#appmenu-button[open] {
166 background-color: #FFCF00;
167 color: #000000;
168}
169
170#appmenu-button > .button-box > .button-menu-dropmarker {
171 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
172 width: auto;
173 height: auto;
174 padding: 0;
175 margin: 0;
176 border: none;
177 background-color: transparent;
178 -moz-margin-start: .5em;
179}
180
181#main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .button-menu-dropmarker {
182 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
183}
184
185#appmenuPrimaryPane > menuitem,
186#appmenuSecondaryPane > menuitem,
187#appmenuPrimaryPane > menu {
188 padding: 2px;
189}
190
191.splitmenu-menuitem {
192 -moz-padding-start: 2px;
193 padding-top: 2px;
194 padding-bottom: 2px;
195 -moz-margin-end: 1px;
196}
197
198.splitmenu-menu {
199 padding-top: 2px;
200 padding-bottom: 2px;
201 -moz-box-pack: end;
202}
203
204.appmenu-edit-button {
205}
206
207.appmenu-edit-button[disabled="true"] {
208}
209
210#appmenuPrimaryPane {
211 -moz-border-end: 1px solid #9C9CFF;
212}
213/*
214 #appmenu-popup {
215 }
216 #appmenuPrimaryPane {
217 }
218 #appmenuSecondaryPane {
219 }
220 #appmenuSecondaryPane:-moz-locale-dir(rtl) {
221 }
222
223 #appmenuSecondaryPane menupopup {
224 }
225
226 .appmenu-menuseparator {
227 }
228
229 .appmenu-edit-button:not([disabled]):hover {
230 }
231*/
232#appmenuSecondaryPane-spacer {
233 min-height: 1em;
234}
235
236#appmenu-editmenu {
237 -moz-box-pack: end;
238}
239
240#appmenu_print,
241#appmenu_print_popup,
242.appmenu-edit-button,
243#appmenu-editmenu-cut,
244#appmenu-editmenu-copy,
245#appmenu-editmenu-paste,
246#appmenu-quit {
247 list-style-image: url("appmenu-icons.png");
248}
249
250#appmenu-cut,
251#appmenu-editmenu-cut {
252 -moz-image-region: rect(0 16px 16px 0);
253}
254
255#appmenu-cut:hover:not([disabled="true"]),
256#appmenu-editmenu-cut:hover:not([disabled="true"]) {
257 -moz-image-region: rect(16px 16px 32px 0);
258}
259
260#appmenu-cut[disabled="true"],
261#appmenu-editmenu-cut[disabled="true"] {
262 -moz-image-region: rect(32px 16px 48px 0);
263}
264
265#appmenu-copy,
266#appmenu-editmenu-copy {
267 -moz-image-region: rect(0 32px 16px 16px);
268}
269
270#appmenu-copy:hover:not([disabled="true"]),
271#appmenu-editmenu-copy:hover:not([disabled="true"]) {
272 -moz-image-region: rect(16px 32px 32px 16px);
273}
274
275#appmenu-copy[disabled="true"],
276#appmenu-editmenu-copy[disabled="true"] {
277 -moz-image-region: rect(32px 32px 48px 16px);
278}
279
280#appmenu-paste,
281#appmenu-editmenu-paste {
282 -moz-image-region: rect(0 48px 16px 32px);
283}
284
285#appmenu-paste:hover:not([disabled="true"]),
286#appmenu-editmenu-paste:hover:not([disabled="true"]) {
287 -moz-image-region: rect(16px 48px 32px 32px);
288}
289
290#appmenu-paste[disabled="true"],
291#appmenu-editmenu-paste[disabled="true"] {
292 -moz-image-region: rect(32px 48px 48px 32px);
293}
294
295#appmenu_print,
296#appmenu_print_popup {
297 -moz-image-region: rect(0 64px 16px 48px);
298}
299
300#appmenu_print:hover:not([disabled="true"]),
301#appmenu_print[open="true"],
302#appmenu_print_popup:hover:not([disabled="true"]) {
303 -moz-image-region: rect(16px 64px 32px 48px);
304}
305
306#appmenu-print[disabled="true"],
307#appmenu_print_popup[disabled="true"] {
308 -moz-image-region: rect(32px 64px 48px 48px);
309}
310
311#appmenu-quit {
312 -moz-image-region: rect(0 80px 16px 64px);
313}
314
315#appmenu-quit:hover {
316 -moz-image-region: rect(16px 80px 32px 64px);
317}
318
319#appmenu-edit-label {
320 -moz-appearance: none;
321 background: transparent;
322 font-style: italic;
323}
324
325#appmenu_bookmarks {
326 list-style-image: url("chrome://browser/skin/places/bookmark.png");
327 -moz-image-region: rect(0px 48px 16px 32px);
328}
329
330#appmenu_privateBrowsing,
331#appmenu_newPrivateWindow {
332 list-style-image: url("chrome://browser/skin/Privacy-16.png");
333}
334
335@media (min-resolution: 1.25dppx) {
336 #appmenu_privateBrowsing,
337 #appmenu_newPrivateWindow {
338 list-style-image: url("chrome://browser/skin/Privacy-32.png");
339 }
340}
341
342#appmenu_addons {
343 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
344}
345
346@media (min-resolution: 1.25dppx) {
347 #appmenu_addons {
348 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
349 }
350}
351
352#BMB_bookmarkThisPage,
353#appmenu_bookmarkThisPage {
354 list-style-image: url("chrome://browser/skin/places/bookmark.png");
355 -moz-image-region: rect(0 16px 16px 0);
356}
357
358/* ::::: titlebar ::::: */
359
360#titlebar {
361 /* like menubar */
362 background-color: #6000CF;
363 color: #FF9F00;
364}
365#titlebar:-moz-window-inactive {
366 background-color: #8050B0;
367 color: #FF9F00;
368}
369
370#main-window[sizemode="normal"] > #titlebar {
371 margin-top: -3px;
372 margin-bottom: 3px;
373}
374
375#main-window[sizemode="maximized"] > #titlebar {
376 margin-top: 4px;
377}
378
379/* The button box must appear on top of the navigator-toolbox in order for
380 * click and hover mouse events to work properly for the button in the restored
381 * window state. Otherwise, elements in the navigator-toolbox, like the menubar,
382 * can swallow those events. It will also place the buttons above the fog on
383 * themes with Aero Glass.
384 */
385#titlebar-buttonbox {
386 margin-top: 5px;
387 -moz-margin-end: 3px;
388 z-index: 1;
389}
390
391#main-window[sizemode="maximized"] #titlebar-buttonbox {
392}
393
394.titlebar-placeholder[type="appmenu-button"] {
395 margin-left: 4px;
396}
397
398.titlebar-placeholder[type="caption-buttons"] {
399 margin-left: 10px;
400}
401
402/* titlebar command buttons */
403
404#titlebar-min {
405 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
406}
407
408#titlebar-min:hover {
409 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
410}
411
412#titlebar-max {
413 list-style-image: url("chrome://browser/skin/win-maximize.gif");
414}
415
416#titlebar-max:hover {
417 list-style-image: url("chrome://browser/skin/win-maximize-hover.gif");
418}
419
420#main-window[sizemode="maximized"] #titlebar-max {
421 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
422}
423
424#main-window[sizemode="maximized"] #titlebar-max:hover {
425 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
426}
427
428#titlebar-close {
429 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
430}
431
432#titlebar-close:hover {
433 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
434}
435
436/* ::::: bookmark buttons ::::: */
437
438.bookmark-item > .toolbarbutton-icon,
439#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
440 width: 16px;
441 height: 16px;
442}
443
444/* Force the display of the label for bookmarks */
445.bookmark-item > .toolbarbutton-text,
446#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text {
447 display: -moz-box !important;
448}
449
450.bookmark-item > .toolbarbutton-menu-dropmarker {
451 display: none;
452}
453
454#wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box {
455 background: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") no-repeat center;
456}
457
458.bookmarks-toolbar-customize,
459#bookmarks-toolbar-placeholder {
460 max-width: 15em !important;
461 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
462}
463
464/* ::::: bookmark menus ::::: */
465
466menu.bookmark-item,
467menuitem.bookmark-item {
468 min-width: 0;
469 max-width: 32em;
470}
471
472.bookmark-item > .menu-iconic-left {
473 margin-top: 0;
474 margin-bottom: 0;
475}
476
477.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
478 -moz-padding-start: 0px;
479}
480
481/* ::::: bookmark items ::::: */
482
483.bookmark-item {
484 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
485 -moz-image-region: auto;
486}
487
488.bookmark-item[container] {
489 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
490 -moz-image-region: auto;
491}
492
493.bookmark-item[container][open] {
494 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
495 -moz-image-region: auto;
496}
497
498.bookmark-item[container][livemark] {
499 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
500 -moz-image-region: auto;
501}
502
503.bookmark-item[container][livemark] .bookmark-item {
504 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
505 -moz-image-region: rect(0px, 16px, 16px, 0px);
506}
507
508.bookmark-item[container][livemark] .bookmark-item[visited] {
509 -moz-image-region: rect(0px, 32px, 16px, 16px);
510}
511
512.bookmark-item[container][query] {
513 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
514 -moz-image-region: auto;
515}
516
517.bookmark-item[query][tagContainer] {
518 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
519 -moz-image-region: auto;
520}
521
522.bookmark-item[query][dayContainer] {
523 list-style-image: url("chrome://communicator/skin/history/calendar.png");
524 -moz-image-region: auto;
525}
526
527.bookmark-item[query][hostContainer] {
528 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
529 -moz-image-region: auto;
530}
531
532.bookmark-item[query][hostContainer][open] {
533 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
534 -moz-image-region: auto;
535}
536
537.bookmark-item[cutting] > .toolbarbutton-icon,
538.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
539 opacity: 0.5;
540}
541
542.bookmark-item[cutting] > .toolbarbutton-text,
543.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
544 opacity: 0.7;
545}
546
547/* ::::: primary toolbar buttons ::::: */
548
549/* === BEGIN toolbarbuttons.inc.css === */
550
551/* Whole section of this included file: */
552/* Remove |#navigator-toolbox:not([iconsize])| selector when Australis lands - this makes it only apply post-Australis as iconsize doesn't exist there */
553#navigator-toolbox:not([iconsize]) :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, #new-tab-button, #new-window-button,
554 #cut-button, #copy-button, #paste-button, #fullscreen-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #sync-button, #feed-button,
555 #tabview-button, #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button, #preferences-button,
556 #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, #history-panelmenu, #nav-bar-overflow-button,
557 #PanelUI-menu-button, #characterencoding-button, #email-link-button),
558#navigator-toolbox:not([iconsize]) #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
559 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
560}
561
562#navigator-toolbox:not([iconsize]) #back-button {
563 -moz-image-region: rect(0, 36px, 18px, 18px);
564}
565
566#navigator-toolbox:not([iconsize]) #back-button:hover:not([disabled="true"]) {
567 -moz-image-region: rect(18px, 36px, 36px, 18px);
568}
569
570#navigator-toolbox:not([iconsize]) #back-button[disabled="true"] {
571 -moz-image-region: rect(36px, 36px, 54px, 18px);
572}
573
574#navigator-toolbox:not([iconsize]) #forward-button {
575 -moz-image-region: rect(0, 72px, 18px, 54px);
576}
577
578#navigator-toolbox:not([iconsize]) #forward-button:hover:not([disabled="true"]) {
579 -moz-image-region: rect(18px, 72px, 36px, 54px);
580}
581
582#navigator-toolbox:not([iconsize]) #forward-button[disabled="true"] {
583 -moz-image-region: rect(36px, 72px, 54px, 54px);
584}
585
586#navigator-toolbox:not([iconsize]) #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
587#navigator-toolbox:not([iconsize]) #forward-button:-moz-locale-dir(rtl) {
588 transform: scaleX(-1);
589}
590
591#navigator-toolbox:not([iconsize]) #home-button[cui-areatype="toolbar"] {
592 -moz-image-region: rect(0, 126px, 18px, 108px);
593}
594
595#navigator-toolbox:not([iconsize]) #home-button[cui-areatype="toolbar"]:hover {
596 -moz-image-region: rect(18px, 126px, 36px, 108px);
597}
598
599#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"] {
600 -moz-image-region: rect(0, 144px, 18px, 126px);
601}
602
603#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"]:hover,
604#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] {
605 -moz-image-region: rect(18px, 144px, 36px, 126px);
606}
607
608#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"][starred] {
609 -moz-image-region: rect(0, 162px, 18px, 144px);
610}
611
612#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover,
613#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"] {
614 -moz-image-region: rect(18px, 162px, 36px, 144px);
615}
616
617#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
618 -moz-image-region: rect(0, 630px, 18px, 612px);
619}
620
621#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
622 padding: 1px;
623 -moz-box-align: center;
624}
625
626#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
627#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
628 -moz-image-region: rect(18px, 630px, 36px, 612px);
629}
630
631#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker,
632#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker {
633 padding-top: 2px;
634 padding-bottom: 0px;
635 -moz-padding-start: 2px;
636 -moz-padding-end: 0px;
637}
638
639#navigator-toolbox:not([iconsize]) #history-panelmenu[cui-areatype="toolbar"] {
640 -moz-image-region: rect(0, 180px, 18px, 162px);
641}
642
643#navigator-toolbox:not([iconsize]) #history-panelmenu[cui-areatype="toolbar"]:hover,
644#navigator-toolbox:not([iconsize]) #history-panelmenu[cui-areatype="toolbar"][open="true"] {
645 -moz-image-region: rect(18px, 180px, 36px, 162px);
646}
647
648#navigator-toolbox:not([iconsize]) #downloads-button[cui-areatype="toolbar"] {
649 -moz-image-region: rect(0, 198px, 18px, 180px);
650}
651
652#navigator-toolbox:not([iconsize]) #downloads-button[cui-areatype="toolbar"]:hover,
653#navigator-toolbox:not([iconsize]) #downloads-button[cui-areatype="toolbar"][open="true"] {
654 -moz-image-region: rect(18px, 198px, 36px, 180px);
655}
656
657#navigator-toolbox:not([iconsize]) #add-ons-button[cui-areatype="toolbar"] {
658 -moz-image-region: rect(0, 216px, 18px, 198px);
659}
660
661#navigator-toolbox:not([iconsize]) #add-ons-button[cui-areatype="toolbar"]:hover {
662 -moz-image-region: rect(18px, 216px, 36px, 198px);
663}
664
665#navigator-toolbox:not([iconsize]) #switch-to-metro-button[cui-areatype="toolbar"] {
666 -moz-image-region: rect(0, 648px, 18px, 630px);
667}
668
669#navigator-toolbox:not([iconsize]) #switch-to-metro-button[cui-areatype="toolbar"]:hover {
670 -moz-image-region: rect(18px, 648px, 36px, 630px);
671}
672
673#navigator-toolbox:not([iconsize]) #open-file-button[cui-areatype="toolbar"] {
674 -moz-image-region: rect(0, 234px, 18px, 216px);
675}
676
677#navigator-toolbox:not([iconsize]) #open-file-button[cui-areatype="toolbar"]:hover {
678 -moz-image-region: rect(18px, 234px, 36px, 216px);
679}
680
681#navigator-toolbox:not([iconsize]) #save-page-button[cui-areatype="toolbar"] {
682 -moz-image-region: rect(0, 252px, 18px, 234px);
683}
684
685#navigator-toolbox:not([iconsize]) #save-page-button[cui-areatype="toolbar"]:hover {
686 -moz-image-region: rect(18px, 252px, 36px, 234px);
687}
688
689#navigator-toolbox:not([iconsize]) #sync-button[cui-areatype="toolbar"] {
690 -moz-image-region: rect(0, 270px, 18px, 252px);
691}
692
693#navigator-toolbox:not([iconsize]) #sync-button[cui-areatype="toolbar"]:hover {
694 -moz-image-region: rect(18px, 270px, 36px, 252px);
695}
696
697#navigator-toolbox:not([iconsize]) #feed-button[cui-areatype="toolbar"] {
698 -moz-image-region: rect(0, 288px, 18px, 270px);
699}
700
701#navigator-toolbox:not([iconsize]) #feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
702 -moz-image-region: rect(18px, 288px, 36px, 270px);
703}
704
705#navigator-toolbox:not([iconsize]) #feed-button[cui-areatype="toolbar"][disabled="true"] {
706 -moz-image-region: rect(36px, 288px, 54px, 270px);
707}
708
709#navigator-toolbox:not([iconsize]) #social-share-button[cui-areatype="toolbar"] {
710 -moz-image-region: rect(0px, 306px, 18px, 288px);
711}
712
713#navigator-toolbox:not([iconsize]) #social-share-button[cui-areatype="toolbar"]:hover {
714 -moz-image-region: rect(18px, 306px, 36px, 288px);
715}
716
717#navigator-toolbox:not([iconsize]) #email-link-button[cui-areatype="toolbar"] {
718 -moz-image-region: rect(0, 306px, 18px, 288px);
719 /* This is temporary until we have an email-link icon (Bug 932235) */
720 transform: scale(-1, -1);
721}
722
723#navigator-toolbox:not([iconsize]) #email-link-button[cui-areatype="toolbar"]:hover {
724 -moz-image-region: rect(18px, 306px, 36px, 288px);
725}
726
727#navigator-toolbox:not([iconsize]) #characterencoding-button[cui-areatype="toolbar"] {
728 -moz-image-region: rect(0, 324px, 18px, 306px);
729}
730
731#navigator-toolbox:not([iconsize]) #characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
732#navigator-toolbox:not([iconsize]) #characterencoding-button[cui-areatype="toolbar"][open="true"] {
733 -moz-image-region: rect(18px, 324px, 36px, 306px);
734}
735
736#navigator-toolbox:not([iconsize]) #characterencoding-button[cui-areatype="toolbar"][disabled="true"] {
737 -moz-image-region: rect(36px, 324px, 54px, 306px);
738}
739
740#navigator-toolbox:not([iconsize]) #new-window-button[cui-areatype="toolbar"] {
741 -moz-image-region: rect(0, 342px, 18px, 324px);
742}
743
744#navigator-toolbox:not([iconsize]) #new-window-button[cui-areatype="toolbar"]:hover {
745 -moz-image-region: rect(18px, 342px, 36px, 324px);
746}
747
748#navigator-toolbox:not([iconsize]) #new-tab-button[cui-areatype="toolbar"] {
749 -moz-image-region: rect(0, 360px, 18px, 342px);
750}
751
752#navigator-toolbox:not([iconsize]) #new-tab-button[cui-areatype="toolbar"]:hover {
753 -moz-image-region: rect(18px, 360px, 36px, 342px);
754}
755
756#navigator-toolbox:not([iconsize]) #privatebrowsing-button[cui-areatype="toolbar"] {
757 -moz-image-region: rect(0, 378px, 18px, 360px);
758}
759
760#navigator-toolbox:not([iconsize]) #privatebrowsing-button[cui-areatype="toolbar"]:hover {
761 -moz-image-region: rect(18px, 378px, 36px, 360px);
762}
763
764#navigator-toolbox:not([iconsize]) #find-button[cui-areatype="toolbar"] {
765 -moz-image-region: rect(0, 396px, 18px, 378px);
766}
767
768#navigator-toolbox:not([iconsize]) #find-button[cui-areatype="toolbar"]:hover {
769 -moz-image-region: rect(18px, 396px, 36px, 378px);
770}
771
772#navigator-toolbox:not([iconsize]) #print-button[cui-areatype="toolbar"] {
773 -moz-image-region: rect(0, 414px, 18px, 396px);
774}
775
776#navigator-toolbox:not([iconsize]) #print-button[cui-areatype="toolbar"]:hover {
777 -moz-image-region: rect(18px, 414px, 36px, 396px);
778}
779
780#navigator-toolbox:not([iconsize]) #fullscreen-button[cui-areatype="toolbar"] {
781 -moz-image-region: rect(0, 432px, 18px, 414px);
782}
783
784#navigator-toolbox:not([iconsize]) #fullscreen-button[cui-areatype="toolbar"]:hover {
785 -moz-image-region: rect(18px, 432px, 36px, 414px);
786}
787
788#navigator-toolbox:not([iconsize]) #developer-button[cui-areatype="toolbar"] {
789 -moz-image-region: rect(0, 450px, 18px, 432px);
790}
791
792#navigator-toolbox:not([iconsize]) #developer-button[cui-areatype="toolbar"]:hover,
793#navigator-toolbox:not([iconsize]) #developer-button[cui-areatype="toolbar"][open="true"] {
794 -moz-image-region: rect(18px, 450px, 36px, 432px);
795}
796
797#navigator-toolbox:not([iconsize]) #preferences-button[cui-areatype="toolbar"] {
798 -moz-image-region: rect(0, 468px, 18px, 450px);
799}
800
801#navigator-toolbox:not([iconsize]) #preferences-button[cui-areatype="toolbar"]:hover {
802 -moz-image-region: rect(18px, 468px, 36px, 450px);
803}
804
805#navigator-toolbox:not([iconsize]) #PanelUI-menu-button {
806 -moz-image-region: rect(0, 486px, 18px, 468px);
807}
808
809#navigator-toolbox:not([iconsize]) #PanelUI-menu-button:hover,
810#navigator-toolbox:not([iconsize]) #PanelUI-menu-button[open="true"] {
811 -moz-image-region: rect(18px, 486px, 36px, 468px);
812}
813
814#navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #cut-button {
815 -moz-image-region: rect(0, 504px, 18px, 486px);
816}
817
818#navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #cut-button:hover:not([disabled="true"]) {
819 -moz-image-region: rect(18px, 504px, 36px, 486px);
820}
821
822#navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #cut-button[disabled="true"] {
823 -moz-image-region: rect(36px, 504px, 54px, 486px);
824}
825
826#navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #copy-button {
827 -moz-image-region: rect(0, 522px, 18px, 504px);
828}
829
830#navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #copy-button:hover:not([disabled="true"]) {
831 -moz-image-region: rect(18px, 522px, 36px, 504px);
832}
833
834#navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #copy-button[disabled="true"] {
835 -moz-image-region: rect(36px, 522px, 54px, 504px);
836}
837
838#navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #paste-button {
839 -moz-image-region: rect(0, 540px, 18px, 522px);
840}
841
842#navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #paste-button:hover:not([disabled="true"]) {
843 -moz-image-region: rect(18px, 540px, 36px, 522px);
844}
845
846#navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #paste-button[disabled="true"] {
847 -moz-image-region: rect(36px, 540px, 54px, 522px);
848}
849
850#navigator-toolbox:not([iconsize]) #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #zoom-out-button {
851 -moz-image-region: rect(0, 558px, 18px, 540px);
852}
853
854#navigator-toolbox:not([iconsize]) #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #zoom-out-button:hover:not([disabled="true"]) {
855 -moz-image-region: rect(18px, 558px, 36px, 540px);
856}
857
858#navigator-toolbox:not([iconsize]) #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #zoom-out-button[disabled="true"] {
859 -moz-image-region: rect(36px, 558px, 54px, 540px);
860}
861
862#navigator-toolbox:not([iconsize]) #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #zoom-in-button {
863 -moz-image-region: rect(0, 576px, 18px, 558px);
864}
865
866#navigator-toolbox:not([iconsize]) #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #zoom-in-button:hover:not([disabled="true"]) {
867 -moz-image-region: rect(18px, 576px, 36px, 558px);
868}
869
870#navigator-toolbox:not([iconsize]) #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #zoom-in-button[disabled="true"] {
871 -moz-image-region: rect(36px, 576px, 54px, 558px);
872}
873
874#navigator-toolbox:not([iconsize]) #webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) {
875 -moz-image-region: rect(0, 594px, 18px, 576px);
876}
877
878#navigator-toolbox:not([iconsize]) #webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)):hover,
879#navigator-toolbox:not([iconsize]) #webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem))[open="true"] {
880 -moz-image-region: rect(18px, 594px, 36px, 576px);
881}
882
883#navigator-toolbox:not([iconsize]) #nav-bar-overflow-button {
884 -moz-image-region: rect(0, 612px, 18px, 594px);
885}
886
887#navigator-toolbox:not([iconsize]) #nav-bar-overflow-button:hover,
888#navigator-toolbox:not([iconsize]) #nav-bar-overflow-button[open="true"] {
889 -moz-image-region: rect(18px, 612px, 36px, 594px);
890}
891
892/* === END toolbarbuttons.inc.css === */
893
894/* === BEGIN menupanel.inc.css === */
895
896/* Menu panel and palette styles */
897
898/* Remove |:-moz-any(#customization-palette, #panelUI-contents)| selector when Australis lands - this makes it only apply post-Australis as those elements only exist there */
899:-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, #new-tab-button, #new-window-button,
900 #cut-button, #copy-button, #paste-button, #fullscreen-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #sync-button, #feed-button,
901 #tabview-button, #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button, #preferences-button,
902 #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, #history-panelmenu, #nav-bar-overflow-button,
903 #PanelUI-menu-button, #characterencoding-button, #email-link-button)[cui-areatype="menu-panel"],
904:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, #new-tab-button, #new-window-button,
905 #cut-button, #copy-button, #paste-button, #fullscreen-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #sync-button, #feed-button,
906 #tabview-button, #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button, #preferences-button,
907 #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, #history-panelmenu, #nav-bar-overflow-button,
908 #PanelUI-menu-button, #characterencoding-button, #email-link-button) {
909 list-style-image: url("chrome://browser/skin/menuPanel.png");
910}
911
912#home-button[cui-areatype="menu-panel"],
913:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #home-button {
914 -moz-image-region: rect(0px, 128px, 32px, 96px);
915}
916
917#home-button[cui-areatype="menu-panel"]:hover,
918:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #home-button:hover {
919 -moz-image-region: rect(32px, 128px, 64px, 96px);
920}
921
922#bookmarks-menu-button[cui-areatype="menu-panel"],
923:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #bookmarks-menu-button {
924 -moz-image-region: rect(0px, 160px, 32px, 128px);
925}
926
927#bookmarks-menu-button[cui-areatype="menu-panel"]:hover,
928:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover {
929 -moz-image-region: rect(32px, 160px, 64px, 128px);
930}
931
932#bookmarks-menu-button[starred][cui-areatype="menu-panel"] {
933 -moz-image-region: rect(0px, 192px, 32px, 160px);
934}
935
936#bookmarks-menu-button[starred][cui-areatype="menu-panel"]:hover {
937 -moz-image-region: rect(32px, 192px, 64px, 160px);
938}
939
940#history-panelmenu[cui-areatype="menu-panel"],
941:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #history-panelmenu {
942 -moz-image-region: rect(0px, 224px, 32px, 192px);
943}
944
945#history-panelmenu[cui-areatype="menu-panel"]:hover,
946:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #history-panelmenu:hover {
947 -moz-image-region: rect(32px, 224px, 64px, 192px);
948}
949
950#downloads-button[cui-areatype="menu-panel"],
951#downloads-indicator[cui-areatype="menu-panel"],
952:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #downloads-button {
953 -moz-image-region: rect(0px, 256px, 32px, 224px);
954}
955
956#downloads-button[cui-areatype="menu-panel"]:hover,
957#downloads-indicator[cui-areatype="menu-panel"]:hover,
958:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #downloads-button:hover {
959 -moz-image-region: rect(32px, 256px, 64px, 224px);
960}
961
962#switch-to-metro-button[cui-areatype="menu-panel"],
963:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #switch-to-metro-button {
964 -moz-image-region: rect(0px, 800px, 32px, 768px);
965}
966
967#switch-to-metro-button[cui-areatype="menu-panel"]:hover,
968:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #switch-to-metro-button:hover {
969 -moz-image-region: rect(32px, 800px, 64px, 768px);
970}
971
972#add-ons-button[cui-areatype="menu-panel"],
973:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #add-ons-button {
974 -moz-image-region: rect(0px, 288px, 32px, 256px);
975}
976
977#add-ons-button[cui-areatype="menu-panel"]:hover,
978:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #add-ons-button:hover {
979 -moz-image-region: rect(32px, 288px, 64px, 256px);
980}
981
982#open-file-button[cui-areatype="menu-panel"],
983:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #open-file-button {
984 -moz-image-region: rect(0px, 320px, 32px, 288px);
985}
986
987#open-file-button[cui-areatype="menu-panel"]:hover,
988:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #open-file-button:hover {
989 -moz-image-region: rect(32px, 320px, 64px, 288px);
990}
991
992#save-page-button[cui-areatype="menu-panel"],
993:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #save-page-button {
994 -moz-image-region: rect(0px, 352px, 32px, 320px);
995}
996
997#save-page-button[cui-areatype="menu-panel"]:hover,
998:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #save-page-button:hover {
999 -moz-image-region: rect(32px, 352px, 64px, 320px);
1000}
1001
1002#sync-button[cui-areatype="menu-panel"],
1003:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #sync-button {
1004 -moz-image-region: rect(0px, 384px, 32px, 352px);
1005}
1006
1007#sync-button[cui-areatype="menu-panel"]:hover,
1008:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #sync-button:hover {
1009 -moz-image-region: rect(32px, 384px, 64px, 352px);
1010}
1011
1012#feed-button[cui-areatype="menu-panel"],
1013:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #feed-button {
1014 -moz-image-region: rect(0px, 416px, 32px, 384px);
1015}
1016
1017#feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1018:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) {
1019 -moz-image-region: rect(32px, 416px, 64px, 384px);
1020}
1021
1022#feed-button[cui-areatype="menu-panel"][disabled="true"],
1023:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] {
1024 -moz-image-region: rect(64px, 416px, 96px, 384px);
1025}
1026
1027#social-share-button[cui-areatype="menu-panel"],
1028:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #social-share-button {
1029 -moz-image-region: rect(0px, 448px, 32px, 416px);
1030}
1031
1032#social-share-button[cui-areatype="menu-panel"]:hover,
1033:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #social-share-button:hover {
1034 -moz-image-region: rect(32px, 448px, 64px, 416px);
1035}
1036
1037#email-link-button[cui-areatype="menu-panel"],
1038:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #email-link-button {
1039 -moz-image-region: rect(0, 448px, 32px, 416px);
1040}
1041
1042#email-link-button[cui-areatype="menu-panel"]:hover,
1043:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #email-link-button:hover {
1044 -moz-image-region: rect(32px, 448px, 64px, 416px);
1045}
1046
1047/* This is temporary until we have an email-link icon (Bug 932235) */
1048#email-link-button[cui-areatype="menu-panel"] > image,
1049:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #email-link-button > image {
1050 transform: scale(-1, -1);
1051}
1052
1053#characterencoding-button[cui-areatype="menu-panel"],
1054:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #characterencoding-button {
1055 -moz-image-region: rect(0px, 480px, 32px, 448px);
1056}
1057
1058#characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1059:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) {
1060 -moz-image-region: rect(32px, 480px, 64px, 448px);
1061}
1062
1063#characterencoding-button[cui-areatype="menu-panel"][disabled="true"],
1064:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] {
1065 -moz-image-region: rect(64px, 480px, 96px, 448px);
1066}
1067
1068#new-window-button[cui-areatype="menu-panel"],
1069:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #new-window-button {
1070 -moz-image-region: rect(0px, 512px, 32px, 480px);
1071}
1072
1073#new-window-button[cui-areatype="menu-panel"]:hover,
1074:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #new-window-button:hover {
1075 -moz-image-region: rect(32px, 512px, 64px, 480px);
1076}
1077
1078#new-tab-button[cui-areatype="menu-panel"],
1079:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #new-tab-button {
1080 -moz-image-region: rect(0px, 544px, 32px, 512px);
1081}
1082
1083#new-tab-button[cui-areatype="menu-panel"]:hover,
1084:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #new-tab-button:hover {
1085 -moz-image-region: rect(32px, 544px, 64px, 512px);
1086}
1087
1088#privatebrowsing-button[cui-areatype="menu-panel"],
1089:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #privatebrowsing-button {
1090 -moz-image-region: rect(0px, 576px, 32px, 544px);
1091}
1092
1093#privatebrowsing-button[cui-areatype="menu-panel"]:hover,
1094:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover {
1095 -moz-image-region: rect(32px, 576px, 64px, 544px);
1096}
1097
1098#find-button[cui-areatype="menu-panel"],
1099:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #find-button {
1100 -moz-image-region: rect(0px, 640px, 32px, 608px);
1101}
1102
1103#find-button[cui-areatype="menu-panel"]:hover,
1104:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #find-button:hover {
1105 -moz-image-region: rect(32px, 640px, 64px, 608px);
1106}
1107
1108#print-button[cui-areatype="menu-panel"],
1109:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #print-button {
1110 -moz-image-region: rect(0px, 672px, 32px, 640px);
1111}
1112
1113#print-button[cui-areatype="menu-panel"]:hover,
1114:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #print-button:hover {
1115 -moz-image-region: rect(32px, 672px, 64px, 640px);
1116}
1117
1118#fullscreen-button[cui-areatype="menu-panel"],
1119:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #fullscreen-button {
1120 -moz-image-region: rect(0px, 704px, 32px, 672px);
1121}
1122
1123#fullscreen-button[cui-areatype="menu-panel"]:hover,
1124:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #fullscreen-button:hover {
1125 -moz-image-region: rect(32px, 704px, 64px, 672px);
1126}
1127
1128#developer-button[cui-areatype="menu-panel"],
1129:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #developer-button {
1130 -moz-image-region: rect(0px, 736px, 32px, 704px);
1131}
1132
1133#developer-button[cui-areatype="menu-panel"]:hover,
1134:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #developer-button:hover {
1135 -moz-image-region: rect(32px, 736px, 64px, 704px);
1136}
1137
1138#preferences-button[cui-areatype="menu-panel"],
1139:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #preferences-button {
1140 -moz-image-region: rect(0px, 768px, 32px, 736px);
1141}
1142
1143#preferences-button[cui-areatype="menu-panel"]:hover,
1144:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #preferences-button:hover {
1145 -moz-image-region: rect(32px, 768px, 64px, 736px);
1146}
1147
1148/* Wide panel control icons */
1149
1150#edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > toolbarbutton,
1151#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > toolbarbutton,
1152:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton,
1153:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton {
1154 list-style-image: url("chrome://browser/skin/menuPanel-small.png");
1155}
1156
1157#edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #cut-button,
1158:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button {
1159 -moz-image-region: rect(0px, 32px, 16px, 16px);
1160}
1161
1162#edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #cut-button:hover:not([disabled="true"]),
1163:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) {
1164 -moz-image-region: rect(16px, 32px, 32px, 16px);
1165}
1166
1167#edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #cut-button[disabled="true"],
1168:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] {
1169 -moz-image-region: rect(32px, 32px, 48px, 16px);
1170}
1171
1172#edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #copy-button,
1173:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button {
1174 -moz-image-region: rect(0px, 48px, 16px, 32px);
1175}
1176
1177#edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #copy-button:hover:not([disabled="true"]),
1178:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) {
1179 -moz-image-region: rect(16px, 48px, 32px, 32px);
1180}
1181
1182#edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #copy-button[disabled="true"],
1183:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] {
1184 -moz-image-region: rect(32px, 48px, 48px, 32px);
1185}
1186
1187#edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #paste-button,
1188:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button {
1189 -moz-image-region: rect(0px, 64px, 16px, 48px);
1190}
1191
1192#edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #paste-button:hover:not([disabled="true"]),
1193:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) {
1194 -moz-image-region: rect(16px, 64px, 32px, 48px);
1195}
1196
1197#edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #paste-button[disabled="true"],
1198:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] {
1199 -moz-image-region: rect(32px, 64px, 48px, 48px);
1200}
1201
1202#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #zoom-out-button,
1203:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button {
1204 -moz-image-region: rect(0px, 80px, 16px, 64px);
1205}
1206
1207#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #zoom-out-button:hover:not([disabled="true"]),
1208:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) {
1209 -moz-image-region: rect(16px, 80px, 32px, 64px);
1210}
1211
1212#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #zoom-out-button[disabled="true"],
1213:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] {
1214 -moz-image-region: rect(32px, 80px, 48px, 64px);
1215}
1216
1217#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #zoom-in-button,
1218:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button {
1219 -moz-image-region: rect(0px, 96px, 16px, 80px);
1220}
1221
1222#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #zoom-in-button:hover:not([disabled="true"]),
1223:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) {
1224 -moz-image-region: rect(16px, 96px, 32px, 80px);
1225}
1226
1227#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #zoom-in-button[disabled="true"],
1228:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] {
1229 -moz-image-region: rect(32px, 96px, 48px, 80px);
1230}
1231
1232/* === END menupanel.inc.css === */
1233
1234.toolbarbutton-1 {
1235 list-style-image: url("chrome://browser/skin/FxToolbar.png");
1236}
1237
1238.toolbarbutton-1:not([type="menu-button"]) {
1239 -moz-box-orient: vertical;
1240}
1241
1242.toolbarbutton-1,
1243.toolbarbutton-1 > .toolbarbutton-menubutton-button {
1244 min-width: 36px;
1245 min-height: 36px;
1246}
1247
1248.toolbarbutton-1:not([type="menu-button"]) {
1249 -moz-box-orient: vertical;
1250}
1251
1252.toolbarbutton-1,
1253.toolbarbutton-1 > .toolbarbutton-menubutton-button,
1254.toolbarbutton-1[disabled="true"]:hover:active,
1255.toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
1256 padding: 1px 2px;
1257}
1258
1259.toolbarbutton-1:hover:active,
1260.toolbarbutton-1[open="true"],
1261.toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
1262 padding-top: 2px;
1263 padding-bottom: 0px;
1264 -moz-padding-start: 3px;
1265 -moz-padding-end: 1px;
1266}
1267
1268/* ::::: small primary toolbar buttons ::::: */
1269
1270#nav-bar {
1271 /* force iconsize="small" on this toolbar */
1272 counter-reset: smallicons;
1273}
1274
1275toolbar[mode="text"] .toolbarbutton-1,
1276toolbar[mode="icons"] .toolbarbutton-1,
1277toolbar[iconsize="small"] .toolbarbutton-1,
1278:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1,
1279toolbar[mode="text"] .toolbarbutton-menubutton-button,
1280toolbar[mode="icons"] .toolbarbutton-menubutton-button,
1281toolbar[iconsize="small"] .toolbarbutton-menubutton-button,
1282:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1283 min-width: 0px;
1284 min-height: 0px;
1285}
1286
1287toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker {
1288 padding-top: 4px;
1289 padding-bottom: 8px;
1290 -moz-padding-start: 1px;
1291 -moz-padding-end: 1px;
1292}
1293
1294toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker,
1295toolbar[iconsize="small"] .toolbarbutton-menubutton-dropmarker,
1296:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1297 padding-top: 0px;
1298 padding-bottom: 13px;
1299 -moz-padding-start: 1px;
1300 -moz-padding-end: 1px;
1301}
1302
1303toolbar[mode="text"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
1304toolbar[mode="text"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
1305 padding-top: 5px;
1306 padding-bottom: 7px;
1307 -moz-padding-start: 2px;
1308 -moz-padding-end: 0px;
1309}
1310
1311toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
1312toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
1313toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
1314toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
1315:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
1316:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
1317 padding-top: 1px;
1318 padding-bottom: 12px;
1319 -moz-padding-start: 2px;
1320 -moz-padding-end: 0px;
1321}
1322
1323toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker[disabled="true"] {
1324 padding-top: 4px !important;
1325 padding-bottom: 8px !important;
1326 -moz-padding-start: 1px !important;
1327 -moz-padding-end: 1px !important;
1328}
1329
1330toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker[disabled="true"],
1331toolbar[iconsize="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] {
1332 padding-top: 0px !important;
1333 padding-bottom: 13px !important;
1334 -moz-padding-start: 1px !important;
1335 -moz-padding-end: 1px !important;
1336}
1337
1338toolbar[mode="icons"] .toolbarbutton-text,
1339toolbar[mode="text"] .toolbarbutton-icon {
1340 display: none;
1341}
1342
1343toolbar[mode="text"] .toolbarbutton-text {
1344 padding: 4px 0;
1345}
1346
1347toolbar[mode="text"] .toolbarbutton-1,
1348toolbar[mode="text"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1349 -moz-box-orient: horizontal;
1350}
1351
1352toolbar[mode="full"] .toolbarbutton-1,
1353toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1354 min-width: 30px;
1355}
1356
1357#navigator-toolbox[iconsize=small] > #nav-bar {
1358}
1359
1360#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar {
1361}
1362
1363
1364/* unified back/forward button */
1365
1366/* Australis?
1367#forward-button {
1368 padding: 0 !important;
1369}
1370
1371#forward-button > menupopup {
1372 margin-top: 1px !important;
1373}
1374*/
1375
1376#back-button {
1377 -moz-margin-end: 0;
1378}
1379
1380/* A number of styles use :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) - this makes it only apply pre-Australis as iconsize and palette-box or addon-bar don't exist afterwards */
1381:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #back-button {
1382 -moz-image-region: rect(0, 18px, 18px, 0);
1383}
1384
1385:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #back-button:not([disabled="true"]):hover {
1386 -moz-image-region: rect(18px, 18px, 36px, 0);
1387}
1388
1389:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #back-button[disabled="true"] {
1390 -moz-image-region: rect(36px, 18px, 54px, 0);
1391}
1392
1393#forward-button {
1394 -moz-margin-start: 0;
1395}
1396
1397:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #forward-button {
1398 -moz-image-region: rect(0, 36px, 18px, 18px);
1399}
1400
1401:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #forward-button:not([disabled="true"]):hover {
1402 -moz-image-region: rect(18px, 36px, 36px, 18px);
1403}
1404
1405:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #forward-button[disabled="true"] {
1406 -moz-image-region: rect(36px, 36px, 54px, 18px);
1407}
1408
1409#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
1410#forward-button:-moz-locale-dir(rtl),
1411#forward-button:-moz-locale-dir(rtl) > .toolbarbutton-text {
1412 transform: scaleX(-1);
1413}
1414/*
1415#nav-bar #back-button:-moz-locale-dir(ltr) {
1416 border-top-right-radius: 0;
1417 border-bottom-right-radius: 0;
1418}
1419
1420#nav-bar #back-button:-moz-locale-dir(rtl),
1421#nav-bar #forward-button {
1422 border-top-left-radius: 0;
1423 border-bottom-left-radius: 0;
1424}
1425*/
1426/* Remove selector when Australis lands - this makes it only apply post-Australis as back/forward buttons are in the urlbar-container there */
1427#urlbar-container > #back-button,
1428window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1429 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1430 #unified-back-forward-button > #back-button {
1431 border-radius: 10000px;
1432 width: 30px;
1433 height: 30px;
1434 position: relative;
1435 z-index: 1;
1436 margin-top: -2px;
1437 margin-bottom: -2px;
1438 border: none;
1439 -moz-image-region: rect(54px, 20px, 74px, 0);
1440}
1441
1442/* Remove selector when Australis lands - this makes it only apply post-Australis as back/forward buttons are in the urlbar-container there */
1443#urlbar-container > #back-button[open="true"],
1444window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1445 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1446 #unified-back-forward-button > #back-button:not([disabled="true"]):hover,
1447window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1448 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1449 #unified-back-forward-button > #back-button[open="true"] {
1450 -moz-image-region: rect(54px, 40px, 74px, 20px);
1451}
1452
1453/* Remove selector when Australis lands - this makes it only apply post-Australis as back/forward buttons are in the urlbar-container there */
1454#urlbar-container > #back-button[disabled="true"],
1455window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1456 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1457 #unified-back-forward-button > #back-button[disabled="true"] {
1458 -moz-image-region: rect(54px, 60px, 74px, 40px);
1459}
1460
1461window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1462 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1463 #unified-back-forward-button > #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover {
1464}
1465
1466window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1467 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1468 #unified-back-forward-button > #back-button:not([disabled="true"]):hover:active,
1469window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1470 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1471 #unified-back-forward-button > #back-button[open="true"] {
1472}
1473
1474#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar[currentset*="unified-back-forward-button"],
1475#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar:not([currentset]) {
1476/* padding-top: 3px;
1477 padding-bottom: 5px; */
1478}
1479
1480#navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar[currentset*="unified-back-forward-button"],
1481#navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar:not([currentset]) {
1482/* padding-top: 5px; */
1483}
1484
1485/* Remove selector when Australis lands - this makes it only apply post-Australis as back/forward buttons are in the urlbar-container there */
1486#urlbar-container > #forward-button,
1487window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1488 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1489 #unified-back-forward-button > #forward-button {
1490 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
1491 /*clip-path: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-clip-path"); */
1492 -moz-margin-start: -6px !important;
1493 padding-left: 7px;
1494 padding-right: 3px;
1495 margin-top: 2px;
1496 margin-bottom: 2px;
1497}
1498
1499/* Remove selector when Australis lands - this makes it only apply post-Australis as back/forward buttons are in the urlbar-container there */
1500#urlbar-container > #forward-button:-moz-locale-dir(ltr),
1501window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1502 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1503 #unified-back-forward-button > #forward-button:-moz-locale-dir(ltr) {
1504 border-top-right-radius: 11px;
1505 border-bottom-right-radius: 11px;
1506}
1507
1508/* Remove selector when Australis lands - this makes it only apply post-Australis as back/forward buttons are in the urlbar-container there */
1509#urlbar-container > #forward-button:-moz-locale-dir(rtl),
1510window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1511 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1512 #unified-back-forward-button > #forward-button:-moz-locale-dir(rtl) {
1513 border-top-left-radius: 11px;
1514 border-bottom-left-radius: 11px;
1515}
1516
1517.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
1518.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
1519 list-style-image: url("chrome://global/skin/arrow/arrow-left.gif") !important;
1520}
1521
1522.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr):hover,
1523.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl):hover {
1524 list-style-image: url("chrome://global/skin/arrow/arrow-left-hover.gif") !important;
1525}
1526
1527.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
1528.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
1529 list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important;
1530}
1531
1532.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr):hover,
1533.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl):hover {
1534 list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important;
1535}
1536
1537window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1538 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1539 #unified-back-forward-button > #forward-button {
1540/* border-top-right-radius: 0;
1541 border-bottom-right-radius: 0;
1542 -moz-margin-end: 0; */
1543}
1544
1545window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1546 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1547 #unified-back-forward-button:not([switchingtabs]) > #forward-button,
1548window:not([chromehidden~="toolbar"]) #urlbar-container:not([switchingtabs]) > #forward-button {
1549 transition: opacity 150ms ease-out;
1550}
1551
1552window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1553 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1554 #unified-back-forward-button:not(:hover) > #forward-button[disabled],
1555window:not([chromehidden~="toolbar"]) #urlbar-container:not(:hover) > #forward-button[disabled] {
1556 opacity: 0;
1557}
1558
1559window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1560 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1561 #unified-back-forward-button:hover > #forward-button[disabled],
1562window:not([chromehidden~="toolbar"]) #urlbar-container:hover > #forward-button[disabled] {
1563 background-color: transparent;
1564}
1565
1566/* A number of buttons use :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) - this makes it only apply pre-Australis as iconsize and the palette-box don't exist afterwards */
1567:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #stop-button {
1568 -moz-image-region: rect(0, 54px, 18px, 36px);
1569}
1570
1571:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #stop-button:not([disabled="true"]):hover {
1572 -moz-image-region: rect(18px, 54px, 36px, 36px);
1573}
1574
1575:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #stop-button[disabled="true"] {
1576 -moz-image-region: rect(36px, 54px, 54px, 36px);
1577}
1578
1579:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #reload-button {
1580 -moz-image-region: rect(0, 72px, 18px, 54px);
1581}
1582
1583:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #reload-button:not([disabled="true"]):hover {
1584 -moz-image-region: rect(18px, 72px, 36px, 54px);
1585}
1586
1587:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #reload-button[disabled="true"] {
1588 -moz-image-region: rect(36px, 72px, 54px, 54px);
1589}
1590
1591:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #home-button.bookmark-item {
1592 list-style-image: url("chrome://browser/skin/FxToolbar.png");
1593}
1594:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #home-button {
1595 -moz-image-region: rect(0, 90px, 18px, 72px);
1596}
1597
1598:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #home-button:not([disabled="true"]):hover {
1599 -moz-image-region: rect(18px, 90px, 36px, 72px);
1600}
1601
1602:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #home-button[disabled="true"] {
1603 -moz-image-region: rect(36px, 90px, 54px, 72px);
1604}
1605
1606:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #downloads-button {
1607 -moz-image-region: rect(0, 108px, 18px, 90px);
1608}
1609
1610:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #downloads-button:not([disabled="true"]):hover {
1611 -moz-image-region: rect(18px, 108px, 36px, 90px);
1612}
1613
1614:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #downloads-button[disabled="true"] {
1615 -moz-image-region: rect(36px, 108px, 54px, 90px);
1616}
1617
1618#downloads-button > .toolbarbutton-icon {
1619 margin: 0;
1620}
1621
1622:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #history-button {
1623 -moz-image-region: rect(0, 126px, 18px, 108px);
1624}
1625
1626:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #history-button:not([disabled="true"]):hover {
1627 -moz-image-region: rect(18px, 126px, 36px, 108px);
1628}
1629
1630:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #history-button[disabled="true"] {
1631 -moz-image-region: rect(36px, 126px, 54px, 108px);
1632}
1633
1634:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #bookmarks-button,
1635:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #bookmarks-menu-button {
1636 list-style-image: url("chrome://browser/skin/FxToolbar.png") !important; /* for making the palette work */
1637 -moz-image-region: rect(0, 144px, 18px, 126px);
1638}
1639
1640#bookmarks-menu-button.bookmark-item {
1641 /* list-style-image: url("chrome://browser/skin/FxToolbar.png"); */
1642}
1643
1644:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #bookmarks-menu-button.toolbarbutton-1 {
1645 -moz-box-orient: horizontal;
1646}
1647
1648:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #bookmarks-button:not([disabled="true"]):hover,
1649:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #bookmarks-menu-button[open="true"],
1650:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #bookmarks-menu-button:not([disabled="true"]):hover {
1651 -moz-image-region: rect(18px, 144px, 36px, 126px);
1652}
1653
1654:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #bookmarks-button[disabled="true"],
1655:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #bookmarks-menu-button[disabled="true"] {
1656 -moz-image-region: rect(36px, 144px, 54px, 126px);
1657}
1658
1659:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #print-button {
1660 -moz-image-region: rect(0, 162px, 18px, 144px);
1661}
1662
1663:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #print-button:not([disabled="true"]):hover {
1664 -moz-image-region: rect(18px, 162px, 36px, 144px);
1665}
1666
1667:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #print-button[disabled="true"] {
1668 -moz-image-region: rect(36px, 162px, 54px, 144px);
1669}
1670
1671:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #new-tab-button {
1672 -moz-image-region: rect(0, 180px, 18px, 162px);
1673}
1674
1675:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #new-tab-button:not([disabled="true"]):hover {
1676 -moz-image-region: rect(18px, 180px, 36px, 162px);
1677}
1678
1679:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #new-tab-button[disabled="true"] {
1680 -moz-image-region: rect(36px, 180px, 54px, 162px);
1681}
1682
1683:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #new-window-button {
1684 -moz-image-region: rect(0, 198px, 18px, 180px);
1685}
1686
1687:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #new-window-button:not([disabled="true"]):hover {
1688 -moz-image-region: rect(18px, 198px, 36px, 180px);
1689}
1690
1691:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #new-window-button[disabled="true"] {
1692 -moz-image-region: rect(36px, 198px, 54px, 180px);
1693}
1694
1695#cut-button {
1696 -moz-image-region: rect(0, 216px, 18px, 198px);
1697}
1698
1699#cut-button:not([disabled="true"]):hover {
1700 -moz-image-region: rect(18px, 216px, 36px, 198px);
1701}
1702
1703#cut-button[disabled="true"] {
1704 -moz-image-region: rect(36px, 216px, 54px, 198px);
1705}
1706
1707#copy-button {
1708 -moz-image-region: rect(0, 234px, 18px, 216px);
1709}
1710
1711#copy-button:not([disabled="true"]):hover {
1712 -moz-image-region: rect(18px, 234px, 36px, 216px);
1713}
1714
1715#copy-button[disabled="true"] {
1716 -moz-image-region: rect(36px, 234px, 54px, 216px);
1717}
1718
1719#paste-button {
1720 -moz-image-region: rect(0, 252px, 18px, 234px);
1721}
1722
1723#paste-button:not([disabled="true"]):hover {
1724 -moz-image-region: rect(18px, 252px, 36px, 234px);
1725}
1726
1727#paste-button[disabled="true"] {
1728 -moz-image-region: rect(36px, 252px, 54px, 234px);
1729}
1730
1731:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #fullscreen-button {
1732 -moz-image-region: rect(0, 270px, 18px, 252px);
1733}
1734
1735:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #fullscreen-button:not([disabled="true"]):hover {
1736 -moz-image-region: rect(18px, 270px, 36px, 252px);
1737}
1738
1739:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #fullscreen-button[disabled="true"] {
1740 -moz-image-region: rect(36px, 270px, 54px, 252px);
1741}
1742
1743#zoom-out-button {
1744 -moz-image-region: rect(0, 288px, 18px, 270px);
1745 -moz-margin-end: 0;
1746}
1747
1748#zoom-in-button {
1749 -moz-image-region: rect(0, 306px, 18px, 288px);
1750}
1751
1752#zoom-out-button:not([disabled="true"]):hover {
1753 -moz-image-region: rect(18px, 288px, 36px, 270px);
1754}
1755
1756#zoom-out-button[disabled="true"] {
1757 -moz-image-region: rect(36px, 288px, 54px, 270px);
1758}
1759
1760#zoom-in-button:not([disabled="true"]):hover {
1761 -moz-image-region: rect(18px, 306px, 36px, 288px);
1762}
1763
1764#zoom-in-button[disabled="true"] {
1765 -moz-image-region: rect(36px, 306px, 54px, 288px);
1766}
1767
1768:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #sync-button:not([status]) {
1769 list-style-image: url("chrome://browser/skin/FxToolbar.png") !important; /* for making the palette work */
1770 -moz-image-region: rect(0, 324px, 18px, 306px);
1771}
1772
1773:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #sync-button[status="active"] {
1774 list-style-image: url("chrome://browser/skin/sync-throbber.png");
1775 -moz-image-region: rect(0, 18px, 18px, 0);
1776}
1777
1778:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #sync-button[disabled="true"] {
1779 -moz-image-region: rect(36px, 324px, 54px, 306px);
1780}
1781
1782:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #feed-button {
1783 -moz-image-region: rect(0, 342px, 18px, 324px);
1784}
1785
1786:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #feed-button[disabled="true"] {
1787 -moz-image-region: rect(36px, 342px, 54px, 324px);
1788}
1789
1790:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #webrtc-status-button {
1791 -moz-image-region: rect(0, 360px, 18px, 342px);
1792}
1793
1794:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #webrtc-status-button:not([disabled="true"]):hover,
1795:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #webrtc-status-button[open="true"] {
1796 -moz-image-region: rect(18px, 360px, 36px, 342px);
1797}
1798
1799:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #webrtc-status-button[disabled="true"] {
1800 -moz-image-region: rect(36px, 360px, 54px, 342px);
1801}
1802
1803/* tabview button & menu item */
1804
1805#tabview-button,
1806#menu_tabview {
1807 list-style-image: url("chrome://browser/skin/tabview/tabview.png") !important;
1808}
1809
1810#tabview-button {
1811 -moz-image-region: rect(0, 90px, 18px, 72px);
1812}
1813
1814#tabview-button[groups="0"] {
1815 -moz-image-region: rect(0, 18px, 18px, 0);
1816}
1817
1818#tabview-button[groups="1"] {
1819 -moz-image-region: rect(0, 36px, 18px, 18px);
1820}
1821
1822#tabview-button[groups="2"] {
1823 -moz-image-region: rect(0, 54px, 18px, 36px);
1824}
1825
1826#tabview-button[groups="3"] {
1827 -moz-image-region: rect(0, 72px, 18px, 54px);
1828}
1829
1830#menu_tabview {
1831 -moz-image-region: rect(1px, 89px, 17px, 73px);
1832}
1833
1834#menu_tabview[groups="0"] {
1835 -moz-image-region: rect(1px, 17px, 17px, 1px);
1836}
1837
1838#menu_tabview[groups="1"] {
1839 -moz-image-region: rect(1px, 35px, 17px, 19px);
1840}
1841
1842#menu_tabview[groups="2"] {
1843 -moz-image-region: rect(1px, 53px, 17px, 37px);
1844}
1845
1846#menu_tabview[groups="3"] {
1847 -moz-image-region: rect(1px, 71px, 17px, 55px);
1848}
1849
1850/* ::::: fullscreen window controls ::::: */
1851
1852#window-controls {
1853 -moz-margin-start: 4px;
1854}
1855
1856#minimize-button,
1857#restore-button,
1858#close-button {
1859/* padding: 0; */
1860}
1861
1862#minimize-button {
1863 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1864}
1865
1866#minimize-button:hover {
1867 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1868}
1869
1870#restore-button {
1871 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1872}
1873
1874#restore-button:hover {
1875 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1876}
1877
1878#close-button {
1879 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1880}
1881
1882#close-button:hover {
1883 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1884}
1885
1886/* ::::: Location Bar ::::: */
1887
1888#urlbar,
1889.searchbar-textbox {
1890 border-radius: 5px;
1891 margin: 0;
1892 -moz-margin-start: 3px;
1893}
1894
1895#urlbar {
1896 width: 7em;
1897 /* make color as light as possible to deal with dark non-domain parts */
1898 color: #FFBFFF;
1899}
1900
1901#urlbar:-moz-lwtheme,
1902.searchbar-textbox:-moz-lwtheme {
1903 /* background-color: rgba(255,255,255,.8);
1904 @navbarTextboxCustomBorder@
1905 color: black; */
1906}
1907
1908window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1909 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1910 #unified-back-forward-button + #urlbar-container,
1911window:not([chromehidden~="toolbar"]) #urlbar-container > #urlbar-wrapper {
1912 padding-left: 22px;
1913 -moz-margin-start: -22px;
1914 position: relative;
1915 pointer-events: none;
1916}
1917
1918window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1919 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1920 #unified-back-forward-button + #urlbar-container > #urlbar,
1921window:not([chromehidden~="toolbar"]) #urlbar-container > #urlbar-wrapper > #urlbar {
1922/* -moz-border-start: none;
1923 margin-left: 0; */
1924 pointer-events: all;
1925}
1926
1927window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1928 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1929 #unified-back-forward-button:not([switchingtabs]) + #urlbar-container > #urlbar,
1930window:not([chromehidden~="toolbar"]) #urlbar-container:not([switchingtabs]) > #urlbar-wrapper > #urlbar {
1931 transition: margin-left 150ms ease-out;
1932}
1933
1934window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1935 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1936 #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(ltr),
1937window:not([chromehidden~="toolbar"]) #urlbar-container > #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) {
1938/* border-top-left-radius: 0;
1939 border-bottom-left-radius: 0; */
1940}
1941
1942window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1943 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1944 #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(rtl),
1945window:not([chromehidden~="toolbar"]) #urlbar-container > #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1946/* border-top-right-radius: 0;
1947 border-bottom-right-radius: 0; */
1948}
1949
1950window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1951 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1952 #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar,
1953window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled] > #urlbar-wrapper > #urlbar {
1954 margin-left: -22px;
1955}
1956
1957window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1958 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1959 #unified-back-forward-button[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar,
1960window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled]:hover:not([switchingtabs]) > #urlbar-wrapper > #urlbar {
1961 /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
1962 transition-delay: 100s;
1963}
1964
1965window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1966 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1967 #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar,
1968window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled]:not(:hover) > #urlbar-wrapper > #urlbar {
1969 /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
1970 margin-left: -22.01px;
1971}
1972
1973window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1974 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1975 #unified-back-forward-button + #urlbar-container:-moz-locale-dir(rtl),
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])) >
1978 #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(rtl),
1979window:not([chromehidden~="toolbar"]) #urlbar-container > #urlbar-wrapper:-moz-locale-dir(rtl),
1980window:not([chromehidden~="toolbar"]) #urlbar-container > #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1981 /* let winstripe-urlbar-back-button-clip-path clip the urlbar's right side for RTL */
1982 transform: scaleX(-1);
1983}
1984
1985html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1986.searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
1987 color: #E7ADE7;
1988}
1989
1990#urlbar:-moz-lwtheme[focused="true"],
1991.searchbar-textbox:-moz-lwtheme[focused="true"] {
1992/* background-color: white; */
1993}
1994
1995#urlbar-container {
1996 -moz-box-orient: horizontal;
1997 -moz-box-align: stretch;
1998}
1999
2000.urlbar-textbox-container {
2001 -moz-box-align: stretch;
2002}
2003
2004.urlbar-input-box {
2005 -moz-margin-start: 0;
2006 min-width: 4em;
2007}
2008
2009#urlbar-icons {
2010 -moz-box-align: center;
2011}
2012
2013.urlbar-icon {
2014 padding: 0 2px;
2015}
2016
2017.searchbar-engine-button,
2018.search-go-container {
2019 padding: 2px;
2020}
2021
2022.search-go-container > .search-go-button {
2023 padding: 0;
2024}
2025
2026.urlbar-icon:hover {
2027}
2028
2029.urlbar-icon[open="true"],
2030.urlbar-icon:hover:active {
2031}
2032
2033#urlbar-search-splitter {
2034 min-width: 6px;
2035 -moz-margin-start: -3px;
2036 border: none;
2037 background: transparent;
2038}
2039
2040#urlbar-search-splitter + #urlbar-container > #urlbar,
2041#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
2042 -moz-margin-start: 0;
2043}
2044
2045#urlbar-display {
2046 -moz-border-end: 1px solid #9C9CFF;
2047 -moz-margin-end: 3px;
2048 margin-top: 0;
2049 margin-bottom: 0;
2050 -moz-margin-start: 0;
2051 color: #8050B0;
2052}
2053
2054#search-container {
2055 min-width: calc(54px + 11ch);
2056}
2057
2058/* identity box */
2059
2060#identity-box {
2061 border-radius: 2px;
2062 font-size: .9em;
2063}
2064
2065#notification-popup-box:not([hidden]) + #identity-box {
2066 -moz-padding-start: 10px !important;
2067 border-radius: 0;
2068}
2069
2070window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
2071 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
2072 #unified-back-forward-button + #urlbar-container > #urlbar > #identity-box,
2073window:not([chromehidden~="toolbar"]) #urlbar-container > #urlbar-wrapper > #urlbar > #identity-box {
2074/* border-radius: 0; */
2075 -moz-padding-start: 2px;
2076 -moz-padding-end: 2px;
2077 -moz-margin-end: 1px;
2078}
2079
2080window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
2081 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
2082 #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar >
2083 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr),
2084window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled] > #urlbar-wrapper > #urlbar >
2085 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
2086 padding-left: 2px;
2087 transition: padding-left;
2088}
2089
2090window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
2091 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
2092 #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar >
2093 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl),
2094window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled] > #urlbar-wrapper > #urlbar >
2095 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
2096 padding-right: 2px;
2097 transition: padding-right;
2098}
2099
2100window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
2101 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
2102 #unified-back-forward-button[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar >
2103 #notification-popup-box[hidden] + #identity-box,
2104window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled]:hover:not([switchingtabs]) > #urlbar-wrapper > #urlbar >
2105 #notification-popup-box[hidden] + #identity-box {
2106 /* forward button hiding is delayed when hovered */
2107 transition-delay: 100s;
2108}
2109
2110window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
2111 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
2112 #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar >
2113 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr),
2114window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled]:not(:hover) > #urlbar-wrapper > #urlbar >
2115 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
2116 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2117 padding-left: 2.01px;
2118}
2119
2120window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
2121 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
2122 #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar >
2123 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl),
2124window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled]:not(:hover) > #urlbar-wrapper > #urlbar >
2125 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
2126 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2127 padding-right: 2.01px;
2128}
2129
2130#urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
2131#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2132 -moz-margin-end: 3px;
2133}
2134
2135#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr),
2136#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) {
2137 border-top-right-radius: 0;
2138 border-bottom-right-radius: 0;
2139}
2140
2141#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl),
2142#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
2143 border-top-left-radius: 0;
2144 border-bottom-left-radius: 0;
2145}
2146
2147#identity-box.verifiedIdentity:not(:-moz-lwtheme) {
2148 background-color: #000000;
2149}
2150
2151#identity-box:-moz-focusring {
2152 outline: 1px dotted #008484;
2153 outline-offset: -1px;
2154}
2155
2156#identity-box.verifiedDomain:-moz-focusring,
2157#identity-box.verifiedIdentity:-moz-focusring {
2158 outline-color: #000000;
2159}
2160
2161#identity-icon-labels {
2162 -moz-margin-start: 1px;
2163 -moz-margin-end: 3px;
2164}
2165
2166/* Location bar dropmarker */
2167
2168.urlbar-history-dropmarker:not(:hover):not([open="true"]) {
2169 background-color: transparent;
2170}
2171
2172#urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker,
2173#urlbar-wrapper > #urlbar > .urlbar-history-dropmarker {
2174 border: none;
2175 border-radius: 0px;
2176}
2177
2178.urlbar-history-dropmarker:hover {
2179}
2180
2181.urlbar-history-dropmarker:hover:active,
2182.urlbar-history-dropmarker[open="true"] {
2183}
2184
2185/* page proxy icon */
2186
2187/* === BEGIN identity-block.inc.css === */
2188
2189#urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
2190 /* Default theme does different color per channel, we can't as they do it build-time. */
2191 color: #9C9CFF;
2192 -moz-border-end: 1px solid #9C9CFF;
2193}
2194
2195#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2196 color: #008484;
2197 -moz-border-end: 1px solid #008484;
2198}
2199
2200#urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
2201#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2202 background-position: right;
2203 background-size: 1px;
2204 background-repeat: no-repeat;
2205}
2206
2207/* page proxy icon */
2208
2209#page-proxy-favicon {
2210 width: 16px;
2211 height: 16px;
2212 list-style-image: url("chrome://browser/skin/identity-icons-generic.png");
2213 margin: 2px;
2214}
2215
2216.chromeUI > #page-proxy-favicon[pageproxystate="valid"] {
2217 list-style-image: url("chrome://branding/content/identity-icons-brand.png");
2218}
2219
2220.verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
2221 list-style-image: url("chrome://browser/skin/identity-icons-https.png");
2222}
2223
2224.verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
2225 list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png");
2226}
2227
2228.mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
2229 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png");
2230}
2231
2232.mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] {
2233 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
2234}
2235
2236.mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
2237 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
2238}
2239
2240#page-proxy-favicon[pageproxystate="invalid"] {
2241 opacity: 0.3;
2242}
2243
2244#identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
2245 list-style-image: url("chrome://branding/content/icon64.png");
2246}
2247
2248#identity-popup-brandName {
2249 font-weight: bold;
2250 font-size: 1.25em;
2251 margin-top: .5em;
2252 margin-bottom: .5em;
2253}
2254
2255#identity-popup-content-box {
2256 max-width: 50ch;
2257}
2258
2259/* === END identity-block.inc.css === */
2260
2261#page-proxy-favicon {
2262 -moz-image-region: rect(0, 16px, 16px, 0);
2263}
2264
2265#identity-box:hover > #page-proxy-favicon {
2266 -moz-image-region: rect(0, 32px, 16px, 16px);
2267}
2268
2269#identity-box:hover:active > #page-proxy-favicon,
2270#identity-box[open=true] > #page-proxy-favicon {
2271 -moz-image-region: rect(0, 48px, 16px, 32px);
2272}
2273
2274#identity-box:hover {
2275 background-color: #FFCF00;
2276 color: #000000;
2277}
2278
2279#identity-box:hover:active,
2280#identity-box[open=true] {
2281 background-color: #FF9F00;
2282 color: #000000;
2283}
2284
2285#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover,
2286#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active,
2287#urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] {
2288 background-color: #9C9CFF;
2289 color: #000000;
2290}
2291
2292#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
2293#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
2294#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
2295 background-color: #008484;
2296 color: #000000;
2297}
2298
2299/* autocomplete */
2300
2301#treecolAutoCompleteImage {
2302 max-width: 36px;
2303}
2304
2305.ac-result-type-bookmark,
2306.autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
2307 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2308 -moz-image-region: rect(0px 16px 16px 0px);
2309 width: 16px;
2310 height: 16px;
2311}
2312
2313.ac-result-type-keyword,
2314.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
2315 list-style-image: url("chrome://global/skin/icons/Search-glass.png");
2316 -moz-image-region: rect(0px 32px 16px 16px);
2317 width: 16px;
2318 height: 16px;
2319}
2320
2321.ac-result-type-tag,
2322.autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
2323 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
2324 width: 16px;
2325 height: 16px;
2326}
2327
2328.ac-comment {
2329 font-size: 1.15em;
2330}
2331
2332.ac-extra > .ac-comment {
2333 font-size: inherit;
2334}
2335
2336.ac-url-text,
2337.ac-action-text {
2338 color: #9C9CFF;
2339}
2340
2341richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
2342 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
2343 -moz-image-region: rect(0, 16px, 16px, 0);
2344 padding: 0 3px;
2345}
2346
2347richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
2348 -moz-image-region: rect(16px, 16px, 32px, 0);
2349}
2350
2351.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
2352 color: #8050B0;
2353}
2354
2355.ac-comment[selected="true"],
2356.ac-url-text[selected="true"],
2357.ac-action-text[selected="true"] {
2358 color: inherit !important;
2359}
2360
2361.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
2362.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
2363{
2364 color: #8050B0;
2365 font-size: smaller;
2366}
2367
2368.autocomplete-treebody::-moz-tree-cell(suggesthint) {
2369 border-top: 1px solid #9C9CFF;
2370}
2371
2372/* combined go/reload/stop button in location bar */
2373
2374#go-button,
2375#urlbar > toolbarbutton {
2376 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
2377 /* margin: -2px; */
2378 -moz-margin-start: 0;
2379 padding: 0 2px;
2380 background-origin: border-box;
2381 border: none;
2382 -moz-border-start: 1px solid #9C9CFF;
2383}
2384
2385#go-button {
2386 padding: 0 3px;
2387}
2388
2389#urlbar:-moz-locale-dir(ltr) > toolbarbutton {
2390 border-top-left-radius: 0px;
2391 border-bottom-left-radius: 0px;
2392}
2393
2394#urlbar:-moz-locale-dir(rtl) > toolbarbutton {
2395 border-top-right-radius: 0px;
2396 border-bottom-right-radius: 0px;
2397}
2398
2399#urlbar > toolbarbutton:not([disabled]):active:hover,
2400#urlbar-reload-button:not(:hover) {
2401 -moz-border-start-style: none;
2402 -moz-padding-start: 3px;
2403}
2404
2405#urlbar > toolbarbutton:not([disabled]):active:hover {
2406}
2407
2408#urlbar-go-button {
2409 -moz-image-region: rect(0, 42px, 14px, 28px);
2410}
2411
2412#go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
2413#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2414 transform: scaleX(-1);
2415}
2416
2417#urlbar-go-button:hover,
2418#go-button:hover {
2419 -moz-image-region: rect(14px, 42px, 28px, 28px);
2420}
2421
2422#urlbar-reload-button {
2423 -moz-image-region: rect(0px, 14px, 14px, 0px);
2424}
2425
2426#urlbar-reload-button[disabled] {
2427 -moz-image-region: rect(28px, 14px, 42px, 0px);
2428}
2429
2430#urlbar-reload-button:not([disabled]):hover {
2431 -moz-image-region: rect(14px, 14px, 28px, 0px);
2432}
2433
2434#urlbar-stop-button {
2435 -moz-image-region: rect(0px, 28px, 14px, 14px);
2436}
2437
2438#urlbar-stop-button:hover {
2439 -moz-image-region: rect(14px, 28px, 28px, 14px);
2440}
2441
2442/* popup blocker button */
2443
2444#page-report-button {
2445 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
2446 -moz-image-region: rect(0, 16px, 16px, 0);
2447}
2448
2449#page-report-button:hover ,
2450#page-report-button:hover:active,
2451#page-report-button[open="true"] {
2452 -moz-image-region: rect(0, 32px, 16px, 16px);
2453}
2454
2455/* social share panel */
2456
2457#social-share-panel > iframe {
2458/* background: linear-gradient(to bottom, #f0f4f7, #fafbfc);*/
2459 width: 300px;
2460 height: 150px;
2461}
2462
2463#social-share-button {
2464 list-style-image: url("chrome://browser/skin/social/share-button.png");
2465 -moz-image-region: rect(0, 16px, 16px, 0);
2466}
2467
2468.social-share-toolbar {
2469 border-right: 1px solid #9C9CFF;
2470/* background-color: #000000; */
2471}
2472
2473#social-share-provider-buttons {
2474 padding: 6px;
2475}
2476
2477#social-share-provider-buttons > .share-provider-button {
2478 -moz-appearance: none;
2479 padding: 5px;
2480 margin: 1px;
2481 border: none;
2482 background: none;
2483 border-radius: 2px;
2484}
2485
2486#social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]),
2487#social-share-provider-buttons > .share-provider-button:hover,
2488#social-share-provider-buttons > .share-provider-button:active {
2489 padding: 4px;
2490}
2491
2492#social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]) {
2493}
2494
2495#social-share-provider-buttons > .share-provider-button > .toolbarbutton-text {
2496 display: none;
2497}
2498#social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon {
2499 width: 16px;
2500 min-height: 16px;
2501 max-height: 16px;
2502}
2503
2504/* fixup corners for share panel */
2505.social-panel > .social-panel-frame {
2506 border-radius: inherit;
2507}
2508
2509#social-share-panel {
2510 max-height: 600px;
2511 min-height: 100px;
2512 max-width: 800px;
2513 min-width: 300px;
2514}
2515
2516.social-share-frame {
2517/* background: linear-gradient(to bottom, #f0f4f7, #fafbfc); */
2518 width: 330px;
2519 height: 150px;
2520 /* we resize our panels dynamically, make it look nice */
2521 transition: height 100ms ease-out, width 100ms ease-out;
2522}
2523
2524.social-share-frame:-moz-locale-dir(ltr) {
2525 border-top-left-radius: 0;
2526 border-bottom-left-radius: 0;
2527 border-top-right-radius: inherit;
2528 border-bottom-right-radius: inherit;
2529}
2530
2531.social-share-frame:-moz-locale-dir(rtl) {
2532 border-top-left-radius: inherit;
2533 border-bottom-left-radius: inherit;
2534 border-top-right-radius: 0;
2535 border-bottom-right-radius: 0;
2536}
2537
2538#social-share-panel > .social-share-toolbar:-moz-locale-dir(ltr) {
2539 border-top-left-radius: inherit;
2540 border-bottom-left-radius: inherit;
2541}
2542
2543#social-share-panel > .social-share-toolbar:-moz-locale-dir(rtl) {
2544 border-top-right-radius: inherit;
2545 border-bottom-right-radius: inherit;
2546}
2547
2548#social-share-provider-buttons:-moz-locale-dir(ltr) {
2549 border-top-left-radius: inherit;
2550 border-bottom-left-radius: inherit;
2551}
2552
2553#social-share-provider-buttons:-moz-locale-dir(rtl) {
2554 border-top-right-radius: inherit;
2555 border-bottom-right-radius: inherit;
2556}
2557
2558/* social recommending panel */
2559
2560#social-mark-button {
2561 -moz-image-region: rect(0, 16px, 16px, 0);
2562}
2563
2564/* star button */
2565
2566/* #urlbar-container only directly contains the urlbar pre-Australis, don't assign an icon in Australis */
2567#urlbar-container > #urlbar > #urlbar-icons > #star-button {
2568 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png");
2569 -moz-image-region: rect(16px 16px 32px 0px);
2570}
2571
2572#urlbar-container > #urlbar > #urlbar-icons > #star-button:hover {
2573 -moz-image-region: rect(16px 32px 32px 16px);
2574}
2575
2576#urlbar-container > #urlbar > #urlbar-icons > #star-button:hover:active {
2577 -moz-image-region: rect(16px 48px 32px 32px);
2578}
2579
2580#urlbar-container > #urlbar > #urlbar-icons > #star-button[starred="true"] {
2581 -moz-image-region: rect(0px 16px 16px 0px);
2582}
2583
2584#urlbar-container > #urlbar > #urlbar-icons > #star-button[starred="true"]:hover {
2585 -moz-image-region: rect(0px 32px 16px 16px);
2586}
2587
2588#urlbar-container > #urlbar > #urlbar-icons > #star-button[starred="true"]:hover:active {
2589 -moz-image-region: rect(0px 48px 16px 32px);
2590}
2591
2592/* bookmarking panel */
2593#editBookmarkPanelStarIcon {
2594 list-style-image: url("chrome://browser/skin/places/starred48.png");
2595 width: 48px;
2596 height: 48px;
2597}
2598
2599#editBookmarkPanelStarIcon[unstarred] {
2600 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
2601}
2602
2603#editBookmarkPanelTitle {
2604 font-size: 130%;
2605}
2606
2607#editBookmarkPanelHeader,
2608#editBookmarkPanelContent {
2609 margin-bottom: .5em;
2610}
2611
2612/* Implements editBookmarkPanel resizing on folderTree un-collapse. */
2613#editBMPanel_folderTree {
2614 min-width: 27em;
2615}
2616
2617.panel-promo-box {
2618 margin: 5px -6px -6px;
2619 padding: 5px;
2620 border-top: 1px solid #9C9CFF;
2621 border-bottom-left-radius: 5px;
2622 border-bottom-right-radius: 5px;
2623}
2624
2625.panel-promo-icon {
2626 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
2627 -moz-margin-end: 10px;
2628 vertical-align: middle;
2629}
2630
2631.panel-promo-closebutton {
2632 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2633 -moz-margin-end: -3px;
2634 margin-top: -3px;
2635}
2636
2637.panel-promo-closebutton:hover {
2638 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2639}
2640
2641.panel-promo-closebutton:hover:active {
2642 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2643}
2644
2645.panel-promo-closebutton > .toolbarbutton-text {
2646 padding: 0;
2647 margin: 0;
2648}
2649
2650/* ::::: content area ::::: */
2651
2652#sidebar {
2653 background-color: Window;
2654}
2655
2656#sidebar-title {
2657 -moz-padding-start: 0px;
2658}
2659
2660.browserContainer > findbar {
2661/*
2662 background-color: -moz-dialog;
2663 color: -moz-DialogText;
2664*/
2665}
2666
2667/* ::::: throbber ::::: */
2668
2669#navigator-throbber {
2670 width: 16px;
2671 min-height: 16px;
2672 margin: 0 3px;
2673}
2674
2675#navigator-throbber[busy="true"] {
2676 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
2677}
2678
2679#navigator-throbber,
2680#wrapper-navigator-throbber > #navigator-throbber {
2681 list-style-image: url("chrome://communicator/skin/brand/throbber16-single.png");
2682}
2683
2684/* Tabstrip */
2685
2686/* Remove selector when Australis lands - this makes it only apply post-Australis as iconsize doesn't exist there */
2687#navigator-toolbox:not([iconsize]) > #TabsToolbar,
2688#TabsToolbar {
2689 min-height: 0;
2690 padding: 0;
2691 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
2692}
2693
2694#TabsToolbar .toolbar-holder {
2695 background-color: #000000; /* correct effect of being an actual toolbar */
2696}
2697
2698#main-window[disablechrome] #TabsToolbar,
2699#TabsToolbar[tabsontop="false"] {
2700 border-bottom: 1px solid #008484;
2701}
2702
2703.tabbrowser-tab,
2704.tabs-newtab-button {
2705 margin-top: 0px;
2706}
2707
2708.tabbrowser-tab{
2709 padding: 1px 4px 2px;
2710}
2711
2712.tabbrowser-tab:first-of-type {
2713 -moz-margin-start: 2px;
2714}
2715
2716.tabs-newtab-button {
2717 border-radius: 8px 8px 0px 0px;
2718 -moz-margin-start: 0;
2719}
2720
2721.tabs-newtab-button:not(:hover) {
2722 background-color: #C09070;
2723}
2724
2725.tabbrowser-tab[remote] {
2726 text-decoration: underline;
2727}
2728
2729.tabbrowser-tab:hover,
2730.tabs-newtab-button:hover {
2731}
2732
2733.tabbrowser-tab[selected="true"] {
2734}
2735
2736#main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) {
2737}
2738
2739.tabbrowser-tab:-moz-lwtheme {
2740}
2741
2742.tabbrowser-tab[selected="true"]:-moz-lwtheme {
2743}
2744
2745.tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]),
2746.tabs-newtab-button:-moz-lwtheme-brighttext {
2747}
2748
2749.tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover,
2750.tabs-newtab-button:-moz-lwtheme-brighttext:hover {
2751}
2752
2753.tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]),
2754.tabs-newtab-button:-moz-lwtheme-darktext {
2755}
2756
2757.tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover,
2758.tabs-newtab-button:-moz-lwtheme-darktext:hover {
2759}
2760
2761.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
2762 background-color: #E7ADE7;
2763}
2764.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
2765 background-color: #3333FF;
2766 color: #000000;
2767}
2768
2769.tab-throbber,
2770.tab-icon-image {
2771 width: 16px;
2772 height: 16px;
2773 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2774 -moz-image-region: auto;
2775 -moz-margin-end: 3px;
2776}
2777
2778.tab-throbber {
2779 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
2780}
2781
2782.tab-throbber[progress] {
2783 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
2784}
2785
2786.tab-throbber[pinned],
2787.tab-icon-image[pinned] {
2788 -moz-margin-start: 2px;
2789 -moz-margin-end: 2px;
2790}
2791
2792/* tabbrowser-tab focus ring */
2793.tabbrowser-tab:focus > .tab-stack {
2794 outline: 1px dotted;
2795}
2796
2797/* Tab DnD indicator */
2798.tab-drop-indicator {
2799 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
2800 margin-bottom: -11px;
2801}
2802
2803/* Tab close button */
2804.tab-close-button {
2805 border: none;
2806 padding: 0px;
2807 margin-top: 1px;
2808 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2809}
2810
2811.tab-close-button:hover,
2812.tab-close-button:hover[selected="true"] {
2813 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2814}
2815
2816.tab-close-button:hover:active,
2817.tab-close-button:hover:active[selected="true"] {
2818 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2819}
2820
2821/* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
2822
2823.tabbrowser-arrowscrollbox > .scrollbutton-up,
2824.tabbrowser-arrowscrollbox > .scrollbutton-down {
2825 margin: 0;
2826 padding-top: 0;
2827 padding-bottom: 0;
2828}
2829
2830.tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
2831 background-color: #008484;
2832}
2833
2834.tabs-newtab-button > .toolbarbutton-icon {
2835 margin-top: -1px;
2836 margin-bottom: -1px;
2837}
2838
2839.tabs-newtab-button,
2840#TabsToolbar > #new-tab-button,
2841#TabsToolbar > toolbarpaletteitem > #new-tab-button {
2842 list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png");
2843 -moz-image-region: rect(0, 16px, 18px, 0);
2844}
2845
2846.tabs-newtab-button {
2847 width: 28px;
2848}
2849
2850#TabsToolbar > #new-tab-button {
2851 width: 26px;
2852}
2853
2854.tabs-newtab-button,
2855.tabs-newtab-button:hover,
2856#TabsToolbar > #new-tab-button:hover {
2857 -moz-image-region: rect(0, 32px, 18px, 16px);
2858}
2859
2860#alltabs-button {
2861 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
2862}
2863
2864#alltabs-button > .toolbarbutton-menu-dropmarker {
2865 display: none;
2866}
2867
2868#alltabs-button:hover,
2869#alltabs-button:hover:active,
2870#alltabs-button[open="true"] {
2871 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
2872}
2873
2874/* All tabs menupopup */
2875.alltabs-item > .menu-iconic-left > .menu-iconic-icon {
2876 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2877 -moz-image-region: auto;
2878}
2879
2880.alltabs-item[selected="true"] {
2881 font-weight: bold;
2882}
2883
2884.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
2885 list-style-image: url("chrome://global/skin/icons/loading.gif");
2886}
2887
2888.alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
2889 background-color: #402800;
2890}
2891
2892/* Tabstrip close button */
2893.tabs-closebutton {
2894 -moz-box-flex: 1;
2895 margin: 0px;
2896 padding: 2px;
2897 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2898}
2899
2900.tabs-closebutton > .toolbarbutton-icon {
2901}
2902
2903.tabs-closebutton > .toolbarbutton-text {
2904 display: none;
2905}
2906
2907.tabs-closebutton:hover,
2908.tabs-closebutton:hover:active {
2909 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2910}
2911
2912toolbarbutton.chevron {
2913 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
2914}
2915
2916toolbarbutton.chevron:hover {
2917 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
2918}
2919
2920toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
2921toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
2922 transform: scaleX(-1);
2923}
2924
2925toolbarbutton.chevron > .toolbarbutton-text,
2926toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
2927 display: none;
2928}
2929
2930toolbarbutton.chevron > .toolbarbutton-icon {
2931 margin: 0;
2932}
2933
2934toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
2935 display: -moz-box; /* display chevron icon in text mode */
2936}
2937
2938#sidebar-throbber[loading="true"] {
2939 list-style-image: url("chrome://global/skin/icons/loading.gif");
2940 -moz-margin-end: 4px;
2941}
2942
2943/* Bookmarks toolbar */
2944#PlacesToolbarDropIndicator {
2945 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
2946}
2947
2948toolbarbutton.bookmark-item[dragover="true"][open="true"] {
2949 background-color: #008484 !important;
2950 color: #FFCF00 !important;
2951}
2952
2953/* rules for menupopup drop indicators */
2954.menupopup-drop-indicator-bar {
2955 position: relative;
2956 /* these two margins must together compensate the indicator's height */
2957 margin-top: -1px;
2958 margin-bottom: -1px;
2959}
2960
2961.menupopup-drop-indicator {
2962 list-style-image: none;
2963 height: 2px;
2964 -moz-margin-end: -4em;
2965 background-color: #008484;
2966}
2967
2968/* ::::: Identity Indicator Styling ::::: */
2969
2970/* Popup Icons */
2971#identity-popup-icon {
2972 height: 64px;
2973 width: 64px;
2974 padding: 0;
2975 list-style-image: url("chrome://browser/skin/identity.png");
2976 -moz-image-region: rect(0px, 64px, 64px, 0px);
2977}
2978
2979#identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
2980 -moz-image-region: rect(64px, 64px, 128px, 0px);
2981}
2982
2983#identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
2984 -moz-image-region: rect(128px, 64px, 192px, 0px);
2985}
2986
2987/* Popup Body Text */
2988.identity-popup-description {
2989 white-space: pre-wrap;
2990 -moz-padding-start: 15px;
2991 margin: 2px 0 4px;
2992}
2993
2994.identity-popup-label {
2995 white-space: pre-wrap;
2996 -moz-padding-start: 15px;
2997 margin: 0;
2998}
2999
3000#identity-popup-content-host,
3001#identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
3002 font-size: 1.2em;
3003}
3004
3005#identity-popup-content-host {
3006 margin-top: 3px;
3007 margin-bottom: 5px;
3008 font-weight: bold;
3009 max-width: 300px;
3010}
3011
3012#identity-popup-content-owner {
3013 margin-top: 4px;
3014 margin-bottom: 0 !important;
3015 font-weight: bold;
3016 max-width: 300px;
3017}
3018
3019.verifiedDomain > #identity-popup-content-owner {
3020 font-weight: normal;
3021}
3022
3023#identity-popup-content-verifier {
3024 margin: 4px 0 2px;
3025}
3026
3027#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
3028#identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
3029 margin-top: 10px;
3030 -moz-margin-start: -24px;
3031}
3032
3033#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
3034#identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
3035 list-style-image: url("chrome://browser/skin/Secure24.png");
3036}
3037
3038#identity-popup-more-info-button {
3039 margin-top: 6px;
3040 margin-bottom: 0;
3041 -moz-margin-end: 0;
3042}
3043
3044#identity-popup > .panel-arrowcontainer > .panel-arrowcontent {
3045 padding: 0;
3046}
3047
3048#identity-popup-container {
3049 min-width: 280px;
3050 padding: 10px;
3051}
3052
3053#identity-popup-button-container {
3054/* background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent);*/
3055 padding: 10px;
3056 margin-top: 5px;
3057}
3058
3059.popup-notification-icon {
3060 width: 64px;
3061 height: 64px;
3062 -moz-margin-end: 10px;
3063}
3064
3065.popup-notification-icon[popupid="geolocation"] {
3066 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
3067}
3068
3069.popup-notification-icon[popupid="xpinstall-disabled"],
3070.popup-notification-icon[popupid="addon-progress"],
3071.popup-notification-icon[popupid="addon-install-cancelled"],
3072.popup-notification-icon[popupid="addon-install-blocked"],
3073.popup-notification-icon[popupid="addon-install-failed"],
3074.popup-notification-icon[popupid="addon-install-complete"] {
3075 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
3076 width: 32px;
3077 height: 32px;
3078}
3079
3080.popup-notification-icon[popupid="click-to-play-plugins"] {
3081 list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
3082}
3083
3084.popup-notification-icon[popupid="plugins-not-found"] {
3085 list-style-image: url("chrome://browser/skin/pluginInstall-64.png");
3086}
3087
3088.popup-notification-icon[popupid="web-notifications"] {
3089 list-style-image: url("chrome://browser/skin/notification-64.png");
3090}
3091
3092.addon-progress-description {
3093 width: 350px;
3094 max-width: 350px;
3095}
3096
3097.popup-progress-label,
3098.popup-progress-meter {
3099 -moz-margin-start: 0;
3100 -moz-margin-end: 0;
3101}
3102
3103.popup-progress-cancel {
3104 -moz-appearance: none;
3105 background: transparent;
3106 border: none;
3107 padding: 0;
3108 margin: 0;
3109 min-height: 0;
3110 min-width: 0;
3111 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
3112 -moz-image-region: rect(0px, 32px, 16px, 16px);
3113}
3114
3115.popup-progress-cancel:hover {
3116 -moz-image-region: rect(16px, 32px, 32px, 16px);
3117}
3118
3119.popup-progress-cancel:active {
3120 -moz-image-region: rect(32px, 32px, 48px, 16px);
3121}
3122
3123.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
3124.popup-notification-icon[popupid="indexedDB-quota-prompt"],
3125.popup-notification-icon[popupid*="offline-app-requested"],
3126.popup-notification-icon[popupid="offline-app-usage"] {
3127 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
3128}
3129
3130.popup-notification-icon[popupid="password-save"],
3131.popup-notification-icon[popupid="password-change"] {
3132 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
3133}
3134
3135.popup-notification-icon[popupid="webapps-install-progress"],
3136.popup-notification-icon[popupid="webapps-install"] {
3137 list-style-image: url("chrome://global/skin/icons/webapps-64.png");
3138}
3139
3140.popup-notification-icon[popupid="mixed-content-blocked"] {
3141 list-style-image: url("chrome://browser/skin/mixed-content-blocked-64.png");
3142}
3143
3144.popup-notification-icon[popupid="webRTC-sharingDevices"],
3145.popup-notification-icon[popupid="webRTC-shareDevices"] {
3146 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
3147}
3148
3149.popup-notification-icon[popupid="pointerLock"] {
3150 list-style-image: url("chrome://browser/skin/pointerLock-64.png");
3151}
3152
3153/* Notification icon box */
3154#notification-popup-box {
3155 position: relative;
3156 background-color: #000000;
3157 background-clip: padding-box;
3158 padding-left: 3px;
3159 padding-right: 8px;
3160 border-radius: 3px 0 0 3px;
3161 border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
3162 -moz-margin-end: -8px;
3163 border-right-width: 8px;
3164}
3165
3166window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
3167 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
3168 #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box {
3169/* padding-left: 5px; */
3170}
3171
3172#notification-popup-box:-moz-locale-dir(rtl),
3173.notification-anchor-icon:-moz-locale-dir(rtl) {
3174 transform: scaleX(-1);
3175}
3176
3177.notification-anchor-icon {
3178 width: 16px;
3179 height: 16px;
3180 margin: 0 2px;
3181}
3182
3183.notification-anchor-icon:-moz-focusring {
3184 outline: 1px dotted #008484;
3185/* outline-offset: -3px; */
3186}
3187
3188.default-notification-icon,
3189#default-notification-icon {
3190 list-style-image: url("chrome://global/skin/icons/information-16.png");
3191}
3192
3193.identity-notification-icon,
3194#identity-notification-icon {
3195 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
3196}
3197
3198.geo-notification-icon,
3199#geo-notification-icon {
3200 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
3201}
3202
3203#addons-notification-icon {
3204 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
3205}
3206
3207.indexedDB-notification-icon,
3208#indexedDB-notification-icon {
3209 list-style-image: url("chrome://global/skin/icons/question-16.png");
3210}
3211
3212#password-notification-icon {
3213 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
3214}
3215
3216#webapps-notification-icon {
3217 list-style-image: url("chrome://gobal/skin/icons/webapps-16.png");
3218}
3219
3220#plugins-notification-icon {
3221 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
3222}
3223
3224#plugins-notification-icon.plugin-hidden {
3225 list-style-image: url("chrome://browser/skin/notification-pluginAlert.png");
3226}
3227
3228#plugins-notification-icon.plugin-blocked {
3229 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
3230}
3231
3232#plugins-notification-icon {
3233/* -moz-image-region: rect(0, 16px, 16px, 0);*/
3234}
3235
3236#plugins-notification-icon:hover {
3237/* -moz-image-region: rect(0, 32px, 16px, 16px);*/
3238}
3239
3240#plugin-install-notification-icon {
3241 list-style-image: url("chrome://browser/skin/pluginInstall-16.png");
3242}
3243
3244#notification-popup-box[hidden] {
3245 /* Override display:none to make the pluginBlockedNotification animation work
3246 when showing the notification repeatedly. */
3247 display: -moz-box;
3248 visibility: collapse;
3249}
3250
3251#plugins-notification-icon.plugin-blocked[showing] {
3252 animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
3253}
3254
3255@keyframes pluginBlockedNotification {
3256 from {
3257 opacity: 0;
3258 }
3259 to {
3260 opacity: 1;
3261 }
3262}
3263
3264.mixed-content-blocked-notification-icon,
3265#mixed-content-blocked-notification-icon {
3266 list-style-image: url("chrome://browser/skin/mixed-content-blocked-16.png");
3267}
3268
3269.webRTC-shareDevices-notification-icon,
3270#webRTC-shareDevices-notification-icon {
3271 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
3272}
3273
3274.webRTC-sharingDevices-notification-icon,
3275#webRTC-sharingDevices-notification-icon {
3276 list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
3277}
3278
3279.web-notifications-notification-icon,
3280#web-notifications-notification-icon {
3281 list-style-image: url("chrome://browser/skin/notification-16.png");
3282}
3283
3284#pointerLock-notification-icon {
3285 list-style-image: url("chrome://browser/skin/pointerLock-16.png");
3286}
3287#pointerLock-cancel {
3288 margin: 0px;
3289}
3290
3291#download-monitor {
3292 list-style-image: url("chrome://browser/skin/FxToolbar.png");
3293 -moz-image-region: rect(0, 108px, 18px, 90px);
3294}
3295
3296/* Bookmarks roots menu-items */
3297#appmenu_subscribeToPage:not([disabled]),
3298#appmenu_subscribeToPageMenu,
3299#subscribeToPageMenuitem:not([disabled]),
3300#subscribeToPageMenupopup,
3301#BMB_subscribeToPageMenuitem:not([disabled]),
3302#BMB_subscribeToPageMenupopup {
3303 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
3304}
3305
3306#bookmarksToolbarFolderMenu,
3307#appmenu_bookmarksToolbar,
3308#BMB_bookmarksToolbar {
3309 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
3310 -moz-image-region: auto;
3311}
3312
3313#appmenu_unsortedBookmarks,
3314#BMB_unsortedBookmarks {
3315 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
3316 -moz-image-region: auto;
3317}
3318
3319/* ::::: Keyboard UI Panel ::::: */
3320
3321.KUI-panel {
3322 color: #FF9F00;
3323 border-style: none;
3324 border-radius: 20px;
3325}
3326
3327.KUI-panel[level="top"] {
3328 /*background-color: rgba(27%,27%,27%,.65);*/
3329}
3330
3331/* Ctrl-Tab */
3332
3333#ctrlTab-panel {
3334 padding: 20px 10px 10px;
3335 font-weight: bold;
3336}
3337
3338.ctrlTab-favicon[src] {
3339 background-color: #000000;
3340 width: 20px;
3341 height: 20px;
3342 padding: 2px;
3343}
3344
3345.ctrlTab-preview-inner > .tabPreview-canvas {
3346}
3347
3348.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
3349 margin-bottom: 2px;
3350}
3351
3352.ctrlTab-preview-inner {
3353 padding-bottom: 10px;
3354}
3355
3356#ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
3357 padding: 10px;
3358 background-color: #000000;
3359 border-radius: .5em;
3360}
3361
3362.ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
3363 color: white;
3364 background-color: #000000;
3365 text-shadow: none;
3366 padding: 8px;
3367 border: 2px solid #9C9CFF;
3368 border-radius: .5em;
3369}
3370
3371.ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
3372 margin: -10px -10px 0;
3373}
3374
3375#ctrlTab-showAll {
3376 margin-top: .5em;
3377}
3378
3379/* Add-on bar */
3380
3381#addon-bar {
3382 min-height: 20px;
3383 border-top: 3px solid #000000;
3384 border-bottom-width: 0;
3385}
3386
3387#addon-bar .toolbar-holder {
3388 background-color: #8050B0;
3389 color: #FFCF00;
3390}
3391
3392#addon-bar .toolbar-holder {
3393 background-color: #8050B0;
3394 color: #FFCF00;
3395}
3396
3397#addon-bar .toolbar-startcap,
3398#addon-bar .toolbar-endcap{
3399 background-color: #6000CF;
3400}
3401
3402#status-bar {
3403 -moz-binding: url("chrome://global/content/bindings/general.xml#statusbar");
3404 margin-top: .3em;
3405 border-width: 0;
3406}
3407
3408#addon-bar[customizing] > #status-bar {
3409 opacity: .5;
3410/* background-image: -moz-repeating-linear-gradient(-45deg,
3411 rgba(255,255,255,.3), rgba(255,255,255,.3) 5px,
3412 rgba(0,0,0,.3) 5px, rgba(0,0,0,.3) 10px);*/
3413}
3414
3415/* Remove all borders from statusbarpanel children of
3416 the statusbar.
3417#status-bar > statusbarpanel {
3418 border-width: 0;
3419} */
3420
3421#addonbar-closebutton {
3422 border: none;
3423 padding: 3px 5px;
3424 list-style-image: url("chrome://global/skin/icons/close-button.gif");
3425}
3426
3427#addonbar-closebutton:hover,
3428#addonbar-closebutton:hover:active {
3429 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
3430}
3431
3432/* Status panel */
3433
3434.statuspanel-label {
3435 margin: 0;
3436 padding: 2px 4px;
3437 background: #404000;
3438 border: 1px none #9C9CFF;
3439 border-top-style: solid;
3440 color: #FF9F00;
3441 text-shadow: none;
3442}
3443
3444.statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
3445.statuspanel-label:-moz-locale-dir(rtl)[mirror] {
3446 border-right-style: solid;
3447 border-top-right-radius: .3em;
3448 margin-right: 1em;
3449}
3450
3451.statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
3452.statuspanel-label:-moz-locale-dir(ltr)[mirror] {
3453 border-left-style: solid;
3454 border-top-left-radius: .3em;
3455 margin-left: 1em;
3456}
3457
3458/* HACK to abolish devily color on main content */
3459
3460#content {
3461 background-color: transparent !important;
3462}
3463
3464/* Highlighter */
3465
3466.highlighter-outline {
3467 box-shadow: 0 0 0 1px black;
3468 outline: 1px dashed white;
3469}
3470
3471.highlighter-outline[locked] {
3472 box-shadow: 0 0 0 1px rgba(0,0,0,0.3);
3473 outline-color: rgba(255,255,255,0.7);
3474}
3475
3476/* Highlighter - Node Infobar */
3477
3478.highlighter-nodeinfobar {
3479 color: #FF9F00;
3480 border: 1px solid rgba(156, 156, 255, .5);
3481 border-radius: 3px;
3482 background-color: #000000;
3483 background-clip: padding-box;
3484}
3485
3486/* Highlighter - Node Infobar - text */
3487
3488.highlighter-nodeinfobar-text {
3489 /* 100% - size of the buttons and margins */
3490 max-width: calc(100% - 2 * (26px + 6px));
3491 padding-bottom: 1px;
3492}
3493
3494html|*.highlighter-nodeinfobar-tagname {
3495 color: #FFCF00;
3496}
3497
3498html|*.highlighter-nodeinfobar-id {
3499 color: #9C9CFF;
3500}
3501
3502html|*.highlighter-nodeinfobar-pseudo-classes {
3503 color: #FF9F00;
3504}
3505
3506/* Highlighter - Node Infobar - buttons */
3507
3508.highlighter-nodeinfobar-button {
3509 padding: 0;
3510 width: 26px;
3511 min-height: 26px;
3512}
3513
3514.highlighter-nodeinfobar-inspectbutton {
3515 list-style-image: url("chrome://browser/skin/devtools/inspect-button.png");
3516 -moz-image-region: rect(0px 16px 16px 0px);
3517 -moz-margin-start: 0px;
3518 -moz-margin-end: 2px;
3519}
3520
3521.highlighter-nodeinfobar-inspectbutton:-moz-locale-dir(rtl) {
3522}
3523
3524.highlighter-nodeinfobar-inspectbutton:hover,
3525.highlighter-nodeinfobar-inspectbutton:hover:active/*,
3526.highlighter-nodeinfobar-container:not([locked]) > .highlighter-nodeinfobar > .highlighter-nodeinfobar-inspectbutton*/ {
3527 -moz-image-region: rect(0px 32px 16px 16px);
3528}
3529
3530.highlighter-nodeinfobar-menu {
3531}
3532
3533.highlighter-nodeinfobar-menu:-moz-locale-dir(rtl) {
3534}
3535
3536.highlighter-nodeinfobar-menu > .toolbarbutton-menu-dropmarker {
3537 -moz-box-align: center;
3538 -moz-margin-start: -1px;
3539}
3540
3541/* Highlighter - Node Infobar - box & arrow */
3542
3543.highlighter-nodeinfobar-arrow {
3544 width: 14px;
3545 height: 14px;
3546 -moz-margin-start: calc(50% - 7px);
3547 transform: rotate(-45deg);
3548 border: 1px solid transparent;
3549 background-clip: padding-box;
3550 background-repeat: no-repeat;
3551}
3552
3553.highlighter-nodeinfobar-arrow-top {
3554 margin-bottom: -8px;
3555 margin-top: 8px;
3556 border-right-color: rgba(0, 132, 132, .5);
3557 border-top-color: rgba(0, 132, 132, .5);
3558 background-image: linear-gradient(to bottom left, transparent 50%, rgb(0, 132, 132) 50%);
3559}
3560
3561.highlighter-nodeinfobar-arrow-bottom {
3562 margin-top: -8px;
3563 margin-bottom: 8px;
3564 border-left-color: rgba(0, 132, 132, .5);
3565 border-bottom-color: rgba(0, 132, 132, .5);
3566 background-image: linear-gradient(to top right, transparent 50%, rgb(0, 132, 132) 50%);
3567}
3568
3569.highlighter-nodeinfobar-container[position="top"] > .highlighter-nodeinfobar,
3570.highlighter-nodeinfobar-container[position="overlap"] > .highlighter-nodeinfobar {
3571 box-shadow: 0 1px 0 hsla(0, 0%, 100%, .1) inset;
3572}
3573
3574.highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar {
3575 margin: 7px 0;
3576}
3577
3578#full-screen-warning-message {
3579 background-color: #000000;
3580 color: #FF9F00;
3581 border-radius: 8px;
3582 margin-top: 30px;
3583 padding: 30px 50px;
3584 box-shadow: 0 0 2px #9C9CFF;
3585}
3586
3587#full-screen-warning-container[obscure-browser] {
3588 background-color: rgba(0,0,0,0.3);
3589}
3590
3591.full-screen-description {
3592 font-size: 150%;
3593}
3594
3595#full-screen-domain-text {
3596 font-size: 300%;
3597}
3598
3599.full-screen-approval-button,
3600#full-screen-remember-decision {
3601 font-size: 120%;
3602}
3603
3604/* === BEGIN commandline.inc.css === */
3605
3606/* Developer toolbar */
3607
3608#developer-toolbar {
3609 border-top: 3px solid #000000;
3610 border-bottom: none;
3611}
3612
3613#developer-toolbar .toolbar-holder {
3614 background-color: #8050B0;
3615 color: #FFCF00;
3616}
3617
3618#developer-toolbar .toolbar-holder {
3619 background-color: #8050B0;
3620 color: #FFCF00;
3621}
3622
3623#developer-toolbar .toolbar-startcap,
3624#developer-toolbar .toolbar-endcap{
3625 background-color: #6000CF;
3626}
3627
3628#developer-toolbar {
3629/* padding: 0;
3630 min-height: 32px; */
3631}
3632
3633.developer-toolbar-button {
3634/* margin: 0;
3635 padding: 0 10px;
3636 width: 32px; */
3637}
3638
3639.developer-toolbar-button > image {
3640/* margin: auto 10px; */
3641}
3642
3643#developer-toolbar-toolbox-button > label {
3644 display: none;
3645}
3646
3647#developer-toolbar-toolbox-button {
3648 list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png");
3649 -moz-image-region: rect(0px, 16px, 16px, 0px);
3650}
3651
3652#developer-toolbar-toolbox-button > label {
3653 display: none;
3654}
3655
3656#developer-toolbar-toolbox-button:hover,
3657#developer-toolbar-toolbox-button:hover:active,
3658#developer-toolbar-toolbox-button[checked=true] {
3659 -moz-image-region: rect(0px, 32px, 16px, 16px);
3660}
3661
3662/* GCLI */
3663
3664html|*#gcli-tooltip-frame,
3665html|*#gcli-output-frame {
3666 padding: 0;
3667 border-width: 0;
3668 background-color: transparent;
3669}
3670
3671#gcli-output,
3672#gcli-tooltip {
3673 border-width: 0;
3674 background-color: transparent;
3675}
3676
3677.gclitoolbar-input-node,
3678.gclitoolbar-complete-node {
3679 margin: 1px 3px;
3680 -moz-box-align: center;
3681 padding-top: 0;
3682 padding-bottom: 0;
3683 padding-right: 8px;
3684 background-color: transparent;
3685}
3686
3687.gclitoolbar-input-node {
3688 padding-left: 20px;
3689/* line-height: 32px;
3690 outline-style: none; */
3691 background-image: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 16, 16, 0);
3692}
3693
3694.gclitoolbar-input-node[focused="true"] {
3695 background-image: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 32, 16, 16);
3696}
3697
3698.gclitoolbar-input-node:not([focused="true"]) {
3699 border-color: transparent;
3700}
3701
3702.gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
3703 background-color: #008484;
3704 color: #000000;
3705 text-shadow: none;
3706}
3707
3708.gclitoolbar-complete-node {
3709 padding-left: 21px;
3710 background-color: transparent;
3711 color: transparent;
3712 z-index: 100;
3713 pointer-events: none;
3714}
3715
3716.gcli-in-incomplete,
3717.gcli-in-error,
3718.gcli-in-ontab,
3719.gcli-in-todo,
3720.gcli-in-closebrace,
3721.gcli-in-param,
3722.gcli-in-valid {
3723 margin: 0;
3724 padding: 0;
3725}
3726
3727.gcli-in-incomplete {
3728 border-bottom: 2px dotted #8050B0;
3729}
3730
3731.gcli-in-error {
3732 border-bottom: 2px dotted #FF0000;
3733}
3734
3735.gcli-in-ontab {
3736 color: #9C9CFF;
3737}
3738
3739.gcli-in-todo {
3740 color: #795900;
3741}
3742
3743.gcli-in-closebrace {
3744 color: #8050B0;
3745}
3746
3747/* === END commandline.inc.css === */
3748
3749/* === BEGIN responsivedesign.inc.css === */
3750
3751/* Responsive Mode */
3752
3753.browserContainer[responsivemode] {
3754 background: #221500 url("chrome://browser/skin/devtools/responsive-background.png");
3755 padding: 0 20px 20px 20px;
3756}
3757
3758.browserStack[responsivemode] {
3759 box-shadow: 0 0 7px #9C9CFF;
3760}
3761
3762.devtools-responsiveui-toolbar {
3763 background: transparent;
3764 margin: 10px 0;
3765 padding: 0;
3766 box-shadow: none;
3767 border-bottom-width: 0;
3768}
3769
3770.devtools-responsiveui-toolbar > menulist,
3771.devtools-responsiveui-toolbar > toolbarbutton {
3772 min-width: 22px;
3773/* border-radius: 0; */
3774}
3775
3776.devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
3777.devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child {
3778 margin-left: 3px;
3779}
3780
3781.devtools-responsiveui-close {
3782 list-style-image: url("chrome://browser/skin/devtools/close.png");
3783 -moz-image-region: rect(0px,16px,16px,0px);
3784}
3785
3786.devtools-responsiveui-close:hover {
3787 -moz-image-region: rect(0px,32px,16px,16px);
3788}
3789
3790.devtools-responsiveui-rotate {
3791 list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png");
3792 -moz-image-region: rect(0px,16px,16px,0px);
3793}
3794
3795.devtools-responsiveui-rotate:hover {
3796 -moz-image-region: rect(0px,32px,16px,16px);
3797}
3798
3799.devtools-responsiveui-touch {
3800 list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png");
3801 -moz-image-region: rect(0px,16px,16px,0px);
3802}
3803
3804.devtools-responsiveui-touch:hover,
3805.devtools-responsiveui-touch[checked],
3806.devtools-responsiveui-touch[checked]:hover {
3807 -moz-image-region: rect(0px,32px,16px,16px);
3808}
3809
3810.devtools-responsiveui-screenshot {
3811 list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png");
3812 -moz-image-region: rect(0px,16px,16px,0px);
3813}
3814
3815.devtools-responsiveui-screenshot:hover {
3816 -moz-image-region: rect(0px,32px,16px,16px);
3817}
3818
3819.devtools-responsiveui-resizebarV {
3820 width: 7px;
3821 height: 24px;
3822 cursor: ew-resize;
3823 transform: translate(12px, -12px);
3824 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png");
3825}
3826
3827.devtools-responsiveui-resizebarH {
3828 width: 24px;
3829 height: 7px;
3830 cursor: ns-resize;
3831 transform: translate(-12px, 12px);
3832 background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png");
3833}
3834
3835.devtools-responsiveui-resizehandle {
3836 width: 16px;
3837 height: 16px;
3838 cursor: se-resize;
3839 transform: translate(12px, 12px);
3840 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png");
3841}
3842
3843/* === END responsivedesign.inc.css === */
3844
3845/* === including indicator.css is done at the start of the file === */
3846
3847/* Error counter */
3848
3849#developer-toolbar-toolbox-button[error-count]:before {
3850 color: #000000;
3851 min-width: 16px;
3852 text-shadow: none;
3853 background-color: #FF0000;
3854 border-radius: 1px;
3855 -moz-margin-end: 5px;
3856}
3857
3858/* Social toolbar item */
3859
3860#social-provider-button {
3861 -moz-image-region: rect(0, 16px, 16px, 0);
3862 list-style-image: url("chrome://browser/skin/social/services-16.png");
3863}
3864
3865#social-provider-button > .toolbarbutton-menu-dropmarker {
3866 display: none;
3867}
3868
3869.toolbarbutton-badge-container {
3870 margin: 0;
3871 padding: 0;
3872 position: relative;
3873}
3874
3875#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container {
3876 padding: 2px 2px;
3877}
3878
3879.toolbarbutton-1 > .toolbarbutton-badge-container > .toolbar-icon {
3880 position: absolute;
3881 top: 2px;
3882 right: 2px;
3883}
3884
3885.toolbarbutton-badge-container > .toolbarbutton-icon[label]:not([label=""]) {
3886 -moz-margin-end: 0;
3887}
3888
3889.toolbarbutton-badge[badge=""] {
3890 display: none;
3891}
3892.toolbarbutton-badge[badge]:not([badge=""])::after {
3893 /* The |content| property is set in the content stylesheet. */
3894 font-size: 9px;
3895 font-weight: bold;
3896 padding: 0 1px;
3897 color: #FF9F00;
3898 background-color: #000000;
3899 border: 1px solid #9C9CFF;
3900 border-radius: 2px;
3901 position: absolute;
3902 top: 0;
3903 right: 0;
3904}
3905
3906#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""])::after {
3907 top: 1px;
3908 right: 1px;
3909}
3910
3911.toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
3912 left: 0;
3913 right: auto;
3914}
3915
3916#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
3917 left: 1px;
3918 right: auto;
3919}
3920
3921#social-notification-icon-mentions {
3922 background-color: #000000;
3923 border-radius: 3px;
3924 -moz-margin-start: 2px;
3925}
3926
3927#social-notification-icon-mentions:hover {
3928 background-color: #FFCF00;
3929}
3930
3931#social-notification-icon-mentions[open="true"] {
3932 background-color: #FF9F00;
3933}
3934
3935#social-sidebar-splitter {
3936 border: 0;
3937}
3938
3939.popup-notification-icon[popupid="servicesInstall"] {
3940 list-style-image: url("chrome://browser/skin/social/services-64.png");
3941}
3942#servicesInstall-notification-icon {
3943 list-style-image: url("chrome://browser/skin/social/services-16.png");
3944}
3945#social-undoactivation-button,
3946#servicesInstall-learnmore-link {
3947 -moz-margin-start: 0; /* override default label margin to match description margin */
3948}
3949
3950#socialActivatedNotification .popup-notification-button-container {
3951 margin-left: 6px;
3952}
3953
3954.social-activation-icon {
3955 width: auto;
3956 height: auto;
3957 max-height: 64px;
3958 max-width: 64px;
3959}
3960
3961#social-activation-message {
3962 max-width: 250px;
3963}
3964
3965#social-activation-message > label {
3966 margin: 0;
3967}
3968
3969/* social toolbar provider menu */
3970.social-statusarea-popup {
3971 margin-top: 0;
3972 margin-left: -12px;
3973 margin-right: -12px;
3974}
3975
3976.social-statusarea-user {
3977 border-bottom: 1px solid #9C9CFF;
3978 background-color: #000000;
3979 color: #FF9F00;
3980 position: relative;
3981 cursor: pointer;
3982}
3983
3984.social-statusarea-user-portrait {
3985 width: 32px;
3986 height: 32px;
3987 border-radius: 2px;
3988 margin: 10px;
3989}
3990
3991.social-statusarea-loggedInStatus {
3992 background: transparent;
3993 border: none;
3994 color: #3333FF;
3995 min-width: 0;
3996 margin: 0 6px;
3997 list-style-image: none;
3998}
3999
4000#social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus {
4001 text-decoration: underline;
4002}
4003
4004.social-panel > .panel-arrowcontainer > .panel-arrowcontent {
4005 padding: 0;
4006}
4007
4008.social-panel-frame {
4009 border-radius: inherit;
4010}
4011
4012/* === BEGIN chat.inc.css === */
4013
4014.chat-status-icon {
4015 max-height: 16px;
4016 max-width: 16px;
4017 padding: 0;
4018}
4019
4020.chat-toolbarbutton {
4021 -moz-appearance: none;
4022 border: none;
4023 padding: 0;
4024 margin: 0;
4025 background: none;
4026 width: 16px;
4027}
4028
4029.chat-toolbarbutton > .toolbarbutton-text {
4030 display: none;
4031}
4032
4033.chat-toolbarbutton > .toolbarbutton-icon {
4034 width: inherit;
4035}
4036
4037.chat-toolbarbutton.notification-anchor-icon > .toolbarbutton-icon {
4038 width: inherit;
4039 margin-top: -2px;
4040}
4041
4042.chat-close-button {
4043 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
4044 -moz-image-region: rect(0, 16px, 16px, 0);
4045}
4046
4047.chat-close-button:hover,
4048.chat-close-button:hover:active {
4049 -moz-image-region: rect(0, 32px, 16px, 16px);
4050}
4051
4052.chat-minimize-button {
4053 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
4054 -moz-image-region: rect(16px, 16px, 32px, 0);
4055}
4056
4057.chat-minimize-button:hover:active,
4058.chat-minimize-button:hover {
4059 -moz-image-region: rect(16px, 32px, 32px, 16px);
4060}
4061
4062.chat-swap-button {
4063 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
4064 -moz-image-region: rect(48px, 16px, 64px, 0);
4065}
4066
4067.chat-swap-button:hover:active,
4068.chat-swap-button:hover {
4069 -moz-image-region: rect(48px, 32px, 64px, 16px);
4070}
4071
4072chatbar > chatbox > .chat-titlebar > .chat-swap-button {
4073 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
4074 -moz-image-region: rect(32px, 16px, 48px, 0);
4075}
4076
4077chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover:active,
4078chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover {
4079 -moz-image-region: rect(32px, 32px, 48px, 16px);
4080}
4081
4082.chat-title {
4083 font-weight: bold;
4084 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
4085 text-shadow: none;
4086 cursor: inherit;
4087}
4088
4089.chat-titlebar {
4090 background-color: #9C9CFF;
4091 color: #000000;
4092 height: 20px;
4093 min-height: 16px;
4094 width: 100%;
4095 margin: 0;
4096 padding: 2px;
4097 -moz-padding-start: 6px;
4098 border: none;
4099 border-bottom: 1px solid #008484;
4100 cursor: pointer;
4101}
4102
4103.chat-titlebar > .notification-anchor-icon {
4104 margin-left: 2px;
4105 margin-right: 2px;
4106}
4107
4108.chat-titlebar[minimized="true"] {
4109 border-bottom: none;
4110}
4111
4112.chat-titlebar[selected] {
4113 background-color: #008484;
4114}
4115
4116.chat-titlebar[activity] {
4117 background-color: #E7ADE7;
4118}
4119
4120.chat-frame {
4121 padding: 0;
4122 margin: 0;
4123 overflow: hidden;
4124}
4125
4126.chatbar-button {
4127 list-style-image: url("chrome://browser/skin/social/services-16.png");
4128 background-color: #000000;
4129 border: none;
4130 margin: 0;
4131 padding: 2px;
4132 height: 21px;
4133 width: 21px;
4134 border-top: 1px solid #008484;
4135 -moz-border-end: 1px solid #008484;
4136}
4137
4138@media (min-resolution: 2dppx) {
4139 .chatbar-button {
4140 list-style-image: url("chrome://browser/skin/social/services-16@2x.png");
4141 }
4142}
4143
4144.chatbar-button > .toolbarbutton-icon {
4145 width: 16px;
4146}
4147
4148.chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
4149 width: auto;
4150 height: auto;
4151 max-height: 16px;
4152 max-width: 16px;
4153}
4154
4155.chatbar-button > .toolbarbutton-icon {
4156 opacity: .6;
4157 -moz-margin-end: 0;
4158}
4159.chatbar-button:hover > .toolbarbutton-icon,
4160.chatbar-button[open="true"] > .toolbarbutton-icon {
4161 opacity: 1;
4162}
4163
4164.chatbar-button:hover,
4165.chatbar-button[open="true"] {
4166}
4167
4168.chatbar-button > .toolbarbutton-text,
4169.chatbar-button > .toolbarbutton-menu-dropmarker {
4170 display: none;
4171}
4172
4173.chatbar-button[activity]:not([open="true"]) {
4174 background-color: #E7ADE7;
4175}
4176
4177.chatbar-button > menupopup > menuitem[activity] {
4178 font-weight: bold;
4179}
4180
4181.chatbar-innerbox {
4182 background: transparent;
4183 margin: -285px 0 0;
4184 overflow: hidden;
4185}
4186
4187chatbar {
4188 -moz-margin-end: 20px;
4189}
4190
4191chatbar > chatbox {
4192 height: 285px;
4193 width: 260px;
4194 -moz-margin-start: 4px;
4195 background-color: #000000;
4196 border: 1px solid #9C9CFF;
4197 border-bottom: none;
4198 border-top-left-radius: 2.5px;
4199 border-top-right-radius: 2.5px;
4200}
4201
4202chatbox[minimized="true"] {
4203 width: 160px;
4204 height: 20px;
4205}
4206
4207window > chatbox {
4208 -moz-margin-start: 0px;
4209 margin: 0px;
4210 border: none;
4211 padding: 0px;
4212}
4213
4214/* === END chat.inc.css === */
4215
4216/* === BEGIN plugin-doorhanger.inc.css === */
4217
4218/**
4219 * Plugin Doorhanger Styles
4220 */
4221
4222#notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent {
4223 padding: 6px 1px 2px;
4224}
4225
4226.click-to-play-plugins-notification-center-box {
4227}
4228
4229.plugin-popupnotification-centeritem:nth-child(odd) {
4230/* background-color: rgba(0,0,0,0.1);*/
4231}
4232
4233.center-item-label {
4234 margin-bottom: 0;
4235 text-overflow: ellipsis;
4236}
4237
4238.center-item-warning-icon {
4239 background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
4240 background-repeat: no-repeat;
4241 width: 16px;
4242 height: 15px;
4243 -moz-margin-start: 6px;
4244}
4245
4246.click-to-play-plugins-notification-button-container {
4247}
4248
4249.click-to-play-popup-button {
4250 width: 50%;
4251}
4252
4253.click-to-play-plugins-notification-description-box {
4254 margin-left: 5px;
4255 margin-right: 5px;
4256 margin-top: 0;
4257 padding-bottom: 3px;
4258}
4259
4260.click-to-play-plugins-outer-description {
4261 margin-top: 1px;
4262}
4263
4264.click-to-play-plugins-notification-link,
4265.center-item-link {
4266 margin: 0;
4267}
4268
4269/* Customization mode */
4270
4271/* === END plugin-doorhanger.inc.css === */
4272
4273#main-window[privatebrowsingmode=temporary] #toolbar-menubar {
4274 background-image: url("chrome://browser/skin/privatebrowsing-dark.png");
4275 background-position: top right;
4276 background-repeat: no-repeat;
4277}
4278
4279#main-window[privatebrowsingmode=temporary] #toolbar-menubar:-moz-locale-dir(rtl) {
4280 background-position: top left;
4281}
4282
4283#main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .box-inherit > .button-icon {
4284 list-style-image: url("chrome://browser/skin/privatebrowsing-light.png");
4285 width: 20px;
4286 height: 16px;
4287}
4288
4289/* === BEGIN customizeMode.inc.css === */
4290
4291/* Customization mode */
4292#nav-bar[customize-entered] > #nav-bar-customization-target {
4293 margin: 1px 3px;
4294}
4295
4296#nav-bar[customize-entered] > #nav-bar-customization-target,
4297#PanelUI-contents > .panel-customization-placeholder {
4298 outline: 1px dashed transparent;
4299}
4300
4301#main-window[customizing-movingItem] #nav-bar-customization-target,
4302#main-window[customizing-movingItem] .panel-customization-placeholder {
4303 outline-color: #9C9CFF;
4304}
4305
4306#PanelUI-contents > .panel-customization-placeholder {
4307 cursor: auto;
4308 outline-offset: -5px;
4309}
4310
4311#main-window[customize-entered] .customization-target {
4312 min-width: 100px;
4313 padding-left: 10px;
4314 padding-right: 10px;
4315}
4316
4317#customization-container {
4318 background-color: #000000;
4319}
4320
4321#customization-palette-container {
4322 padding: 25px;
4323}
4324
4325#customization-header {
4326 font-size: 1.5em;
4327 line-height: 1.5em;
4328 color: #9C9CFF;
4329 font-weight: lighter;
4330 margin-bottom: 1em;
4331}
4332
4333#customization-panel-container {
4334 padding: 15px 25px 25px;
4335 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
4336 background-position: left top;
4337 background-repeat: repeat;
4338 background-size: auto;
4339 background-attachment: fixed;
4340}
4341
4342toolbarpaletteitem {
4343 transition: background-color, border-color, box-shadow, border-width;
4344 transition-duration: 10ms, 10ms, 10ms, 250ms;
4345 transition-timing-function: linear, linear, linear, ease-in-out;
4346}
4347
4348toolbarpaletteitem[mousedown] {
4349 outline: 1px solid #008484;
4350 cursor: -moz-grabbing;
4351 opacity: 0.8;
4352}
4353
4354.panel-customization-placeholder,
4355toolbarpaletteitem[place="palette"],
4356toolbarpaletteitem[place="panel"] {
4357 transition: background-color, border-color, box-shadow, transform;
4358 transition-duration: 10ms, 10ms, 10ms, 250ms;
4359 transition-timing-function: linear, linear, linear, ease-in-out;
4360}
4361
4362toolbarpaletteitem[notransition][place="palette"],
4363toolbarpaletteitem[notransition][place="panel"] {
4364 transition: background-color, border-color, box-shadow;
4365 transition-duration: 10ms, 10ms, 10ms;
4366 transition-timing-function: linear, linear, linear;
4367}
4368
4369toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon {
4370 transition: transform 50ms ease-in-out;
4371}
4372
4373toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon {
4374 transform: scale(1.1);
4375}
4376
4377/* Override the toolkit styling for items being dragged over. */
4378toolbarpaletteitem[place="toolbar"] {
4379 border-left-width: 0;
4380 border-right-width: 0;
4381 margin-right: 0;
4382 margin-left: 0;
4383}
4384
4385#customization-palette:not([hidden]) {
4386 margin-bottom: 25px;
4387}
4388
4389/* Remove |:-moz-any(#customization-palette, #panelUI-contents)| selector when Australis lands - this makes it only apply post-Australis as those elements only exist there */
4390#customization-palette > #wrapper-edit-controls,
4391:-moz-any(#customization-palette, #panelUI-contents) > #customization-palette > #wrapper-zoom-controls {
4392 width: 225px;
4393}
4394
4395#wrapper-edit-controls[place="palette"] > .toolbarpaletteitem-box,
4396#wrapper-zoom-controls[place="palette"] > .toolbarpaletteitem-box {
4397 width: 225px;
4398 max-width: 225px;
4399}
4400
4401#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
4402#wrapper-edit-controls[place="palette"] > #edit-controls > separator,
4403:-moz-any(#customization-palette, #panelUI-contents) > #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton,
4404:-moz-any(#customization-palette, #panelUI-contents) > #wrapper-zoom-controls[place="palette"] > #zoom-controls > separator {
4405 margin-top: 24px;
4406}
4407
4408#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
4409:-moz-any(#customization-palette, #panelUI-contents) > #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton {
4410 margin-left: 0;
4411 margin-right: 0;
4412 max-width: 70px;
4413 min-width: 70px;
4414 max-height: 24px;
4415 height: 24px;
4416}
4417
4418#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-text,
4419:-moz-any(#customization-palette, #panelUI-contents) > #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button > .toolbarbutton-text {
4420 display: inline;
4421}
4422
4423#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon,
4424:-moz-any(#customization-palette, #panelUI-contents) > #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon {
4425 margin: 0;
4426 -moz-margin-start: 5px;
4427}
4428
4429#customization-palette > toolbarpaletteitem > label {
4430 text-align: center;
4431 margin-left: 0;
4432 margin-right: 0;
4433}
4434
4435/* === END customizeMode.inc.css === */
4436
4437#main-window[customizing] {
4438 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
4439 background-attachment: fixed;
4440}
4441
4442#main-window:-moz-any([customize-entering],[customize-entered]) #tab-view-deck {
4443 padding: 0 2em 2em;
4444}
4445
4446#customization-container {
4447 border-left: 1px solid #9C9CFF;
4448 border-right: 1px solid #9C9CFF;
4449 background-clip: padding-box;
4450}
4451
4452/* End customization mode */
4453
4454#main-window[privatebrowsingmode=temporary] #TabsToolbar::after {
4455 content: "";
4456 display: -moz-box;
4457 width: 40px;
4458 background: url("chrome://browser/skin/privatebrowsing-indicator.png") no-repeat center center;
4459}
4460
4461/* === BEGIN UITour.inc.css === */
4462
4463/* UI Tour */
4464
4465html|div#UITourHighlight {
4466 border-radius: 20px;
4467 border: 2px #9C9CFF solid;
4468 min-height: 32px;
4469 min-width: 32px;
4470}
4471
4472#UITourTooltip {
4473 max-width: 20em;
4474}
4475
4476#UITourTooltipTitle {
4477 font-size: 130%;
4478 font-weight: bold;
4479 margin: 0 0 5px 0;
4480}
4481
4482#UITourTooltipDescription {
4483 max-width: 20em;
4484}
4485
4486/* === END UITour.inc.css === */