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