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