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