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