enable compat with current nightly
[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@namespace svg url("http://www.w3.org/2000/svg");
11
12toolbar {
13 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
14}
15
16toolbar[customizable="true"] {
17 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-browsercustom");
18}
19
20@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme), (-moz-mac-yosemite-theme) {
21 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
22 toolbar[customizable="true"]:not([nowindowdrag="true"]) {
23 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
24 }
25}
26
27toolbar[type="menubar"][autohide="true"] {
28 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide");
29}
30
31#toolbar-menubar[autohide="true"] {
32 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide-browsercustom");
33}
34
35menubar {
36 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
37}
38
39:root {
40 --verified-identity-box-backgroundcolor: #000000;
41}
42
43#menubar-items {
44 -moz-box-orient: vertical; /* for flex hack */
45}
46
47#main-menubar {
48 -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
49}
50
51/* ::::: primary toolbar ::::: */
52
53.toolbar-primary > .toolbar-box > .toolbar-holder {
54 background-color: #A09090;
55}
56
57.toolbar-primary > .toolbar-box > .toolbar-startcap,
58.toolbar-primary > .toolbar-box > .toolbar-endcap {
59 background-color: #9C9CFF;
60}
61
62/* Hides the titlebar-placeholder underneath the window caption buttons when we
63 are not autohiding the menubar. */
64#toolbar-menubar:not([autohide="true"]) + #TabsToolbar > .titlebar-placeholder[type="caption-buttons"] {
65 display: none;
66}
67
68/* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the
69 toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care
70 of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */
71#toolbar-menubar:not([moz-collapsed=true]):not([autohide=true]) ~ #TabsToolbar,
72#toolbar-menubar:not([moz-collapsed=true])[autohide=true]:not([inactive]) ~ #TabsToolbar {
73/* margin-top: 3px;*/
74}
75
76#main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen])[chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar,
77#main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
78/* margin-top: 15px;*/
79}
80
81@media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
82 /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
83 #toolbar-menubar:not([autohide="true"]) {
84 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
85 }
86}
87
88@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
89 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
90 #main-window[tabsintitlebar]:not([inFullscreen="true"]) #TabsToolbar {
91 padding-left: 60px;
92 }
93}
94
95#main-window[tabsintitlebar] #toolbar-menubar .toolbar-endcap {
96 /* the titlebar buttons are shown right over the endcap but we have no power over the buttonbox position just for this case, so hide the endcap */
97 display: none;
98}
99
100#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[customizing-dragovertarget].customization-target::before,
101#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar[customizing-dragovertarget].customization-target::before,
102#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar.customization-target:hover::before,
103#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar.customization-target:hover::before {
104 outline-color: #A09090;
105}
106
107#navigator-toolbox {
108}
109
110#navigator-toolbox::after {
111 content: "";
112 display: -moz-box;
113 -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
114 height: 1px;
115}
116
117#navigator-toolbox > toolbar {
118}
119
120#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(:-moz-lwtheme) {
121}
122
123#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) {
124 overflow: -moz-hidden-unscrollable;
125 max-height: 4em;
126 transition: min-height 170ms ease-out, max-height 170ms ease-out;
127}
128
129#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar)[collapsed=true] {
130 min-height: 0.1px;
131 max-height: 0;
132 transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear;
133}
134
135@media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
136 /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
137 /* Indent also due to non-applicable aero rule in original Windows theme. */
138 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme),
139 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) {
140 /* like menubar */
141 background-color: #6000CF;
142 color: #FF9F00;
143 }
144
145 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme):-moz-window-inactive,
146 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
147 background-color: #8050B0;
148 color: #FF9F00;
149 }
150
151 #main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme) {
152 /*color: inherit;*/
153 }
154
155 #main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
156 visibility: hidden;
157 }
158
159 #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
160 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
161 visibility: visible;
162 }
163}
164
165@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
166 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
167 #titlebar-buttonbox > .titlebar-button {
168 display: none;
169 }
170}
171
172#nav-bar {
173 /* Position the toolbar above the bottom of background tabs */
174 position: relative;
175 z-index: 1;
176}
177
178#personal-bookmarks {
179/* min-height: 24px; */
180}
181
182#print-preview-toolbar:not(:-moz-lwtheme) {
183 /* -moz-appearance: toolbox; */
184}
185
186#browser-bottombox:not(:-moz-lwtheme) {
187}
188
189/* ::::: titlebar ::::: */
190
191#titlebar {
192 /* like menubar */
193 background-color: #6000CF;
194 color: #FF9F00;
195}
196#titlebar:-moz-window-inactive {
197 background-color: #8050B0;
198 color: #FF9F00;
199}
200
201#main-window[sizemode="normal"] > #titlebar {
202 margin-top: -3px;
203 margin-bottom: 3px;
204}
205
206#main-window[sizemode="maximized"] > #titlebar {
207 margin-top: 4px;
208}
209
210@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
211 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
212 #main-window[sizemode="normal"] > #titlebar,
213 #main-window[sizemode="maximized"] > #titlebar {
214 margin-top: 19px;
215 /* There is a margin-bottom set to -23 by code. */
216 }
217}
218
219/* The button box must appear on top of the navigator-toolbox in order for
220 * click and hover mouse events to work properly for the button in the restored
221 * window state. Otherwise, elements in the navigator-toolbox, like the menubar,
222 * can swallow those events. It will also place the buttons above the fog on
223 * themes with Aero Glass.
224 */
225#titlebar-buttonbox,
226#main-window[sizemode="maximized"] #titlebar-buttonbox {
227 -moz-appearance: none;
228 margin-top: 6px;
229 margin-top: 4px;
230 -moz-margin-end: 3px;
231 z-index: 1;
232}
233
234.titlebar-placeholder[type="appmenu-button"] {
235 margin-left: 4px;
236}
237
238.titlebar-placeholder[type="caption-buttons"] {
239 margin-left: 10px;
240}
241
242/* titlebar command buttons */
243
244#titlebar-min {
245 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
246}
247
248#titlebar-min:hover {
249 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
250}
251
252#titlebar-max {
253 list-style-image: url("chrome://browser/skin/win-maximize.gif");
254}
255
256#titlebar-max:hover {
257 list-style-image: url("chrome://browser/skin/win-maximize-hover.gif");
258}
259
260#main-window[sizemode="maximized"] #titlebar-max {
261 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
262}
263
264#main-window[sizemode="maximized"] #titlebar-max:hover {
265 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
266}
267
268#titlebar-close {
269 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
270}
271
272#titlebar-close:hover {
273 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
274}
275
276@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
277 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
278 #titlebar-fullscreen-button {
279 -moz-appearance: none;
280 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon.png");
281 -moz-image-region: rect(0px, 16px, 16px, 0px);
282 }
283
284 #titlebar-fullscreen-button:hover {
285 -moz-image-region: rect(0px, 32px, 16px, 16px);
286 }
287
288 @media (min-resolution: 2dppx) {
289 #titlebar-fullscreen-button {
290 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon@2x.png");
291 -moz-image-region: rect(0px, 32px, 32px, 0px);
292 }
293
294 #titlebar-fullscreen-button:hover {
295 -moz-image-region: rect(0px, 64px, 32px, 32px);
296 }
297 }
298}
299
300
301/* ::::: bookmark buttons ::::: */
302
303toolbarbutton.bookmark-item:not(.subviewbutton),
304#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
305/* margin: 0;
306 padding: 2px 3px;*/
307}
308
309toolbarbutton.bookmark-item:not([disabled="true"]):not(.subviewbutton):hover:active,
310toolbarbutton.bookmark-item[open="true"] {
311/* padding-top: 3px;
312 padding-bottom: 1px;
313 -moz-padding-start: 4px;
314 -moz-padding-end: 2px;*/
315}
316
317.bookmark-item > .toolbarbutton-icon,
318#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
319 width: 16px;
320 height: 16px;
321 -moz-margin-start: 1px;
322 -moz-margin-end: 2px;
323}
324
325/* Force the display of the label for bookmarks */
326.bookmark-item > .toolbarbutton-text,
327#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text {
328 display: -moz-box !important;
329}
330
331.bookmark-item > .toolbarbutton-menu-dropmarker {
332 display: none;
333}
334
335#bookmarks-toolbar-placeholder {
336 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
337 -moz-box-orient: horizontal;
338}
339
340toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
341#personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder {
342 list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important;
343}
344
345/* ----- BOOKMARK STAR ANIMATION ----- */
346
347@keyframes animation-bookmarkAdded {
348 from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; }
349 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; }
350 80% { opacity: 1; }
351 to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; }
352}
353
354@keyframes animation-bookmarkPulse {
355 from { transform: scale(1); }
356 50% { transform: scale(1.3); }
357 to { transform: scale(1); }
358}
359
360#bookmarked-notification-container {
361 min-height: 1px;
362 min-width: 1px;
363 height: 1px;
364 margin-bottom: -1px;
365 z-index: 5;
366 position: relative;
367}
368
369#bookmarked-notification {
370 background-size: 16px;
371 background-position: center;
372 background-repeat: no-repeat;
373 width: 16px;
374 height: 16px;
375 opacity: 0;
376}
377
378#bookmarked-notification-dropmarker-anchor {
379 z-index: -1;
380 position: relative;
381}
382
383#bookmarked-notification-dropmarker-icon {
384 width: 18px;
385 height: 18px;
386 visibility: hidden;
387}
388
389#bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
390 background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png");
391 animation: animation-bookmarkAdded 800ms;
392 animation-timing-function: ease, ease, ease;
393}
394
395#bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
396 list-style-image: none !important;
397}
398
399#bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon {
400 visibility: visible;
401 animation: animation-bookmarkPulse 300ms;
402 animation-delay: 600ms;
403 animation-timing-function: ease-out;
404}
405
406/* ::::: bookmark menus ::::: */
407
408menu.bookmark-item,
409menuitem.bookmark-item {
410 min-width: 0;
411 max-width: 32em;
412}
413
414.bookmark-item:not(.subviewbutton) > .menu-iconic-left {
415 margin-top: 0;
416 margin-bottom: 0;
417}
418
419.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
420 -moz-padding-start: 0px;
421}
422
423/* ::::: bookmark items ::::: */
424
425.bookmark-item {
426 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
427 -moz-image-region: auto;
428}
429
430.bookmark-item[container] {
431 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
432 -moz-image-region: auto;
433}
434
435.bookmark-item[container][open] {
436 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
437 -moz-image-region: auto;
438}
439
440.bookmark-item[container][livemark] {
441 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
442 -moz-image-region: auto;
443}
444
445.bookmark-item[container][livemark] .bookmark-item {
446 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
447 -moz-image-region: rect(0px, 16px, 16px, 0px);
448}
449
450.bookmark-item[container][livemark] .bookmark-item[visited] {
451 -moz-image-region: rect(0px, 32px, 16px, 16px);
452}
453
454.bookmark-item[container][query] {
455 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
456 -moz-image-region: auto;
457}
458
459.bookmark-item[query][tagContainer] {
460 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
461 -moz-image-region: auto;
462}
463
464.bookmark-item[query][dayContainer] {
465 list-style-image: url("chrome://communicator/skin/history/calendar.png");
466 -moz-image-region: auto;
467}
468
469.bookmark-item[query][hostContainer] {
470 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
471 -moz-image-region: auto;
472}
473
474.bookmark-item[query][hostContainer][open] {
475 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
476 -moz-image-region: auto;
477}
478
479.bookmark-item[cutting] > .toolbarbutton-icon,
480.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
481 opacity: 0.5;
482}
483
484.bookmark-item[cutting] > .toolbarbutton-text,
485.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
486 opacity: 0.7;
487}
488
489/* ::::: primary toolbar buttons ::::: */
490
491/* === BEGIN toolbarbuttons.inc.css === */
492
493/* Whole section of this included file: */
494:-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
495 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
496 #social-share-button, #open-file-button, #find-button, #developer-button,
497 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
498 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
499 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
500 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button,
501 #pocket-button),
502#bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
503 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
504}
505
506#back-button {
507 -moz-image-region: rect(0, 36px, 18px, 18px);
508}
509
510#back-button:hover:not([disabled="true"]) {
511 -moz-image-region: rect(18px, 36px, 36px, 18px);
512}
513
514#back-button[disabled="true"] {
515 -moz-image-region: rect(36px, 36px, 54px, 18px);
516}
517
518#forward-button {
519 -moz-image-region: rect(0, 72px, 18px, 54px);
520}
521
522#forward-button:hover:not([disabled="true"]) {
523 -moz-image-region: rect(18px, 72px, 36px, 54px);
524}
525
526#forward-button[disabled="true"] {
527 -moz-image-region: rect(36px, 72px, 54px, 54px);
528}
529
530#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
531#forward-button:-moz-locale-dir(rtl) {
532 transform: scaleX(-1);
533}
534
535#home-button[cui-areatype="toolbar"] {
536 -moz-image-region: rect(0, 126px, 18px, 108px);
537}
538
539#home-button[cui-areatype="toolbar"]:hover {
540 -moz-image-region: rect(18px, 126px, 36px, 108px);
541}
542
543#bookmarks-menu-button[cui-areatype="toolbar"] {
544 -moz-image-region: rect(0, 144px, 18px, 126px);
545}
546
547#bookmarks-menu-button[cui-areatype="toolbar"]:hover,
548#bookmarks-menu-button[cui-areatype="toolbar"][open="true"] {
549 -moz-image-region: rect(18px, 144px, 36px, 126px);
550}
551
552/* When "new tab" page shows up, the menubutton-button (star button) is disabled */
553#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] {
554 -moz-image-region: rect(36px, 144px, 54px, 126px) !important;
555 background-color: transparent !important;
556}
557
558#bookmarks-menu-button[cui-areatype="toolbar"][starred] {
559 -moz-image-region: rect(0, 162px, 18px, 144px);
560}
561
562#bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover,
563#bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"],
564#bookmarks-menu-button[cui-areatype="toolbar"][starred] > .toolbarbutton-menubutton-button[open="true"] {
565 /* When starred and clicked (for edit/delete dialog),
566 * then only the menubutton-button itself is open, but not the whole menubutton. */
567 -moz-image-region: rect(18px, 162px, 36px, 144px);
568}
569
570#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
571 -moz-image-region: rect(0, 630px, 18px, 612px);
572}
573
574#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
575 padding: 1px;
576 -moz-box-align: center;
577}
578
579#bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
580#bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
581 -moz-image-region: rect(18px, 630px, 36px, 612px);
582}
583
584#bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker,
585#bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker {
586 padding-top: 2px;
587 padding-bottom: 0px;
588 -moz-padding-start: 2px;
589 -moz-padding-end: 0px;
590}
591
592#history-panelmenu[cui-areatype="toolbar"] {
593 -moz-image-region: rect(0, 180px, 18px, 162px);
594}
595
596#history-panelmenu[cui-areatype="toolbar"]:hover,
597#history-panelmenu[cui-areatype="toolbar"][open="true"] {
598 -moz-image-region: rect(18px, 180px, 36px, 162px);
599}
600
601#downloads-button[cui-areatype="toolbar"] {
602 -moz-image-region: rect(0, 198px, 18px, 180px);
603}
604
605#downloads-button[cui-areatype="toolbar"]:hover,
606#downloads-button[cui-areatype="toolbar"][open="true"] {
607 -moz-image-region: rect(18px, 198px, 36px, 180px);
608}
609
610#add-ons-button[cui-areatype="toolbar"] {
611 -moz-image-region: rect(0, 216px, 18px, 198px);
612}
613
614#add-ons-button[cui-areatype="toolbar"]:hover {
615 -moz-image-region: rect(18px, 216px, 36px, 198px);
616}
617
618#open-file-button[cui-areatype="toolbar"] {
619 -moz-image-region: rect(0, 234px, 18px, 216px);
620}
621
622#open-file-button[cui-areatype="toolbar"]:hover {
623 -moz-image-region: rect(18px, 234px, 36px, 216px);
624}
625
626#save-page-button[cui-areatype="toolbar"] {
627 -moz-image-region: rect(0, 252px, 18px, 234px);
628}
629
630#save-page-button[cui-areatype="toolbar"]:hover {
631 -moz-image-region: rect(18px, 252px, 36px, 234px);
632}
633
634#sync-button[cui-areatype="toolbar"] {
635 -moz-image-region: rect(0, 270px, 18px, 252px);
636}
637
638#sync-button[cui-areatype="toolbar"]:hover {
639 -moz-image-region: rect(18px, 270px, 36px, 252px);
640}
641
642#sync-button[cui-areatype="toolbar"][status="active"],
643#sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) {
644 list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png");
645 -moz-image-region: rect(0, 18px, 18px, 0px);
646}
647
648/*
649#sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext,
650#sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext:hover:active:not([disabled="true"]) {
651 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
652}
653*/
654
655#feed-button[cui-areatype="toolbar"] {
656 -moz-image-region: rect(0, 288px, 18px, 270px);
657}
658
659#feed-button[cui-areatype="menu-panel"][panel-multiview-anchor=true],
660#feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
661 -moz-image-region: rect(18px, 288px, 36px, 270px);
662}
663
664#feed-button[cui-areatype="toolbar"][disabled="true"] {
665 -moz-image-region: rect(36px, 288px, 54px, 270px);
666}
667
668#social-share-button[cui-areatype="toolbar"] {
669 -moz-image-region: rect(0px, 306px, 18px, 288px);
670}
671
672#social-share-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
673#social-share-button[cui-areatype="toolbar"][open="true"] {
674 -moz-image-region: rect(18px, 306px, 36px, 288px);
675}
676
677#social-share-button[cui-areatype="toolbar"][disabled="true"] {
678 -moz-image-region: rect(36px, 306px, 54px, 288px);
679}
680
681#characterencoding-button[cui-areatype="toolbar"] {
682 -moz-image-region: rect(0, 324px, 18px, 306px);
683}
684
685#characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
686#characterencoding-button[cui-areatype="toolbar"][open="true"] {
687 -moz-image-region: rect(18px, 324px, 36px, 306px);
688}
689
690#characterencoding-button[cui-areatype="toolbar"][disabled="true"] {
691 -moz-image-region: rect(36px, 324px, 54px, 306px);
692}
693
694#new-window-button[cui-areatype="toolbar"] {
695 -moz-image-region: rect(0, 342px, 18px, 324px);
696}
697
698#new-window-button[cui-areatype="toolbar"]:hover {
699 -moz-image-region: rect(18px, 342px, 36px, 324px);
700}
701
702#e10s-button[cui-areatype="toolbar"] {
703 -moz-image-region: rect(0, 342px, 18px, 324px);
704}
705
706#e10s-button[cui-areatype="toolbar"]:hover {
707 -moz-image-region: rect(18px, 342px, 36px, 324px);
708}
709
710#e10s-button > .toolbarbutton-icon {
711 transform: scaleY(-1);
712}
713
714#new-tab-button[cui-areatype="toolbar"] {
715 -moz-image-region: rect(0, 360px, 18px, 342px);
716}
717
718#new-tab-button[cui-areatype="toolbar"]:hover {
719 -moz-image-region: rect(18px, 360px, 36px, 342px);
720}
721
722#privatebrowsing-button[cui-areatype="toolbar"] {
723 -moz-image-region: rect(0, 378px, 18px, 360px);
724}
725
726#privatebrowsing-button[cui-areatype="toolbar"]:hover {
727 -moz-image-region: rect(18px, 378px, 36px, 360px);
728}
729
730#find-button[cui-areatype="toolbar"] {
731 -moz-image-region: rect(0, 396px, 18px, 378px);
732}
733
734#find-button[cui-areatype="toolbar"]:hover {
735 -moz-image-region: rect(18px, 396px, 36px, 378px);
736}
737
738#print-button[cui-areatype="toolbar"] {
739 -moz-image-region: rect(0, 414px, 18px, 396px);
740}
741
742#print-button[cui-areatype="toolbar"]:hover {
743 -moz-image-region: rect(18px, 414px, 36px, 396px);
744}
745
746#fullscreen-button[cui-areatype="toolbar"] {
747 -moz-image-region: rect(0, 432px, 18px, 414px);
748}
749
750#fullscreen-button[cui-areatype="toolbar"]:hover {
751 -moz-image-region: rect(18px, 432px, 36px, 414px);
752}
753
754#developer-button[cui-areatype="toolbar"] {
755 -moz-image-region: rect(0, 450px, 18px, 432px);
756}
757
758#developer-button[cui-areatype="toolbar"]:hover,
759#developer-button[cui-areatype="toolbar"][open="true"] {
760 -moz-image-region: rect(18px, 450px, 36px, 432px);
761}
762
763#preferences-button[cui-areatype="toolbar"] {
764 -moz-image-region: rect(0, 468px, 18px, 450px);
765}
766
767#preferences-button[cui-areatype="toolbar"]:hover {
768 -moz-image-region: rect(18px, 468px, 36px, 450px);
769}
770
771#PanelUI-menu-button {
772 -moz-image-region: rect(0, 486px, 18px, 468px);
773}
774
775#PanelUI-menu-button:hover,
776#PanelUI-menu-button[open="true"] {
777 -moz-image-region: rect(18px, 486px, 36px, 468px);
778}
779
780#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button {
781 -moz-image-region: rect(0, 504px, 18px, 486px);
782}
783
784#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button:hover:not([disabled="true"]) {
785 -moz-image-region: rect(18px, 504px, 36px, 486px);
786}
787
788#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] {
789 -moz-image-region: rect(36px, 504px, 54px, 486px);
790}
791
792#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button {
793 -moz-image-region: rect(0, 522px, 18px, 504px);
794}
795
796#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button:hover:not([disabled="true"]) {
797 -moz-image-region: rect(18px, 522px, 36px, 504px);
798}
799
800#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] {
801 -moz-image-region: rect(36px, 522px, 54px, 504px);
802}
803
804#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button {
805 -moz-image-region: rect(0, 540px, 18px, 522px);
806}
807
808#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button:hover:not([disabled="true"]) {
809 -moz-image-region: rect(18px, 540px, 36px, 522px);
810}
811
812#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] {
813 -moz-image-region: rect(36px, 540px, 54px, 522px);
814}
815
816#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button {
817 -moz-image-region: rect(0, 558px, 18px, 540px);
818}
819
820#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button:hover:not([disabled="true"]) {
821 -moz-image-region: rect(18px, 558px, 36px, 540px);
822}
823
824#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] {
825 -moz-image-region: rect(36px, 558px, 54px, 540px);
826}
827
828#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button {
829 -moz-image-region: rect(0, 576px, 18px, 558px);
830}
831
832#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button:hover:not([disabled="true"]) {
833 -moz-image-region: rect(18px, 576px, 36px, 558px);
834}
835
836#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] {
837 -moz-image-region: rect(36px, 576px, 54px, 558px);
838}
839
840#nav-bar-overflow-button {
841 -moz-image-region: rect(0, 612px, 18px, 594px);
842}
843
844#nav-bar-overflow-button:hover,
845#nav-bar-overflow-button[open="true"] {
846 -moz-image-region: rect(18px, 612px, 36px, 594px);
847}
848
849#nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
850 transform: scaleX(-1);
851}
852
853#tabview-button {
854 -moz-image-region: rect(0, 648px, 18px, 630px);
855}
856
857#tabview-button:hover {
858 -moz-image-region: rect(18px, 648px, 36px, 630px);
859}
860
861#email-link-button[cui-areatype="toolbar"] {
862 -moz-image-region: rect(0, 666px, 18px, 648px);
863}
864
865#email-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
866 -moz-image-region: rect(18px, 666px, 36px, 648px);
867}
868
869#email-button[cui-areatype="toolbar"][disabled="true"] {
870 -moz-image-region: rect(36px, 666px, 54px, 648px);
871}
872
873#sidebar-button[cui-areatype="toolbar"] {
874 -moz-image-region: rect(0, 684px, 18px, 666px);
875}
876
877#sidebar-button[cui-areatype="toolbar"]:hover {
878 -moz-image-region: rect(18px, 684px, 36px, 666px);
879}
880
881#panic-button[cui-areatype="toolbar"] {
882 -moz-image-region: rect(0, 702px, 18px, 684px);
883}
884
885#panic-button[cui-areatype="toolbar"]:hover,
886#panic-button[cui-areatype="toolbar"][open] {
887 -moz-image-region: rect(18px, 702px, 36px, 684px);
888}
889
890#panic-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
891 transform: scaleX(-1);
892}
893
894#web-apps-button[cui-areatype="toolbar"] {
895 -moz-image-region: rect(0, 720px, 18px, 702px);
896}
897
898#web-apps-button[cui-areatype="toolbar"]:hover {
899 -moz-image-region: rect(18px, 720px, 36px, 702px);
900}
901
902#loop-button,
903#loop-button > .toolbarbutton-badge-container {
904 list-style-image: url("chrome://browser/skin/loop/toolbarfx.png");
905 -moz-image-region: rect(0, 18px, 18px, 0);
906}
907
908#loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]),
909#loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
910 -moz-image-region: rect(0, 90px, 18px, 72px);
911}
912
913#loop-button[state="disabled"],
914#loop-button[disabled="true"],
915#loop-button[state="disabled"] > .toolbarbutton-badge-container,
916#loop-button[disabled="true"] > .toolbarbutton-badge-container {
917 -moz-image-region: rect(0, 36px, 18px, 18px);
918}
919
920#loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]),
921#loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
922 -moz-image-region: rect(0, 126px, 18px, 108px);
923}
924
925#loop-button:not([disabled="true"])[state="error"],
926#loop-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
927 -moz-image-region: rect(0, 54px, 18px, 36px);
928}
929
930#loop-button:not([disabled="true"])[state="action"],
931#loop-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
932 -moz-image-region: rect(0, 72px, 18px, 54px);
933}
934
935#loop-button:not([disabled="true"])[state="active"],
936#loop-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
937 -moz-image-region: rect(0, 108px, 18px, 90px);
938}
939
940#webide-button[cui-areatype="toolbar"] {
941 -moz-image-region: rect(0, 738px, 18px, 720px);
942}
943
944#webide-button[cui-areatype="toolbar"]:hover {
945 -moz-image-region: rect(18px, 738px, 36px, 720px);
946}
947
948#pocket-button[cui-areatype="toolbar"] {
949 -moz-image-region: rect(0, 774px, 18px, 756px);
950}
951
952#pocket-button[cui-areatype="toolbar"]:hover,
953#pocket-button[cui-areatype="toolbar"][open] {
954 -moz-image-region: rect(18px, 774px, 36px, 756px);
955}
956
957/* === END toolbarbuttons.inc.css === */
958
959/* === BEGIN menupanel.inc.css === */
960
961/* Menu panel and palette styles */
962
963:root {
964 /* avoid aero overrides with changed filenames */
965 --menupanel-list-style-image: url(chrome://browser/skin/menuPanelFx.png);
966 --menupanel-small-list-style-image: url(chrome://browser/skin/menuPanelFx-small.png);
967}
968
969toolbaritem[sdkstylewidget="true"] > toolbarbutton,
970:-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
971 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
972 #social-share-button, #open-file-button, #find-button, #developer-button,
973 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
974 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
975 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
976 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button,
977 #pocket-button)[cui-areatype="menu-panel"],
978toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
979 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
980 #social-share-button, #open-file-button, #find-button, #developer-button,
981 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
982 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
983 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
984 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button,
985 #pocket-button) {
986 list-style-image: var(--menupanel-list-style-image);
987}
988
989#home-button[cui-areatype="menu-panel"],
990toolbarpaletteitem[place="palette"] > #home-button {
991 -moz-image-region: rect(0px, 128px, 32px, 96px);
992}
993
994#home-button[cui-areatype="menu-panel"]:hover,
995toolbarpaletteitem[place="palette"] > #home-button:hover {
996 -moz-image-region: rect(32px, 128px, 64px, 96px);
997}
998
999#bookmarks-menu-button[cui-areatype="menu-panel"],
1000toolbarpaletteitem[place="palette"] > #bookmarks-menu-button {
1001 -moz-image-region: rect(0px, 192px, 32px, 160px);
1002}
1003
1004#bookmarks-menu-button[cui-areatype="menu-panel"]:hover,
1005toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover {
1006 -moz-image-region: rect(32px, 192px, 64px, 160px);
1007}
1008
1009#bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1010 -moz-image-region: rect(32px, 192px, 64px, 160px);
1011}
1012
1013#history-panelmenu[cui-areatype="menu-panel"],
1014toolbarpaletteitem[place="palette"] > #history-panelmenu {
1015 -moz-image-region: rect(0px, 224px, 32px, 192px);
1016}
1017
1018#history-panelmenu[cui-areatype="menu-panel"]:hover,
1019toolbarpaletteitem[place="palette"] > #history-panelmenu:hover {
1020 -moz-image-region: rect(32px, 224px, 64px, 192px);
1021}
1022
1023#history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1024 -moz-image-region: rect(32px, 224px, 64px, 192px);
1025}
1026
1027#downloads-button[cui-areatype="menu-panel"],
1028toolbarpaletteitem[place="palette"] > #downloads-button {
1029 -moz-image-region: rect(0px, 256px, 32px, 224px);
1030}
1031
1032#downloads-button[cui-areatype="menu-panel"]:hover,
1033toolbarpaletteitem[place="palette"] > #downloads-button:hover {
1034 -moz-image-region: rect(32px, 256px, 64px, 224px);
1035}
1036
1037#add-ons-button[cui-areatype="menu-panel"],
1038toolbarpaletteitem[place="palette"] > #add-ons-button {
1039 -moz-image-region: rect(0px, 288px, 32px, 256px);
1040}
1041
1042#add-ons-button[cui-areatype="menu-panel"]:hover,
1043toolbarpaletteitem[place="palette"] > #add-ons-button:hover {
1044 -moz-image-region: rect(32px, 288px, 64px, 256px);
1045}
1046
1047#open-file-button[cui-areatype="menu-panel"],
1048toolbarpaletteitem[place="palette"] > #open-file-button {
1049 -moz-image-region: rect(0px, 320px, 32px, 288px);
1050}
1051
1052#open-file-button[cui-areatype="menu-panel"]:hover,
1053toolbarpaletteitem[place="palette"] > #open-file-button:hover {
1054 -moz-image-region: rect(32px, 320px, 64px, 288px);
1055}
1056
1057#save-page-button[cui-areatype="menu-panel"],
1058toolbarpaletteitem[place="palette"] > #save-page-button {
1059 -moz-image-region: rect(0px, 352px, 32px, 320px);
1060}
1061
1062#save-page-button[cui-areatype="menu-panel"]:hover,
1063toolbarpaletteitem[place="palette"] > #save-page-button:hover {
1064 -moz-image-region: rect(32px, 352px, 64px, 320px);
1065}
1066
1067#sync-button[cui-areatype="menu-panel"],
1068toolbarpaletteitem[place="palette"] > #sync-button {
1069 -moz-image-region: rect(0px, 384px, 32px, 352px);
1070}
1071
1072#sync-button[cui-areatype="menu-panel"]:hover,
1073toolbarpaletteitem[place="palette"] > #sync-button:hover {
1074 -moz-image-region: rect(32px, 384px, 64px, 352px);
1075}
1076
1077#sync-button[cui-areatype="menu-panel"][status="active"] {
1078 list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png");
1079 -moz-image-region: rect(0px, 32px, 32px, 0px);
1080}
1081
1082#feed-button[cui-areatype="menu-panel"],
1083toolbarpaletteitem[place="palette"] > #feed-button {
1084 -moz-image-region: rect(0px, 416px, 32px, 384px);
1085}
1086
1087#feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1088toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) {
1089 -moz-image-region: rect(32px, 416px, 64px, 384px);
1090}
1091
1092#feed-button[cui-areatype="menu-panel"][disabled="true"],
1093toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] {
1094 -moz-image-region: rect(64px, 416px, 96px, 384px);
1095}
1096
1097#social-share-button[cui-areatype="menu-panel"],
1098toolbarpaletteitem[place="palette"] > #social-share-button {
1099 -moz-image-region: rect(0px, 448px, 32px, 416px);
1100}
1101
1102#social-share-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1103toolbarpaletteitem[place="palette"] > #social-share-button:hover:not([disabled="true"]) {
1104 -moz-image-region: rect(32px, 448px, 64px, 416px);
1105}
1106
1107#social-share-button[cui-areatype="menu-panel"][disabled="true"],
1108toolbarpaletteitem[place="palette"] > #social-share-button[disabled="true"] {
1109 -moz-image-region: rect(64px, 448px, 96px, 416px);
1110}
1111
1112#characterencoding-button[cui-areatype="menu-panel"],
1113toolbarpaletteitem[place="palette"] > #characterencoding-button {
1114 -moz-image-region: rect(0px, 480px, 32px, 448px);
1115}
1116
1117#characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1118toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) {
1119 -moz-image-region: rect(32px, 480px, 64px, 448px);
1120}
1121
1122#characterencoding-button[cui-areatype="menu-panel"][disabled="true"],
1123toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] {
1124 -moz-image-region: rect(64px, 480px, 96px, 448px);
1125}
1126
1127#characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1128 -moz-image-region: rect(32px, 480px, 64px, 448px);
1129}
1130
1131#new-window-button[cui-areatype="menu-panel"],
1132toolbarpaletteitem[place="palette"] > #new-window-button {
1133 -moz-image-region: rect(0px, 512px, 32px, 480px);
1134}
1135
1136#new-window-button[cui-areatype="menu-panel"]:hover,
1137toolbarpaletteitem[place="palette"] > #new-window-button:hover {
1138 -moz-image-region: rect(32px, 512px, 64px, 480px);
1139}
1140
1141#e10s-button[cui-areatype="menu-panel"],
1142toolbarpaletteitem[place="palette"] > #e10s-button {
1143 -moz-image-region: rect(0px, 512px, 32px, 480px);
1144}
1145
1146#e10s-button[cui-areatype="menu-panel"]:hover,
1147toolbarpaletteitem[place="palette"] > #e10s-button:hover {
1148 -moz-image-region: rect(32px, 512px, 64px, 480px);
1149}
1150
1151#new-tab-button[cui-areatype="menu-panel"],
1152toolbarpaletteitem[place="palette"] > #new-tab-button {
1153 -moz-image-region: rect(0px, 544px, 32px, 512px);
1154}
1155
1156#new-tab-button[cui-areatype="menu-panel"]:hover,
1157toolbarpaletteitem[place="palette"] > #new-tab-button:hover {
1158 -moz-image-region: rect(32px, 544px, 64px, 512px);
1159}
1160
1161#privatebrowsing-button[cui-areatype="menu-panel"],
1162toolbarpaletteitem[place="palette"] > #privatebrowsing-button {
1163 -moz-image-region: rect(0px, 576px, 32px, 544px);
1164}
1165
1166#privatebrowsing-button[cui-areatype="menu-panel"]:hover,
1167toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover {
1168 -moz-image-region: rect(32px, 576px, 64px, 544px);
1169}
1170
1171#tabview-button[cui-areatype="menu-panel"],
1172toolbarpaletteitem[place="palette"] > #tabview-button {
1173 -moz-image-region: rect(0px, 608px, 32px, 576px);
1174}
1175
1176#tabview-button[cui-areatype="menu-panel"]:hover,
1177toolbarpaletteitem[place="palette"] > #tabview-button:hover {
1178 -moz-image-region: rect(32px, 608px, 64px, 576px);
1179}
1180
1181#find-button[cui-areatype="menu-panel"],
1182toolbarpaletteitem[place="palette"] > #find-button {
1183 -moz-image-region: rect(0px, 640px, 32px, 608px);
1184}
1185
1186#find-button[cui-areatype="menu-panel"]:hover,
1187toolbarpaletteitem[place="palette"] > #find-button:hover {
1188 -moz-image-region: rect(32px, 640px, 64px, 608px);
1189}
1190
1191#print-button[cui-areatype="menu-panel"],
1192toolbarpaletteitem[place="palette"] > #print-button {
1193 -moz-image-region: rect(0px, 672px, 32px, 640px);
1194}
1195
1196#print-button[cui-areatype="menu-panel"]:hover,
1197toolbarpaletteitem[place="palette"] > #print-button:hover {
1198 -moz-image-region: rect(32px, 672px, 64px, 640px);
1199}
1200
1201#fullscreen-button[cui-areatype="menu-panel"],
1202toolbarpaletteitem[place="palette"] > #fullscreen-button {
1203 -moz-image-region: rect(0px, 704px, 32px, 672px);
1204}
1205
1206#fullscreen-button[cui-areatype="menu-panel"]:hover,
1207toolbarpaletteitem[place="palette"] > #fullscreen-button:hover {
1208 -moz-image-region: rect(32px, 704px, 64px, 672px);
1209}
1210
1211#developer-button[cui-areatype="menu-panel"],
1212toolbarpaletteitem[place="palette"] > #developer-button {
1213 -moz-image-region: rect(0px, 736px, 32px, 704px);
1214}
1215
1216#developer-button[cui-areatype="menu-panel"]:hover,
1217toolbarpaletteitem[place="palette"] > #developer-button:hover {
1218 -moz-image-region: rect(32px, 736px, 64px, 704px);
1219}
1220
1221#developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1222 -moz-image-region: rect(32px, 736px, 64px, 704px);
1223}
1224
1225#preferences-button[cui-areatype="menu-panel"],
1226toolbarpaletteitem[place="palette"] > #preferences-button {
1227 -moz-image-region: rect(0px, 768px, 32px, 736px);
1228}
1229
1230#preferences-button[cui-areatype="menu-panel"]:hover,
1231toolbarpaletteitem[place="palette"] > #preferences-button:hover {
1232 -moz-image-region: rect(32px, 768px, 64px, 736px);
1233}
1234
1235#email-link-button[cui-areatype="menu-panel"],
1236toolbarpaletteitem[place="palette"] > #email-link-button {
1237 -moz-image-region: rect(0, 800px, 32px, 768px);
1238}
1239
1240#email-link-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1241toolbarpaletteitem[place="palette"] > #email-link-button:hover:not([disabled="true"]) {
1242 -moz-image-region: rect(32px, 800px, 64px, 768px);
1243}
1244
1245#email-link-button[cui-areatype="menu-panel"][disabled="true"],
1246toolbarpaletteitem[place="palette"] > #email-link-button[disabled="true"] {
1247 -moz-image-region: rect(64px, 800px, 96px, 768px);
1248}
1249
1250#sidebar-button[cui-areatype="menu-panel"],
1251toolbarpaletteitem[place="palette"] > #sidebar-button {
1252 -moz-image-region: rect(0, 864px, 32px, 832px);
1253}
1254
1255#sidebar-button[cui-areatype="menu-panel"]:hover,
1256toolbarpaletteitem[place="palette"] > #sidebar-button:hover,
1257#sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1258 -moz-image-region: rect(32px, 864px, 64px, 832px);
1259}
1260
1261#panic-button[cui-areatype="menu-panel"],
1262toolbarpaletteitem[place="palette"] > #panic-button {
1263 -moz-image-region: rect(0, 896px, 32px, 864px);
1264}
1265
1266#panic-button[cui-areatype="menu-panel"]:hover,
1267toolbarpaletteitem[place="palette"] > #panic-button:hover,
1268#panic-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1269 -moz-image-region: rect(32px, 896px, 64px, 864px);
1270}
1271
1272#web-apps-button[cui-areatype="menu-panel"],
1273toolbarpaletteitem[place="palette"] > #web-apps-button {
1274 -moz-image-region: rect(0, 928px, 32px, 896px);
1275}
1276
1277#web-apps-button[cui-areatype="menu-panel"]:hover,
1278toolbarpaletteitem[place="palette"] > #web-apps-button:hover {
1279 -moz-image-region: rect(32px, 928px, 64px, 896px);
1280}
1281
1282#webide-button[cui-areatype="menu-panel"],
1283toolbarpaletteitem[place="palette"] > #webide-button {
1284 -moz-image-region: rect(0px, 960px, 32px, 928px);
1285}
1286
1287#webide-button[cui-areatype="menu-panel"]:hover,
1288toolbarpaletteitem[place="palette"] > #webide-button:hover {
1289 -moz-image-region: rect(32px, 960px, 64px, 928px);
1290}
1291
1292#pocket-button[cui-areatype="menu-panel"],
1293toolbarpaletteitem[place="palette"] > #pocket-button {
1294 -moz-image-region: rect(0px, 992px, 32px, 960px);
1295}
1296
1297#pocket-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1298 -moz-image-region: rect(32px, 992px, 64px, 960px);
1299}
1300
1301toolbaritem[sdkstylewidget="true"] > toolbarbutton {
1302 -moz-image-region: rect(0, 832px, 32px, 800px);
1303}
1304
1305#loop-button[cui-areatype="menu-panel"],
1306toolbarpaletteitem[place="palette"] > #loop-button,
1307#loop-button[cui-areatype="menu-panel"] > .toolbarbutton-badge-container,
1308toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container {
1309 list-style-image: url("chrome://browser/skin/loop/menuPanel.png");
1310 -moz-image-region: rect(0, 32px, 32px, 0);
1311}
1312
1313/* Make sure that the state icons are not shown in the customization palette. */
1314toolbarpaletteitem[place="palette"] > #loop-button,
1315toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container {
1316 -moz-image-region: rect(0, 32px, 32px, 0) !important;
1317}
1318
1319#loop-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]),
1320#loop-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1321 -moz-image-region: rect(0, 160px, 32px, 128px);
1322}
1323
1324#loop-button[cui-areatype="menu-panel"][state="disabled"],
1325#loop-button[cui-areatype="menu-panel"][disabled="true"],
1326#loop-button[cui-areatype="menu-panel"][state="disabled"] > .toolbarbutton-badge-container,
1327#loop-button[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container {
1328 -moz-image-region: rect(0, 64px, 32px, 32px);
1329}
1330
1331#loop-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]),
1332#loop-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1333 -moz-image-region: rect(0, 224px, 32px, 192px);
1334}
1335
1336#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"],
1337#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
1338 -moz-image-region: rect(0, 96px, 32px, 64px);
1339}
1340
1341#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"],
1342#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
1343 -moz-image-region: rect(0, 128px, 32px, 96px);
1344}
1345
1346#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"],
1347#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
1348 -moz-image-region: rect(0, 192px, 32px, 160px);
1349}
1350
1351/* Wide panel control icons */
1352
1353#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1354#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1355toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton,
1356toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton {
1357 list-style-image: var(--menupanel-small-list-style-image);
1358}
1359
1360#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button,
1361toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button {
1362 -moz-image-region: rect(0px, 32px, 16px, 16px);
1363}
1364
1365#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button:hover:not([disabled="true"]),
1366toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) {
1367 -moz-image-region: rect(16px, 32px, 32px, 16px);
1368}
1369
1370#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button[disabled="true"],
1371toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] {
1372 -moz-image-region: rect(32px, 32px, 48px, 16px);
1373}
1374
1375#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button,
1376toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button {
1377 -moz-image-region: rect(0px, 48px, 16px, 32px);
1378}
1379
1380#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button:hover:not([disabled="true"]),
1381toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) {
1382 -moz-image-region: rect(16px, 48px, 32px, 32px);
1383}
1384
1385#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button[disabled="true"],
1386toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] {
1387 -moz-image-region: rect(32px, 48px, 48px, 32px);
1388}
1389
1390#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button,
1391toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button {
1392 -moz-image-region: rect(0px, 64px, 16px, 48px);
1393}
1394
1395#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button:hover:not([disabled="true"]),
1396toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) {
1397 -moz-image-region: rect(16px, 64px, 32px, 48px);
1398}
1399
1400#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button[disabled="true"],
1401toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] {
1402 -moz-image-region: rect(32px, 64px, 48px, 48px);
1403}
1404
1405#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button,
1406toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button {
1407 -moz-image-region: rect(0px, 80px, 16px, 64px);
1408}
1409
1410#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button:hover:not([disabled="true"]),
1411toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) {
1412 -moz-image-region: rect(16px, 80px, 32px, 64px);
1413}
1414
1415#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button[disabled="true"],
1416toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] {
1417 -moz-image-region: rect(32px, 80px, 48px, 64px);
1418}
1419
1420#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button,
1421toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button {
1422 -moz-image-region: rect(0px, 96px, 16px, 80px);
1423}
1424
1425#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button:hover:not([disabled="true"]),
1426toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) {
1427 -moz-image-region: rect(16px, 96px, 32px, 80px);
1428}
1429
1430#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button[disabled="true"],
1431toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] {
1432 -moz-image-region: rect(32px, 96px, 48px, 80px);
1433}
1434
1435#add-share-provider {
1436 list-style-image: var(--menupanel-small-list-style-image);
1437 -moz-image-region: rect(0px, 96px, 16px, 80px);
1438}
1439
1440/* === END menupanel.inc.css === */
1441
1442.toolbarbutton-1:not([type="menu-button"]) {
1443 -moz-box-orient: vertical;
1444}
1445
1446.toolbarbutton-1,
1447.toolbarbutton-1 > .toolbarbutton-menubutton-button {
1448/* min-width: 36px;
1449 min-height: 36px;*/
1450}
1451
1452.toolbarbutton-1,
1453.toolbarbutton-1 > .toolbarbutton-menubutton-button,
1454.toolbarbutton-1[disabled="true"]:hover:active,
1455.toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
1456 padding: 1px 2px;
1457}
1458
1459.toolbarbutton-1:hover:active,
1460.toolbarbutton-1[open="true"],
1461.toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
1462 padding-top: 2px;
1463 padding-bottom: 0px;
1464 -moz-padding-start: 3px;
1465 -moz-padding-end: 1px;
1466}
1467
1468#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon,
1469#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker,
1470#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker,
1471#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1472#main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon {
1473}
1474
1475.toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
1476.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1477}
1478
1479toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext,
1480toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext {
1481}
1482
1483.toolbarbutton-1 > .toolbarbutton-icon,
1484.toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1485}
1486
1487.findbar-button,
1488#nav-bar .toolbarbutton-1,
1489#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1490}
1491
1492#nav-bar .toolbarbutton-1:not([type=menu-button]),
1493#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1494#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1495}
1496
1497#nav-bar #PanelUI-menu-button {
1498/* -moz-padding-start: 7px;
1499 -moz-padding-end: 5px;*/
1500}
1501
1502#nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) {
1503/* padding-left: 5px;
1504 padding-right: 5px;*/
1505}
1506
1507#nav-bar .toolbarbutton-1 > menupopup {
1508/* margin-top: -3px;*/
1509}
1510
1511#nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel {
1512 margin-top: -4px;
1513}
1514
1515#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1516/* -moz-padding-end: 0;*/
1517}
1518
1519#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1520/* -moz-padding-start: 0;
1521 -moz-box-align: center;*/
1522}
1523
1524.findbar-button > .toolbarbutton-text,
1525#nav-bar .toolbarbutton-1 > .toolbarbutton-icon,
1526#nav-bar .toolbarbutton-1 > .toolbarbutton-text,
1527#nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container,
1528#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1529#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1530window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1531/* padding: 2px 6px;
1532 border: 1px solid;
1533 border-color: transparent;
1534 transition-property: background-color, border-color;
1535 transition-duration: 150ms;*/
1536}
1537/*
1538#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
1539#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-container,
1540#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1541 padding: 3px 7px;
1542}
1543*/
1544
1545/* Help SDK icons fit: */
1546toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1547 width: 16px;
1548}
1549
1550#nav-bar toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1551 /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */
1552 width: 32px;
1553}
1554
1555#nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) > .toolbarbutton-icon,
1556#nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
1557/* -moz-padding-end: 17px;*/
1558}
1559
1560#nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
1561}
1562
1563#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1564}
1565
1566#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
1567}
1568
1569#nav-bar .toolbaritem-combined-buttons {
1570/* margin-left: 2px;
1571 margin-right: 2px;*/
1572}
1573
1574#nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 {
1575/* padding-left: 0;
1576 padding-right: 0;*/
1577}
1578
1579#nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before,
1580#nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1:-moz-any(:not(:hover):not([open]),[disabled=true]) + .toolbarbutton-1:-moz-any(:not(:hover):not([open]),[disabled=true])::before {
1581/*
1582 content: "";
1583 display: -moz-box;
1584 width: 1px;
1585 height: 16px;
1586 -moz-margin-end: -1px;
1587*/
1588}
1589
1590window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1591}
1592
1593.findbar-button:not(:-moz-any([checked="true"],[disabled="true"])):hover > .toolbarbutton-text,
1594#nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1595#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1596#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1597#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon,
1598#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text,
1599#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-container,
1600window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon,
1601#nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon {
1602}
1603
1604.findbar-button:not([disabled=true]):-moz-any([checked="true"],:hover:active) > .toolbarbutton-text,
1605#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon,
1606#nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon,
1607#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon,
1608#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text,
1609#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-container {
1610}
1611
1612#TabsToolbar .toolbarbutton-1,
1613#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1614.tabbrowser-arrowscrollbox > .scrollbutton-up,
1615.tabbrowser-arrowscrollbox > .scrollbutton-down {
1616}
1617
1618#TabsToolbar .toolbarbutton-1:not([disabled=true]):hover,
1619#TabsToolbar .toolbarbutton-1[open],
1620#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover,
1621.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled=true]):hover,
1622.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled=true]):hover {
1623}
1624
1625/* unified back/forward button */
1626
1627#forward-button {
1628 -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */
1629}
1630
1631#forward-button > menupopup {
1632 margin-top: 1px !important;
1633}
1634
1635#forward-button > .toolbarbutton-icon {
1636 background-clip: padding-box !important;
1637 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
1638 /*clip-path: url(chrome://browser/content/browser.xul#keyhole-forward-clip-path) !important;*/
1639}
1640
1641#forward-button {
1642 -moz-margin-start: -4px !important;
1643 padding-left: 5px;
1644 padding-right: 5px;
1645 margin-top: 3px;
1646 margin-bottom: 3px;
1647 border-radius: 0 10000px 10000px 0;
1648}
1649
1650#forward-button:-moz-locale-dir(rtl) {
1651 border-radius: 10000px 0 0 10000px;
1652}
1653
1654window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button {
1655 transition: margin-left 150ms ease-out;
1656}
1657
1658window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] {
1659 margin-left: -27px !important;
1660}
1661
1662window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] {
1663 /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
1664 transition-delay: 100s;
1665}
1666
1667window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] {
1668 /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
1669 margin-left: -27.01px !important;
1670}
1671
1672#back-button {
1673/* padding-top: 3px !important;
1674 padding-bottom: 3px !important;
1675 -moz-padding-start: 5px !important;
1676 -moz-padding-end: 0 !important;*/
1677 position: relative;
1678 z-index: 1;
1679 border-radius: 10000px;
1680 width: 30px;
1681 height: 30px;
1682 margin-top: -2px;
1683 margin-bottom: -2px;
1684}
1685
1686#back-button:-moz-locale-dir(rtl) {
1687}
1688
1689#back-button > menupopup {
1690 margin-top: -1px !important;
1691}
1692
1693#back-button > .toolbarbutton-icon {
1694 border-radius: 10000px !important;
1695 background-clip: padding-box !important;
1696/* background-color: hsla(210,25%,98%,.08) !important;
1697 padding: 6px !important;
1698 border-style: none !important;
1699 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1700 0 0 0 1px hsla(210,4%,10%,.25);*/
1701 transition-property: background-color, box-shadow !important;
1702 transition-duration: 250ms !important;
1703}
1704
1705#back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
1706/* background-color: hsla(210,4%,10%,.08) !important;*/
1707}
1708
1709#back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
1710#back-button[open="true"] > .toolbarbutton-icon {
1711/* background-color: hsla(210,4%,10%,.12) !important;
1712 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1713 0 0 0 1px hsla(210,4%,10%,.25),
1714 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/
1715}
1716
1717#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1718 transform: scaleX(-1);
1719}
1720/*
1721.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
1722.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
1723 list-style-image: url("chrome://browser/skin/menu-back.png") !important;
1724}
1725
1726.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
1727.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
1728 list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
1729}
1730
1731#home-button.bookmark-item {
1732 list-style-image: url("chrome://browser/skin/Toolbar.png");
1733}
1734
1735#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1736#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1737#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1738#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1739#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1740#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1741#home-button.bookmark-item:-moz-lwtheme-brighttext {
1742 position: relative;
1743 z-index: 1;
1744 list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
1745}
1746
1747#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1748#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) {
1749 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
1750}
1751*/
1752
1753#downloads-button > .toolbarbutton-icon {
1754 margin: 0;
1755}
1756
1757/* tabview menu item */
1758
1759#menu_tabview {
1760 list-style-image: url("chrome://browser/skin/tabview/tabviewFx.png");
1761 -moz-image-region: rect(1px, 89px, 17px, 73px);
1762}
1763
1764#menu_tabview[groups="0"] {
1765 -moz-image-region: rect(1px, 17px, 17px, 1px);
1766}
1767
1768#menu_tabview[groups="1"] {
1769 -moz-image-region: rect(1px, 35px, 17px, 19px);
1770}
1771
1772#menu_tabview[groups="2"] {
1773 -moz-image-region: rect(1px, 53px, 17px, 37px);
1774}
1775
1776#menu_tabview[groups="3"] {
1777 -moz-image-region: rect(1px, 71px, 17px, 55px);
1778}
1779
1780/* undo close tab menu item */
1781#alltabs_undoCloseTab {
1782 list-style-image: url(chrome://browser/skin/undoCloseTab.png);
1783}
1784
1785@media (min-resolution: 1.25dppx) {
1786 #alltabs_undoCloseTab {
1787 list-style-image: url(chrome://browser/skin/undoCloseTab@2x.png);
1788 }
1789 #alltabs_undoCloseTab > .toolbarbutton-icon {
1790 width: 16px;
1791 }
1792}
1793
1794/* zoom control text (reset) button special case: */
1795
1796#nav-bar #zoom-reset-button > .toolbarbutton-text {
1797 /* To make this line up with the icons, it needs the same height (18px) +
1798 * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise
1799 * increase in text sizes would break things...
1800 */
1801 min-height: 20px;
1802}
1803
1804/* ::::: fullscreen window controls ::::: */
1805
1806#window-controls {
1807 -moz-margin-start: 4px;
1808}
1809
1810#minimize-button,
1811#restore-button,
1812#close-button {
1813/* list-style-image: url("chrome://global/skin/icons/windowControls.png");
1814 padding: 0; */
1815}
1816
1817#minimize-button {
1818 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1819}
1820
1821#minimize-button:hover {
1822 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1823}
1824
1825#restore-button {
1826 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1827}
1828
1829#restore-button:hover {
1830 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1831}
1832
1833#close-button {
1834 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1835}
1836
1837#close-button:hover {
1838 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1839}
1840
1841/* ::::: Location Bar ::::: */
1842
1843#urlbar,
1844.searchbar-textbox {
1845 border-radius: 5px;
1846 margin: 2px 0;
1847 -moz-margin-start: 3px;
1848}
1849
1850#urlbar {
1851 /* make color as light as possible to deal with dark non-domain parts */
1852 color: #FFBFFF;
1853}
1854
1855#urlbar:-moz-lwtheme,
1856.searchbar-textbox:-moz-lwtheme {
1857 /* background-color: rgba(255,255,255,.8);
1858 @navbarTextboxCustomBorder@
1859 color: black; */
1860}
1861
1862#urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]),
1863.searchbar-textbox:-moz-lwtheme:hover:not([focused]) {
1864/* background-color: rgba(255,255,255,.9);*/
1865}
1866
1867#urlbar:-moz-lwtheme[focused]:not([readonly]),
1868.searchbar-textbox:-moz-lwtheme[focused] {
1869/* background-color: white;*/
1870}
1871
1872window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar {
1873/* -moz-border-start: none;
1874 margin-left: 0;*/
1875}
1876
1877window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) {
1878/* border-top-left-radius: 0;
1879 border-bottom-left-radius: 0; */
1880}
1881
1882window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1883/* border-top-right-radius: 0;
1884 border-bottom-right-radius: 0; */
1885}
1886
1887window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
1888/* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/
1889/* -moz-margin-start: -5px; */
1890}
1891
1892window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl),
1893window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1894 /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
1895 transform: scaleX(-1);
1896}
1897
1898window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) {
1899 -moz-box-direction: reverse;
1900}
1901
1902html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1903.searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
1904 color: #E7ADE7;
1905}
1906
1907#urlbar-container {
1908 -moz-box-orient: horizontal;
1909 -moz-box-align: stretch;
1910}
1911
1912.urlbar-textbox-container {
1913 -moz-box-align: stretch;
1914}
1915
1916.urlbar-input-box {
1917 -moz-margin-start: 0;
1918}
1919
1920#urlbar-icons {
1921 -moz-box-align: center;
1922}
1923
1924.urlbar-icon {
1925 padding: 0 2px;
1926}
1927
1928.searchbar-engine-button,
1929.search-go-container {
1930 padding: 2px;
1931}
1932
1933.search-go-container > .search-go-button {
1934 padding: 0;
1935}
1936
1937.urlbar-icon:hover {
1938}
1939
1940.urlbar-icon[open="true"],
1941.urlbar-icon:hover:active {
1942}
1943
1944#urlbar-search-splitter {
1945 min-width: 6px;
1946 -moz-margin-start: -3px;
1947 border: none;
1948 background: transparent;
1949}
1950
1951#urlbar-search-splitter + #urlbar-container > #urlbar,
1952#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1953 -moz-margin-start: 0;
1954}
1955
1956#urlbar-display-box {
1957}
1958
1959.urlbar-display {
1960 -moz-border-end: 1px solid #9C9CFF;
1961 -moz-margin-end: 3px;
1962 margin-top: 0;
1963 margin-bottom: 0;
1964 -moz-margin-start: 0;
1965 color: #8050B0;
1966}
1967
1968#search-container {
1969 min-width: calc(54px + 11ch);
1970}
1971
1972/* identity box */
1973
1974#identity-box {
1975 border-radius: 2px;
1976 font-size: .9em;
1977}
1978
1979#identity-box:-moz-locale-dir(ltr) {
1980/* border-top-left-radius: 1.5px;
1981 border-bottom-left-radius: 1.5px;*/
1982}
1983
1984#identity-box:-moz-locale-dir(rtl) {
1985/* border-top-right-radius: 1.5px;
1986 border-bottom-right-radius: 1.5px;*/
1987}
1988
1989#notification-popup-box:not([hidden]) + #identity-box {
1990 -moz-padding-start: 10px !important;
1991 border-radius: 0;
1992}
1993
1994window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box {
1995/* border-radius: 0; */
1996 -moz-padding-start: 2px;
1997 -moz-padding-end: 2px;
1998 -moz-margin-end: 1px;
1999}
2000
2001window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box {
2002 transition: padding-left, padding-right;
2003}
2004
2005window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
2006 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
2007 padding-left: 2px;
2008}
2009
2010window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
2011 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
2012 padding-right: 2px;
2013}
2014
2015window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar >
2016 #notification-popup-box[hidden] + #identity-box {
2017 /* forward button hiding is delayed when hovered */
2018 transition-delay: 100s;
2019}
2020
2021window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
2022 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
2023 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2024 padding-left: 2.01px;
2025}
2026
2027window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
2028 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
2029 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2030 padding-right: 2.01px;
2031}
2032
2033#urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
2034#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2035 -moz-margin-end: 3px;
2036}
2037
2038#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr),
2039#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) {
2040 border-top-right-radius: 0;
2041 border-bottom-right-radius: 0;
2042}
2043
2044#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl),
2045#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
2046 border-top-left-radius: 0;
2047 border-bottom-left-radius: 0;
2048}
2049
2050#identity-box.verifiedIdentity:not(:-moz-lwtheme) {
2051 var(--verified-identity-box-backgroundcolor);
2052}
2053
2054#identity-box:-moz-focusring {
2055 outline: 1px dotted #008484;
2056 outline-offset: -1px;
2057}
2058
2059#identity-box.verifiedDomain:-moz-focusring,
2060#identity-box.verifiedIdentity:-moz-focusring {
2061 outline-color: #000000;
2062}
2063
2064#identity-icon-labels {
2065 -moz-margin-start: 1px;
2066 -moz-margin-end: 3px;
2067}
2068
2069/* Location bar dropmarker */
2070
2071.urlbar-history-dropmarker:not(:hover):not([open="true"]) {
2072 background-color: transparent;
2073}
2074
2075#urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker,
2076#urlbar-wrapper > #urlbar > .urlbar-history-dropmarker {
2077 border: none;
2078 border-radius: 0px;
2079}
2080
2081.urlbar-history-dropmarker:hover {
2082}
2083
2084.urlbar-history-dropmarker:hover:active,
2085.urlbar-history-dropmarker[open="true"] {
2086}
2087
2088/* page proxy icon */
2089
2090/* === BEGIN identity-block.inc.css === */
2091
2092:root {
2093 --identity-box-verified-color: #008484;
2094 /* Default theme does different color per channel, we can't as they do it build-time. */
2095 --identity-box-chrome-color: #9C9CFF;
2096}
2097
2098#urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
2099 color: var(--identity-box-chrome-color);
2100 -moz-border-end: 1px solid var(--identity-box-chrome-color);
2101}
2102
2103#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2104 color: var(--identity-box-verified-color);
2105 -moz-border-end: 1px solid var(--identity-box-verified-color);
2106}
2107
2108#urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
2109#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2110 background-position: right;
2111 background-size: 1px;
2112 background-repeat: no-repeat;
2113}
2114
2115/* page proxy icon */
2116
2117#page-proxy-favicon {
2118 width: 16px;
2119 height: 16px;
2120 list-style-image: url("chrome://browser/skin/identity-icons-generic.png");
2121 margin: 2px;
2122}
2123
2124.chromeUI > #page-proxy-favicon[pageproxystate="valid"] {
2125 list-style-image: url("chrome://branding/content/identity-icons-brand.png");
2126}
2127
2128.verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
2129 list-style-image: url("chrome://browser/skin/identity-icons-https.png");
2130}
2131
2132.verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
2133 list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png");
2134}
2135
2136.mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
2137 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png");
2138}
2139
2140.mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] {
2141 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
2142}
2143
2144.mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
2145 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
2146}
2147
2148#page-proxy-favicon[pageproxystate="invalid"] {
2149 opacity: 0.3;
2150}
2151
2152#identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
2153 list-style-image: url("chrome://branding/content/icon64.png");
2154}
2155
2156#identity-popup-brandName {
2157 font-weight: bold;
2158 font-size: 1.25em;
2159 margin-top: .5em;
2160 margin-bottom: .5em;
2161}
2162
2163#identity-popup-content-box {
2164 max-width: 50ch;
2165}
2166
2167/* === END identity-block.inc.css === */
2168
2169#page-proxy-favicon {
2170 -moz-image-region: rect(0, 16px, 16px, 0);
2171}
2172
2173window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon {
2174/* -moz-margin-end: 1px;*/
2175}
2176
2177#identity-box:hover > #page-proxy-favicon {
2178 -moz-image-region: rect(0, 32px, 16px, 16px);
2179}
2180
2181#identity-box:hover:active > #page-proxy-favicon,
2182#identity-box[open=true] > #page-proxy-favicon {
2183 -moz-image-region: rect(0, 48px, 16px, 32px);
2184}
2185
2186#identity-box:hover {
2187 background-color: #FFCF00;
2188 color: #000000;
2189}
2190
2191#identity-box:hover:active,
2192#identity-box[open=true] {
2193 background-color: #FF9F00;
2194 color: #000000;
2195}
2196
2197#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover,
2198#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active,
2199#urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] {
2200 background-color: #9C9CFF;
2201 color: #000000;
2202}
2203
2204#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
2205#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
2206#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
2207 background-color: #008484;
2208 color: #000000;
2209}
2210
2211/* autocomplete */
2212
2213#treecolAutoCompleteImage {
2214 max-width: 36px;
2215}
2216
2217.ac-result-type-bookmark,
2218.autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
2219 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2220 -moz-image-region: rect(0px 16px 16px 0px);
2221 width: 16px;
2222 height: 16px;
2223}
2224
2225richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark,
2226.autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) {
2227/* -moz-image-region: rect(0px 48px 16px 32px);*/
2228}
2229
2230.ac-result-type-keyword,
2231.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage),
2232richlistitem[type~="action"][actiontype="searchengine"] > .ac-title-box > .ac-site-icon {
2233 list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon");
2234 width: 16px;
2235 height: 16px;
2236}
2237
2238 .ac-result-type-keyword[selected="true"],
2239 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage, selected),
2240 richlistitem[type~="action"][actiontype="searchengine"][selected="true"] > .ac-title-box > .ac-site-icon {
2241 list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon-inverted");
2242 }
2243
2244.ac-result-type-tag,
2245.autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
2246 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
2247 width: 16px;
2248 height: 16px;
2249}
2250
2251.ac-comment {
2252 font-size: 1.06em;
2253}
2254
2255.ac-extra > .ac-comment {
2256 font-size: 1em;
2257}
2258
2259.ac-url-text,
2260.ac-action-text {
2261 font-size: 1em;
2262 color: #9C9CFF;
2263}
2264
2265richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
2266 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
2267 -moz-image-region: rect(0, 16px, 16px, 0);
2268 padding: 0 3px;
2269}
2270
2271richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
2272 -moz-image-region: rect(16px, 16px, 32px, 0);
2273}
2274
2275.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
2276 color: #8050B0;
2277}
2278
2279.ac-comment[selected="true"],
2280.ac-url-text[selected="true"],
2281.ac-action-text[selected="true"] {
2282 color: inherit !important;
2283}
2284
2285.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
2286.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
2287{
2288 color: #8050B0;
2289 font-size: smaller;
2290}
2291
2292.autocomplete-treebody::-moz-tree-cell(suggesthint) {
2293 border-top: 1px solid #9C9CFF;
2294}
2295
2296/* combined go/reload/stop button in location bar */
2297
2298#urlbar > toolbarbutton {
2299 -moz-margin-start: 0;
2300 padding: 0 2px;
2301 background-origin: border-box;
2302 border: none;
2303 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
2304 -moz-border-start: 1px solid #9C9CFF;
2305}
2306
2307#urlbar:-moz-locale-dir(ltr) > toolbarbutton {
2308 border-top-left-radius: 0px;
2309 border-bottom-left-radius: 0px;
2310}
2311
2312#urlbar:-moz-locale-dir(rtl) > toolbarbutton {
2313 border-top-right-radius: 0px;
2314 border-bottom-right-radius: 0px;
2315}
2316
2317#urlbar > toolbarbutton:not([disabled=true]):active:hover,
2318#urlbar-reload-button:not(:hover) {
2319 -moz-border-start-style: none;
2320 -moz-padding-start: 3px;
2321}
2322
2323#urlbar-reload-button {
2324 -moz-image-region: rect(0px, 14px, 14px, 0px);
2325}
2326
2327#urlbar-reload-button[disabled=true] {
2328 -moz-image-region: rect(28px, 14px, 42px, 0px);
2329}
2330
2331#urlbar-reload-button:not([disabled=true]):hover {
2332 -moz-image-region: rect(14px, 14px, 28px, 0px);
2333}
2334
2335#urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2336 transform: scaleX(-1);
2337}
2338
2339#urlbar-go-button {
2340 -moz-image-region: rect(0, 42px, 14px, 28px);
2341}
2342
2343#urlbar-go-button:hover {
2344 -moz-image-region: rect(14px, 42px, 28px, 28px);
2345}
2346
2347#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2348 transform: scaleX(-1);
2349}
2350
2351#urlbar-stop-button {
2352 -moz-image-region: rect(0px, 28px, 14px, 14px);
2353}
2354
2355#urlbar-stop-button:hover {
2356 -moz-image-region: rect(14px, 28px, 28px, 14px);
2357}
2358
2359/* popup blocker button */
2360
2361#page-report-button {
2362 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
2363 -moz-image-region: rect(0, 16px, 16px, 0);
2364}
2365
2366#page-report-button:hover ,
2367#page-report-button:hover:active,
2368#page-report-button[open="true"] {
2369 -moz-image-region: rect(0, 32px, 16px, 16px);
2370}
2371
2372/* === BEGIN readinglist.inc.css === */
2373
2374/* Reading List button */
2375
2376#urlbar:not([focused]):not(:hover) #readinglist-addremove-button {
2377 opacity: 0;
2378 width: 0px;
2379}
2380
2381#readinglist-addremove-button {
2382 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage");
2383 -moz-image-region: rect(0, 14px, 14px, 0);
2384 transition: width 150ms ease-in-out, opacity 150ms ease-in-out 150ms;
2385 opacity: 1;
2386 width: 20px;
2387}
2388
2389#readinglist-addremove-button:hover {
2390 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage-hover");
2391}
2392
2393#readinglist-addremove-button:active {
2394 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage-active");
2395}
2396
2397#readinglist-addremove-button[already-added="true"] {
2398 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded");
2399}
2400
2401#readinglist-addremove-button[already-added="true"]:hover {
2402 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded-hover");
2403}
2404
2405#readinglist-addremove-button[already-added="true"]:active {
2406 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded-active");
2407}
2408
2409/* === END readinglist.inc.css === */
2410
2411/* Reader mode button */
2412
2413#reader-mode-button {
2414 list-style-image: url("chrome://browser/skin/readerMode.svg");
2415 -moz-image-region: rect(0, 16px, 16px, 0);
2416}
2417
2418#reader-mode-button:hover,
2419#reader-mode-button[readeractive]:hover {
2420 -moz-image-region: rect(0, 32px, 16px, 16px);
2421}
2422
2423#reader-mode-button:hover:active,
2424#reader-mode-button[readeractive] {
2425 -moz-image-region: rect(0, 48px, 16px, 32px);
2426}
2427
2428/* social share panel */
2429
2430.social-share-frame {
2431 min-width: 756px;
2432 height: 150px;
2433}
2434
2435#share-container {
2436 min-width: 756px;
2437 background-color: white;
2438 background-repeat: no-repeat;
2439 background-position: center center;
2440}
2441#share-container[loading] {
2442 background-image: url(chrome://browser/skin/tabbrowser/pendingpaint.png);
2443}
2444#share-container > browser {
2445 transition: opacity 150ms ease-in-out;
2446 opacity: 1;
2447}
2448#share-container[loading] > browser {
2449 opacity: 0;
2450}
2451
2452.social-share-toolbar {
2453 border-bottom: 1px solid #9C9CFF;
2454 padding: 2px;
2455}
2456
2457#social-share-provider-buttons {
2458 padding: 0;
2459 margin: 0;
2460}
2461
2462.share-provider-button {
2463 padding: 5px;
2464 margin: 2px;
2465}
2466
2467.share-provider-button > .toolbarbutton-text {
2468 display: none;
2469}
2470.share-provider-button > .toolbarbutton-icon {
2471 width: 16px;
2472 min-height: 16px;
2473 max-height: 16px;
2474}
2475
2476toolbarbutton[type="socialmark"] > .toolbarbutton-icon {
2477 width: auto;
2478 height: auto;
2479 max-width: 32px;
2480 max-height: 24px;
2481}
2482
2483/* fixup corners for share panel */
2484.social-panel > .social-panel-frame {
2485 border-radius: inherit;
2486}
2487
2488#social-share-panel {
2489 min-height: 100px;
2490 min-width: 766px;
2491}
2492
2493#share-container,
2494.social-share-frame {
2495 border-top-left-radius: 0;
2496 border-bottom-left-radius: inherit;
2497 border-top-right-radius: 0;
2498 border-bottom-right-radius: inherit;
2499}
2500
2501#social-share-panel > .social-share-toolbar {
2502 border-top-left-radius: inherit;
2503 border-top-right-radius: inherit;
2504}
2505
2506#social-share-provider-buttons {
2507 border-top-left-radius: inherit;
2508 border-top-right-radius: inherit;
2509}
2510
2511/* social recommending panel */
2512
2513#social-mark-button {
2514 -moz-image-region: rect(0, 16px, 16px, 0);
2515}
2516
2517/* bookmarks menu-button */
2518
2519#bookmarks-menu-button.bookmark-item {
2520 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2521 -moz-image-region: rect(0px 16px 16px 0px);
2522}
2523
2524#bookmarks-menu-button.bookmark-item[starred] {
2525 -moz-image-region: rect(0px 32px 16px 16px);
2526}
2527
2528#bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
2529 -moz-margin-start: 5px;
2530}
2531
2532#bookmarks-menu-button[cui-areatype="toolbar"]:not(.bookmark-item):not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
2533 padding-top: 2px;
2534 padding-bottom: 2px;
2535}
2536
2537#BMB_bookmarksPopup[side="top"],
2538#BMB_bookmarksPopup[side="bottom"] {
2539 margin-left: -20px;
2540 margin-right: -20px;
2541}
2542
2543#BMB_bookmarksPopup[side="left"],
2544#BMB_bookmarksPopup[side="right"] {
2545 margin-top: -20px;
2546 margin-bottom: -20px;
2547}
2548
2549/* bookmarking panel */
2550
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 0 -6px;
2577 padding: 5px 0;
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}
2606
2607/* ::::: content area ::::: */
2608
2609#sidebar-box {
2610 background-color: #9C9CFF;
2611 color: #000000;
2612}
2613
2614#sidebar {
2615 background-color: #000000;
2616}
2617
2618#sidebar-splitter {
2619 -moz-margin-start: 0;
2620}
2621
2622#sidebar-header {
2623 color: #000000;
2624 padding: 2px;
2625}
2626
2627#sidebar-title {
2628 -moz-padding-start: 0px;
2629}
2630
2631#sidebar-header > .close-icon {
2632/* padding: 4px 2px;
2633 margin: 0;
2634 border: none;*/
2635 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2636}
2637
2638#sidebar-header > .close-icon:hover,
2639#sidebar-header > .close-icon:hover:active {
2640 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2641}
2642
2643#sidebar-splitter:-moz-locale-dir(ltr),
2644#sidebar:-moz-locale-dir(ltr) {
2645 border-radius: 0 5px 0 0;
2646}
2647
2648#sidebar-splitter:-moz-locale-dir(rtl),
2649#sidebar:-moz-locale-dir(rtl) {
2650 border-radius: 5px 0 0 0;
2651}
2652
2653.browserContainer > findbar {
2654/*
2655 background-color: -moz-dialog;
2656 color: -moz-DialogText;
2657*/
2658}
2659
2660/* Tabstrip */
2661
2662#TabsToolbar {
2663 min-height: 0;
2664 padding: 0;
2665 -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar");
2666}
2667
2668#TabsToolbar .toolbar-holder {
2669 background-color: #000000; /* correct effect of being an actual toolbar */
2670}
2671
2672#main-window[disablechrome] #TabsToolbar,
2673#TabsToolbar[tabsontop="false"] {
2674 border-bottom: 1px solid #008484;
2675}
2676
2677/* === BEGIN tabs.inc.css === */
2678
2679:root {
2680 /* --tab-toolbar-navbar-overlap: 1px; */
2681 /* --tab-min-height: 31px; */
2682 /* --tab-curve-width: 30px; */
2683 /* --tab-curve-half-width: 15px; */
2684}
2685
2686.tabbrowser-tab,
2687.tabs-newtab-button,
2688#TabsToolbar > #new-tab-button {
2689 margin-top: 0px;
2690}
2691
2692.tabbrowser-tab {
2693 padding: 1px 4px 2px;
2694}
2695
2696.tabbrowser-tab:first-of-type {
2697 -moz-margin-start: 2px;
2698}
2699
2700.tabs-newtab-button,
2701#TabsToolbar > #new-tab-button {
2702 border-radius: 8px 8px 0px 0px;
2703 -moz-margin-start: 0;
2704}
2705
2706.tabs-newtab-button:not(:hover),
2707#TabsToolbar > #new-tab-button:not(:hover) {
2708 background-color: #C09070;
2709}
2710
2711.tabbrowser-tab[remote] {
2712 text-decoration: underline;
2713}
2714
2715/* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */
2716.tabbrowser-tab[visuallyselected=true] {
2717/* position: relative;
2718 z-index: 2;*/
2719}
2720
2721.tab-background-middle {
2722}
2723
2724.tab-content {
2725}
2726
2727.tab-content[pinned] {
2728}
2729
2730.tab-throbber,
2731.tab-icon-image,
2732.tab-close-button {
2733}
2734
2735.tab-throbber,
2736.tab-icon-image {
2737 height: 16px;
2738 width: 16px;
2739 -moz-margin-end: 3px;
2740}
2741
2742.tab-icon-image {
2743 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2744}
2745
2746.tab-icon-overlay {
2747 width: 16px;
2748 height: 16px;
2749 /* margin-top: 10px; */
2750 -moz-margin-start: -16px;
2751 display: none;
2752}
2753
2754.tab-icon-overlay[crashed] {
2755 display: -moz-box;
2756 list-style-image: url("chrome://browser/skin/tabbrowser/crashed.svg");
2757}
2758
2759.tab-throbber[busy] {
2760 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
2761}
2762
2763.tab-throbber[progress] {
2764 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
2765}
2766
2767.tab-throbber[pinned],
2768.tab-icon-image[pinned] {
2769 -moz-margin-start: 2px;
2770 -moz-margin-end: 2px;
2771}
2772
2773.tab-label {
2774 /* this needs to add up to the 16px of the icon image */
2775 height: 12px;
2776 margin-top: 2px !important;
2777 margin-bottom: 2px !important;
2778}
2779
2780.tab-close-button {
2781 margin-top: 1px;
2782 padding: 0;
2783}
2784
2785.tab-background,
2786.tabs-newtab-button {
2787 /* overlap the tab curves */
2788}
2789
2790.tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
2791}
2792
2793/* Tab Overflow */
2794.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]),
2795.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
2796}
2797
2798.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:-moz-locale-dir(rtl),
2799.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:-moz-locale-dir(ltr) {
2800}
2801
2802.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]) {
2803}
2804
2805.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
2806}
2807
2808.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator[collapsed],
2809.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator[collapsed] {
2810}
2811
2812.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator,
2813.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator {
2814}
2815
2816.tab-background-start[visuallyselected=true]::after,
2817.tab-background-start[visuallyselected=true]::before,
2818.tab-background-start,
2819.tab-background-end,
2820.tab-background-end[visuallyselected=true]::after,
2821.tab-background-end[visuallyselected=true]::before {
2822}
2823
2824.tabbrowser-tab:not([visuallyselected=true]),
2825.tabbrowser-tab:-moz-lwtheme {
2826}
2827
2828/* tabbrowser-tab focus ring */
2829.tabbrowser-tab:focus {
2830 outline: 1px dotted;
2831}
2832
2833/* Selected tab */
2834
2835.tabbrowser-tab[visuallyselected="true"] {
2836}
2837
2838/* End selected tab */
2839
2840/* Tab pointer-events */
2841/*
2842.tabbrowser-tab {
2843 pointer-events: none;
2844}
2845
2846.tab-background-middle,
2847.tabs-newtab-button,
2848.tab-close-button {
2849 pointer-events: auto;
2850}
2851*/
2852/* Pinned tabs */
2853
2854.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
2855 background-color: #E7ADE7;
2856}
2857
2858.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
2859 background-color: #3333FF;
2860 color: #000000;
2861}
2862
2863/* New tab button */
2864
2865.tabs-newtab-button {
2866 width: 28px;
2867 /* width: calc(36px + var(--tab-curve-width)); */
2868}
2869
2870/* === END tabs.inc.css === */
2871
2872/* Background tabs:
2873 *
2874 * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top
2875 * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by
2876 * the titlebar. We don't need this in fullscreen since window dragging is not an issue there.
2877 */
2878#main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([visuallyselected=true]) {
2879/* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/
2880}
2881
2882/* Tab DnD indicator */
2883.tab-drop-indicator {
2884 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
2885 margin-bottom: -11px;
2886}
2887
2888/* Tab close button */
2889.tab-close-button {
2890 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2891}
2892
2893.tab-close-button:hover,
2894.tab-close-button:hover[selected="true"] {
2895 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2896}
2897
2898.tab-close-button:hover:active,
2899.tab-close-button:hover:active[selected="true"] {
2900 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2901}
2902
2903/* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
2904
2905.tabbrowser-arrowscrollbox > .scrollbutton-up,
2906.tabbrowser-arrowscrollbox > .scrollbutton-down {
2907 margin: 0;
2908 padding-top: 0;
2909 padding-bottom: 0;
2910 background-origin: border-box;
2911}
2912
2913#main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2914#main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2915.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext,
2916.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext {
2917 }
2918
2919.tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
2920.tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
2921 }
2922
2923.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
2924.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
2925/* transform: scaleX(-1);*/
2926}
2927
2928.tabbrowser-arrowscrollbox > .scrollbutton-down {
2929 transition: 1s background-color ease-out;
2930}
2931
2932.tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
2933 background-color: #008484;
2934}
2935
2936.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]),
2937.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
2938/* border-width: 0 2px 0 0;
2939 border-style: solid;
2940 border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;*/
2941}
2942
2943.tabs-newtab-button > .toolbarbutton-icon {
2944 margin-top: -1px;
2945 margin-bottom: -1px;
2946}
2947
2948.tabs-newtab-button,
2949#TabsToolbar > #new-tab-button,
2950#TabsToolbar > toolbarpaletteitem > #new-tab-button,
2951#TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
2952 list-style-image: url("chrome://browser/skin/tabbrowser/newtabFx.png");
2953 -moz-image-region: rect(0, 16px, 18px, 0);
2954}
2955
2956.tabs-newtab-button,
2957.tabs-newtab-button:hover,
2958#TabsToolbar > #new-tab-button,
2959#TabsToolbar > #new-tab-button:hover {
2960 -moz-image-region: rect(0, 32px, 18px, 16px);
2961}
2962
2963#main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2964#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2965#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2966.tabs-newtab-button:-moz-lwtheme-brighttext,
2967#TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
2968#TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
2969}
2970
2971#TabsToolbar > #new-tab-button {
2972 width: 26px;
2973}
2974
2975#alltabs-button {
2976 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
2977}
2978
2979#alltabs-button:hover,
2980#alltabs-button:hover:active,
2981#alltabs-button[open="true"] {
2982 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
2983}
2984
2985#main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2986#alltabs-button:-moz-lwtheme-brighttext {
2987}
2988
2989#alltabs-button > .toolbarbutton-icon {
2990/* margin: 0 2px;*/
2991}
2992
2993#alltabs-button > .toolbarbutton-menu-dropmarker {
2994 display: none;
2995}
2996
2997/* All tabs menupopup */
2998.alltabs-item > .menu-iconic-left > .menu-iconic-icon {
2999 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
3000 -moz-image-region: auto;
3001}
3002
3003.alltabs-item[selected="true"] {
3004 font-weight: bold;
3005}
3006
3007.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
3008 list-style-image: url("chrome://global/skin/icons/loading.gif");
3009}
3010
3011.alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
3012 background-color: #402800;
3013}
3014
3015toolbarbutton.chevron {
3016 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
3017}
3018
3019toolbarbutton.chevron:hover {
3020 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
3021}
3022/*
3023toolbar[brighttext] toolbarbutton.chevron {
3024 list-style-image: url("chrome://global/skin/toolbar/chevron-inverted.png") !important;
3025}
3026*/
3027toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
3028toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
3029 transform: scaleX(-1);
3030}
3031
3032toolbarbutton.chevron > .toolbarbutton-text,
3033toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
3034 display: none;
3035}
3036
3037toolbarbutton.chevron > .toolbarbutton-icon {
3038 margin: 0;
3039}
3040
3041#sidebar-throbber[loading="true"] {
3042 list-style-image: url("chrome://global/skin/icons/loading.gif");
3043 -moz-margin-end: 4px;
3044}
3045
3046/* Bookmarks toolbar */
3047#PlacesToolbarDropIndicator {
3048 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
3049}
3050
3051toolbarbutton.bookmark-item[dragover="true"][open="true"] {
3052 background-color: #008484 !important;
3053 color: #FFCF00 !important;
3054}
3055
3056/* rules for menupopup drop indicators */
3057.menupopup-drop-indicator-bar {
3058 position: relative;
3059 /* these two margins must together compensate the indicator's height */
3060 margin-top: -1px;
3061 margin-bottom: -1px;
3062}
3063
3064.menupopup-drop-indicator {
3065 list-style-image: none;
3066 height: 2px;
3067 -moz-margin-end: -4em;
3068 background-color: #008484;
3069}
3070
3071/* ::::: Identity Indicator Styling ::::: */
3072
3073/* Popup Icons */
3074#identity-popup-icon {
3075 height: 64px;
3076 width: 64px;
3077 padding: 0;
3078 list-style-image: url("chrome://browser/skin/identity.png");
3079 -moz-image-region: rect(0px, 64px, 64px, 0px);
3080}
3081
3082#identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
3083 -moz-image-region: rect(64px, 64px, 128px, 0px);
3084}
3085
3086#identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
3087 -moz-image-region: rect(128px, 64px, 192px, 0px);
3088}
3089
3090/* Popup Body Text */
3091.identity-popup-description {
3092 white-space: pre-wrap;
3093 -moz-padding-start: 15px;
3094 margin: 2px 0 4px;
3095}
3096
3097.identity-popup-label {
3098 white-space: pre-wrap;
3099 -moz-padding-start: 15px;
3100 margin: 0;
3101}
3102
3103#identity-popup-content-host,
3104#identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
3105 font-size: 1.2em;
3106}
3107
3108#identity-popup-content-host {
3109 margin-top: 3px;
3110 margin-bottom: 5px;
3111 font-weight: bold;
3112 max-width: 300px;
3113}
3114
3115#identity-popup-content-owner {
3116 margin-top: 4px;
3117 margin-bottom: 0 !important;
3118 font-weight: bold;
3119 max-width: 300px;
3120}
3121
3122.verifiedDomain > #identity-popup-content-owner {
3123 font-weight: normal;
3124}
3125
3126#identity-popup-content-verifier {
3127 margin: 4px 0 2px;
3128}
3129
3130#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
3131#identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
3132 margin-top: 10px;
3133 -moz-margin-start: -24px;
3134}
3135
3136#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
3137#identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
3138 list-style-image: url("chrome://browser/skin/Secure24.png");
3139}
3140
3141#identity-popup-help-icon {
3142 border: none;
3143 margin: 7px 0 0 -3px;
3144 background: none;
3145 min-width: 0;
3146 list-style-image: url("chrome://global/skin/icons/question-16.png");
3147 cursor: pointer;
3148}
3149
3150#identity-popup-help-icon > .button-box > .button-text {
3151 display: none;
3152}
3153
3154#identity-popup-help-icon > .button-box > .button-icon {
3155 height: 16px;
3156 width: 16px;
3157}
3158
3159#identity-popup-more-info-button {
3160 margin-top: 6px;
3161 margin-bottom: 0;
3162 -moz-margin-end: 0;
3163}
3164
3165#identity-popup > .panel-arrowcontainer > .panel-arrowcontent {
3166 padding: 0;
3167}
3168
3169#identity-popup-container {
3170 min-width: 280px;
3171 padding: 10px;
3172}
3173
3174#identity-popup-button-container {
3175/* background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent);*/
3176 padding: 10px;
3177 margin-top: 5px;
3178}
3179
3180.popup-notification-icon {
3181 width: 64px;
3182 height: 64px;
3183 -moz-margin-end: 10px;
3184}
3185
3186.popup-notification-icon[popupid="geolocation"] {
3187 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
3188}
3189
3190.popup-notification-icon[popupid="xpinstall-disabled"],
3191.popup-notification-icon[popupid="addon-progress"],
3192.popup-notification-icon[popupid="addon-install-blocked"],
3193.popup-notification-icon[popupid="addon-install-failed"],
3194.popup-notification-icon[popupid="addon-install-confirmation"],
3195.popup-notification-icon[popupid="addon-install-complete"] {
3196 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
3197 width: 32px;
3198 height: 32px;
3199}
3200
3201.popup-notification-icon[popupid="click-to-play-plugins"] {
3202 list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
3203}
3204
3205.popup-notification-icon[popupid="web-notifications"] {
3206 list-style-image: url("chrome://browser/skin/notification-64.png");
3207}
3208
3209.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
3210.popup-notification-icon[popupid*="offline-app-requested"],
3211.popup-notification-icon[popupid="offline-app-usage"] {
3212 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
3213}
3214
3215.popup-notification-icon[popupid="password"] {
3216 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
3217}
3218
3219.popup-notification-icon[popupid="webapps-install-progress"],
3220.popup-notification-icon[popupid="webapps-install"] {
3221 list-style-image: url("chrome://global/skin/icons/webapps-64.png");
3222}
3223
3224.popup-notification-icon[popupid="bad-content"] {
3225 list-style-image: url("chrome://browser/skin/bad-content-blocked-64.png");
3226}
3227
3228.popup-notification-icon[popupid="bad-content"][mixedblockdisabled],
3229.popup-notification-icon[popupid="bad-content"][trackingblockdisabled] {
3230 list-style-image: url(chrome://browser/skin/bad-content-unblocked-64.png);
3231}
3232
3233.popup-notification-icon[popupid="webRTC-sharingDevices"],
3234.popup-notification-icon[popupid="webRTC-shareDevices"] {
3235 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
3236}
3237
3238.popup-notification-icon[popupid="webRTC-sharingMicrophone"],
3239.popup-notification-icon[popupid="webRTC-shareMicrophone"] {
3240 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png");
3241}
3242
3243.popup-notification-icon[popupid="webRTC-sharingScreen"],
3244.popup-notification-icon[popupid="webRTC-shareScreen"] {
3245 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64.png);
3246}
3247
3248.popup-notification-icon[popupid="pointerLock"] {
3249 list-style-image: url("chrome://browser/skin/pointerLock-64.png");
3250}
3251
3252/* Notification icon box */
3253#notification-popup .panel-promo-box {
3254/* margin: 10px -10px -10px; */
3255}
3256
3257#notification-popup-box {
3258 position: relative;
3259 background-color: #000000;
3260 background-clip: padding-box;
3261 padding-left: 3px;
3262 padding-right: 8px;
3263 border-radius: 3px 0 0 3px;
3264 border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
3265 -moz-margin-end: -8px;
3266 border-right-width: 8px;
3267}
3268
3269window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #notification-popup-box {
3270/* padding-left: 7px; */
3271}
3272
3273#notification-popup-box:-moz-locale-dir(rtl),
3274.notification-anchor-icon:-moz-locale-dir(rtl) {
3275 transform: scaleX(-1);
3276}
3277
3278.notification-anchor-icon {
3279 width: 16px;
3280 height: 16px;
3281 margin: 0 2px;
3282}
3283
3284.notification-anchor-icon:-moz-focusring {
3285 outline: 1px dotted #008484;
3286}
3287
3288.default-notification-icon,
3289#default-notification-icon {
3290 list-style-image: url("chrome://global/skin/icons/information-16.png");
3291}
3292
3293.identity-notification-icon,
3294#identity-notification-icon {
3295 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
3296}
3297
3298.geo-notification-icon,
3299#geo-notification-icon {
3300 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
3301}
3302
3303#addons-notification-icon {
3304 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
3305}
3306
3307.indexedDB-notification-icon,
3308#indexedDB-notification-icon {
3309 list-style-image: url("chrome://global/skin/icons/question-16.png");
3310}
3311
3312#password-notification-icon {
3313 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
3314}
3315
3316#webapps-notification-icon {
3317 list-style-image: url("chrome://gobal/skin/icons/webapps-16.png");
3318}
3319
3320#plugins-notification-icon {
3321 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
3322}
3323
3324#plugins-notification-icon.plugin-hidden {
3325 list-style-image: url("chrome://browser/skin/notification-pluginAlert.png");
3326}
3327
3328#plugins-notification-icon.plugin-blocked {
3329 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
3330}
3331
3332#plugins-notification-icon {
3333/* -moz-image-region: rect(0, 16px, 16px, 0);*/
3334}
3335
3336#plugins-notification-icon:hover {
3337/* -moz-image-region: rect(0, 32px, 16px, 16px);*/
3338}
3339
3340#notification-popup-box[hidden] {
3341 /* Override display:none to make the pluginBlockedNotification animation work
3342 when showing the notification repeatedly. */
3343 display: -moz-box;
3344 visibility: collapse;
3345}
3346
3347#plugins-notification-icon.plugin-blocked[showing] {
3348 animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
3349}
3350
3351@keyframes pluginBlockedNotification {
3352 from {
3353 opacity: 0;
3354 }
3355 to {
3356 opacity: 1;
3357 }
3358}
3359
3360.bad-content-blocked-notification-icon,
3361#bad-content-blocked-notification-icon {
3362 list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png");
3363}
3364
3365.bad-content-unblocked-notification-icon,
3366#bad-content-unblocked-notification-icon {
3367 list-style-image: url(chrome://browser/skin/bad-content-unblocked-16.png);
3368}
3369
3370.webRTC-shareDevices-notification-icon,
3371#webRTC-shareDevices-notification-icon {
3372 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
3373}
3374
3375.webRTC-sharingDevices-notification-icon,
3376#webRTC-sharingDevices-notification-icon {
3377 list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
3378}
3379
3380.webRTC-shareMicrophone-notification-icon,
3381#webRTC-shareMicrophone-notification-icon {
3382 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png");
3383}
3384
3385.webRTC-sharingMicrophone-notification-icon,
3386#webRTC-sharingMicrophone-notification-icon {
3387 list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png");
3388}
3389
3390.webRTC-shareScreen-notification-icon,
3391#webRTC-shareScreen-notification-icon {
3392 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png);
3393}
3394
3395.webRTC-sharingScreen-notification-icon,
3396#webRTC-sharingScreen-notification-icon {
3397 list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16.png);
3398}
3399
3400.web-notifications-notification-icon,
3401#web-notifications-notification-icon {
3402 list-style-image: url("chrome://browser/skin/notification-16.png");
3403}
3404
3405#pointerLock-notification-icon {
3406 list-style-image: url("chrome://browser/skin/pointerLock-16.png");
3407}
3408#pointerLock-cancel {
3409 margin: 0px;
3410}
3411
3412/* Translation infobar */
3413
3414/* === BEGIN infobar.inc.css === */
3415
3416notification[value="translation"] .messageImage {
3417 list-style-image: url("chrome://browser/skin/translation-16.png");
3418 -moz-image-region: rect(0, 32px, 16px, 16px);
3419}
3420
3421@media (min-resolution: 1.25dppx) {
3422 notification[value="translation"] .messageImage {
3423 list-style-image: url("chrome://browser/skin/translation-16@2x.png");
3424 -moz-image-region: rect(0, 64px, 32px, 32px);
3425 }
3426}
3427
3428notification[value="translation"][state="translating"] .messageImage {
3429 list-style-image: url("chrome://browser/skin/translating-16.png");
3430 -moz-image-region: auto;
3431}
3432
3433@media (min-resolution: 1.25dppx) {
3434 notification[value="translation"][state="translating"] .messageImage {
3435 list-style-image: url("chrome://browser/skin/translating-16@2x.png");
3436 }
3437}
3438
3439notification[value="translation"] button,
3440notification[value="translation"] menulist {
3441 min-width: 0;
3442}
3443
3444notification[value="translation"] menulist > .menulist-dropmarker {
3445}
3446
3447.translation-menupopup arrowscrollbox {
3448 padding-bottom: 0;
3449}
3450
3451.translation-attribution {
3452 cursor: pointer;
3453 -moz-box-align: end;
3454 font-size: small;
3455}
3456
3457.translation-attribution > label {
3458 margin-bottom: 0;
3459}
3460
3461.translation-attribution > image {
3462 width: 70px;
3463}
3464
3465.translation-welcome-panel {
3466 width: 305px;
3467}
3468
3469.translation-welcome-logo {
3470 height: 32px;
3471 width: 32px;
3472 list-style-image: url(chrome://browser/skin/translation-16@2x.png);
3473 -moz-image-region: rect(0, 64px, 32px, 32px);
3474}
3475
3476.translation-welcome-content {
3477 -moz-margin-start: 16px;
3478}
3479
3480.translation-welcome-headline {
3481 font-size: larger;
3482 font-weight: bold;
3483}
3484
3485.translation-welcome-body {
3486 padding: 1em 0;
3487 margin: 0 0;
3488}
3489
3490/* === END infobar.inc.css === */
3491
3492notification[value="translation"] {
3493 min-height: 40px;
3494}
3495
3496.translate-notification-icon,
3497#translate-notification-icon {
3498 list-style-image: url("chrome://browser/skin/translation-16.png");
3499 -moz-image-region: rect(0px, 16px, 16px, 0px);
3500}
3501
3502.translated-notification-icon,
3503#translated-notification-icon {
3504 list-style-image: url("chrome://browser/skin/translation-16.png");
3505 -moz-image-region: rect(0px, 32px, 16px, 16px);
3506}
3507
3508.translation-menupopup {
3509 -moz-appearance: none;
3510}
3511
3512/* Loop/ Hello browser styles */
3513
3514notification[value="loop-sharing-notification"] .button-menubutton-button {
3515 min-width: 0;
3516 border: 0;
3517 margin: 0;
3518}
3519
3520notification[value="loop-sharing-notification"] .messageImage {
3521 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png);
3522}
3523
3524/* Bookmarks roots menu-items */
3525#subscribeToPageMenuitem:not([disabled]),
3526#subscribeToPageMenupopup,
3527#BMB_subscribeToPageMenuitem:not([disabled]),
3528#BMB_subscribeToPageMenupopup {
3529 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
3530}
3531
3532#bookmarksToolbarFolderMenu,
3533#BMB_bookmarksToolbar,
3534#panelMenu_bookmarksToolbar {
3535 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
3536 -moz-image-region: auto;
3537}
3538
3539#BMB_unsortedBookmarks,
3540#panelMenu_unsortedBookmarks {
3541 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
3542 -moz-image-region: auto;
3543}
3544
3545#menu_readingList,
3546#BMB_readingList {
3547 list-style-image: url("chrome://browser/skin/readinglist/readinglist-icon.svg");
3548 -moz-image-region: auto;
3549}
3550
3551#panelMenu_pocket,
3552#menu_pocket,
3553#BMB_pocket {
3554 list-style-image: url("chrome://browser/content/pocket/panels/img/pocketmenuitem16.png");
3555}
3556
3557/* ::::: Keyboard UI Panel ::::: */
3558
3559.KUI-panel {
3560 color: #FF9F00;
3561 border-style: none;
3562 border-radius: 20px;
3563}
3564
3565.KUI-panel[level="top"] {
3566 /*background-color: rgba(27%,27%,27%,.65);*/
3567}
3568
3569/* Ctrl-Tab */
3570
3571#ctrlTab-panel {
3572 padding: 20px 10px 10px;
3573 font-weight: bold;
3574}
3575
3576.ctrlTab-favicon[src] {
3577 background-color: #000000;
3578 width: 20px;
3579 height: 20px;
3580 padding: 2px;
3581}
3582
3583.ctrlTab-preview-inner > .tabPreview-canvas {
3584}
3585
3586.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
3587 margin-bottom: 2px;
3588}
3589
3590.ctrlTab-preview-inner {
3591 padding-bottom: 10px;
3592}
3593
3594#ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
3595 padding: 10px;
3596 background-color: #000000;
3597 border-radius: .5em;
3598}
3599
3600.ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
3601 color: white;
3602 background-color: #000000;
3603 text-shadow: none;
3604 padding: 8px;
3605 border: 2px solid #9C9CFF;
3606 border-radius: .5em;
3607}
3608
3609.ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
3610 margin: -10px -10px 0;
3611}
3612
3613#ctrlTab-showAll {
3614 margin-top: .5em;
3615}
3616
3617/* Sync Panel */
3618
3619.sync-panel-icon {
3620 height:32px;
3621 width: 32px;
3622 background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat;
3623}
3624
3625.sync-panel-inner {
3626 width: 0;
3627 padding-left: 10px;
3628}
3629
3630.sync-panel-button-box {
3631 margin-top: 1em;
3632}
3633
3634#sync-error-panel-title,
3635#sync-start-panel-title {
3636 font-size: 120%;
3637 font-weight: bold;
3638 margin-bottom: 5px;
3639}
3640
3641#sync-start-panel-subtitle,
3642#sync-error-panel-subtitle {
3643 margin: 0;
3644}
3645
3646/* Status panel */
3647
3648.statuspanel-label {
3649 margin: 0;
3650 padding: 2px 4px;
3651 background: #404000;
3652 border: 1px none #9C9CFF;
3653 border-top-style: solid;
3654 color: #FF9F00;
3655 text-shadow: none;
3656}
3657
3658.statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
3659.statuspanel-label:-moz-locale-dir(rtl)[mirror] {
3660 border-right-style: solid;
3661 border-top-right-radius: .3em;
3662 margin-right: 1em;
3663}
3664
3665.statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
3666.statuspanel-label:-moz-locale-dir(ltr)[mirror] {
3667 border-left-style: solid;
3668 border-top-left-radius: .3em;
3669 margin-left: 1em;
3670}
3671
3672/* HACK to abolish devily color on main content */
3673
3674#content {
3675 background-color: transparent !important;
3676}
3677
3678#full-screen-warning-message {
3679 background-color: #000000;
3680 color: #FF9F00;
3681 border-radius: 8px;
3682 margin-top: 30px;
3683 padding: 30px 50px;
3684 box-shadow: 0 0 2px #9C9CFF;
3685}
3686
3687#full-screen-warning-container[obscure-browser] {
3688 background-color: rgba(0,0,0,0.3);
3689}
3690
3691.full-screen-description {
3692 font-size: 150%;
3693}
3694
3695#full-screen-domain-text {
3696 font-size: 300%;
3697}
3698
3699.full-screen-approval-button,
3700#full-screen-remember-decision {
3701 font-size: 120%;
3702}
3703
3704/* === BEGIN commandline.inc.css === */
3705
3706/* Developer toolbar */
3707
3708#developer-toolbar {
3709 border-top: 3px solid #000000;
3710 border-bottom: none;
3711}
3712
3713#developer-toolbar .toolbar-holder {
3714 background-color: #8050B0;
3715 color: #FFCF00;
3716}
3717
3718#developer-toolbar .toolbar-holder {
3719 background-color: #8050B0;
3720 color: #FFCF00;
3721}
3722
3723#developer-toolbar .toolbar-startcap,
3724#developer-toolbar .toolbar-endcap{
3725 background-color: #6000CF;
3726}
3727
3728#developer-toolbar {
3729/* padding: 0;
3730 min-height: 32px; */
3731}
3732
3733#developer-toolbar > toolbarbutton {
3734/* margin: 0;
3735 padding: 0 10px;
3736 width: 32px; */
3737}
3738
3739.developer-toolbar-button > image {
3740/* margin: auto 10px; */
3741}
3742
3743#developer-toolbar-toolbox-button > label {
3744 display: none;
3745}
3746
3747.developer-toolbar-button > .toolbarbutton-icon,
3748#developer-toolbar-closebutton > .toolbarbutton-icon {
3749 width: 16px;
3750 height: 16px;
3751}
3752
3753#developer-toolbar-toolbox-button {
3754 list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png");
3755 -moz-image-region: rect(0px, 16px, 16px, 0px);
3756}
3757
3758#developer-toolbar-toolbox-button > label {
3759 display: none;
3760}
3761
3762#developer-toolbar-toolbox-button:hover,
3763#developer-toolbar-toolbox-button:hover:active,
3764#developer-toolbar-toolbox-button[checked=true] {
3765 -moz-image-region: rect(0px, 32px, 16px, 16px);
3766}
3767
3768@media (min-resolution: 2dppx) {
3769 #developer-toolbar-toolbox-button {
3770 list-style-image: url("chrome://browser/skin/devtools/toggle-tools@2x.png");
3771 -moz-image-region: rect(0px, 32px, 32px, 0px);
3772 }
3773
3774 #developer-toolbar-toolbox-button:hover,
3775 #developer-toolbar-toolbox-button:hover:active,
3776 #developer-toolbar-toolbox-button[checked=true] {
3777 -moz-image-region: rect(0px, 64px, 32px, 32px);
3778 }
3779}
3780
3781#developer-toolbar-closebutton {
3782 list-style-image: url("chrome://browser/skin/devtools/close.png");
3783 -moz-image-region: rect(0px, 16px, 16px, 0px);
3784 min-width: 16px;
3785 width: 16px;
3786}
3787
3788#developer-toolbar-closebutton > .toolbarbutton-icon {
3789}
3790
3791#developer-toolbar-closebutton > .toolbarbutton-text {
3792 display: none;
3793}
3794
3795#developer-toolbar-closebutton:hover,
3796#developer-toolbar-closebutton:hover:active {
3797 -moz-image-region: rect(0px, 32px, 16px, 16px);
3798}
3799
3800@media (min-resolution: 2dppx) {
3801 #developer-toolbar-closebutton {
3802 list-style-image: url("chrome://browser/skin/devtools/close@2x.png");
3803 -moz-image-region: rect(0px, 32px, 32px, 0px);
3804 }
3805
3806 #developer-toolbar-closebutton:hover,
3807 #developer-toolbar-closebutton:hover:active {
3808 -moz-image-region: rect(0px, 64px, 32px, 32px);
3809 }
3810}
3811
3812/* GCLI */
3813
3814html|*#gcli-tooltip-frame,
3815html|*#gcli-output-frame {
3816 padding: 0;
3817 border-width: 0;
3818 background-color: transparent;
3819}
3820
3821#gcli-output,
3822#gcli-tooltip {
3823 border-width: 0;
3824 background-color: transparent;
3825}
3826
3827.gclitoolbar-input-node,
3828.gclitoolbar-complete-node {
3829 margin: 1px 3px;
3830 -moz-box-align: center;
3831 padding-top: 0;
3832 padding-bottom: 0;
3833 padding-right: 8px;
3834 background-color: transparent;
3835}
3836
3837.gclitoolbar-input-node {
3838/* line-height: 32px;
3839 outline-style: none; */
3840 background-repeat: no-repeat;
3841 background-color: rgba(0, 0, 0, .75);
3842}
3843
3844.gclitoolbar-input-node[focused="true"] {
3845 background-color: #000000;
3846}
3847
3848.gclitoolbar-input-node::before {
3849 content: "";
3850 display: inline-block;
3851 -moz-box-ordinal-group: 0;
3852 width: 16px;
3853 height: 16px;
3854 margin: 0 2px;
3855 background-image: url("chrome://browser/skin/devtools/commandline-icon.png");
3856 background-position: 0 center;
3857 background-size: 32px 16px;
3858}
3859
3860.gclitoolbar-input-node[focused="true"]::before {
3861 background-position: -16px center;
3862}
3863
3864@media (min-resolution: 2dppx) {
3865 .gclitoolbar-input-node::before {
3866 background-image: url("chrome://browser/skin/devtools/commandline-icon@2x.png");
3867 }
3868}
3869
3870.gclitoolbar-input-node:not([focused="true"]) {
3871 border-color: transparent;
3872}
3873
3874.gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
3875 background-color: #008484;
3876 color: #000000;
3877 text-shadow: none;
3878}
3879
3880.gclitoolbar-complete-node {
3881 padding-left: 21px;
3882 background-color: transparent;
3883 color: transparent;
3884 z-index: 100;
3885 pointer-events: none;
3886}
3887
3888.gcli-in-incomplete,
3889.gcli-in-error,
3890.gcli-in-ontab,
3891.gcli-in-todo,
3892.gcli-in-closebrace,
3893.gcli-in-param,
3894.gcli-in-valid {
3895 margin: 0;
3896 padding: 0;
3897}
3898
3899.gcli-in-incomplete {
3900 border-bottom: 2px dotted #8050B0;
3901}
3902
3903.gcli-in-error {
3904 border-bottom: 2px dotted #FF0000;
3905}
3906
3907.gcli-in-ontab {
3908 color: #9C9CFF;
3909}
3910
3911.gcli-in-todo {
3912 color: #795900;
3913}
3914
3915.gcli-in-closebrace {
3916 color: #8050B0;
3917}
3918
3919/* === END commandline.inc.css === */
3920
3921/* === BEGIN responsivedesign.inc.css === */
3922
3923/* Responsive Mode */
3924
3925.browserContainer[responsivemode] {
3926 background-color: #221500;
3927 padding: 0 20px 20px 20px;
3928}
3929
3930.browserStack[responsivemode] {
3931 box-shadow: 0 0 7px #9C9CFF;
3932}
3933
3934.devtools-responsiveui-toolbar {
3935 background: transparent;
3936 /* text color is textColor from dark theme, since no theme is applied to
3937 * the responsive toolbar.
3938 */
3939 color: #FF9F00;
3940 margin: 10px 0;
3941 padding: 0;
3942 box-shadow: none;
3943 border-bottom-width: 0;
3944}
3945
3946.devtools-responsiveui-menulist,
3947.devtools-responsiveui-toolbarbutton {
3948 -moz-box-align: center;
3949 min-width: 32px;
3950/* min-height: 22px;*/
3951/* margin: 0 3px; */
3952}
3953
3954.devtools-responsiveui-menulist .menulist-editable-box {
3955 background-color: transparent;
3956}
3957
3958.devtools-responsiveui-menulist html|*.menulist-editable-input {
3959 color: inherit;
3960 text-align: center;
3961}
3962
3963.devtools-responsiveui-menulist html|*.menulist-editable-input::-moz-selection {
3964/* background: hsla(212,7%,57%,.35);*/
3965}
3966
3967.devtools-responsiveui-toolbarbutton > .toolbarbutton-icon {
3968 width: 16px;
3969 height: 16px;
3970}
3971
3972.devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button {
3973 -moz-box-orient: horizontal;
3974}
3975
3976.devtools-responsiveui-menulist:-moz-focusring,
3977.devtools-responsiveui-toolbarbutton:-moz-focusring {
3978/* outline: 1px dotted hsla(210,30%,85%,0.7);
3979 outline-offset: -4px;*/
3980}
3981
3982.devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text {
3983 display: none;
3984}
3985
3986.devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active {
3987/* border-color: hsla(210,8%,5%,.6);
3988 background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3));
3989 box-shadow: 0 0 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); */
3990}
3991
3992.devtools-responsiveui-menulist[open=true],
3993.devtools-responsiveui-toolbarbutton[open=true],
3994.devtools-responsiveui-toolbarbutton[checked=true] {
3995/* border-color: hsla(210,8%,5%,.6) !important;
3996 background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4));
3997 box-shadow: 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); */
3998}
3999
4000.devtools-responsiveui-toolbarbutton[checked=true] {
4001/* color: hsl(208,100%,60%); */
4002}
4003
4004.devtools-responsiveui-toolbarbutton[checked=true]:hover {
4005/* background-color: transparent !important;*/
4006}
4007
4008.devtools-responsiveui-toolbarbutton[checked=true]:hover:active {
4009/* background-color: hsla(210,8%,5%,.2) !important;*/
4010}
4011
4012.devtools-responsiveui-menulist > .menulist-label-box {
4013 text-align: center;
4014}
4015
4016.devtools-responsiveui-menulist > .menulist-dropmarker {
4017/* display: -moz-box;
4018 background-color: transparent;
4019 list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg");
4020 -moz-box-align: center;
4021 border-width: 0;
4022 min-width: 16px;*/
4023}
4024
4025.devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
4026/* color: inherit;
4027 border-width: 0;
4028 -moz-border-end: 1px solid hsla(210,8%,5%,.45);
4029 box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15);*/
4030}
4031
4032.devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button {
4033/* box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15);*/
4034}
4035
4036.devtools-responsiveui-toolbarbutton[type=menu-button] {
4037/* padding: 0 1px;*/
4038 -moz-box-align: stretch;
4039}
4040
4041.devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
4042.devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
4043/* list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg");
4044 -moz-box-align: center;
4045 padding: 0 3px;*/
4046}
4047
4048.devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
4049.devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child {
4050 margin-left: 3px;
4051}
4052
4053.devtools-responsiveui-close {
4054 list-style-image: url("chrome://browser/skin/devtools/close.png");
4055 -moz-image-region: rect(0px,16px,16px,0px);
4056}
4057
4058.devtools-responsiveui-close:hover {
4059 -moz-image-region: rect(0px,32px,16px,16px);
4060}
4061
4062.devtools-responsiveui-rotate {
4063 list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png");
4064 -moz-image-region: rect(0px,16px,16px,0px);
4065}
4066
4067.devtools-responsiveui-rotate:hover {
4068 -moz-image-region: rect(0px,32px,16px,16px);
4069}
4070
4071@media (min-resolution: 2dppx) {
4072 .devtools-responsiveui-close {
4073 list-style-image: url("chrome://browser/skin/devtools/close@2x.png");
4074 }
4075
4076 .devtools-responsiveui-close:hover {
4077 -moz-image-region: rect(0px,64px,32px,32px);
4078 }
4079
4080 .devtools-responsiveui-rotate {
4081 list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate@2x.png");
4082 }
4083
4084 .devtools-responsiveui-rotate:hover {
4085 -moz-image-region: rect(0px,64px,32px,32px);
4086 }
4087}
4088
4089.devtools-responsiveui-touch {
4090 list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png");
4091 -moz-image-region: rect(0px,16px,16px,0px);
4092}
4093
4094.devtools-responsiveui-touch:hover,
4095.devtools-responsiveui-touch[checked],
4096.devtools-responsiveui-touch[checked]:hover {
4097 -moz-image-region: rect(0px,32px,16px,16px);
4098}
4099
4100@media (min-resolution: 2dppx) {
4101 .devtools-responsiveui-touch {
4102 list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch@2x.png");
4103 -moz-image-region: rect(0px,32px,32px,0px);
4104 }
4105
4106 .devtools-responsiveui-touch:hover,
4107 .devtools-responsiveui-touch[checked],
4108 .devtools-responsiveui-touch[checked]:hover {
4109 -moz-image-region: rect(0px,64px,32px,32px);
4110 }
4111}
4112
4113.devtools-responsiveui-screenshot {
4114 list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png");
4115 -moz-image-region: rect(0px,16px,16px,0px);
4116}
4117
4118.devtools-responsiveui-screenshot:hover {
4119 -moz-image-region: rect(0px,32px,16px,16px);
4120}
4121
4122@media (min-resolution: 2dppx) {
4123 .devtools-responsiveui-screenshot {
4124 list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot@2x.png");
4125 }
4126
4127 .devtools-responsiveui-screenshot:hover {
4128 -moz-image-region: rect(0px,64px,32px,32px);
4129 }
4130}
4131
4132.devtools-responsiveui-resizebarV {
4133 width: 7px;
4134 height: 24px;
4135 cursor: ew-resize;
4136 transform: translate(12px, -12px);
4137 background-size: cover;
4138 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png");
4139}
4140
4141.devtools-responsiveui-resizebarH {
4142 width: 24px;
4143 height: 7px;
4144 cursor: ns-resize;
4145 transform: translate(-12px, 12px);
4146 background-size: cover;
4147 background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png");
4148}
4149
4150.devtools-responsiveui-resizehandle {
4151 width: 16px;
4152 height: 16px;
4153 cursor: se-resize;
4154 transform: translate(12px, 12px);
4155 background-size: cover;
4156 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png");
4157}
4158
4159/* FxOS custom mode with additional buttons and phone look'n feel */
4160
4161/* Hide devtools manual resizer */
4162.browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizehandle,
4163.browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarH,
4164.browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarV {
4165 display: none;
4166}
4167
4168/* Gives responsive mode a phone look'n feel */
4169.browserStack[responsivemode].fxos-mode {
4170 padding: 60px 15px 0;
4171
4172 border-radius: 25px / 20px;
4173 border-bottom-left-radius: 0;
4174 border-bottom-right-radius: 0;
4175 border: 1px solid #FFFFFF;
4176 border-bottom-width: 0;
4177
4178 background-color: #353535;
4179
4180 box-shadow: 0 3px 0.7px 1px #777777, 0 5px rgba(0, 0, 0, 0.4) inset;
4181
4182 background-image: linear-gradient(to right, #111 11%, #333 56%);
4183 min-width: 320px;
4184}
4185
4186.devtools-responsiveui-hardware-buttons {
4187 -moz-appearance: none;
4188 padding: 20px;
4189
4190 border: 1px solid #FFFFFF;
4191 border-bottom-left-radius: 25px;
4192 border-bottom-right-radius: 25px;
4193 border-top-width: 0;
4194
4195 box-shadow: 0 3px 0.7px 1px #777777, 0 -7px rgba(0, 0, 0, 0.4) inset;
4196
4197 background-image: linear-gradient(to right, #111 11%, #333 56%);
4198}
4199
4200.devtools-responsiveui-home-button {
4201 width: 40px;
4202 height: 30px;
4203 list-style-image: url("chrome://browser/skin/devtools/responsiveui-home.png");
4204}
4205
4206.devtools-responsiveui-sleep-button {
4207 -moz-appearance: none;
4208 /* compensate browserStack top padding */
4209 margin-top: -67px;
4210 margin-right: 10px;
4211
4212 min-width: 10px;
4213 width: 50px;
4214 height: 5px;
4215
4216 border: 1px solid #444;
4217 border-top-right-radius: 12px;
4218 border-top-left-radius: 12px;
4219 border-bottom-color: transparent;
4220
4221 background-image: linear-gradient(to top, #111 11%, #333 56%);
4222}
4223
4224.devtools-responsiveui-sleep-button:hover:active {
4225 background-image: linear-gradient(to top, #aaa 11%, #ddd 56%);
4226}
4227
4228.devtools-responsiveui-volume-buttons {
4229 margin-left: -29px;
4230}
4231
4232.devtools-responsiveui-volume-up-button,
4233.devtools-responsiveui-volume-down-button {
4234 -moz-appearance: none;
4235 border: 1px solid red;
4236 min-width: 8px;
4237 height: 40px;
4238
4239 border: 1px solid #444;
4240 border-right-color: transparent;
4241
4242 background-image: linear-gradient(to right, #111 11%, #333 56%);
4243}
4244
4245.devtools-responsiveui-volume-up-button:hover:active,
4246.devtools-responsiveui-volume-down-button:hover:active {
4247 background-image: linear-gradient(to right, #aaa 11%, #ddd 56%);
4248}
4249
4250.devtools-responsiveui-volume-up-button {
4251 border-top-left-radius: 12px;
4252}
4253
4254.devtools-responsiveui-volume-down-button {
4255 border-bottom-left-radius: 12px;
4256}
4257
4258@media (min-resolution: 2dppx) {
4259 .devtools-responsiveui-resizebarV {
4260 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer@2x.png");
4261 }
4262
4263 .devtools-responsiveui-resizebarH {
4264 background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer@2x.png");
4265 }
4266
4267 .devtools-responsiveui-resizehandle {
4268 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer@2x.png");
4269 }
4270}
4271
4272/* === END responsivedesign.inc.css === */
4273
4274/* === including indicator.css is done at the start of the file === */
4275
4276/* Error counter */
4277
4278#developer-toolbar-toolbox-button[error-count]:before {
4279 color: #000000;
4280 min-width: 16px;
4281 text-shadow: none;
4282 background-color: #FF0000;
4283 border-radius: 1px;
4284 -moz-margin-end: 5px;
4285}
4286
4287/* Social toolbar item */
4288
4289#social-notification-icon-mentions {
4290 background-color: #000000;
4291 border-radius: 3px;
4292 -moz-margin-start: 2px;
4293}
4294
4295#social-notification-icon-mentions:hover {
4296 background-color: #FFCF00;
4297}
4298
4299#social-notification-icon-mentions[open="true"] {
4300 background-color: #FF9F00;
4301}
4302
4303#social-sidebar-splitter {
4304 border: 0;
4305}
4306
4307.popup-notification-icon[popupid="servicesInstall"] {
4308 list-style-image: url("chrome://browser/skin/social/services-64.png");
4309}
4310#servicesInstall-notification-icon {
4311 list-style-image: url("chrome://browser/skin/social/services-16.png");
4312}
4313#social-undoactivation-button {
4314 -moz-margin-start: 0; /* override default label margin to match description margin */
4315}
4316
4317#socialActivatedNotification .popup-notification-button-container {
4318 margin-left: 6px;
4319}
4320
4321.social-activation-icon {
4322 width: auto;
4323 height: auto;
4324 max-height: 64px;
4325 max-width: 64px;
4326}
4327
4328#social-activation-message {
4329 max-width: 250px;
4330}
4331
4332#social-activation-message > label {
4333 margin: 0;
4334}
4335
4336/* social toolbar provider menu */
4337.social-statusarea-popup {
4338 margin-top: 0;
4339 margin-left: -12px;
4340 margin-right: -12px;
4341}
4342
4343.social-statusarea-user {
4344 border-bottom: 1px solid #9C9CFF;
4345 background-color: #000000;
4346 color: #FF9F00;
4347 position: relative;
4348 cursor: pointer;
4349}
4350
4351.social-statusarea-user-portrait {
4352 width: 32px;
4353 height: 32px;
4354 border-radius: 2px;
4355 margin: 10px;
4356}
4357
4358.social-statusarea-loggedInStatus {
4359 background: transparent;
4360 border: none;
4361 color: #3333FF;
4362 min-width: 0;
4363 margin: 0 6px;
4364 list-style-image: none;
4365}
4366
4367#social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus {
4368 text-decoration: underline;
4369}
4370
4371.social-panel > .panel-arrowcontainer > .panel-arrowcontent {
4372 padding: 0;
4373}
4374
4375.social-panel-frame {
4376 border-radius: inherit;
4377}
4378
4379/* === BEGIN chat.inc.css === */
4380
4381#social-sidebar-header {
4382 padding: 3px;
4383}
4384
4385#manage-share-providers,
4386#social-sidebar-button {
4387 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
4388 -moz-image-region: rect(0, 468px, 18px, 450px);
4389}
4390
4391#social-sidebar-button {
4392 -moz-appearance: none;
4393 border: none;
4394 padding: 0;
4395 margin: 2px;
4396}
4397#manage-share-providers > .toolbarbutton-icon,
4398#social-sidebar-button > .toolbarbutton-icon {
4399 min-height: 18px;
4400 min-width: 18px;
4401}
4402#manage-share-providers:hover,
4403#manage-share-providers:hover:active,
4404#social-sidebar-button:hover,
4405#social-sidebar-button:hover:active {
4406 -moz-image-region: rect(18px, 468px, 36px, 450px);
4407}
4408#social-sidebar-button > .toolbarbutton-menu-dropmarker {
4409 display: none;
4410}
4411
4412#social-sidebar-button[loading="true"] {
4413 list-style-image: url("chrome://global/skin/icons/loading.gif");
4414}
4415
4416#social-sidebar-favico {
4417 max-height: 16px;
4418 max-width: 16px;
4419 padding: 0;
4420 margin: 2px;
4421}
4422
4423.chat-status-icon {
4424 max-height: 16px;
4425 max-width: 16px;
4426 padding: 0;
4427}
4428
4429.chat-toolbarbutton {
4430 -moz-appearance: none;
4431 border: none;
4432 padding: 0 3px;
4433 margin: 0;
4434 background: none;
4435}
4436
4437.chat-toolbarbutton:hover {
4438/* background-color: rgba(255,255,255,.35);*/
4439}
4440
4441.chat-toolbarbutton:hover:active {
4442/* background-color: rgba(255,255,255,.5);*/
4443}
4444
4445.chat-toolbarbutton > .toolbarbutton-text {
4446 display: none;
4447}
4448
4449.chat-toolbarbutton > .toolbarbutton-icon {
4450 width: 16px;
4451 height: 16px;
4452}
4453
4454.chat-close-button {
4455 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close");
4456}
4457
4458.chat-close-button:-moz-any(:hover,:hover:active) {
4459 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close-active");
4460}
4461
4462.chat-minimize-button {
4463 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize");
4464}
4465
4466.chat-minimize-button:-moz-any(:hover,:hover:active) {
4467 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize-active");
4468}
4469
4470.chat-swap-button {
4471 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand");
4472 transform: rotate(180deg);
4473}
4474
4475.chat-swap-button:-moz-any(:hover,:hover:active) {
4476 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand-active");
4477}
4478
4479chatbar > chatbox > .chat-titlebar > .chat-swap-button {
4480 transform: none;
4481}
4482
4483.chat-title {
4484 font-weight: bold;
4485 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
4486 text-shadow: none;
4487 cursor: inherit;
4488}
4489
4490.chat-titlebar {
4491 background-color: #9C9CFF;
4492 color: #000000;
4493 height: 30px;
4494 min-height: 30px;
4495 width: 100%;
4496 margin: 0;
4497 padding: 7px 6px;
4498 border: none;
4499 border-bottom: 1px solid #008484;
4500 cursor: pointer;
4501}
4502
4503.chat-titlebar > .notification-anchor-icon {
4504 margin-left: 2px;
4505 margin-right: 2px;
4506}
4507
4508.chat-titlebar[minimized="true"] {
4509 border-bottom: none;
4510}
4511
4512.chat-titlebar[selected] {
4513 background-color: #008484;
4514}
4515
4516.chat-titlebar[activity] {
4517 background-color: #E7ADE7;
4518}
4519
4520chatbox[dark=true] > .chat-titlebar,
4521chatbox[dark=true] > .chat-titlebar[selected] {
4522/* border-bottom: none;
4523 background-color: #000;
4524 background-image: none;*/
4525}
4526
4527chatbox[dark=true] > .chat-titlebar > hbox > .chat-title {
4528/* font-weight: normal;
4529 color: #c1c1c1;*/
4530}
4531
4532.chat-frame {
4533 padding: 0;
4534 margin: 0;
4535 overflow: hidden;
4536}
4537
4538.chatbar-button {
4539 list-style-image: url("chrome://browser/skin/social/services-16.png");
4540 background-color: #000000;
4541 border: none;
4542 margin: 0;
4543 padding: 2px;
4544 height: 21px;
4545 width: 21px;
4546 border-top: 1px solid #008484;
4547 -moz-border-end: 1px solid #008484;
4548}
4549
4550@media (min-resolution: 2dppx) {
4551 .chatbar-button {
4552 list-style-image: url("chrome://browser/skin/social/services-16@2x.png");
4553 }
4554}
4555
4556.chatbar-button > .toolbarbutton-icon {
4557 width: 16px;
4558}
4559
4560.chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
4561 width: auto;
4562 height: auto;
4563 max-height: 16px;
4564 max-width: 16px;
4565}
4566
4567.chatbar-button > .toolbarbutton-icon {
4568 opacity: .6;
4569 -moz-margin-end: 0;
4570}
4571.chatbar-button:hover > .toolbarbutton-icon,
4572.chatbar-button[open="true"] > .toolbarbutton-icon {
4573 opacity: 1;
4574}
4575
4576.chatbar-button:hover,
4577.chatbar-button[open="true"] {
4578}
4579
4580.chatbar-button > .toolbarbutton-text,
4581.chatbar-button > .toolbarbutton-menu-dropmarker {
4582 display: none;
4583}
4584
4585.chatbar-button[activity]:not([open="true"]) {
4586 background-color: #E7ADE7;
4587}
4588
4589.chatbar-button > menupopup > menuitem[activity] {
4590 font-weight: bold;
4591}
4592
4593.chatbar-innerbox {
4594 background: transparent;
4595 margin: -285px 0 0;
4596 overflow: hidden;
4597}
4598
4599chatbar {
4600 -moz-margin-end: 20px;
4601}
4602
4603chatbar > chatbox {
4604 height: 285px;
4605 width: 260px;
4606 -moz-margin-start: 4px;
4607 background-color: #000000;
4608 border: 1px solid #9C9CFF;
4609 border-bottom: none;
4610 border-top-left-radius: 2.5px;
4611 border-top-right-radius: 2.5px;
4612}
4613
4614chatbox[minimized="true"] {
4615 width: 160px;
4616 height: 20px;
4617}
4618
4619window > chatbox {
4620 -moz-margin-start: 0px;
4621 margin: 0px;
4622 border: none;
4623 padding: 0px;
4624}
4625
4626/* === END chat.inc.css === */
4627
4628.chat-titlebar {
4629/* background-color: #c4cfde; */
4630}
4631
4632.chat-titlebar[selected] {
4633/* background-color: #dae3f0; */
4634}
4635
4636.chatbar-button {
4637 -moz-appearance: none;
4638/* background-color: #c4cfde; */
4639}
4640
4641.chatbar-button > .toolbarbutton-icon {
4642/* -moz-margin-end: 0; */
4643}
4644
4645.chatbar-button:hover,
4646.chatbar-button[open="true"] {
4647/* background-color: #dae3f0; */
4648}
4649
4650.chatbar-button[activity]:not([open="true"]) {
4651}
4652
4653chatbox {
4654/* border-top-left-radius: 2.5px;
4655 border-top-right-radius: 2.5px; */
4656}
4657
4658/* === BEGIN plugin-doorhanger.inc.css === */
4659
4660/**
4661 * Plugin Doorhanger Styles
4662 */
4663
4664#notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent {
4665 padding: 6px 1px 2px;
4666}
4667
4668.click-to-play-plugins-notification-center-box {
4669}
4670
4671.plugin-popupnotification-centeritem:nth-child(odd) {
4672/* background-color: rgba(0,0,0,0.1);*/
4673}
4674
4675.center-item-label {
4676 margin-bottom: 0;
4677 text-overflow: ellipsis;
4678}
4679
4680.center-item-warning-icon {
4681 background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
4682 background-repeat: no-repeat;
4683 width: 16px;
4684 height: 15px;
4685 -moz-margin-start: 6px;
4686}
4687
4688.click-to-play-plugins-notification-button-container {
4689}
4690
4691.click-to-play-popup-button {
4692 width: 50%;
4693}
4694
4695.click-to-play-plugins-notification-description-box {
4696 margin-left: 5px;
4697 margin-right: 5px;
4698 margin-top: 0;
4699 padding-bottom: 3px;
4700}
4701
4702.click-to-play-plugins-outer-description {
4703 margin-top: 1px;
4704}
4705
4706.click-to-play-plugins-notification-link,
4707.center-item-link {
4708 margin: 0;
4709}
4710
4711.messageImage[value="plugin-hidden"] {
4712 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
4713}
4714
4715/* Keep any changes to this style in sync with pluginProblem.css */
4716notification.pluginVulnerable {
4717}
4718
4719notification.pluginVulnerable .messageImage {
4720 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
4721}
4722
4723/* === END plugin-doorhanger.inc.css === */
4724
4725/* === BEGIN badcontent-doorhanger.inc.css === */
4726
4727.popup-notification-item-title[popupid="bad-content"] {
4728 font-weight: bold;
4729}
4730
4731.popup-notification-item-message[popupid="bad-content"] {
4732 width: 17em;
4733}
4734
4735.popup-notification-item-message[popupid="bad-content"][mixedblockdisabled]:not(.popup-notification-item-message-critical),
4736.popup-notification-item-message[popupid="bad-content"][trackingblockdisabled]:not(.popup-notification-item-message-critical) {
4737 color: #8050B0;
4738}
4739
4740.popup-notification-item-message-critical[popupid="bad-content"] {
4741 color: #FF0000;
4742 font-style: italic;
4743}
4744
4745.popup-notification-footer[popupid="bad-content"] {
4746 padding-top: 1em;
4747}
4748
4749/* === END badcontent-doorhanger.inc.css === */
4750
4751/* EME notifications */
4752
4753.popup-notification-icon[popupid="drmContentPlaying"],
4754#eme-notification-icon {
4755 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
4756}
4757
4758#eme-notification-icon:hover:active {
4759 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains-pressed");
4760}
4761
4762#eme-notification-icon[firstplay=true] {
4763 animation: emeTeachingMoment 0.2s linear 0s 5 normal;
4764}
4765
4766@keyframes emeTeachingMoment {
4767 0% {transform: translateX(0); }
4768 25% {transform: translateX(3px) }
4769 75% {transform: translateX(-3px) }
4770 100% { transform: translateX(0); }
4771}
4772
4773/* === BEGIN customizeMode.inc.css === */
4774
4775/* Customization mode */
4776
4777#main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox {
4778 margin-bottom: 1em;
4779}
4780
4781#main-window:-moz-any([customize-entering],[customize-entered]) #content-deck,
4782#main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
4783#main-window:-moz-any([customize-entering],[customize-entered]) #navigator-toolbox {
4784 margin-left: 1em;
4785 margin-right: 1em;
4786}
4787
4788#main-window:-moz-any([customize-entering],[customize-exiting]) #tab-view-deck {
4789 pointer-events: none;
4790}
4791
4792#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
4793#PanelUI-contents > .panel-customization-placeholder {
4794 -moz-outline-radius: 2.5px;
4795 outline: 1px dashed transparent;
4796}
4797
4798#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before {
4799 /* Prevent jumping of tabs when switching a window between inactive and active (bug 853415). */
4800 -moz-box-ordinal-group: 0;
4801 content: "";
4802 display: -moz-box;
4803 height: 100%;
4804 left: 0;
4805 outline-offset: -2px;
4806 pointer-events: none;
4807 position: absolute;
4808 top: 0;
4809 width: 100%;
4810}
4811
4812/* Shift the TabsToolbar outline up 2px since the #nav-bar is shifted up by 1px and the
4813 #TabsToolbar::after is a pixel higher to draw the bottom border of the tabstrip so this makes the
4814 offset from the bottom effectively the same as other targets (-2px). */
4815#main-window[customize-entered] #TabsToolbar.customization-target::before {
4816/* top: -2px;*/
4817}
4818
4819/* The parents of the outline pseudo-elements need to be positioned so that the outline is positioned relative to it. */
4820#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover,
4821#main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)),
4822#main-window[customize-entered] #nav-bar-customization-target.customization-target {
4823 position: relative;
4824}
4825
4826/* Most target outlines are shown on hover and drag over but the panel menu uses
4827 placeholders instead. */
4828#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover::before,
4829#main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
4830/* nav-bar and panel outlines are always shown */
4831#nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
4832 outline-color: #A09090;
4833}
4834
4835#nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
4836 transition: outline-color 250ms linear;
4837}
4838
4839#PanelUI-contents[showoutline=true] > .panel-customization-placeholder {
4840 transition: outline-color 250ms linear;
4841 outline-color: #9C9CFF;
4842}
4843
4844#PanelUI-contents > .panel-customization-placeholder {
4845 cursor: auto;
4846 outline-offset: -5px;
4847}
4848
4849#main-window[customizing] .customization-target:not(#PanelUI-contents) {
4850 min-width: 100px;
4851/* padding-left: 10px;
4852 padding-right: 10px;*/
4853}
4854
4855#main-window:-moz-any([customize-entering],[customize-entered]) #tab-view-deck {
4856 padding: 0 2em 2em;
4857}
4858
4859#customization-container {
4860 background-color: #000000;
4861 color: #FF9F00;
4862}
4863
4864#customization-palette,
4865#customization-empty {
4866 padding: 0 15px 15px;
4867}
4868
4869#customization-header {
4870 font-size: 1.75em;
4871 line-height: 1.75em;
4872 color: #9C9CFF;
4873 font-weight: 200;
4874 margin: 25px 25px 12px;
4875 padding-bottom: 12px;
4876 border-bottom: 1px solid #A09090;
4877}
4878
4879#customization-panel-container {
4880 padding: 10px 10px 0px;
4881}
4882
4883#main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
4884#customization-footer {
4885 /*background-color: rgb(236,236,236);*/
4886}
4887
4888#customization-footer {
4889 border-top: 1px solid #9C9CFF;
4890 padding: 10px;
4891}
4892
4893.customizationmode-button {
4894 margin: 5px;
4895}
4896
4897.customizationmode-button:hover {
4898}
4899
4900#customization-titlebar-visibility-button[checked],
4901#customization-devedition-theme-button[checked] {
4902 background-color: #008484;
4903}
4904
4905#customization-titlebar-visibility-button[checked]:hover,
4906#customization-devedition-theme-button[checked]:hover {
4907 background-color: #FFCF00;
4908}
4909
4910#customization-titlebar-visibility-button[checked]:hover:active,
4911#customization-devedition-theme-button[checked]:hover:active {
4912 background-color: #FF9F00;
4913}
4914
4915.customizationmode-button[disabled="true"] {
4916}
4917
4918.customizationmode-button > .box-inherit > .box-inherit > .button-icon,
4919.customizationmode-button > .button-box > .button-icon {
4920/* height: 24px;*/
4921}
4922
4923#customization-titlebar-visibility-button {
4924 list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png");
4925 -moz-image-region: rect(0, 16px, 16px, 0);
4926}
4927
4928#customization-titlebar-visibility-button:hover {
4929 -moz-image-region: rect(16px, 16px, 32px, 0);
4930}
4931
4932#customization-lwtheme-button,
4933#customization-titlebar-visibility-button {
4934 padding: 0px 5px;
4935}
4936
4937#customization-titlebar-visibility-button > .button-box {
4938 padding-top: 0;
4939 padding-bottom: 1px;
4940}
4941
4942#customization-titlebar-visibility-button:hover:active > .button-box {
4943 padding-top: 1px;
4944 padding-bottom: 0;
4945}
4946
4947#customization-lwtheme-button > .box-inherit > .box-inherit > .button-text,
4948#customization-titlebar-visibility-button > .button-box > .button-text {
4949 /* Sadly, button.css thinks its margins are perfect for everyone. */
4950 -moz-margin-start: 5px !important;
4951}
4952
4953#customization-lwtheme-button > .box-inherit > .box-inherit > .button-icon {
4954 width: 20px;
4955 height: 20px;
4956 border-radius: 2px;
4957 background-size: contain;
4958}
4959
4960#customization-titlebar-visibility-button > .button-box > .button-icon {
4961 vertical-align: middle;
4962}
4963
4964#customization-titlebar-visibility-button[checked] {
4965 -moz-image-region: rect(0, 32px, 16px, 16px);
4966 background-color: #008484;
4967}
4968
4969#customization-titlebar-visibility-button[checked]:hover {
4970 -moz-image-region: rect(16px, 32px, 32px, 16px);
4971 background-color: #FFCF00;
4972}
4973
4974#customization-titlebar-visibility-button[checked]:hover:active {
4975 background-color: #FF9F00;
4976}
4977
4978#main-window[customize-entered] #customization-panel-container {
4979 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
4980 background-position: left top;
4981 background-repeat: repeat;
4982 background-size: auto;
4983 background-attachment: fixed;
4984}
4985
4986toolbarpaletteitem[place="toolbar"] {
4987 transition: border-width 250ms ease-in-out;
4988}
4989
4990toolbarpaletteitem[mousedown] {
4991 outline: 1px solid #008484;
4992 cursor: -moz-grabbing;
4993 opacity: 0.8;
4994}
4995
4996.panel-customization-placeholder,
4997toolbarpaletteitem[place="palette"],
4998toolbarpaletteitem[place="panel"] {
4999 transition: transform .3s ease-in-out;
5000}
5001
5002#customization-palette {
5003 transition: opacity .3s ease-in-out;
5004 opacity: 0;
5005}
5006
5007#customization-palette[showing="true"] {
5008 opacity: 1;
5009}
5010
5011toolbarpaletteitem[notransition].panel-customization-placeholder,
5012toolbarpaletteitem[notransition][place="toolbar"],
5013toolbarpaletteitem[notransition][place="palette"],
5014toolbarpaletteitem[notransition][place="panel"] {
5015 transition: none;
5016}
5017
5018toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon,
5019toolbarpaletteitem > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon,
5020toolbarpaletteitem > toolbaritem.panel-wide-item,
5021toolbarpaletteitem > toolbarbutton[type="menu-button"] {
5022 transition: transform .3s cubic-bezier(.6, 2, .75, 1.5) !important;
5023}
5024
5025toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon,
5026toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon {
5027 transform: scale(1.3);
5028}
5029
5030toolbarpaletteitem[mousedown] > toolbaritem.panel-wide-item,
5031toolbarpaletteitem[mousedown] > toolbarbutton[type="menu-button"] {
5032 transform: scale(1.1);
5033}
5034
5035/* Override the toolkit styling for items being dragged over. */
5036toolbarpaletteitem[place="toolbar"] {
5037 border-left-width: 0;
5038 border-right-width: 0;
5039 margin-right: 0;
5040 margin-left: 0;
5041}
5042
5043#customization-palette:not([hidden]) {
5044 margin-bottom: 25px;
5045}
5046
5047#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
5048#wrapper-edit-controls[place="palette"] > #edit-controls > separator,
5049#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton,
5050#wrapper-zoom-controls[place="palette"] > #zoom-controls > separator {
5051 margin-top: 20px;
5052}
5053
5054#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
5055#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton {
5056 margin-left: 0;
5057 margin-right: 0;
5058 max-width: 24px;
5059 min-width: 24px;
5060 max-height: 24px;
5061 min-height: 24px;
5062 padding: 4px;
5063}
5064
5065#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon,
5066#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon {
5067 width: 16px;
5068}
5069
5070#wrapper-edit-controls > #edit-controls > toolbarbutton > .toolbarbutton-icon {
5071 opacity: 1; /* To ensure these buttons always look enabled in customize mode */
5072}
5073
5074#wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button,
5075#wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button + separator {
5076 display: none;
5077}
5078
5079#wrapper-personal-bookmarks:not([place="toolbar"]) > #personal-bookmarks {
5080 -moz-box-pack: center;
5081 min-height: 48px;
5082}
5083
5084#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
5085 -moz-margin-end: 5px;
5086}
5087
5088#customization-palette > toolbarpaletteitem > label {
5089 text-align: center;
5090 margin-left: 0;
5091 margin-right: 0;
5092}
5093
5094#customization-lwtheme-menu > .panel-arrowcontainer > .panel-arrowcontent {
5095 -moz-box-orient: vertical;
5096 /* Make the panel padding uniform across all platforms due to the
5097 styling of the section headers and footer. */
5098 padding: 10px;
5099}
5100
5101.customization-lwtheme-menu-theme > .toolbarbutton-icon {
5102 width: 32px;
5103 height: 32px;
5104}
5105
5106.customization-lwtheme-menu-theme {
5107 -moz-appearance: none;
5108 margin: 0 -5px 5px;
5109 padding-top: 0;
5110 -moz-padding-end: 5px;
5111 padding-bottom: 0;
5112 -moz-padding-start: 0;
5113}
5114
5115.customization-lwtheme-menu-theme[defaulttheme] {
5116 list-style-image: url(chrome://browser/skin/Fxtheme-switcher-icon.png);
5117}
5118
5119.customization-lwtheme-menu-theme[active="true"] {
5120 background-color: #008484;
5121}
5122
5123.customization-lwtheme-menu-theme > .toolbarbutton-icon {
5124 margin: 5px;
5125}
5126
5127.customization-lwtheme-menu-theme > .toolbarbutton-text {
5128 text-align: start;
5129}
5130
5131#customization-lwtheme-menu-header,
5132#customization-lwtheme-menu-recommended {
5133 padding: 10px;
5134 margin-bottom: 5px;
5135}
5136
5137#customization-lwtheme-menu-header,
5138#customization-lwtheme-menu-recommended,
5139#customization-lwtheme-menu-footer {
5140 background-color: #A09090;
5141 color: #000000;
5142 margin-right: -10px;
5143 margin-left: -10px;
5144}
5145
5146#customization-lwtheme-menu-header {
5147 margin-top: -10px;
5148 border-top-right-radius: 3px;
5149 border-top-left-radius: 3px;
5150}
5151
5152#customization-lwtheme-menu-recommended {
5153}
5154
5155#customization-lwtheme-menu-footer {
5156 margin-bottom: -10px;
5157 border-bottom-right-radius: 3px;
5158 border-bottom-left-radius: 3px;
5159}
5160
5161.customization-lwtheme-menu-footeritem {
5162 -moz-appearance: none;
5163 -moz-box-flex: 1;
5164 background-color: #C09070;
5165 color: #000000;
5166 border: 1px solid transparent;
5167 padding: 10px;
5168 margin-left: 0;
5169 margin-right: 0;
5170}
5171
5172.customization-lwtheme-menu-footeritem:hover {
5173 background-color: #FFCF00;
5174}
5175
5176.customization-lwtheme-menu-footeritem:first-child {
5177}
5178
5179/* === END customizeMode.inc.css === */
5180
5181/* === BEGIN customizeTip.inc.css === */
5182
5183#customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent {
5184 padding: 0;
5185 margin: 0;
5186 min-width: 400px;
5187 max-width: 1000px;
5188 min-height: 200px;
5189 border-radius: 3px;
5190/* background-image: linear-gradient(90deg, #a0dfff 0%, #ceeeff 100%);*/
5191 border: 1px solid #9C9CFF;
5192 color: #FF9F00;
5193}
5194
5195#customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent:-moz-locale-dir(rtl) {
5196/* background-image: linear-gradient(90deg, #ceeeff 0%, #a0dfff 100%);*/
5197}
5198
5199.customization-tipPanel-infoBox {
5200 margin: 20px 25px 25px;
5201 width: 25px;
5202 background-image: url("chrome://browser/skin/customizableui/info-icon-customizeTip.png");
5203 background-repeat: no-repeat;
5204}
5205
5206.customization-tipPanel-content {
5207 margin: 25px 0;
5208 font-size: 12px;
5209 line-height: 18px;
5210}
5211
5212.customization-tipPanel-em {
5213 margin: 0;
5214 font-weight: bold;
5215}
5216
5217.customization-tipPanel-contentImage {
5218 margin-top: 25px;
5219 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration.png");
5220 min-width: 300px;
5221 max-width: 300px;
5222 min-height: 190px;
5223 max-height: 190px;
5224 display: -moz-box;
5225}
5226
5227.customization-tipPanel-contentImage:-moz-locale-dir(rtl) {
5228 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration-rtl.png");
5229}
5230
5231.customization-tipPanel-link {
5232 -moz-appearance: none;
5233 background: transparent;
5234 border: none;
5235 box-shadow: none;
5236 color: #3333FF;
5237 margin: 0;
5238 cursor: pointer;
5239}
5240
5241.customization-tipPanel-link > .button-box > .button-text {
5242 margin: 0 !important;
5243}
5244
5245.customization-tipPanel-closeBox > .close-icon {
5246 -moz-appearance: none;
5247 border: 0;
5248 -moz-margin-end: -25px;
5249}
5250
5251#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"],
5252#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
5253 list-style-image: url("chrome://browser/skin/customizableui/panelarrow-customizeTip.png");
5254}
5255
5256/* === END customizeTip.inc.css === */
5257
5258/**
5259 * This next rule is a hack to disable subpixel anti-aliasing on all
5260 * labels during the customize mode transition. Subpixel anti-aliasing
5261 * on Windows with Direct2D layers acceleration is particularly slow to
5262 * paint, so this hack is how we sidestep that performance bottleneck.
5263 */
5264#main-window:-moz-any([customize-entering],[customize-exiting]) label {
5265 transform: perspective(0.01px);
5266}
5267
5268#main-window[customize-entered] > #tab-view-deck {
5269 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5270 background-attachment: fixed;
5271}
5272
5273#main-window[customization-lwtheme] > #tab-view-deck:-moz-lwtheme {
5274 background-repeat: no-repeat;
5275 background-position: right top;
5276 background-attachment: fixed;
5277 /* The image will get set from CustomizeMode.jsm */
5278 background-image: none;
5279 background-color: transparent;
5280}
5281
5282#main-window[customization-lwtheme]:-moz-lwtheme {
5283 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5284 background-repeat: repeat;
5285 background-attachment: fixed;
5286 background-position: left top;
5287}
5288
5289#main-window[customize-entered] #browser-bottombox,
5290#main-window[customize-entered] #customization-container {
5291 border-left: 1px solid #9C9CFF;
5292 border-right: 1px solid #9C9CFF;
5293 background-clip: padding-box;
5294}
5295
5296#main-window[customize-entered] #browser-bottombox {
5297 border-bottom: 1px solid #9C9CFF;
5298}
5299
5300#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"] {
5301 margin-right: -2px;
5302}
5303
5304#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
5305 margin-left: -2px;
5306}
5307
5308/* End customization mode */
5309
5310/* Private browsing indicators */
5311
5312/**
5313 * Currently, we have two places where we put private browsing indicators on
5314 * Windows. When tabsintitlebar is enabled, we draw the indicator in the titlebar.
5315 * When tabsintitlebar is disabled, we draw the indicator at the end of the
5316 * tabstrip. The titlebar indicator is the fiddliest of the bunch, since we
5317 * want the bottom border of the image to line up with the bottom of the window
5318 * caption buttons. That's why there's so much special-casing going on in here.
5319 */
5320.private-browsing-indicator {
5321 display: none;
5322 pointer-events: none;
5323}
5324
5325#private-browsing-indicator-titlebar {
5326 display: block;
5327 position: absolute;
5328}
5329
5330#main-window[privatebrowsingmode=temporary][tabsintitlebar] #private-browsing-indicator-titlebar > .private-browsing-indicator {
5331 display: block;
5332}
5333
5334#main-window[privatebrowsingmode=temporary]:-moz-any([inFullscreen],:not([tabsintitlebar])) #TabsToolbar > .private-browsing-indicator {
5335 display: -moz-box;
5336}
5337
5338#TabsToolbar > .private-browsing-indicator {
5339 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") no-repeat center -3px;
5340 -moz-margin-start: 4px;
5341 width: 48px;
5342}
5343
5344/* Bug 1008183: We're intentionally using the titlebar asset here for fullscreen
5345 * mode, since the tabstrip "mimics" the titlebar in that case with its own
5346 * min/max/close window buttons.
5347 */
5348#private-browsing-indicator-titlebar > .private-browsing-indicator,
5349#main-window[inFullscreen] #TabsToolbar > .private-browsing-indicator {
5350 background: url("chrome://browser/skin/privatebrowsing-mask-titlebar.png") no-repeat center 0px;
5351 -moz-margin-end: 4px;
5352 width: 40px;
5353 height: 20px;
5354 position: relative;
5355}
5356
5357/* This one is for Linux */
5358#main-window[privatebrowsingmode=temporary] #private-browsing-indicator {
5359 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") center no-repeat;
5360 width: 48px;
5361}
5362
5363/* End private browsing indicators */
5364
5365/* === BEGIN UITour.inc.css === */
5366
5367/* UI Tour */
5368
5369#UITourHighlightContainer {
5370 -moz-appearance: none;
5371 border: none;
5372 background-color: transparent;
5373 /* This is a buffer to compensate for the movement in the "wobble" effect */
5374 padding: 4px;
5375}
5376
5377#UITourHighlight {
5378 background-image: radial-gradient(50% 100%, rgba(0,132,132,0.4) 50%, rgba(0,132,132,0.6) 100%);
5379 border-radius: 40px;
5380 border: 1px solid #9C9CFF;
5381 /* The box-shadow opacity needs to be < 0.5 so it doesn't appear at 100% opacity
5382 on Linux without an X compositor where opacity is either 0 or 1. */
5383 box-shadow: 0 0 3px 0 rgba(0,0,0,0.49);
5384 min-height: 32px;
5385 min-width: 32px;
5386}
5387
5388#UITourTooltipBody {
5389 -moz-margin-end: 14px;
5390}
5391
5392#UITourTooltipBody > vbox {
5393 padding-top: 4px;
5394}
5395
5396#UITourTooltipIconContainer {
5397 -moz-margin-start: -16px;
5398}
5399
5400#UITourTooltipIcon {
5401 width: 48px;
5402 height: 48px;
5403 -moz-margin-start: 28px;
5404 -moz-margin-end: 28px;
5405}
5406
5407#UITourTooltipTitle,
5408#UITourTooltipDescription {
5409 max-width: 20rem;
5410}
5411
5412#UITourTooltipTitle {
5413 font-size: 1.45rem;
5414 font-weight: bold;
5415 -moz-margin-start: 0;
5416 -moz-margin-end: 0;
5417 margin: 0 0 9px 0;
5418}
5419
5420#UITourTooltipDescription {
5421 -moz-margin-start: 0;
5422 -moz-margin-end: 0;
5423 font-size: 1.15rem;
5424 line-height: 1.8rem;
5425 margin-bottom: 0; /* Override global.css */
5426}
5427
5428#UITourTooltipClose {
5429 -moz-appearance: none;
5430 border: none;
5431 background-color: transparent;
5432 min-width: 0;
5433 -moz-margin-start: 4px;
5434 margin-top: -2px;
5435}
5436
5437#UITourTooltipClose > .toolbarbutton-text {
5438 display: none;
5439}
5440
5441#UITourTooltipButtons {
5442 -moz-box-pack: end;
5443 background-color: rgba(0,0,0,.2);
5444 border-top: 1px solid rgba(0,0,0,.4);
5445 margin: 24px -16px -16px;
5446 padding: 2em 15px;
5447}
5448
5449#UITourTooltipButtons > button {
5450 margin: 0 15px;
5451}
5452
5453#UITourTooltipButtons > button:first-child {
5454 -moz-margin-start: 0;
5455}
5456
5457#UITourTooltipButtons > button[image] > .button-box > .button-icon {
5458 width: 16px;
5459 height: 16px;
5460 -moz-margin-end: 5px;
5461}
5462
5463#UITourTooltipButtons > button .button-text {
5464 font-size: 1.15rem;
5465}
5466
5467#UITourTooltipButtons > button:not(.button-link) {
5468 -moz-appearance: none;
5469 background-color: #C09070;
5470 border-radius: 3000px;
5471 border: none;
5472 color: #000000;
5473 padding: 4px 30px;
5474 transition-property: background-color, color;
5475 transition-duration: 150ms;
5476}
5477
5478#UITourTooltipButtons > button:not(.button-link):not(:active):hover {
5479 background-color: #FFCF00;
5480 color: #000000;
5481}
5482
5483#UITourTooltipButtons > button.button-link {
5484 -moz-appearance: none;
5485 background: transparent;
5486 border: none;
5487 box-shadow: none;
5488 color: rgba(0,0,0,0.35);
5489 padding-left: 10px;
5490 padding-right: 10px;
5491}
5492
5493#UITourTooltipButtons > button.button-link:hover {
5494 color: black;
5495}
5496
5497/* The primary button gets the same color as the customize button. */
5498#UITourTooltipButtons > button.button-primary {
5499 background-color: #A06060; /* LCARS default button background color */
5500 color: #000000;
5501 padding-left: 30px;
5502 padding-right: 30px;
5503}
5504
5505#UITourTooltipButtons > button.button-primary:not(:active):hover {
5506 background-color: #FFCF00;
5507 color: #000000;
5508}
5509
5510/* Notification overrides for Heartbeat UI */
5511
5512notification.heartbeat {
5513 background-color: #A09090;
5514/* height: 40px;*/
5515}
5516
5517@keyframes pulse-onshow {
5518 0% {
5519 opacity: 0;
5520 transform: scale(1.0);
5521 }
5522 25% {
5523 opacity: 1;
5524 transform: scale(1.1);
5525 }
5526 50% {
5527 transform: scale(1.0);
5528 }
5529 75% {
5530 transform: scale(1.1);
5531 }
5532 100% {
5533 transform: scale(1.0);
5534 }
5535}
5536
5537@keyframes pulse-twice {
5538 0% {
5539 transform: scale(1.1);
5540 }
5541 50% {
5542 transform: scale(0.8);
5543 }
5544 100% {
5545 transform: scale(1);
5546 }
5547}
5548
5549.messageText.heartbeat {
5550 color: #000000;
5551/* text-shadow: none; */
5552 -moz-margin-start: 0px;
5553}
5554
5555.messageImage.heartbeat {
5556 width: 24px;
5557 height: 24px;
5558 -moz-margin-start: 8px;
5559 -moz-margin-end: 8px;
5560}
5561
5562.messageImage.heartbeat.pulse-onshow {
5563 animation-name: pulse-onshow;
5564 animation-duration: 1.5s;
5565 animation-iteration-count: 1;
5566 animation-timing-function: cubic-bezier(.7,1.8,.9,1.1);
5567}
5568
5569.messageImage.heartbeat.pulse-twice {
5570 animation-name: pulse-twice;
5571 animation-duration: 1s;
5572 animation-iteration-count: 2;
5573 animation-timing-function: linear;
5574}
5575
5576/* Learn More link styles */
5577.heartbeat > .text-link {
5578 color: #3333FF;
5579 -moz-margin-start: 0px;
5580}
5581
5582.heartbeat > .text-link:hover {
5583 color: #9C9CFF;
5584 text-decoration: none;
5585}
5586
5587.heartbeat > .text-link:hover:active {
5588 color: #FF9F00;
5589}
5590
5591/* Heartbeat UI Rating Star Classes */
5592.heartbeat > #star-rating-container {
5593 display: -moz-box;
5594/* margin-bottom: 4px;*/
5595}
5596
5597.heartbeat > #star-rating-container > #star5 {
5598 -moz-box-ordinal-group: 5;
5599}
5600
5601.heartbeat > #star-rating-container > #star4 {
5602 -moz-box-ordinal-group: 4;
5603}
5604
5605.heartbeat > #star-rating-container > #star3 {
5606 -moz-box-ordinal-group: 3;
5607}
5608
5609.heartbeat > #star-rating-container > #star2 {
5610 -moz-box-ordinal-group: 2;
5611}
5612
5613.heartbeat > #star-rating-container > .star-x {
5614 background: url("chrome://browser/skin/heartbeat-star-off.svg");
5615 cursor: pointer;
5616 /* Overrides the -moz-margin-end for all platforms defined in the .plain class */
5617 -moz-margin-end: 4px !important;
5618 width: 16px;
5619 height: 16px;
5620}
5621
5622.heartbeat > #star-rating-container > .star-x:hover,
5623.heartbeat > #star-rating-container > .star-x:hover ~ .star-x {
5624 background: url("chrome://browser/skin/heartbeat-star-lit.svg");
5625}
5626
5627/* === END UITour.inc.css === */
5628
5629#UITourTooltipButtons {
5630 margin: 24px -4px -4px;
5631}
5632
5633/* === BEGIN contextmenu.inc.css === */
5634
5635menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left {
5636}
5637
5638#context-navigation > .menuitem-iconic {
5639 -moz-box-flex: 1;
5640 -moz-box-pack: center;
5641 -moz-box-align: center;
5642}
5643
5644#context-navigation > .menuitem-iconic[disabled="true"] {
5645 background-color: transparent;
5646}
5647
5648#context-navigation > .menuitem-iconic > .menu-iconic-left {
5649 -moz-appearance: none;
5650}
5651
5652#context-back > .menu-iconic-left {
5653 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back"); */
5654 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5655 -moz-image-region: rect(0, 54px, 18px, 36px);
5656}
5657
5658#context-back:not([disabled="true"]):hover > .menu-iconic-left {
5659 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-active"); */
5660 -moz-image-region: rect(18px, 54px, 36px, 36px);
5661}
5662
5663#context-back[disabled="true"] > .menu-iconic-left {
5664 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-disabled"); */
5665 -moz-image-region: rect(36px, 54px, 54px, 36px);
5666}
5667
5668#context-forward > .menu-iconic-left {
5669 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward"); */
5670 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5671 -moz-image-region: rect(0, 72px, 18px, 54px);
5672}
5673
5674#context-forward:not([disabled="true"]):hover > .menu-iconic-left {
5675 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-active"); */
5676 -moz-image-region: rect(18px, 72px, 36px, 54px);
5677}
5678
5679#context-forward[disabled="true"] > .menu-iconic-left {
5680 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-disabled"); */
5681 -moz-image-region: rect(36px, 72px, 54px, 54px);
5682}
5683
5684#context-reload > .menu-iconic-left {
5685 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload"); */
5686 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
5687 -moz-image-region: rect(0, 14px, 14px, 0);
5688}
5689
5690#context-reload:not([disabled="true"]):hover > .menu-iconic-left {
5691 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-active"); */
5692 -moz-image-region: rect(14px, 14px, 28px, 0);
5693}
5694
5695#context-reload[disabled="true"] > .menu-iconic-left {
5696 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-disabled"); */
5697 -moz-image-region: rect(28px, 14px, 42px, 0);
5698}
5699
5700#context-stop > .menu-iconic-left {
5701 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop"); */
5702 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
5703 -moz-image-region: rect(0, 28px, 14px, 14px);
5704}
5705
5706#context-stop:not([disabled="true"]):hover > .menu-iconic-left {
5707 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-active"); */
5708 -moz-image-region: rect(14px, 28px, 28px, 14px);
5709}
5710
5711#context-stop[disabled="true"] > .menu-iconic-left {
5712 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-disabled"); */
5713 -moz-image-region: rect(28px, 28px, 42px, 14px);
5714}
5715
5716#context-bookmarkpage > .menu-iconic-left {
5717 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark"); */
5718 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5719 -moz-image-region: rect(0, 144px, 18px, 126px);
5720}
5721
5722#context-bookmarkpage:not([disabled="true"]):hover > .menu-iconic-left {
5723 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-active"); */
5724 -moz-image-region: rect(18px, 144px, 36px, 126px);
5725}
5726
5727#context-bookmarkpage[disabled="true"] > .menu-iconic-left {
5728 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-disabled"); */
5729 -moz-image-region: rect(36px, 144px, 54px, 126px);
5730}
5731
5732#context-back:-moz-locale-dir(rtl),
5733#context-forward:-moz-locale-dir(rtl),
5734#context-reload:-moz-locale-dir(rtl) {
5735 transform: scaleX(-1);
5736}
5737
5738#context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
5739 width: 18px; /*16px;*/
5740 height: 18px; /*16px;*/
5741 margin: 7px;
5742}
5743
5744#context-navigation > #context-reload > .menu-iconic-left > .menu-iconic-icon,
5745#context-navigation > #context-stop > .menu-iconic-left > .menu-iconic-icon {
5746 width: 14px;
5747 height: 14px;
5748 margin: 9px;
5749}
5750
5751#context-media-eme-learnmore {
5752 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
5753}
5754
5755#context-media-eme-learnmore {
5756 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
5757}
5758
5759/* === END contextmenu.inc.css === */
5760
5761#context-navigation {
5762}
5763
5764#context-sep-navigation {
5765/* margin-top: -4px; */
5766}