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