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