fifth part of syncing LCARStrek with Firefox 41 windows theme changes
[themes.git] / LCARStrek / browser / browser.css
CommitLineData
9099c61d
RK
1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
acb0e9b8 4
5@import url("chrome://global/skin/");
fcaeefc2 6@import url("downloads/indicator.css");
acb0e9b8 7
8@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
319c6529 9@namespace html url("http://www.w3.org/1999/xhtml");
cae267ab 10@namespace svg url("http://www.w3.org/2000/svg");
319c6529
RK
11
12toolbar {
13 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
14}
acb0e9b8 15
7d3f7f14 16toolbar[customizable="true"] {
43cc2806
RK
17 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-browsercustom");
18}
19
ee49f520
RK
20@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme), (-moz-mac-yosemite-theme) {
21 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
96b206fe
RK
22 toolbar[customizable="true"]:not([nowindowdrag="true"]) {
23 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
24 }
25}
26
41279e76
RK
27toolbar[type="menubar"][autohide="true"] {
28 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide");
29}
30
7d3f7f14 31#toolbar-menubar[autohide="true"] {
43cc2806
RK
32 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide-browsercustom");
33}
34
acb0e9b8 35menubar {
319c6529 36 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
acb0e9b8 37}
38
e548e22e
RK
39:root {
40 --verified-identity-box-backgroundcolor: #000000;
41}
42
319c6529
RK
43#menubar-items {
44 -moz-box-orient: vertical; /* for flex hack */
acb0e9b8 45}
46
319c6529
RK
47#main-menubar {
48 -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
49}
50
63ada306
RK
51/* ::::: primary toolbar ::::: */
52
53.toolbar-primary > .toolbar-box > .toolbar-holder {
270cbf0c 54 background-color: #A09090;
63ada306
RK
55}
56
57.toolbar-primary > .toolbar-box > .toolbar-startcap,
58.toolbar-primary > .toolbar-box > .toolbar-endcap {
59 background-color: #9C9CFF;
60}
61
e20c83c3
RK
62/* Hides the titlebar-placeholder underneath the window caption buttons when we
63 are not autohiding the menubar. */
64#toolbar-menubar:not([autohide="true"]) + #TabsToolbar > .titlebar-placeholder[type="caption-buttons"] {
65 display: none;
66}
67
43cc2806
RK
68/* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the
69 toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care
70 of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */
c0f6797e
RK
71#toolbar-menubar:not([moz-collapsed=true]):not([autohide=true]) ~ #TabsToolbar,
72#toolbar-menubar:not([moz-collapsed=true])[autohide=true]:not([inactive]) ~ #TabsToolbar {
43cc2806
RK
73/* margin-top: 3px;*/
74}
75
43371c9b
RK
76#main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen])[chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar,
77#main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
43cc2806
RK
78/* margin-top: 15px;*/
79}
80
ee49f520
RK
81@media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
82 /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
8d154261
RK
83 #toolbar-menubar:not([autohide="true"]) {
84 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
85 }
58d9f24a
RK
86}
87
ee49f520
RK
88@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
89 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
4711fba5 90 #main-window[tabsintitlebar]:not([inFullscreen="true"]) #TabsToolbar {
54d92f05
RK
91 padding-left: 60px;
92 }
43cc2806
RK
93}
94
018d70fb
RK
95#main-window[tabsintitlebar] #toolbar-menubar .toolbar-endcap {
96 /* the titlebar buttons are shown right over the endcap but we have no power over the buttonbox position just for this case, so hide the endcap */
97 display: none;
43cc2806 98}
63ada306 99
e20c83c3
RK
100#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[customizing-dragovertarget].customization-target::before,
101#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar[customizing-dragovertarget].customization-target::before,
102#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar.customization-target:hover::before,
103#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar.customization-target:hover::before {
104 outline-color: #A09090;
105}
106
319c6529
RK
107#navigator-toolbox {
108}
109
9abeb12c
RK
110#navigator-toolbox::after {
111 content: "";
112 display: -moz-box;
113 -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
114 height: 1px;
115}
9abeb12c 116
6f5a7408 117#navigator-toolbox > toolbar {
319c6529
RK
118}
119
3d64e0ce
RK
120#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(:-moz-lwtheme) {
121}
122
9168a62c
RK
123#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) {
124 overflow: -moz-hidden-unscrollable;
125 max-height: 4em;
126 transition: min-height 170ms ease-out, max-height 170ms ease-out;
127}
128
129#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar)[collapsed=true] {
130 min-height: 0.1px;
131 max-height: 0;
132 transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear;
133}
134
ee49f520
RK
135@media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
136 /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
137 /* Indent also due to non-applicable aero rule in original Windows theme. */
c0f6797e
RK
138 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme),
139 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) {
140 /* like menubar */
141 background-color: #6000CF;
142 color: #FF9F00;
319c6529
RK
143 }
144
c0f6797e
RK
145 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme):-moz-window-inactive,
146 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
147 background-color: #8050B0;
148 color: #FF9F00;
319c6529
RK
149 }
150
dccbbf95
RK
151 #main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme) {
152 /*color: inherit;*/
153 }
154
c0f6797e
RK
155 #main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
156 visibility: hidden;
157 }
319c6529 158
c0f6797e
RK
159 #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
160 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
161 visibility: visible;
162 }
8d154261
RK
163}
164
ee49f520
RK
165@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
166 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
8d154261
RK
167 #titlebar-buttonbox > .titlebar-button {
168 display: none;
169 }
8d154261 170}
319c6529 171
c0f6797e
RK
172#nav-bar {
173 /* Position the toolbar above the bottom of background tabs */
174 position: relative;
175 z-index: 1;
82b4252f
RK
176}
177
c0f6797e
RK
178#personal-bookmarks {
179/* min-height: 24px; */
319c6529
RK
180}
181
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,
a5cb6e53 507 #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
51994fad
RK
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,
a5cb6e53 983 #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
5401f433
RK
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,
a5cb6e53 991 #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
5401f433
RK
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 1555/* Help SDK icons fit: */
a5cb6e53
RK
1556toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-icon,
1557toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-badge-container > .toolbarbutton-icon {
c0f6797e 1558 width: 16px;
26125509
RK
1559}
1560
a5cb6e53 1561#nav-bar toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
c0f6797e
RK
1562 /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */
1563 width: 32px;
26125509 1564}
26125509 1565
8c5bee4f 1566#nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) > .toolbarbutton-icon,
c0f6797e
RK
1567#nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
1568/* -moz-padding-end: 17px;*/
319c6529
RK
1569}
1570
c0f6797e 1571#nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
319c6529
RK
1572}
1573
c0f6797e 1574#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
319c6529
RK
1575}
1576
c0f6797e 1577#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
38cfeb47
RK
1578}
1579
c0f6797e
RK
1580#nav-bar .toolbaritem-combined-buttons {
1581/* margin-left: 2px;
1582 margin-right: 2px;*/
38cfeb47
RK
1583}
1584
c0f6797e
RK
1585#nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 {
1586/* padding-left: 0;
1587 padding-right: 0;*/
319c6529
RK
1588}
1589
c0f6797e
RK
1590#nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before,
1591#nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1:-moz-any(:not(:hover):not([open]),[disabled=true]) + .toolbarbutton-1:-moz-any(:not(:hover):not([open]),[disabled=true])::before {
1592/*
1593 content: "";
1594 display: -moz-box;
1595 width: 1px;
1596 height: 16px;
1597 -moz-margin-end: -1px;
1598*/
319c6529
RK
1599}
1600
2c62526c 1601window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
319c6529
RK
1602}
1603
20752032 1604.findbar-button:not(:-moz-any([checked="true"],[disabled="true"])):hover > .toolbarbutton-text,
43371c9b 1605#nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
c0f6797e
RK
1606#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1607#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1608#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon,
1609#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text,
1610#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-container,
2c62526c 1611window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon,
46e71434 1612#nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon {
319c6529
RK
1613}
1614
20752032 1615.findbar-button:not([disabled=true]):-moz-any([checked="true"],:hover:active) > .toolbarbutton-text,
43371c9b 1616#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon,
c0f6797e
RK
1617#nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon,
1618#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon,
1619#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text,
1620#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-container {
319c6529
RK
1621}
1622
c0f6797e
RK
1623#TabsToolbar .toolbarbutton-1,
1624#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1625.tabbrowser-arrowscrollbox > .scrollbutton-up,
1626.tabbrowser-arrowscrollbox > .scrollbutton-down {
e8519ae0
RK
1627}
1628
c0f6797e
RK
1629#TabsToolbar .toolbarbutton-1:not([disabled=true]):hover,
1630#TabsToolbar .toolbarbutton-1[open],
1631#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover,
1632.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled=true]):hover,
1633.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled=true]):hover {
e8519ae0
RK
1634}
1635
c0f6797e 1636/* unified back/forward button */
319c6529 1637
c0f6797e 1638#forward-button {
589b5528 1639 -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */
71bac478
RK
1640}
1641
c0f6797e
RK
1642#forward-button > menupopup {
1643 margin-top: 1px !important;
319c6529
RK
1644}
1645
c0f6797e
RK
1646#forward-button > .toolbarbutton-icon {
1647 background-clip: padding-box !important;
1648 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
5401f433 1649 /*clip-path: url(chrome://browser/content/browser.xul#keyhole-forward-clip-path) !important;*/
71bac478
RK
1650}
1651
c0f6797e 1652#forward-button {
aec5dfad 1653 -moz-margin-start: -4px !important;
9d1e25fa
RK
1654 padding-left: 5px;
1655 padding-right: 5px;
c0f6797e
RK
1656 margin-top: 3px;
1657 margin-bottom: 3px;
1658 border-radius: 0 10000px 10000px 0;
319c6529
RK
1659}
1660
c0f6797e
RK
1661#forward-button:-moz-locale-dir(rtl) {
1662 border-radius: 10000px 0 0 10000px;
8ad8bf83
RK
1663}
1664
2c62526c 1665window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button {
aec5dfad 1666 transition: margin-left 150ms ease-out;
2c62526c
RK
1667}
1668
1669window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] {
aec5dfad 1670 margin-left: -27px !important;
2c62526c
RK
1671}
1672
1673window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] {
1674 /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
1675 transition-delay: 100s;
1676}
1677
1678window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] {
1679 /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
aec5dfad 1680 margin-left: -27.01px !important;
2c62526c
RK
1681}
1682
c0f6797e
RK
1683#back-button {
1684/* padding-top: 3px !important;
1685 padding-bottom: 3px !important;
1686 -moz-padding-start: 5px !important;
1687 -moz-padding-end: 0 !important;*/
1688 position: relative;
1689 z-index: 1;
1690 border-radius: 10000px;
1691 width: 30px;
1692 height: 30px;
1693 margin-top: -2px;
1694 margin-bottom: -2px;
143c5409
RK
1695}
1696
c0f6797e 1697#back-button:-moz-locale-dir(rtl) {
319c6529
RK
1698}
1699
c0f6797e
RK
1700#back-button > menupopup {
1701 margin-top: -1px !important;
b36fc72e
RK
1702}
1703
c0f6797e
RK
1704#back-button > .toolbarbutton-icon {
1705 border-radius: 10000px !important;
1706 background-clip: padding-box !important;
1707/* background-color: hsla(210,25%,98%,.08) !important;
1708 padding: 6px !important;
589b5528
RK
1709 border-style: none !important;
1710 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1711 0 0 0 1px hsla(210,4%,10%,.25);*/
1712 transition-property: background-color, box-shadow !important;
c0f6797e 1713 transition-duration: 250ms !important;
143c5409
RK
1714}
1715
c0f6797e 1716#back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
589b5528 1717/* background-color: hsla(210,4%,10%,.08) !important;*/
143c5409
RK
1718}
1719
c0f6797e
RK
1720#back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
1721#back-button[open="true"] > .toolbarbutton-icon {
1722/* background-color: hsla(210,4%,10%,.12) !important;
589b5528
RK
1723 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1724 0 0 0 1px hsla(210,4%,10%,.25),
1725 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/
143c5409
RK
1726}
1727
2c62526c 1728#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
c0f6797e 1729 transform: scaleX(-1);
143c5409 1730}
c0f6797e
RK
1731/*
1732.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
1733.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
1734 list-style-image: url("chrome://browser/skin/menu-back.png") !important;
6adbc9a6
RK
1735}
1736
c0f6797e
RK
1737.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
1738.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
1739 list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
6adbc9a6
RK
1740}
1741
c0f6797e
RK
1742#home-button.bookmark-item {
1743 list-style-image: url("chrome://browser/skin/Toolbar.png");
6adbc9a6
RK
1744}
1745
c0f6797e
RK
1746#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1747#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1748#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1749#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1750#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1751#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1752#home-button.bookmark-item:-moz-lwtheme-brighttext {
1753 position: relative;
1754 z-index: 1;
1755 list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
6adbc9a6
RK
1756}
1757
c0f6797e
RK
1758#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1759#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) {
1760 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
6adbc9a6 1761}
c0f6797e 1762*/
6adbc9a6 1763
c0f6797e
RK
1764#downloads-button > .toolbarbutton-icon {
1765 margin: 0;
6adbc9a6
RK
1766}
1767
9168a62c 1768/* tabview menu item */
c0f6797e 1769
6adbc9a6 1770#menu_tabview {
832af407 1771 list-style-image: url("chrome://browser/skin/tabview/tabviewFx.png");
6adbc9a6
RK
1772 -moz-image-region: rect(1px, 89px, 17px, 73px);
1773}
1774
1775#menu_tabview[groups="0"] {
1776 -moz-image-region: rect(1px, 17px, 17px, 1px);
1777}
1778
1779#menu_tabview[groups="1"] {
1780 -moz-image-region: rect(1px, 35px, 17px, 19px);
1781}
1782
1783#menu_tabview[groups="2"] {
1784 -moz-image-region: rect(1px, 53px, 17px, 37px);
1785}
1786
1787#menu_tabview[groups="3"] {
1788 -moz-image-region: rect(1px, 71px, 17px, 55px);
1789}
1790
9168a62c
RK
1791/* undo close tab menu item */
1792#alltabs_undoCloseTab {
1793 list-style-image: url(chrome://browser/skin/undoCloseTab.png);
1794}
1795
2e389898 1796@media (min-resolution: 1.1dppx) {
9168a62c
RK
1797 #alltabs_undoCloseTab {
1798 list-style-image: url(chrome://browser/skin/undoCloseTab@2x.png);
1799 }
1800 #alltabs_undoCloseTab > .toolbarbutton-icon {
1801 width: 16px;
1802 }
1803}
1804
5401f433
RK
1805/* zoom control text (reset) button special case: */
1806
1807#nav-bar #zoom-reset-button > .toolbarbutton-text {
1808 /* To make this line up with the icons, it needs the same height (18px) +
1809 * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise
1810 * increase in text sizes would break things...
1811 */
1812 min-height: 20px;
1813}
1814
319c6529
RK
1815/* ::::: fullscreen window controls ::::: */
1816
8d7ef0d9 1817#window-controls {
ab799a7a
RK
1818 -moz-margin-start: 4px;
1819}
1820
319c6529
RK
1821#minimize-button,
1822#restore-button,
1823#close-button {
c0f6797e
RK
1824/* list-style-image: url("chrome://global/skin/icons/windowControls.png");
1825 padding: 0; */
319c6529
RK
1826}
1827
1828#minimize-button {
1829 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1830}
1831
1832#minimize-button:hover {
1833 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1834}
1835
1836#restore-button {
1837 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1838}
1839
1840#restore-button:hover {
1841 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1842}
1843
1844#close-button {
1845 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1846}
1847
1848#close-button:hover {
1849 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1850}
1851
1852/* ::::: Location Bar ::::: */
1853
319c6529
RK
1854#urlbar,
1855.searchbar-textbox {
1856 border-radius: 5px;
aec5dfad 1857 margin: 2px 0;
319c6529
RK
1858 -moz-margin-start: 3px;
1859}
1860
ffce2402 1861#urlbar {
f0071a71
RK
1862 /* make color as light as possible to deal with dark non-domain parts */
1863 color: #FFBFFF;
ffce2402
RK
1864}
1865
319c6529
RK
1866#urlbar:-moz-lwtheme,
1867.searchbar-textbox:-moz-lwtheme {
1868 /* background-color: rgba(255,255,255,.8);
1869 @navbarTextboxCustomBorder@
1870 color: black; */
1871}
1872
c0f6797e
RK
1873#urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]),
1874.searchbar-textbox:-moz-lwtheme:hover:not([focused]) {
1875/* background-color: rgba(255,255,255,.9);*/
1876}
1877
1878#urlbar:-moz-lwtheme[focused]:not([readonly]),
1879.searchbar-textbox:-moz-lwtheme[focused] {
1880/* background-color: white;*/
1881}
1882
2c62526c 1883window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar {
2299146f
RK
1884/* -moz-border-start: none;
1885 margin-left: 0;*/
2c62526c
RK
1886}
1887
1888window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) {
1889/* border-top-left-radius: 0;
1890 border-bottom-left-radius: 0; */
1891}
1892
1893window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1894/* border-top-right-radius: 0;
1895 border-bottom-right-radius: 0; */
1896}
1897
1898window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
1899/* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/
aec5dfad 1900/* -moz-margin-start: -5px; */
2c62526c
RK
1901}
1902
fff8097b
RK
1903window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl),
1904window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
2c62526c 1905 /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
71a617ff 1906 transform: scaleX(-1);
8ad8bf83
RK
1907}
1908
2c62526c
RK
1909window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) {
1910 -moz-box-direction: reverse;
1911}
1912
a7145e95
RK
1913html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1914.searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
319c6529
RK
1915 color: #E7ADE7;
1916}
1917
319c6529
RK
1918#urlbar-container {
1919 -moz-box-orient: horizontal;
1920 -moz-box-align: stretch;
1921}
1922
9abeb12c
RK
1923.urlbar-textbox-container {
1924 -moz-box-align: stretch;
1925}
1926
a40f6a79
RK
1927.urlbar-input-box {
1928 -moz-margin-start: 0;
1929}
1930
319c6529 1931#urlbar-icons {
319c6529
RK
1932 -moz-box-align: center;
1933}
1934
1935.urlbar-icon {
b8384c33 1936 padding: 0 2px;
ffce2402
RK
1937}
1938
1939.searchbar-engine-button,
1940.search-go-container {
4b686546
RK
1941 padding: 2px;
1942}
1943
1944.search-go-container > .search-go-button {
1945 padding: 0;
319c6529
RK
1946}
1947
ffce2402
RK
1948.urlbar-icon:hover {
1949}
1950
1951.urlbar-icon[open="true"],
1952.urlbar-icon:hover:active {
1953}
1954
319c6529
RK
1955#urlbar-search-splitter {
1956 min-width: 6px;
1957 -moz-margin-start: -3px;
1958 border: none;
1959 background: transparent;
1960}
1961
f0071a71 1962#urlbar-search-splitter + #urlbar-container > #urlbar,
319c6529
RK
1963#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1964 -moz-margin-start: 0;
1965}
1966
e20c83c3
RK
1967#urlbar-display-box {
1968}
1969
8922acc9 1970.urlbar-display {
319c6529
RK
1971 -moz-border-end: 1px solid #9C9CFF;
1972 -moz-margin-end: 3px;
ab799a7a
RK
1973 margin-top: 0;
1974 margin-bottom: 0;
a40f6a79 1975 -moz-margin-start: 0;
ab799a7a
RK
1976 color: #8050B0;
1977}
1978
26125509
RK
1979#search-container {
1980 min-width: calc(54px + 11ch);
1981}
1982
319c6529
RK
1983/* identity box */
1984
1985#identity-box {
319c6529 1986 border-radius: 2px;
85cfb236 1987 font-size: .9em;
319c6529
RK
1988}
1989
e20c83c3
RK
1990#identity-box:-moz-locale-dir(ltr) {
1991/* border-top-left-radius: 1.5px;
1992 border-bottom-left-radius: 1.5px;*/
1993}
1994
1995#identity-box:-moz-locale-dir(rtl) {
1996/* border-top-right-radius: 1.5px;
1997 border-bottom-right-radius: 1.5px;*/
1998}
1999
8ad8bf83 2000#notification-popup-box:not([hidden]) + #identity-box {
5517da5a 2001 -moz-padding-start: 10px !important;
8ad8bf83
RK
2002 border-radius: 0;
2003}
2004
fff8097b 2005window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box {
d15d08bf 2006/* border-radius: 0; */
2a5b7882
RK
2007 -moz-padding-start: 2px;
2008 -moz-padding-end: 2px;
2009 -moz-margin-end: 1px;
8ad8bf83
RK
2010}
2011
2c62526c
RK
2012window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box {
2013 transition: padding-left, padding-right;
2014}
2015
2c62526c 2016window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
26125509 2017 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
2a5b7882 2018 padding-left: 2px;
8ad8bf83
RK
2019}
2020
2c62526c 2021window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
26125509 2022 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
2a5b7882 2023 padding-right: 2px;
8ad8bf83
RK
2024}
2025
2c62526c 2026window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar >
26125509 2027 #notification-popup-box[hidden] + #identity-box {
8ad8bf83 2028 /* forward button hiding is delayed when hovered */
71a617ff 2029 transition-delay: 100s;
8ad8bf83
RK
2030}
2031
2c62526c 2032window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
26125509 2033 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
8ad8bf83 2034 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2a5b7882 2035 padding-left: 2.01px;
8ad8bf83
RK
2036}
2037
2c62526c 2038window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
26125509 2039 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
8ad8bf83 2040 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2a5b7882 2041 padding-right: 2.01px;
8ad8bf83
RK
2042}
2043
56859d76
RK
2044#urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
2045#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
a40f6a79 2046 -moz-margin-end: 3px;
319c6529
RK
2047}
2048
56859d76 2049#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr),
37953ab4 2050#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) {
a40f6a79
RK
2051 border-top-right-radius: 0;
2052 border-bottom-right-radius: 0;
319c6529
RK
2053}
2054
56859d76 2055#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl),
37953ab4 2056#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
a40f6a79
RK
2057 border-top-left-radius: 0;
2058 border-bottom-left-radius: 0;
319c6529
RK
2059}
2060
a40f6a79 2061#identity-box.verifiedIdentity:not(:-moz-lwtheme) {
e548e22e 2062 var(--verified-identity-box-backgroundcolor);
319c6529
RK
2063}
2064
2065#identity-box:-moz-focusring {
2066 outline: 1px dotted #008484;
f993773d 2067 outline-offset: -1px;
319c6529
RK
2068}
2069
2070#identity-box.verifiedDomain:-moz-focusring,
2071#identity-box.verifiedIdentity:-moz-focusring {
2072 outline-color: #000000;
2073}
2074
2075#identity-icon-labels {
2076 -moz-margin-start: 1px;
2077 -moz-margin-end: 3px;
319c6529
RK
2078}
2079
2080/* Location bar dropmarker */
2081
38cfeb47 2082.urlbar-history-dropmarker:not(:hover):not([open="true"]) {
319c6529 2083 background-color: transparent;
319c6529
RK
2084}
2085
00f971bc
RK
2086#urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker,
2087#urlbar-wrapper > #urlbar > .urlbar-history-dropmarker {
38cfeb47
RK
2088 border: none;
2089 border-radius: 0px;
319c6529
RK
2090}
2091
ffce2402
RK
2092.urlbar-history-dropmarker:hover {
2093}
2094
2095.urlbar-history-dropmarker:hover:active,
2096.urlbar-history-dropmarker[open="true"] {
2097}
2098
319c6529
RK
2099/* page proxy icon */
2100
e7c8bab1
RK
2101/* === BEGIN identity-block.inc.css === */
2102
e548e22e
RK
2103:root {
2104 --identity-box-verified-color: #008484;
e7c8bab1 2105 /* Default theme does different color per channel, we can't as they do it build-time. */
e548e22e
RK
2106 --identity-box-chrome-color: #9C9CFF;
2107}
2108
2109#urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
2110 color: var(--identity-box-chrome-color);
2111 -moz-border-end: 1px solid var(--identity-box-chrome-color);
e7c8bab1
RK
2112}
2113
2114#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
e548e22e
RK
2115 color: var(--identity-box-verified-color);
2116 -moz-border-end: 1px solid var(--identity-box-verified-color);
e7c8bab1
RK
2117}
2118
2119#urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
2120#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2121 background-position: right;
2122 background-size: 1px;
2123 background-repeat: no-repeat;
2124}
2125
2126/* page proxy icon */
2127
4d58ff64 2128#page-proxy-favicon {
319c6529
RK
2129 width: 16px;
2130 height: 16px;
a40f6a79 2131 list-style-image: url("chrome://browser/skin/identity-icons-generic.png");
00f971bc 2132 margin: 2px;
e7c8bab1
RK
2133}
2134
2135.chromeUI > #page-proxy-favicon[pageproxystate="valid"] {
2136 list-style-image: url("chrome://branding/content/identity-icons-brand.png");
319c6529
RK
2137}
2138
2a5b7882 2139.verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
a40f6a79
RK
2140 list-style-image: url("chrome://browser/skin/identity-icons-https.png");
2141}
2142
2a5b7882 2143.verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
a40f6a79
RK
2144 list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png");
2145}
2146
56ab361a
RK
2147.mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
2148 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png");
2149}
2150
e7c8bab1
RK
2151.mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] {
2152 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
2153}
2154
2155.mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
2156 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
2157}
2158
2159#page-proxy-favicon[pageproxystate="invalid"] {
2160 opacity: 0.3;
2161}
2162
2163#identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
2164 list-style-image: url("chrome://branding/content/icon64.png");
2165}
2166
2167#identity-popup-brandName {
2168 font-weight: bold;
2169 font-size: 1.25em;
2170 margin-top: .5em;
2171 margin-bottom: .5em;
2172}
2173
2174#identity-popup-content-box {
2175 max-width: 50ch;
2176}
2177
b336389b
RK
2178#urlbar[actiontype="searchengine"] > #identity-box > #page-proxy-favicon {
2179 -moz-image-region: inherit;
2180 list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg#search-icon);
2181 width: 16px;
2182 height: 16px;
2183 opacity: 1;
2184}
2185
e7c8bab1
RK
2186/* === END identity-block.inc.css === */
2187
2188#page-proxy-favicon {
2189 -moz-image-region: rect(0, 16px, 16px, 0);
2190}
2191
3b1da406 2192window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon {
c0f6797e
RK
2193/* -moz-margin-end: 1px;*/
2194}
2195
2a5b7882 2196#identity-box:hover > #page-proxy-favicon {
a40f6a79
RK
2197 -moz-image-region: rect(0, 32px, 16px, 16px);
2198}
2199
2a5b7882
RK
2200#identity-box:hover:active > #page-proxy-favicon,
2201#identity-box[open=true] > #page-proxy-favicon {
a40f6a79 2202 -moz-image-region: rect(0, 48px, 16px, 32px);
acb0e9b8 2203}
2204
2a5b7882
RK
2205#identity-box:hover {
2206 background-color: #FFCF00;
7092015d 2207 color: #000000;
2a5b7882
RK
2208}
2209
2210#identity-box:hover:active,
2211#identity-box[open=true] {
2212 background-color: #FF9F00;
7092015d 2213 color: #000000;
2a5b7882
RK
2214}
2215
56859d76
RK
2216#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover,
2217#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active,
2218#urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] {
2219 background-color: #9C9CFF;
2220 color: #000000;
2221}
2222
387e6560
RK
2223#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
2224#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
2225#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
2a5b7882
RK
2226 background-color: #008484;
2227 color: #000000;
2228}
2229
319c6529
RK
2230/* autocomplete */
2231
319c6529
RK
2232#treecolAutoCompleteImage {
2233 max-width: 36px;
2234}
acb0e9b8 2235
319c6529
RK
2236.ac-result-type-bookmark,
2237.autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
71bac478 2238 list-style-image: url("chrome://browser/skin/places/bookmark.png");
319c6529 2239 -moz-image-region: rect(0px 16px 16px 0px);
c1f7cc84 2240 width: 16px;
319c6529 2241 height: 16px;
acb0e9b8 2242}
2243
c0f6797e
RK
2244richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark,
2245.autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) {
2246/* -moz-image-region: rect(0px 48px 16px 32px);*/
2247}
2248
319c6529 2249.ac-result-type-keyword,
8922acc9
RK
2250.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage),
2251richlistitem[type~="action"][actiontype="searchengine"] > .ac-title-box > .ac-site-icon {
2252 list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon");
acb0e9b8 2253 width: 16px;
2254 height: 16px;
2255}
2256
8922acc9
RK
2257 .ac-result-type-keyword[selected="true"],
2258 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage, selected),
2259 richlistitem[type~="action"][actiontype="searchengine"][selected="true"] > .ac-title-box > .ac-site-icon {
2260 list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon-inverted");
2261 }
2262
319c6529
RK
2263.ac-result-type-tag,
2264.autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
8da9da4e 2265 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
c1f7cc84 2266 width: 16px;
319c6529
RK
2267 height: 16px;
2268}
acb0e9b8 2269
319c6529 2270.ac-comment {
c0f6797e 2271 font-size: 1.06em;
acb0e9b8 2272}
319c6529
RK
2273
2274.ac-extra > .ac-comment {
c0f6797e 2275 font-size: 1em;
acb0e9b8 2276}
319c6529
RK
2277
2278.ac-url-text,
2279.ac-action-text {
c0f6797e 2280 font-size: 1em;
319c6529 2281 color: #9C9CFF;
acb0e9b8 2282}
319c6529
RK
2283
2284richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
2285 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
85cfb236
RK
2286 -moz-image-region: rect(0, 16px, 16px, 0);
2287 padding: 0 3px;
2288}
2289
2290richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
2291 -moz-image-region: rect(16px, 16px, 32px, 0);
acb0e9b8 2292}
2293
319c6529
RK
2294.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
2295 color: #8050B0;
2296}
acb0e9b8 2297
319c6529
RK
2298.ac-comment[selected="true"],
2299.ac-url-text[selected="true"],
2300.ac-action-text[selected="true"] {
2301 color: inherit !important;
acb0e9b8 2302}
2303
c1f7cc84
RK
2304.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
2305.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
319c6529
RK
2306{
2307 color: #8050B0;
2308 font-size: smaller;
acb0e9b8 2309}
319c6529
RK
2310
2311.autocomplete-treebody::-moz-tree-cell(suggesthint) {
2312 border-top: 1px solid #9C9CFF;
acb0e9b8 2313}
2314
319c6529
RK
2315/* combined go/reload/stop button in location bar */
2316
2317#urlbar > toolbarbutton {
9abeb12c 2318 -moz-margin-start: 0;
ffce2402 2319 padding: 0 2px;
319c6529
RK
2320 background-origin: border-box;
2321 border: none;
52d7b436 2322 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
9abeb12c
RK
2323 -moz-border-start: 1px solid #9C9CFF;
2324}
2325
2326#urlbar:-moz-locale-dir(ltr) > toolbarbutton {
38cfeb47
RK
2327 border-top-left-radius: 0px;
2328 border-bottom-left-radius: 0px;
acb0e9b8 2329}
acb0e9b8 2330
9abeb12c 2331#urlbar:-moz-locale-dir(rtl) > toolbarbutton {
38cfeb47
RK
2332 border-top-right-radius: 0px;
2333 border-bottom-right-radius: 0px;
9abeb12c
RK
2334}
2335
46e71434 2336#urlbar > toolbarbutton:not([disabled=true]):active:hover,
dce90fef
RK
2337#urlbar-reload-button:not(:hover) {
2338 -moz-border-start-style: none;
714b11f6 2339 -moz-padding-start: 3px;
dce90fef
RK
2340}
2341
c0f6797e
RK
2342#urlbar-reload-button {
2343 -moz-image-region: rect(0px, 14px, 14px, 0px);
acb0e9b8 2344}
2345
46e71434 2346#urlbar-reload-button[disabled=true] {
c0f6797e 2347 -moz-image-region: rect(28px, 14px, 42px, 0px);
acb0e9b8 2348}
2349
46e71434 2350#urlbar-reload-button:not([disabled=true]):hover {
c0f6797e 2351 -moz-image-region: rect(14px, 14px, 28px, 0px);
ffce2402
RK
2352}
2353
c0f6797e
RK
2354#urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2355 transform: scaleX(-1);
acb0e9b8 2356}
2357
c0f6797e
RK
2358#urlbar-go-button {
2359 -moz-image-region: rect(0, 42px, 14px, 28px);
38cfeb47
RK
2360}
2361
fff8097b 2362#urlbar-go-button:hover {
c0f6797e 2363 -moz-image-region: rect(14px, 42px, 28px, 28px);
acb0e9b8 2364}
2365
c0f6797e
RK
2366#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2367 transform: scaleX(-1);
acb0e9b8 2368}
319c6529
RK
2369
2370#urlbar-stop-button {
ffce2402 2371 -moz-image-region: rect(0px, 28px, 14px, 14px);
acb0e9b8 2372}
319c6529
RK
2373
2374#urlbar-stop-button:hover {
ffce2402 2375 -moz-image-region: rect(14px, 28px, 28px, 14px);
acb0e9b8 2376}
2377
2e389898
RK
2378@media (min-resolution: 1.1dppx) {
2379 #urlbar > toolbarbutton {
2380 list-style-image: url("chrome://browser/skin/reload-stop-go@2x.png");
2381 }
2382
2383 #urlbar-go-button {
2384 -moz-image-region: rect(0, 84px, 28px, 56px);
2385 }
2386
2387 #urlbar-go-button:hover {
2388 -moz-image-region: rect(28px, 84px, 56px, 56px);
2389 }
2390
2391 #urlbar-go-button:hover:active {
2392 -moz-image-region: rect(56px, 84px, 84px, 56px);
2393 }
2394
2395 #urlbar-reload-button {
2396 -moz-image-region: rect(0, 28px, 28px, 0);
2397 }
2398
2399 #urlbar-reload-button:not([disabled]):hover {
2400 -moz-image-region: rect(28px, 28px, 56px, 0);
2401 }
2402
2403 #urlbar-reload-button:not([disabled]):hover:active {
2404 -moz-image-region: rect(56px, 28px, 84px, 0);
2405 }
2406
2407 #urlbar-stop-button {
2408 -moz-image-region: rect(0, 56px, 28px, 28px);
2409 }
2410
2411 #urlbar-stop-button:not([disabled]):hover {
2412 -moz-image-region: rect(28px, 56px, 56px, 28px);
2413 }
2414
2415 #urlbar-stop-button:hover:active {
2416 -moz-image-region: rect(56px, 56px, 84px, 28px);
2417 }
2418
2419 #urlbar > toolbarbutton > .toolbarbutton-icon {
2420 width: 14px;
2421 }
2422}
2423
319c6529
RK
2424/* popup blocker button */
2425
2426#page-report-button {
2427 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
2428 -moz-image-region: rect(0, 16px, 16px, 0);
acb0e9b8 2429}
319c6529 2430
71bac478 2431#page-report-button:hover ,
319c6529
RK
2432#page-report-button:hover:active,
2433#page-report-button[open="true"] {
71bac478 2434 -moz-image-region: rect(0, 32px, 16px, 16px);
acb0e9b8 2435}
2436
bcb9d005
RK
2437/* === BEGIN readinglist.inc.css === */
2438
2439/* Reading List button */
2440
2441#urlbar:not([focused]):not(:hover) #readinglist-addremove-button {
2442 opacity: 0;
2443 width: 0px;
2444}
2445
2446#readinglist-addremove-button {
2447 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage");
2448 -moz-image-region: rect(0, 14px, 14px, 0);
2449 transition: width 150ms ease-in-out, opacity 150ms ease-in-out 150ms;
2450 opacity: 1;
2451 width: 20px;
2452}
2453
2454#readinglist-addremove-button:hover {
2455 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage-hover");
2456}
2457
2458#readinglist-addremove-button:active {
2459 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage-active");
2460}
2461
2462#readinglist-addremove-button[already-added="true"] {
2463 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded");
2464}
2465
2466#readinglist-addremove-button[already-added="true"]:hover {
2467 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded-hover");
2468}
2469
2470#readinglist-addremove-button[already-added="true"]:active {
2471 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded-active");
2472}
2473
2474/* === END readinglist.inc.css === */
2475
2476/* Reader mode button */
2477
2478#reader-mode-button {
2479 list-style-image: url("chrome://browser/skin/readerMode.svg");
2480 -moz-image-region: rect(0, 16px, 16px, 0);
2481}
2482
2483#reader-mode-button:hover,
2484#reader-mode-button[readeractive]:hover {
2485 -moz-image-region: rect(0, 32px, 16px, 16px);
2486}
2487
2488#reader-mode-button:hover:active,
2489#reader-mode-button[readeractive] {
2490 -moz-image-region: rect(0, 48px, 16px, 32px);
2491}
2492
c4460289
RK
2493/* social share panel */
2494
20752032
RK
2495.social-share-frame {
2496 min-width: 756px;
c4460289
RK
2497 height: 150px;
2498}
2499
20752032
RK
2500#share-container {
2501 min-width: 756px;
2502 background-color: white;
2503 background-repeat: no-repeat;
2504 background-position: center center;
c4460289 2505}
20752032
RK
2506#share-container[loading] {
2507 background-image: url(chrome://browser/skin/tabbrowser/pendingpaint.png);
2508}
2509#share-container > browser {
2510 transition: opacity 150ms ease-in-out;
2511 opacity: 1;
2512}
2513#share-container[loading] > browser {
2514 opacity: 0;
c4460289
RK
2515}
2516
20752032
RK
2517.social-share-toolbar {
2518 border-bottom: 1px solid #9C9CFF;
2519 padding: 2px;
c4460289
RK
2520}
2521
20752032
RK
2522#social-share-provider-buttons {
2523 padding: 0;
2524 margin: 0;
c4460289
RK
2525}
2526
20752032
RK
2527.share-provider-button {
2528 padding: 5px;
2529 margin: 2px;
c4460289
RK
2530}
2531
20752032 2532.share-provider-button > .toolbarbutton-text {
c4460289
RK
2533 display: none;
2534}
20752032 2535.share-provider-button > .toolbarbutton-icon {
c4460289
RK
2536 width: 16px;
2537 min-height: 16px;
2538 max-height: 16px;
2539}
2540
2541/* fixup corners for share panel */
2542.social-panel > .social-panel-frame {
2543 border-radius: inherit;
2544}
2545
2546#social-share-panel {
c4460289 2547 min-height: 100px;
20752032 2548 min-width: 766px;
c4460289
RK
2549}
2550
20752032 2551#share-container,
c4460289 2552.social-share-frame {
e2734cc7 2553 border-top-left-radius: 0;
c4460289 2554 border-bottom-left-radius: inherit;
e2734cc7 2555 border-top-right-radius: 0;
20752032 2556 border-bottom-right-radius: inherit;
c4460289
RK
2557}
2558
20752032 2559#social-share-panel > .social-share-toolbar {
e2734cc7 2560 border-top-left-radius: inherit;
e2734cc7 2561 border-top-right-radius: inherit;
e2734cc7
RK
2562}
2563
20752032 2564#social-share-provider-buttons {
c4460289 2565 border-top-left-radius: inherit;
e2734cc7 2566 border-top-right-radius: inherit;
e2734cc7
RK
2567}
2568
889649fd
RK
2569/* social recommending panel */
2570
a6757852 2571#social-mark-button {
d7cfd768 2572 -moz-image-region: rect(0, 16px, 16px, 0);
889649fd
RK
2573}
2574
c0f6797e 2575/* bookmarks menu-button */
319c6529 2576
c0f6797e
RK
2577#bookmarks-menu-button.bookmark-item {
2578 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2579 -moz-image-region: rect(0px 16px 16px 0px);
acb0e9b8 2580}
319c6529 2581
c0f6797e
RK
2582#bookmarks-menu-button.bookmark-item[starred] {
2583 -moz-image-region: rect(0px 32px 16px 16px);
acb0e9b8 2584}
319c6529 2585
c0f6797e
RK
2586#bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
2587 -moz-margin-start: 5px;
acb0e9b8 2588}
2589
c0f6797e
RK
2590#bookmarks-menu-button[cui-areatype="toolbar"]:not(.bookmark-item):not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
2591 padding-top: 2px;
2592 padding-bottom: 2px;
71bac478
RK
2593}
2594
c0f6797e
RK
2595#BMB_bookmarksPopup[side="top"],
2596#BMB_bookmarksPopup[side="bottom"] {
2597 margin-left: -20px;
2598 margin-right: -20px;
71bac478
RK
2599}
2600
c0f6797e
RK
2601#BMB_bookmarksPopup[side="left"],
2602#BMB_bookmarksPopup[side="right"] {
2603 margin-top: -20px;
2604 margin-bottom: -20px;
acb0e9b8 2605}
319c6529
RK
2606
2607/* bookmarking panel */
c0f6797e 2608
319c6529
RK
2609#editBookmarkPanelStarIcon {
2610 list-style-image: url("chrome://browser/skin/places/starred48.png");
2611 width: 48px;
2612 height: 48px;
acb0e9b8 2613}
319c6529
RK
2614
2615#editBookmarkPanelStarIcon[unstarred] {
2616 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
acb0e9b8 2617}
2618
319c6529
RK
2619#editBookmarkPanelTitle {
2620 font-size: 130%;
acb0e9b8 2621}
319c6529
RK
2622
2623#editBookmarkPanelHeader,
2624#editBookmarkPanelContent {
2625 margin-bottom: .5em;
acb0e9b8 2626}
319c6529
RK
2627
2628/* Implements editBookmarkPanel resizing on folderTree un-collapse. */
2629#editBMPanel_folderTree {
2630 min-width: 27em;
acb0e9b8 2631}
2632
f993773d 2633.panel-promo-box {
46e71434
RK
2634 margin: 5px 0 -6px;
2635 padding: 5px 0;
889649fd 2636 border-top: 1px solid #9C9CFF;
f0eab82c
RK
2637 border-bottom-left-radius: 5px;
2638 border-bottom-right-radius: 5px;
f993773d
RK
2639}
2640
2641.panel-promo-icon {
2642 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
2643 -moz-margin-end: 10px;
2644 vertical-align: middle;
2645}
2646
2647.panel-promo-closebutton {
2648 list-style-image: url("chrome://global/skin/icons/close-button.gif");
f0eab82c
RK
2649 -moz-margin-end: -3px;
2650 margin-top: -3px;
f993773d
RK
2651}
2652
2653.panel-promo-closebutton:hover {
2654 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2655}
2656
2657.panel-promo-closebutton:hover:active {
2658 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2659}
2660
2661.panel-promo-closebutton > .toolbarbutton-text {
2662 padding: 0;
f993773d
RK
2663}
2664
319c6529
RK
2665/* ::::: content area ::::: */
2666
bcb9d005
RK
2667#sidebar-box {
2668 background-color: #9C9CFF;
2669 color: #000000;
2670}
2671
319c6529 2672#sidebar {
bcb9d005
RK
2673 background-color: #000000;
2674}
2675
2676#sidebar-splitter {
2677 -moz-margin-start: 0;
2678}
2679
2680#sidebar-header {
2681 color: #000000;
2682 padding: 2px;
acb0e9b8 2683}
319c6529
RK
2684
2685#sidebar-title {
2686 -moz-padding-start: 0px;
acb0e9b8 2687}
319c6529 2688
589b5528
RK
2689#sidebar-header > .close-icon {
2690/* padding: 4px 2px;
2691 margin: 0;
2692 border: none;*/
2693 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2694}
2695
2696#sidebar-header > .close-icon:hover,
2697#sidebar-header > .close-icon:hover:active {
2698 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2699}
2700
bcb9d005
RK
2701#sidebar-splitter:-moz-locale-dir(ltr),
2702#sidebar:-moz-locale-dir(ltr) {
2703 border-radius: 0 5px 0 0;
2704}
2705
2706#sidebar-splitter:-moz-locale-dir(rtl),
2707#sidebar:-moz-locale-dir(rtl) {
2708 border-radius: 5px 0 0 0;
2709}
2710
fe524e0c
RK
2711.browserContainer > findbar {
2712/*
2713 background-color: -moz-dialog;
2714 color: -moz-DialogText;
2715*/
2716}
2717
319c6529 2718/* Tabstrip */
b36fc72e 2719
c0f6797e 2720#TabsToolbar {
e20c83c3
RK
2721 min-height: 0;
2722 padding: 0;
2723 -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar");
2724}
2725
b36fc72e 2726#TabsToolbar .toolbar-holder {
c1f7cc84 2727 background-color: #000000; /* correct effect of being an actual toolbar */
acb0e9b8 2728}
2729
b36fc72e 2730#main-window[disablechrome] #TabsToolbar,
319c6529 2731#TabsToolbar[tabsontop="false"] {
8b5fc82e 2732 border-bottom: 1px solid #008484;
acb0e9b8 2733}
319c6529 2734
6dc70335
RK
2735/* === BEGIN tabs.inc.css === */
2736
368d0b7f
RK
2737:root {
2738 /* --tab-toolbar-navbar-overlap: 1px; */
2739 /* --tab-min-height: 31px; */
d533ec21
RK
2740 /* --tab-curve-width: 30px; */
2741 /* --tab-curve-half-width: 15px; */
368d0b7f
RK
2742}
2743
319c6529 2744.tabbrowser-tab,
43ee1307
RK
2745.tabs-newtab-button,
2746#TabsToolbar > #new-tab-button {
319c6529 2747 margin-top: 0px;
acb0e9b8 2748}
319c6529 2749
43ee1307 2750.tabbrowser-tab {
57fc408c
RK
2751 padding: 1px 4px 2px;
2752}
2753
2754.tabbrowser-tab:first-of-type {
2755 -moz-margin-start: 2px;
2756}
2757
43ee1307
RK
2758.tabs-newtab-button,
2759#TabsToolbar > #new-tab-button {
57fc408c
RK
2760 border-radius: 8px 8px 0px 0px;
2761 -moz-margin-start: 0;
2762}
2763
43ee1307
RK
2764.tabs-newtab-button:not(:hover),
2765#TabsToolbar > #new-tab-button:not(:hover) {
57fc408c
RK
2766 background-color: #C09070;
2767}
2768
c0f6797e 2769/* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */
05148fed 2770.tabbrowser-tab[visuallyselected=true] {
c0f6797e
RK
2771/* position: relative;
2772 z-index: 2;*/
acb0e9b8 2773}
2774
c0f6797e 2775.tab-background-middle {
acb0e9b8 2776}
2777
c0f6797e 2778.tab-content {
acb0e9b8 2779}
319c6529 2780
d533ec21
RK
2781.tab-content[pinned] {
2782}
2783
2784.tab-throbber,
c0f6797e
RK
2785.tab-icon-image,
2786.tab-close-button {
acb0e9b8 2787}
2788
319c6529
RK
2789.tab-throbber,
2790.tab-icon-image {
319c6529 2791 height: 16px;
c0f6797e 2792 width: 16px;
d533ec21 2793 -moz-margin-end: 3px;
c0f6797e
RK
2794}
2795
2796.tab-icon-image {
dce90fef 2797 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
613daf44 2798}
2799
d533ec21
RK
2800.tab-icon-overlay {
2801 width: 16px;
2802 height: 16px;
2803 /* margin-top: 10px; */
2804 -moz-margin-start: -16px;
2805 display: none;
2806}
2807
2808.tab-icon-overlay[crashed] {
2809 display: -moz-box;
2810 list-style-image: url("chrome://browser/skin/tabbrowser/crashed.svg");
2811}
2812
3d64e0ce 2813.tab-throbber[busy] {
95f333af 2814 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
613daf44 2815}
319c6529
RK
2816
2817.tab-throbber[progress] {
95f333af 2818 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
613daf44 2819}
319c6529 2820
319c6529
RK
2821.tab-throbber[pinned],
2822.tab-icon-image[pinned] {
2823 -moz-margin-start: 2px;
2824 -moz-margin-end: 2px;
613daf44 2825}
319c6529 2826
c0f6797e 2827.tab-label {
aec5dfad
RK
2828 /* this needs to add up to the 16px of the icon image */
2829 height: 12px;
2830 margin-top: 2px !important;
2831 margin-bottom: 2px !important;
c0f6797e
RK
2832}
2833
2834.tab-close-button {
2835 margin-top: 1px;
2836 padding: 0;
2837}
2838
2839.tab-background,
2840.tabs-newtab-button {
2841 /* overlap the tab curves */
2842}
2843
2844.tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
2845}
2846
93c91f62
RK
2847/* Tab Overflow */
2848.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]),
2849.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
2850}
2851
2852.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:-moz-locale-dir(rtl),
2853.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:-moz-locale-dir(ltr) {
2854}
2855
2856.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]) {
2857}
2858
2859.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
2860}
2861
2862.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator[collapsed],
2863.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator[collapsed] {
2864}
2865
2866.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator,
2867.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator {
2868}
2869
05148fed
RK
2870.tab-background-start[visuallyselected=true]::after,
2871.tab-background-start[visuallyselected=true]::before,
c0f6797e
RK
2872.tab-background-start,
2873.tab-background-end,
05148fed
RK
2874.tab-background-end[visuallyselected=true]::after,
2875.tab-background-end[visuallyselected=true]::before {
c0f6797e
RK
2876}
2877
05148fed 2878.tabbrowser-tab:not([visuallyselected=true]),
c0f6797e
RK
2879.tabbrowser-tab:-moz-lwtheme {
2880}
2881
319c6529 2882/* tabbrowser-tab focus ring */
c0f6797e 2883.tabbrowser-tab:focus {
319c6529 2884 outline: 1px dotted;
613daf44 2885}
319c6529 2886
c0f6797e
RK
2887/* Selected tab */
2888
05148fed 2889.tabbrowser-tab[visuallyselected="true"] {
c0f6797e
RK
2890}
2891
2892/* End selected tab */
2893
c0f6797e
RK
2894/* Tab pointer-events */
2895/*
2896.tabbrowser-tab {
2897 pointer-events: none;
2898}
2899
2900.tab-background-middle,
2901.tabs-newtab-button,
2902.tab-close-button {
2903 pointer-events: auto;
2904}
2905*/
2906/* Pinned tabs */
2907
2908.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
2909 background-color: #E7ADE7;
2910}
2911
2912.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
2913 background-color: #3333FF;
2914 color: #000000;
2915}
2916
2917/* New tab button */
2918
2919.tabs-newtab-button {
2920 width: 28px;
d533ec21 2921 /* width: calc(36px + var(--tab-curve-width)); */
c0f6797e
RK
2922}
2923
2924/* === END tabs.inc.css === */
2925
43371c9b
RK
2926/* Background tabs:
2927 *
2928 * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top
2929 * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by
2930 * the titlebar. We don't need this in fullscreen since window dragging is not an issue there.
2931 */
05148fed 2932#main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([visuallyselected=true]) {
43371c9b
RK
2933/* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/
2934}
2935
8ad8bf83 2936/* Tab DnD indicator */
319c6529
RK
2937.tab-drop-indicator {
2938 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
9abeb12c 2939 margin-bottom: -11px;
613daf44 2940}
2941
319c6529
RK
2942/* Tab close button */
2943.tab-close-button {
319c6529
RK
2944 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2945}
acb0e9b8 2946
319c6529
RK
2947.tab-close-button:hover,
2948.tab-close-button:hover[selected="true"] {
2949 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 2950}
319c6529
RK
2951
2952.tab-close-button:hover:active,
2953.tab-close-button:hover:active[selected="true"] {
2954 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 2955}
319c6529 2956
319c6529
RK
2957/* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
2958
319c6529
RK
2959.tabbrowser-arrowscrollbox > .scrollbutton-up,
2960.tabbrowser-arrowscrollbox > .scrollbutton-down {
319c6529
RK
2961 margin: 0;
2962 padding-top: 0;
2963 padding-bottom: 0;
c0f6797e
RK
2964 background-origin: border-box;
2965}
2966
2967#main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2968#main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2969.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext,
2970.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext {
2971 }
b7f3670c 2972
c0f6797e
RK
2973.tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
2974.tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
2975 }
2976
2977.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
2978.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
2979/* transform: scaleX(-1);*/
2980}
2981
2982.tabbrowser-arrowscrollbox > .scrollbutton-down {
2983 transition: 1s background-color ease-out;
acb0e9b8 2984}
319c6529 2985
319c6529
RK
2986.tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
2987 background-color: #008484;
acb0e9b8 2988}
319c6529 2989
c0f6797e
RK
2990.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]),
2991.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
2992/* border-width: 0 2px 0 0;
2993 border-style: solid;
2994 border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;*/
2995}
2996
319c6529
RK
2997.tabs-newtab-button > .toolbarbutton-icon {
2998 margin-top: -1px;
2999 margin-bottom: -1px;
acb0e9b8 3000}
319c6529
RK
3001
3002.tabs-newtab-button,
3003#TabsToolbar > #new-tab-button,
e20c83c3
RK
3004#TabsToolbar > toolbarpaletteitem > #new-tab-button,
3005#TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
832af407 3006 list-style-image: url("chrome://browser/skin/tabbrowser/newtabFx.png");
319c6529 3007 -moz-image-region: rect(0, 16px, 18px, 0);
acb0e9b8 3008}
3009
8b5fc82e 3010.tabs-newtab-button,
38cfeb47 3011.tabs-newtab-button:hover,
c0f6797e 3012#TabsToolbar > #new-tab-button,
38cfeb47 3013#TabsToolbar > #new-tab-button:hover {
319c6529 3014 -moz-image-region: rect(0, 32px, 18px, 16px);
acb0e9b8 3015}
319c6529 3016
c0f6797e
RK
3017#main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3018#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3019#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3020.tabs-newtab-button:-moz-lwtheme-brighttext,
3021#TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
3022#TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
acb0e9b8 3023}
3024
c0f6797e
RK
3025#TabsToolbar > #new-tab-button {
3026 width: 26px;
3027}
3028
3029#alltabs-button {
3030 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
acb0e9b8 3031}
319c6529 3032
f9fc08c7
RK
3033#alltabs-button:hover,
3034#alltabs-button:hover:active,
3035#alltabs-button[open="true"] {
8da9da4e 3036 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
acb0e9b8 3037}
319c6529 3038
c0f6797e
RK
3039#main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3040#alltabs-button:-moz-lwtheme-brighttext {
3041}
3042
3043#alltabs-button > .toolbarbutton-icon {
3044/* margin: 0 2px;*/
3045}
3046
3047#alltabs-button > .toolbarbutton-menu-dropmarker {
3048 display: none;
3049}
3050
319c6529
RK
3051/* All tabs menupopup */
3052.alltabs-item > .menu-iconic-left > .menu-iconic-icon {
dce90fef 3053 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
8da9da4e 3054 -moz-image-region: auto;
acb0e9b8 3055}
3056
319c6529
RK
3057.alltabs-item[selected="true"] {
3058 font-weight: bold;
acb0e9b8 3059}
319c6529
RK
3060
3061.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
3062 list-style-image: url("chrome://global/skin/icons/loading.gif");
acb0e9b8 3063}
319c6529 3064
85cfb236 3065.alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
b1234db8
RK
3066 background-color: #402800;
3067}
3068
319c6529
RK
3069toolbarbutton.chevron {
3070 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
acb0e9b8 3071}
319c6529
RK
3072
3073toolbarbutton.chevron:hover {
3074 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
acb0e9b8 3075}
e548e22e
RK
3076/*
3077toolbar[brighttext] toolbarbutton.chevron {
3078 list-style-image: url("chrome://global/skin/toolbar/chevron-inverted.png") !important;
3079}
3080*/
319c6529
RK
3081toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
3082toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
71a617ff 3083 transform: scaleX(-1);
acb0e9b8 3084}
319c6529
RK
3085
3086toolbarbutton.chevron > .toolbarbutton-text,
3087toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
3088 display: none;
acb0e9b8 3089}
319c6529
RK
3090
3091toolbarbutton.chevron > .toolbarbutton-icon {
3092 margin: 0;
acb0e9b8 3093}
3094
319c6529
RK
3095#sidebar-throbber[loading="true"] {
3096 list-style-image: url("chrome://global/skin/icons/loading.gif");
3097 -moz-margin-end: 4px;
acb0e9b8 3098}
319c6529
RK
3099
3100/* Bookmarks toolbar */
3101#PlacesToolbarDropIndicator {
8da9da4e 3102 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
acb0e9b8 3103}
3104
319c6529
RK
3105toolbarbutton.bookmark-item[dragover="true"][open="true"] {
3106 background-color: #008484 !important;
3107 color: #FFCF00 !important;
613daf44 3108}
319c6529
RK
3109
3110/* rules for menupopup drop indicators */
3111.menupopup-drop-indicator-bar {
3112 position: relative;
3113 /* these two margins must together compensate the indicator's height */
3114 margin-top: -1px;
3115 margin-bottom: -1px;
613daf44 3116}
319c6529
RK
3117
3118.menupopup-drop-indicator {
3119 list-style-image: none;
3120 height: 2px;
3121 -moz-margin-end: -4em;
3122 background-color: #008484;
613daf44 3123}
3124
a5cb6e53
RK
3125/* === BEGIN notification-icons.inc.css === */
3126
319c6529
RK
3127.popup-notification-icon {
3128 width: 64px;
3129 height: 64px;
3130 -moz-margin-end: 10px;
3131}
acb0e9b8 3132
319c6529
RK
3133.popup-notification-icon[popupid="geolocation"] {
3134 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
acb0e9b8 3135}
3136
a5cb6e53
RK
3137.popup-notification-icon[popupid="push"] {
3138 list-style-image: url(chrome://browser/skin/Push-64.png);
3139}
3140
319c6529 3141.popup-notification-icon[popupid="xpinstall-disabled"],
7c0a01f2
RK
3142.popup-notification-icon[popupid="addon-install-blocked"] {
3143 list-style-image: url(chrome://browser/skin/addons/addon-install-blocked.svg);
3144}
3145
3146.popup-notification-icon[popupid="addon-progress"] {
3147 list-style-image: url(chrome://browser/skin/addons/addon-install-downloading.svg);
3148}
3149
3150.popup-notification-icon[popupid="addon-install-failed"] {
3151 list-style-image: url(chrome://browser/skin/addons/addon-install-error.svg);
3152}
3153
3154.popup-notification-icon[popupid="addon-install-confirmation"] {
3155 list-style-image: url(chrome://browser/skin/addons/addon-install-confirm.svg);
3156}
3157
3158#addon-install-confirmation-notification[warning] .popup-notification-icon[popupid="addon-install-confirmation"] {
3159 list-style-image: url(chrome://browser/skin/addons/addon-install-warning.svg);
3160}
3161
a40f6a79 3162.popup-notification-icon[popupid="addon-install-complete"] {
7c0a01f2
RK
3163 list-style-image: url(chrome://browser/skin/addons/addon-install-installed.svg);
3164}
3165
3166.popup-notification-icon[popupid="addon-install-restart"] {
3167 list-style-image: url(chrome://browser/skin/addons/addon-install-restart.svg);
acb0e9b8 3168}
319c6529 3169
a40f6a79 3170.popup-notification-icon[popupid="click-to-play-plugins"] {
fcfb76ce 3171 list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
a40f6a79
RK
3172}
3173
82b4252f
RK
3174.popup-notification-icon[popupid="web-notifications"] {
3175 list-style-image: url("chrome://browser/skin/notification-64.png");
3176}
3177
319c6529 3178.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
e2734cc7
RK
3179.popup-notification-icon[popupid*="offline-app-requested"],
3180.popup-notification-icon[popupid="offline-app-usage"] {
319c6529 3181 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
acb0e9b8 3182}
3183
05148fed 3184.popup-notification-icon[popupid="password"] {
319c6529 3185 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
acb0e9b8 3186}
3187
1b13529a 3188.popup-notification-icon[popupid="webapps-install-progress"],
8d7ef0d9 3189.popup-notification-icon[popupid="webapps-install"] {
87a1144f 3190 list-style-image: url("chrome://global/skin/icons/webapps-64.png");
8d7ef0d9
RK
3191}
3192
c066e743
RK
3193.popup-notification-icon[popupid="bad-content"] {
3194 list-style-image: url("chrome://browser/skin/bad-content-blocked-64.png");
3195}
3196
3197.popup-notification-icon[popupid="bad-content"][mixedblockdisabled],
3198.popup-notification-icon[popupid="bad-content"][trackingblockdisabled] {
3199 list-style-image: url(chrome://browser/skin/bad-content-unblocked-64.png);
56ab361a
RK
3200}
3201
0142a07b 3202.popup-notification-icon[popupid="webRTC-sharingDevices"],
7bc075b6
RK
3203.popup-notification-icon[popupid="webRTC-shareDevices"] {
3204 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
3205}
3206
c1d2ce3e
RK
3207.popup-notification-icon[popupid="webRTC-sharingMicrophone"],
3208.popup-notification-icon[popupid="webRTC-shareMicrophone"] {
3209 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png");
3210}
3211
9168a62c
RK
3212.popup-notification-icon[popupid="webRTC-sharingScreen"],
3213.popup-notification-icon[popupid="webRTC-shareScreen"] {
3214 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64.png);
3215}
3216
82b4252f
RK
3217.popup-notification-icon[popupid="pointerLock"] {
3218 list-style-image: url("chrome://browser/skin/pointerLock-64.png");
3219}
3220
319c6529 3221/* Notification icon box */
cae267ab
RK
3222#notification-popup .panel-promo-box {
3223/* margin: 10px -10px -10px; */
3224}
3225
319c6529 3226#notification-popup-box {
f993773d
RK
3227 position: relative;
3228 background-color: #000000;
3229 background-clip: padding-box;
3230 padding-left: 3px;
5517da5a 3231 padding-right: 8px;
f0eab82c 3232 border-radius: 3px 0 0 3px;
82b4252f 3233 border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
f993773d 3234 -moz-margin-end: -8px;
5517da5a 3235 border-right-width: 8px;
f993773d
RK
3236}
3237
589b5528
RK
3238window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #notification-popup-box {
3239/* padding-left: 7px; */
f993773d
RK
3240}
3241
3242#notification-popup-box:-moz-locale-dir(rtl),
3243.notification-anchor-icon:-moz-locale-dir(rtl) {
71a617ff 3244 transform: scaleX(-1);
319c6529 3245}
acb0e9b8 3246
319c6529 3247.notification-anchor-icon {
acb0e9b8 3248 width: 16px;
3249 height: 16px;
85cfb236 3250 margin: 0 2px;
acb0e9b8 3251}
3252
319c6529 3253.notification-anchor-icon:-moz-focusring {
f0eab82c 3254 outline: 1px dotted #008484;
acb0e9b8 3255}
3256
e2734cc7 3257.default-notification-icon,
ab799a7a
RK
3258#default-notification-icon {
3259 list-style-image: url("chrome://global/skin/icons/information-16.png");
3260}
3261
e2734cc7 3262.identity-notification-icon,
9585a561
RK
3263#identity-notification-icon {
3264 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
3265}
3266
e2734cc7 3267.geo-notification-icon,
319c6529
RK
3268#geo-notification-icon {
3269 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
acb0e9b8 3270}
3271
a5cb6e53
RK
3272#push-notification-icon {
3273 list-style-image: url(chrome://browser/skin/Push-16.png);
3274}
3275
319c6529 3276#addons-notification-icon {
7c0a01f2
RK
3277 list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#default);
3278}
3279
3280#addons-notification-icon:hover {
3281 list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#hover);
3282}
3283
3284#addons-notification-icon:hover:active {
3285 list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#active);
acb0e9b8 3286}
3287
e2734cc7 3288.indexedDB-notification-icon,
319c6529
RK
3289#indexedDB-notification-icon {
3290 list-style-image: url("chrome://global/skin/icons/question-16.png");
acb0e9b8 3291}
3292
319c6529
RK
3293#password-notification-icon {
3294 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
acb0e9b8 3295}
3296
7c0a01f2
RK
3297#login-fill-notification-icon {
3298 /* Temporary icon until the capture and fill doorhangers are unified. */
3299 list-style-image: url(chrome://mozapps/skin/passwordmgr/key-16.png);
3300 transform: scaleX(-1);
3301}
3302
8d7ef0d9 3303#webapps-notification-icon {
87a1144f 3304 list-style-image: url("chrome://gobal/skin/icons/webapps-16.png");
8d7ef0d9
RK
3305}
3306
a40f6a79 3307#plugins-notification-icon {
b27cc46e
RK
3308 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
3309}
3310
f76c6aee 3311#plugins-notification-icon.plugin-hidden {
b27cc46e 3312 list-style-image: url("chrome://browser/skin/notification-pluginAlert.png");
a40f6a79
RK
3313}
3314
f76c6aee 3315#plugins-notification-icon.plugin-blocked {
b27cc46e 3316 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
990cba4b
RK
3317}
3318
f76c6aee 3319#plugins-notification-icon {
fe524e0c
RK
3320/* -moz-image-region: rect(0, 16px, 16px, 0);*/
3321}
3322
f76c6aee 3323#plugins-notification-icon:hover {
fe524e0c
RK
3324/* -moz-image-region: rect(0, 32px, 16px, 16px);*/
3325}
3326
6adbc9a6
RK
3327#notification-popup-box[hidden] {
3328 /* Override display:none to make the pluginBlockedNotification animation work
3329 when showing the notification repeatedly. */
3330 display: -moz-box;
3331 visibility: collapse;
3332}
3333
f76c6aee 3334#plugins-notification-icon.plugin-blocked[showing] {
990cba4b
RK
3335 animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
3336}
3337
3338@keyframes pluginBlockedNotification {
3339 from {
3340 opacity: 0;
3341 }
3342 to {
3343 opacity: 1;
3344 }
3345}
3346
c066e743
RK
3347.bad-content-blocked-notification-icon,
3348#bad-content-blocked-notification-icon {
3349 list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png");
3350}
3351
3352.bad-content-unblocked-notification-icon,
3353#bad-content-unblocked-notification-icon {
3354 list-style-image: url(chrome://browser/skin/bad-content-unblocked-16.png);
56ab361a
RK
3355}
3356
e2734cc7 3357.webRTC-shareDevices-notification-icon,
0142a07b 3358#webRTC-shareDevices-notification-icon {
7bc075b6
RK
3359 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
3360}
3361
e2734cc7 3362.webRTC-sharingDevices-notification-icon,
6adbc9a6
RK
3363#webRTC-sharingDevices-notification-icon {
3364 list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
3365}
3366
c1d2ce3e
RK
3367.webRTC-shareMicrophone-notification-icon,
3368#webRTC-shareMicrophone-notification-icon {
3369 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png");
3370}
3371
3372.webRTC-sharingMicrophone-notification-icon,
3373#webRTC-sharingMicrophone-notification-icon {
3374 list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png");
3375}
3376
9168a62c
RK
3377.webRTC-shareScreen-notification-icon,
3378#webRTC-shareScreen-notification-icon {
3379 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png);
3380}
3381
3382.webRTC-sharingScreen-notification-icon,
3383#webRTC-sharingScreen-notification-icon {
3384 list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16.png);
3385}
3386
e2734cc7 3387.web-notifications-notification-icon,
82b4252f
RK
3388#web-notifications-notification-icon {
3389 list-style-image: url("chrome://browser/skin/notification-16.png");
3390}
3391
3392#pointerLock-notification-icon {
3393 list-style-image: url("chrome://browser/skin/pointerLock-16.png");
3394}
82b4252f 3395
a5cb6e53
RK
3396.translate-notification-icon,
3397#translate-notification-icon {
3398 list-style-image: url("chrome://browser/skin/translation-16.png");
3399 -moz-image-region: rect(0px, 16px, 16px, 0px);
3400}
3401
3402.translated-notification-icon,
3403#translated-notification-icon {
3404 list-style-image: url("chrome://browser/skin/translation-16.png");
3405 -moz-image-region: rect(0px, 32px, 16px, 16px);
3406}
3407
3408.popup-notification-icon[popupid="servicesInstall"] {
3409 list-style-image: url("chrome://browser/skin/social/services-64.png");
3410}
3411#servicesInstall-notification-icon {
3412 list-style-image: url("chrome://browser/skin/social/services-16.png");
3413}
3414
3415/* EME notifications */
3416
3417.popup-notification-icon[popupid="drmContentPlaying"],
3418#eme-notification-icon {
3419 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
3420}
3421
3422#eme-notification-icon:hover:active {
3423 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains-pressed");
3424}
3425
3426#eme-notification-icon[firstplay=true] {
3427 animation: emeTeachingMoment 0.2s linear 0s 5 normal;
3428}
3429
3430@keyframes emeTeachingMoment {
3431 0% {transform: translateX(0); }
3432 25% {transform: translateX(3px) }
3433 75% {transform: translateX(-3px) }
3434 100% { transform: translateX(0); }
3435}
3436
2e389898
RK
3437/* HiDPI notification icons */
3438@media (min-resolution: 1.1dppx) {
3439/* #notification-popup-box {
3440 border-image: url("chrome://browser/skin/urlbar-arrow@2x.png") 0 16 0 0 fill;
3441 }
3442*/
3443 .notification-anchor-icon {
3444 list-style-image: url(chrome://global/skin/icons/information-32.png);
3445 }
3446
3447 .webRTC-shareDevices-notification-icon,
3448 #webRTC-shareDevices-notification-icon {
3449 list-style-image: url(chrome://browser/skin/webRTC-shareDevice-16@2x.png);
3450 }
3451
3452 .webRTC-sharingDevices-notification-icon,
3453 #webRTC-sharingDevices-notification-icon {
3454 list-style-image: url(chrome://browser/skin/webRTC-sharingDevice-16@2x.png);
3455 }
3456
3457 .webRTC-shareMicrophone-notification-icon,
3458 #webRTC-shareMicrophone-notification-icon {
3459 list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-16@2x.png);
3460 }
3461
3462 .webRTC-sharingMicrophone-notification-icon,
3463 #webRTC-sharingMicrophone-notification-icon {
3464 list-style-image: url(chrome://browser/skin/webRTC-sharingMicrophone-16@2x.png);
3465 }
3466
3467 .webRTC-shareScreen-notification-icon,
3468 #webRTC-shareScreen-notification-icon {
3469 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16@2x.png);
3470 }
3471
3472 .webRTC-sharingScreen-notification-icon,
3473 #webRTC-sharingScreen-notification-icon {
3474 list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16@2x.png);
3475 }
3476
3477 .popup-notification-icon[popupid="webRTC-sharingDevices"],
3478 .popup-notification-icon[popupid="webRTC-shareDevices"] {
3479 list-style-image: url(chrome://browser/skin/webRTC-shareDevice-64@2x.png);
3480 }
3481
3482 .popup-notification-icon[popupid="webRTC-sharingMicrophone"],
3483 .popup-notification-icon[popupid="webRTC-shareMicrophone"] {
3484 list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-64@2x.png);
3485 }
3486
3487 .popup-notification-icon[popupid="webRTC-sharingScreen"],
3488 .popup-notification-icon[popupid="webRTC-shareScreen"] {
3489 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64@2x.png);
3490 }
3491}
3492
a5cb6e53
RK
3493/* === END notification-icons.inc.css === */
3494
936e60fe
RK
3495.popup-notification-body[popupid="addon-progress"],
3496.popup-notification-body[popupid="addon-install-confirmation"] {
3497 width: 28em;
3498 max-width: 28em;
3499}
3500
ed88669c
RK
3501/* Translation infobar */
3502
3503/* === BEGIN infobar.inc.css === */
3504
3505notification[value="translation"] .messageImage {
93c91f62 3506 list-style-image: url("chrome://browser/skin/translation-16.png");
ed88669c
RK
3507 -moz-image-region: rect(0, 32px, 16px, 16px);
3508}
3509
3510@media (min-resolution: 1.25dppx) {
3511 notification[value="translation"] .messageImage {
93c91f62 3512 list-style-image: url("chrome://browser/skin/translation-16@2x.png");
ed88669c
RK
3513 -moz-image-region: rect(0, 64px, 32px, 32px);
3514 }
3515}
3516
93c91f62
RK
3517notification[value="translation"][state="translating"] .messageImage {
3518 list-style-image: url("chrome://browser/skin/translating-16.png");
3519 -moz-image-region: auto;
3520}
3521
3522@media (min-resolution: 1.25dppx) {
3523 notification[value="translation"][state="translating"] .messageImage {
3524 list-style-image: url("chrome://browser/skin/translating-16@2x.png");
3525 }
3526}
3527
a5cb6e53
RK
3528notification[value="translation"] hbox[anonid="details"] {
3529 overflow: hidden;
3530}
3531
ed88669c
RK
3532notification[value="translation"] button,
3533notification[value="translation"] menulist {
3534 min-width: 0;
ed88669c
RK
3535}
3536
3537notification[value="translation"] menulist > .menulist-dropmarker {
3538}
3539
93c91f62
RK
3540.translation-menupopup arrowscrollbox {
3541 padding-bottom: 0;
3542}
3543
3544.translation-attribution {
3545 cursor: pointer;
3546 -moz-box-align: end;
3547 font-size: small;
3548}
3549
3550.translation-attribution > label {
3551 margin-bottom: 0;
3552}
3553
3554.translation-attribution > image {
3555 width: 70px;
3556}
3557
8837ac2c
RK
3558.translation-welcome-panel {
3559 width: 305px;
3560}
3561
3562.translation-welcome-logo {
3563 height: 32px;
3564 width: 32px;
3565 list-style-image: url(chrome://browser/skin/translation-16@2x.png);
3566 -moz-image-region: rect(0, 64px, 32px, 32px);
3567}
3568
3569.translation-welcome-content {
3570 -moz-margin-start: 16px;
3571}
3572
3573.translation-welcome-headline {
3574 font-size: larger;
3575 font-weight: bold;
3576}
3577
3578.translation-welcome-body {
3579 padding: 1em 0;
3580 margin: 0 0;
3581}
3582
ed88669c
RK
3583/* === END infobar.inc.css === */
3584
0bcd5587
RK
3585notification[value="translation"] {
3586 min-height: 40px;
3587}
3588
ed88669c
RK
3589.translation-menupopup {
3590 -moz-appearance: none;
3591}
3592
e184b661
RK
3593/* Loop/ Hello browser styles */
3594
3595notification[value="loop-sharing-notification"] .button-menubutton-button {
3596 min-width: 0;
3597 border: 0;
3598 margin: 0;
3599}
3600
3601notification[value="loop-sharing-notification"] .messageImage {
3602 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png);
3603}
3604
319c6529 3605/* Bookmarks roots menu-items */
319c6529
RK
3606#subscribeToPageMenuitem:not([disabled]),
3607#subscribeToPageMenupopup,
3608#BMB_subscribeToPageMenuitem:not([disabled]),
3609#BMB_subscribeToPageMenupopup {
3610 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
613daf44 3611}
3612
319c6529 3613#bookmarksToolbarFolderMenu,
c0f6797e
RK
3614#BMB_bookmarksToolbar,
3615#panelMenu_bookmarksToolbar {
8da9da4e 3616 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
319c6529
RK
3617 -moz-image-region: auto;
3618}
acb0e9b8 3619
c0f6797e
RK
3620#BMB_unsortedBookmarks,
3621#panelMenu_unsortedBookmarks {
8da9da4e 3622 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
319c6529 3623 -moz-image-region: auto;
acb0e9b8 3624}
3625
bcb9d005
RK
3626#menu_readingList,
3627#BMB_readingList {
3628 list-style-image: url("chrome://browser/skin/readinglist/readinglist-icon.svg");
3629 -moz-image-region: auto;
3630}
3631
31bc2dc1
RK
3632#panelMenu_pocket,
3633#menu_pocket,
3634#BMB_pocket {
3635 list-style-image: url("chrome://browser/content/pocket/panels/img/pocketmenuitem16.png");
3636}
3637
319c6529 3638/* ::::: Keyboard UI Panel ::::: */
acb0e9b8 3639
319c6529
RK
3640.KUI-panel {
3641 color: #FF9F00;
3642 border-style: none;
3643 border-radius: 20px;
acb0e9b8 3644}
3645
319c6529
RK
3646.KUI-panel[level="top"] {
3647 /*background-color: rgba(27%,27%,27%,.65);*/
acb0e9b8 3648}
3649
319c6529
RK
3650/* Ctrl-Tab */
3651
3652#ctrlTab-panel {
3653 padding: 20px 10px 10px;
3654 font-weight: bold;
acb0e9b8 3655}
3656
319c6529
RK
3657.ctrlTab-favicon[src] {
3658 background-color: #000000;
3659 width: 20px;
3660 height: 20px;
3661 padding: 2px;
3662}
acb0e9b8 3663
319c6529 3664.ctrlTab-preview-inner > .tabPreview-canvas {
acb0e9b8 3665}
3666
319c6529
RK
3667.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
3668 margin-bottom: 2px;
acb0e9b8 3669}
3670
319c6529
RK
3671.ctrlTab-preview-inner {
3672 padding-bottom: 10px;
acb0e9b8 3673}
3674
319c6529
RK
3675#ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
3676 padding: 10px;
3677 background-color: #000000;
3678 border-radius: .5em;
acb0e9b8 3679}
3680
319c6529
RK
3681.ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
3682 color: white;
3683 background-color: #000000;
3684 text-shadow: none;
3685 padding: 8px;
3686 border: 2px solid #9C9CFF;
3687 border-radius: .5em;
acb0e9b8 3688}
3689
319c6529
RK
3690.ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
3691 margin: -10px -10px 0;
acb0e9b8 3692}
3693
319c6529
RK
3694#ctrlTab-showAll {
3695 margin-top: .5em;
acb0e9b8 3696}
3697
45dc7657
RK
3698/* Sync Panel */
3699
3700.sync-panel-icon {
cae267ab 3701 height:32px;
45dc7657
RK
3702 width: 32px;
3703 background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat;
3704}
3705
3706.sync-panel-inner {
3707 width: 0;
3708 padding-left: 10px;
3709}
3710
3711.sync-panel-button-box {
3712 margin-top: 1em;
3713}
3714
3715#sync-error-panel-title,
3716#sync-start-panel-title {
cae267ab 3717 font-size: 120%;
45dc7657 3718 font-weight: bold;
cae267ab 3719 margin-bottom: 5px;
45dc7657
RK
3720}
3721
3722#sync-start-panel-subtitle,
3723#sync-error-panel-subtitle {
3724 margin: 0;
3725}
3726
9abeb12c
RK
3727/* Status panel */
3728
3729.statuspanel-label {
3730 margin: 0;
3731 padding: 2px 4px;
38cfeb47 3732 background: #404000;
9abeb12c
RK
3733 border: 1px none #9C9CFF;
3734 border-top-style: solid;
3735 color: #FF9F00;
3736 text-shadow: none;
3737}
3738
3739.statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
3740.statuspanel-label:-moz-locale-dir(rtl)[mirror] {
3741 border-right-style: solid;
3742 border-top-right-radius: .3em;
3743 margin-right: 1em;
3744}
3745
3746.statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
3747.statuspanel-label:-moz-locale-dir(ltr)[mirror] {
3748 border-left-style: solid;
3749 border-top-left-radius: .3em;
3750 margin-left: 1em;
3751}
3e6e0e5c
RK
3752
3753/* HACK to abolish devily color on main content */
3754
3755#content {
3756 background-color: transparent !important;
3757}
dce90fef 3758
8ad8bf83
RK
3759#full-screen-warning-message {
3760 background-color: #000000;
3761 color: #FF9F00;
8ad8bf83
RK
3762 border-radius: 8px;
3763 margin-top: 30px;
3764 padding: 30px 50px;
3765 box-shadow: 0 0 2px #9C9CFF;
3766}
3767
3768#full-screen-warning-container[obscure-browser] {
85cfb236
RK
3769 background-color: rgba(0,0,0,0.3);
3770}
3771
3772.full-screen-description {
3773 font-size: 150%;
3774}
3775
3776#full-screen-domain-text {
3777 font-size: 300%;
8ad8bf83
RK
3778}
3779
85cfb236
RK
3780.full-screen-approval-button,
3781#full-screen-remember-decision {
3782 font-size: 120%;
8ad8bf83
RK
3783}
3784
b27cc46e
RK
3785/* === BEGIN commandline.inc.css === */
3786
a5cb6e53
RK
3787/* NOTE: THESE NEED TO STAY IN SYNC WITH LIGHT-THEME.CSS AND DARK-THEME.CSS.
3788 We are copy/pasting variables from light-theme and dark-theme,
3789 since they aren't loaded in this context (within browser.css). */
3790:root #developer-toolbar {
3791 --gcli-background-color: #000000; /* --theme-toolbar-background */
3792 --gcli-input-background: rgba(0, 0, 0, .75); /* --theme-tab-toolbar-background */
3793 --gcli-input-focused-background: #000000; /* --theme-sidebar-background */
3794 --gcli-input-color: #FF9F00; /* --theme-body-color-alt */
3795 --gcli-border-color: #9C9CFF; /* --theme-splitter-color */
3796 --selection-background: #008484; /* --theme-selection-background */
3797 --selection-color: #000000; /* --theme-selection-color */
3798}
3799
b27cc46e
RK
3800/* Developer toolbar */
3801
3802#developer-toolbar {
a5cb6e53 3803 border-top: 3px solid var(--gcli-background-color);
b27cc46e
RK
3804 border-bottom: none;
3805}
3806
3807#developer-toolbar .toolbar-holder {
3808 background-color: #8050B0;
3809 color: #FFCF00;
3810}
3811
3812#developer-toolbar .toolbar-holder {
3813 background-color: #8050B0;
3814 color: #FFCF00;
3815}
3816
3817#developer-toolbar .toolbar-startcap,
3818#developer-toolbar .toolbar-endcap{
3819 background-color: #6000CF;
3820}
3821
3822#developer-toolbar {
3823/* padding: 0;
3824 min-height: 32px; */
3825}
3826
de57e474 3827#developer-toolbar > toolbarbutton {
b27cc46e
RK
3828/* margin: 0;
3829 padding: 0 10px;
3830 width: 32px; */
3831}
3832
3833.developer-toolbar-button > image {
3834/* margin: auto 10px; */
3835}
3836
fe524e0c
RK
3837#developer-toolbar-toolbox-button > label {
3838 display: none;
3839}
3840
0bcd5587
RK
3841.developer-toolbar-button > .toolbarbutton-icon,
3842#developer-toolbar-closebutton > .toolbarbutton-icon {
3843 width: 16px;
3844 height: 16px;
3845}
3846
b27cc46e
RK
3847#developer-toolbar-toolbox-button {
3848 list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png");
3849 -moz-image-region: rect(0px, 16px, 16px, 0px);
3850}
3851
3852#developer-toolbar-toolbox-button > label {
3853 display: none;
3854}
3855
3856#developer-toolbar-toolbox-button:hover,
3857#developer-toolbar-toolbox-button:hover:active,
3858#developer-toolbar-toolbox-button[checked=true] {
3859 -moz-image-region: rect(0px, 32px, 16px, 16px);
3860}
3861
0bcd5587
RK
3862@media (min-resolution: 2dppx) {
3863 #developer-toolbar-toolbox-button {
3864 list-style-image: url("chrome://browser/skin/devtools/toggle-tools@2x.png");
3865 -moz-image-region: rect(0px, 32px, 32px, 0px);
3866 }
3867
3868 #developer-toolbar-toolbox-button:hover,
3869 #developer-toolbar-toolbox-button:hover:active,
3870 #developer-toolbar-toolbox-button[checked=true] {
3871 -moz-image-region: rect(0px, 64px, 32px, 32px);
3872 }
3873}
3874
de57e474
RK
3875#developer-toolbar-closebutton {
3876 list-style-image: url("chrome://browser/skin/devtools/close.png");
3877 -moz-image-region: rect(0px, 16px, 16px, 0px);
3878 min-width: 16px;
3879 width: 16px;
3880}
3881
3882#developer-toolbar-closebutton > .toolbarbutton-icon {
3883}
3884
3885#developer-toolbar-closebutton > .toolbarbutton-text {
3886 display: none;
3887}
3888
3889#developer-toolbar-closebutton:hover,
3890#developer-toolbar-closebutton:hover:active {
3891 -moz-image-region: rect(0px, 32px, 16px, 16px);
3892}
3893
0bcd5587
RK
3894@media (min-resolution: 2dppx) {
3895 #developer-toolbar-closebutton {
3896 list-style-image: url("chrome://browser/skin/devtools/close@2x.png");
3897 -moz-image-region: rect(0px, 32px, 32px, 0px);
3898 }
3899
3900 #developer-toolbar-closebutton:hover,
3901 #developer-toolbar-closebutton:hover:active {
3902 -moz-image-region: rect(0px, 64px, 32px, 32px);
3903 }
3904}
3905
b27cc46e
RK
3906/* GCLI */
3907
37953ab4
RK
3908html|*#gcli-tooltip-frame,
3909html|*#gcli-output-frame {
85cfb236 3910 padding: 0;
37953ab4
RK
3911 border-width: 0;
3912 background-color: transparent;
3913}
3914
3915#gcli-output,
3916#gcli-tooltip {
3917 border-width: 0;
3918 background-color: transparent;
85cfb236
RK
3919}
3920
3921.gclitoolbar-input-node,
b27cc46e 3922.gclitoolbar-complete-node {
37953ab4
RK
3923 margin: 1px 3px;
3924 -moz-box-align: center;
3925 padding-top: 0;
3926 padding-bottom: 0;
b27cc46e 3927 padding-right: 8px;
37953ab4 3928 background-color: transparent;
85cfb236
RK
3929}
3930
3931.gclitoolbar-input-node {
b27cc46e
RK
3932/* line-height: 32px;
3933 outline-style: none; */
de57e474 3934 background-repeat: no-repeat;
a5cb6e53 3935 background-color: var(--gcli-input-background);
b27cc46e
RK
3936}
3937
3938.gclitoolbar-input-node[focused="true"] {
a5cb6e53 3939 background-color: var(--gcli-input-focused-background);
37953ab4
RK
3940}
3941
0bcd5587
RK
3942.gclitoolbar-input-node::before {
3943 content: "";
3944 display: inline-block;
3945 -moz-box-ordinal-group: 0;
3946 width: 16px;
3947 height: 16px;
3948 margin: 0 2px;
3949 background-image: url("chrome://browser/skin/devtools/commandline-icon.png");
3950 background-position: 0 center;
3951 background-size: 32px 16px;
3952}
3953
3954.gclitoolbar-input-node[focused="true"]::before {
3955 background-position: -16px center;
3956}
3957
3958@media (min-resolution: 2dppx) {
3959 .gclitoolbar-input-node::before {
3960 background-image: url("chrome://browser/skin/devtools/commandline-icon@2x.png");
3961 }
3962}
3963
37953ab4
RK
3964.gclitoolbar-input-node:not([focused="true"]) {
3965 border-color: transparent;
85cfb236
RK
3966}
3967
7bc075b6 3968.gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
a5cb6e53
RK
3969 background-color: var(--selection-background);
3970 color: var(--selection-color);
7bc075b6
RK
3971}
3972
85cfb236 3973.gclitoolbar-complete-node {
37953ab4 3974 padding-left: 21px;
85cfb236
RK
3975 background-color: transparent;
3976 color: transparent;
b27cc46e
RK
3977 z-index: 100;
3978 pointer-events: none;
85cfb236
RK
3979}
3980
85cfb236
RK
3981.gcli-in-incomplete,
3982.gcli-in-error,
3983.gcli-in-ontab,
3984.gcli-in-todo,
3985.gcli-in-closebrace,
3986.gcli-in-param,
3987.gcli-in-valid {
3988 margin: 0;
3989 padding: 0;
3990}
3991
3992.gcli-in-incomplete {
3993 border-bottom: 2px dotted #8050B0;
3994}
3995
3996.gcli-in-error {
3997 border-bottom: 2px dotted #FF0000;
3998}
3999
4000.gcli-in-ontab {
4001 color: #9C9CFF;
4002}
4003
4004.gcli-in-todo {
4005 color: #795900;
4006}
4007
4008.gcli-in-closebrace {
4009 color: #8050B0;
4010}
4011
b27cc46e
RK
4012/* === END commandline.inc.css === */
4013
fe524e0c
RK
4014/* === BEGIN responsivedesign.inc.css === */
4015
37953ab4 4016/* Responsive Mode */
85cfb236 4017
7bc075b6 4018.browserContainer[responsivemode] {
0bcd5587 4019 background-color: #221500;
37953ab4
RK
4020 padding: 0 20px 20px 20px;
4021}
4022
7bc075b6 4023.browserStack[responsivemode] {
37953ab4
RK
4024 box-shadow: 0 0 7px #9C9CFF;
4025}
4026
4027.devtools-responsiveui-toolbar {
4028 background: transparent;
d2ce251d
RK
4029 /* text color is textColor from dark theme, since no theme is applied to
4030 * the responsive toolbar.
4031 */
4032 color: #FF9F00;
37953ab4
RK
4033 margin: 10px 0;
4034 padding: 0;
4035 box-shadow: none;
4036 border-bottom-width: 0;
4037}
4038
de57e474
RK
4039.devtools-responsiveui-menulist,
4040.devtools-responsiveui-toolbarbutton {
4041 -moz-box-align: center;
4042 min-width: 32px;
4043/* min-height: 22px;*/
4044/* margin: 0 3px; */
4045}
4046
1988bb88
RK
4047.devtools-responsiveui-menulist .menulist-editable-box {
4048 background-color: transparent;
4049}
4050
4051.devtools-responsiveui-menulist html|*.menulist-editable-input {
4052 color: inherit;
4053 text-align: center;
4054}
4055
4056.devtools-responsiveui-menulist html|*.menulist-editable-input::-moz-selection {
4057/* background: hsla(212,7%,57%,.35);*/
4058}
4059
0bcd5587
RK
4060.devtools-responsiveui-toolbarbutton > .toolbarbutton-icon {
4061 width: 16px;
4062 height: 16px;
4063}
4064
de57e474
RK
4065.devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button {
4066 -moz-box-orient: horizontal;
4067}
4068
4069.devtools-responsiveui-menulist:-moz-focusring,
4070.devtools-responsiveui-toolbarbutton:-moz-focusring {
4071/* outline: 1px dotted hsla(210,30%,85%,0.7);
4072 outline-offset: -4px;*/
4073}
4074
4075.devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text {
4076 display: none;
4077}
4078
4079.devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active {
4080/* border-color: hsla(210,8%,5%,.6);
4081 background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3));
4082 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); */
4083}
4084
4085.devtools-responsiveui-menulist[open=true],
4086.devtools-responsiveui-toolbarbutton[open=true],
4087.devtools-responsiveui-toolbarbutton[checked=true] {
4088/* border-color: hsla(210,8%,5%,.6) !important;
4089 background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4));
4090 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); */
4091}
4092
4093.devtools-responsiveui-toolbarbutton[checked=true] {
4094/* color: hsl(208,100%,60%); */
4095}
4096
4097.devtools-responsiveui-toolbarbutton[checked=true]:hover {
4098/* background-color: transparent !important;*/
4099}
4100
4101.devtools-responsiveui-toolbarbutton[checked=true]:hover:active {
4102/* background-color: hsla(210,8%,5%,.2) !important;*/
4103}
4104
4105.devtools-responsiveui-menulist > .menulist-label-box {
4106 text-align: center;
4107}
4108
4109.devtools-responsiveui-menulist > .menulist-dropmarker {
4110/* display: -moz-box;
4111 background-color: transparent;
0bcd5587 4112 list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg");
de57e474
RK
4113 -moz-box-align: center;
4114 border-width: 0;
4115 min-width: 16px;*/
4116}
4117
4118.devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
4119/* color: inherit;
4120 border-width: 0;
4121 -moz-border-end: 1px solid hsla(210,8%,5%,.45);
4122 box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15);*/
4123}
4124
4125.devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button {
4126/* box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15);*/
4127}
4128
4129.devtools-responsiveui-toolbarbutton[type=menu-button] {
4130/* padding: 0 1px;*/
4131 -moz-box-align: stretch;
4132}
4133
4134.devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
4135.devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
0bcd5587 4136/* list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg");
de57e474
RK
4137 -moz-box-align: center;
4138 padding: 0 3px;*/
37953ab4
RK
4139}
4140
4141.devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
4142.devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child {
fe524e0c
RK
4143 margin-left: 3px;
4144}
4145
4146.devtools-responsiveui-close {
4147 list-style-image: url("chrome://browser/skin/devtools/close.png");
4148 -moz-image-region: rect(0px,16px,16px,0px);
4149}
4150
4151.devtools-responsiveui-close:hover {
4152 -moz-image-region: rect(0px,32px,16px,16px);
4153}
4154
4155.devtools-responsiveui-rotate {
4156 list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png");
4157 -moz-image-region: rect(0px,16px,16px,0px);
4158}
4159
4160.devtools-responsiveui-rotate:hover {
4161 -moz-image-region: rect(0px,32px,16px,16px);
4162}
4163
0bcd5587
RK
4164@media (min-resolution: 2dppx) {
4165 .devtools-responsiveui-close {
4166 list-style-image: url("chrome://browser/skin/devtools/close@2x.png");
4167 }
4168
4169 .devtools-responsiveui-close:hover {
4170 -moz-image-region: rect(0px,64px,32px,32px);
4171 }
4172
4173 .devtools-responsiveui-rotate {
4174 list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate@2x.png");
4175 }
4176
4177 .devtools-responsiveui-rotate:hover {
4178 -moz-image-region: rect(0px,64px,32px,32px);
4179 }
4180}
4181
fe524e0c
RK
4182.devtools-responsiveui-touch {
4183 list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png");
4184 -moz-image-region: rect(0px,16px,16px,0px);
4185}
4186
4187.devtools-responsiveui-touch:hover,
4188.devtools-responsiveui-touch[checked],
4189.devtools-responsiveui-touch[checked]:hover {
4190 -moz-image-region: rect(0px,32px,16px,16px);
4191}
4192
0bcd5587
RK
4193@media (min-resolution: 2dppx) {
4194 .devtools-responsiveui-touch {
4195 list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch@2x.png");
4196 -moz-image-region: rect(0px,32px,32px,0px);
4197 }
4198
4199 .devtools-responsiveui-touch:hover,
4200 .devtools-responsiveui-touch[checked],
4201 .devtools-responsiveui-touch[checked]:hover {
4202 -moz-image-region: rect(0px,64px,32px,32px);
4203 }
4204}
4205
fe524e0c
RK
4206.devtools-responsiveui-screenshot {
4207 list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png");
4208 -moz-image-region: rect(0px,16px,16px,0px);
4209}
4210
4211.devtools-responsiveui-screenshot:hover {
4212 -moz-image-region: rect(0px,32px,16px,16px);
37953ab4
RK
4213}
4214
0bcd5587
RK
4215@media (min-resolution: 2dppx) {
4216 .devtools-responsiveui-screenshot {
4217 list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot@2x.png");
4218 }
4219
4220 .devtools-responsiveui-screenshot:hover {
4221 -moz-image-region: rect(0px,64px,32px,32px);
4222 }
4223}
4224
fe524e0c 4225.devtools-responsiveui-resizebarV {
37953ab4
RK
4226 width: 7px;
4227 height: 24px;
4228 cursor: ew-resize;
71a617ff 4229 transform: translate(12px, -12px);
0bcd5587 4230 background-size: cover;
37953ab4
RK
4231 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png");
4232}
4233
fe524e0c
RK
4234.devtools-responsiveui-resizebarH {
4235 width: 24px;
4236 height: 7px;
4237 cursor: ns-resize;
4238 transform: translate(-12px, 12px);
0bcd5587 4239 background-size: cover;
fe524e0c
RK
4240 background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png");
4241}
4242
37953ab4
RK
4243.devtools-responsiveui-resizehandle {
4244 width: 16px;
4245 height: 16px;
4246 cursor: se-resize;
71a617ff 4247 transform: translate(12px, 12px);
0bcd5587 4248 background-size: cover;
37953ab4 4249 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png");
8d7ef0d9 4250}
889649fd 4251
a21f2959
RK
4252/* FxOS custom mode with additional buttons and phone look'n feel */
4253
4254/* Hide devtools manual resizer */
4255.browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizehandle,
4256.browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarH,
4257.browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarV {
4258 display: none;
4259}
4260
4261/* Gives responsive mode a phone look'n feel */
4262.browserStack[responsivemode].fxos-mode {
4263 padding: 60px 15px 0;
4264
4265 border-radius: 25px / 20px;
4266 border-bottom-left-radius: 0;
4267 border-bottom-right-radius: 0;
4268 border: 1px solid #FFFFFF;
4269 border-bottom-width: 0;
4270
4271 background-color: #353535;
4272
4273 box-shadow: 0 3px 0.7px 1px #777777, 0 5px rgba(0, 0, 0, 0.4) inset;
4274
4275 background-image: linear-gradient(to right, #111 11%, #333 56%);
4276 min-width: 320px;
4277}
4278
4279.devtools-responsiveui-hardware-buttons {
4280 -moz-appearance: none;
4281 padding: 20px;
4282
4283 border: 1px solid #FFFFFF;
4284 border-bottom-left-radius: 25px;
4285 border-bottom-right-radius: 25px;
4286 border-top-width: 0;
4287
4288 box-shadow: 0 3px 0.7px 1px #777777, 0 -7px rgba(0, 0, 0, 0.4) inset;
4289
4290 background-image: linear-gradient(to right, #111 11%, #333 56%);
4291}
4292
4293.devtools-responsiveui-home-button {
4294 width: 40px;
4295 height: 30px;
4296 list-style-image: url("chrome://browser/skin/devtools/responsiveui-home.png");
4297}
4298
4299.devtools-responsiveui-sleep-button {
4300 -moz-appearance: none;
4301 /* compensate browserStack top padding */
4302 margin-top: -67px;
4303 margin-right: 10px;
4304
4305 min-width: 10px;
4306 width: 50px;
4307 height: 5px;
4308
4309 border: 1px solid #444;
4310 border-top-right-radius: 12px;
4311 border-top-left-radius: 12px;
4312 border-bottom-color: transparent;
4313
4314 background-image: linear-gradient(to top, #111 11%, #333 56%);
4315}
4316
4317.devtools-responsiveui-sleep-button:hover:active {
4318 background-image: linear-gradient(to top, #aaa 11%, #ddd 56%);
4319}
4320
4321.devtools-responsiveui-volume-buttons {
4322 margin-left: -29px;
4323}
4324
4325.devtools-responsiveui-volume-up-button,
4326.devtools-responsiveui-volume-down-button {
4327 -moz-appearance: none;
4328 border: 1px solid red;
4329 min-width: 8px;
4330 height: 40px;
4331
4332 border: 1px solid #444;
4333 border-right-color: transparent;
4334
4335 background-image: linear-gradient(to right, #111 11%, #333 56%);
4336}
4337
4338.devtools-responsiveui-volume-up-button:hover:active,
4339.devtools-responsiveui-volume-down-button:hover:active {
4340 background-image: linear-gradient(to right, #aaa 11%, #ddd 56%);
4341}
4342
4343.devtools-responsiveui-volume-up-button {
4344 border-top-left-radius: 12px;
4345}
4346
4347.devtools-responsiveui-volume-down-button {
4348 border-bottom-left-radius: 12px;
4349}
4350
0bcd5587
RK
4351@media (min-resolution: 2dppx) {
4352 .devtools-responsiveui-resizebarV {
4353 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer@2x.png");
4354 }
4355
4356 .devtools-responsiveui-resizebarH {
4357 background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer@2x.png");
4358 }
4359
4360 .devtools-responsiveui-resizehandle {
4361 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer@2x.png");
4362 }
4363}
4364
fe524e0c 4365/* === END responsivedesign.inc.css === */
fcaeefc2
RK
4366
4367/* === including indicator.css is done at the start of the file === */
fe524e0c 4368
889649fd
RK
4369/* Error counter */
4370
0142a07b 4371#developer-toolbar-toolbox-button[error-count]:before {
889649fd
RK
4372 color: #000000;
4373 min-width: 16px;
4374 text-shadow: none;
4375 background-color: #FF0000;
4376 border-radius: 1px;
c29b709d 4377 -moz-margin-end: 5px;
c54ac991 4378}
e9c73590 4379
348c0499 4380/* Social toolbar item */
e9c73590 4381
348c0499 4382#social-notification-icon-mentions {
e9c73590 4383 background-color: #000000;
348c0499
RK
4384 border-radius: 3px;
4385 -moz-margin-start: 2px;
e9c73590
RK
4386}
4387
348c0499
RK
4388#social-notification-icon-mentions:hover {
4389 background-color: #FFCF00;
4390}
4391
4392#social-notification-icon-mentions[open="true"] {
4393 background-color: #FF9F00;
e9c73590
RK
4394}
4395
4396#social-sidebar-splitter {
4397 border: 0;
4398}
4399
ed1a91c6
RK
4400#socialActivatedNotification .popup-notification-button-container {
4401 margin-left: 6px;
4402}
4403
4404.social-activation-icon {
4405 width: auto;
4406 height: auto;
4407 max-height: 64px;
4408 max-width: 64px;
4409}
4410
4411#social-activation-message {
4412 max-width: 250px;
4413}
4414
4415#social-activation-message > label {
4416 margin: 0;
4417}
4418
e9c73590 4419/* social toolbar provider menu */
990cba4b 4420.social-statusarea-popup {
e9c73590
RK
4421 margin-top: 0;
4422 margin-left: -12px;
4423 margin-right: -12px;
4424}
4425
990cba4b 4426.social-statusarea-user {
e9c73590
RK
4427 border-bottom: 1px solid #9C9CFF;
4428 background-color: #000000;
4429 color: #FF9F00;
4430 position: relative;
348c0499 4431 cursor: pointer;
e9c73590
RK
4432}
4433
990cba4b 4434.social-statusarea-user-portrait {
e9c73590
RK
4435 width: 32px;
4436 height: 32px;
4437 border-radius: 2px;
4438 margin: 10px;
e9c73590
RK
4439}
4440
990cba4b 4441.social-statusarea-loggedInStatus {
e9c73590
RK
4442 background: transparent;
4443 border: none;
b8384c33 4444 color: #3333FF;
e9c73590
RK
4445 min-width: 0;
4446 margin: 0 6px;
348c0499 4447 list-style-image: none;
e9c73590 4448}
90a244b7 4449
990cba4b 4450#social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus {
e9c73590
RK
4451 text-decoration: underline;
4452}
4453
348c0499
RK
4454.social-panel > .panel-arrowcontainer > .panel-arrowcontent {
4455 padding: 0;
4456}
4457
348c0499
RK
4458.social-panel-frame {
4459 border-radius: inherit;
4460}
e9c73590 4461
e7c8bab1
RK
4462/* === BEGIN chat.inc.css === */
4463
dfa34f73
RK
4464#social-sidebar-header {
4465 padding: 3px;
4466}
4467
20752032
RK
4468#manage-share-providers,
4469#social-sidebar-button {
4470 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
4471 -moz-image-region: rect(0, 468px, 18px, 450px);
4472}
4473
dfa34f73
RK
4474#social-sidebar-button {
4475 -moz-appearance: none;
45dc7657 4476 border: none;
dfa34f73
RK
4477 padding: 0;
4478 margin: 2px;
4479}
20752032 4480#manage-share-providers > .toolbarbutton-icon,
45dc7657 4481#social-sidebar-button > .toolbarbutton-icon {
20752032
RK
4482 min-height: 18px;
4483 min-width: 18px;
45dc7657 4484}
20752032
RK
4485#manage-share-providers:hover,
4486#manage-share-providers:hover:active,
dfa34f73
RK
4487#social-sidebar-button:hover,
4488#social-sidebar-button:hover:active {
20752032 4489 -moz-image-region: rect(18px, 468px, 36px, 450px);
dfa34f73
RK
4490}
4491#social-sidebar-button > .toolbarbutton-menu-dropmarker {
4492 display: none;
4493}
4494
4495#social-sidebar-button[loading="true"] {
4496 list-style-image: url("chrome://global/skin/icons/loading.gif");
4497}
4498
4499#social-sidebar-favico {
4500 max-height: 16px;
4501 max-width: 16px;
4502 padding: 0;
4503 margin: 2px;
4504}
4505
e9c73590
RK
4506.chat-status-icon {
4507 max-height: 16px;
4508 max-width: 16px;
4509 padding: 0;
4510}
4511
4512.chat-toolbarbutton {
4513 -moz-appearance: none;
4514 border: none;
8837ac2c 4515 padding: 0 3px;
e9c73590
RK
4516 margin: 0;
4517 background: none;
8837ac2c
RK
4518}
4519
4520.chat-toolbarbutton:hover {
4521/* background-color: rgba(255,255,255,.35);*/
4522}
4523
4524.chat-toolbarbutton:hover:active {
4525/* background-color: rgba(255,255,255,.5);*/
e9c73590
RK
4526}
4527
4528.chat-toolbarbutton > .toolbarbutton-text {
4529 display: none;
4530}
4531
b27cc46e 4532.chat-toolbarbutton > .toolbarbutton-icon {
8837ac2c
RK
4533 width: 16px;
4534 height: 16px;
e7c8bab1
RK
4535}
4536
e9c73590 4537.chat-close-button {
8837ac2c 4538 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close");
e9c73590
RK
4539}
4540
8837ac2c
RK
4541.chat-close-button:-moz-any(:hover,:hover:active) {
4542 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close-active");
e9c73590
RK
4543}
4544
e2734cc7 4545.chat-minimize-button {
8837ac2c 4546 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize");
e2734cc7
RK
4547}
4548
8837ac2c
RK
4549.chat-minimize-button:-moz-any(:hover,:hover:active) {
4550 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize-active");
e2734cc7
RK
4551}
4552
4553.chat-swap-button {
8837ac2c
RK
4554 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand");
4555 transform: rotate(180deg);
e2734cc7
RK
4556}
4557
8837ac2c
RK
4558.chat-swap-button:-moz-any(:hover,:hover:active) {
4559 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand-active");
e2734cc7
RK
4560}
4561
4562chatbar > chatbox > .chat-titlebar > .chat-swap-button {
8837ac2c 4563 transform: none;
e2734cc7
RK
4564}
4565
e9c73590
RK
4566.chat-title {
4567 font-weight: bold;
4568 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
90a244b7 4569 text-shadow: none;
348c0499 4570 cursor: inherit;
e9c73590
RK
4571}
4572
4573.chat-titlebar {
4574 background-color: #9C9CFF;
4575 color: #000000;
8837ac2c
RK
4576 height: 30px;
4577 min-height: 30px;
e9c73590
RK
4578 width: 100%;
4579 margin: 0;
8837ac2c 4580 padding: 7px 6px;
e9c73590
RK
4581 border: none;
4582 border-bottom: 1px solid #008484;
348c0499 4583 cursor: pointer;
e9c73590
RK
4584}
4585
e2734cc7
RK
4586.chat-titlebar > .notification-anchor-icon {
4587 margin-left: 2px;
4588 margin-right: 2px;
4589}
4590
e9c73590
RK
4591.chat-titlebar[minimized="true"] {
4592 border-bottom: none;
4593}
4594
348c0499
RK
4595.chat-titlebar[selected] {
4596 background-color: #008484;
4597}
4598
4599.chat-titlebar[activity] {
4600 background-color: #E7ADE7;
4601}
4602
8837ac2c
RK
4603chatbox[dark=true] > .chat-titlebar,
4604chatbox[dark=true] > .chat-titlebar[selected] {
4605/* border-bottom: none;
4606 background-color: #000;
4607 background-image: none;*/
4608}
4609
4610chatbox[dark=true] > .chat-titlebar > hbox > .chat-title {
4611/* font-weight: normal;
4612 color: #c1c1c1;*/
4613}
4614
e9c73590
RK
4615.chat-frame {
4616 padding: 0;
4617 margin: 0;
4618 overflow: hidden;
4619}
4620
4621.chatbar-button {
ed1a91c6 4622 list-style-image: url("chrome://browser/skin/social/services-16.png");
e9c73590
RK
4623 background-color: #000000;
4624 border: none;
4625 margin: 0;
4626 padding: 2px;
4627 height: 21px;
4628 width: 21px;
4629 border-top: 1px solid #008484;
4630 -moz-border-end: 1px solid #008484;
4631}
4632
ed1a91c6
RK
4633@media (min-resolution: 2dppx) {
4634 .chatbar-button {
4635 list-style-image: url("chrome://browser/skin/social/services-16@2x.png");
4636 }
4637}
4638
fe524e0c
RK
4639.chatbar-button > .toolbarbutton-icon {
4640 width: 16px;
4641}
4642
d7cfd768
RK
4643.chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
4644 width: auto;
4645 height: auto;
e9c73590
RK
4646 max-height: 16px;
4647 max-width: 16px;
e9c73590
RK
4648}
4649
90a244b7
RK
4650.chatbar-button > .toolbarbutton-icon {
4651 opacity: .6;
4652 -moz-margin-end: 0;
4653}
4654.chatbar-button:hover > .toolbarbutton-icon,
4655.chatbar-button[open="true"] > .toolbarbutton-icon {
4656 opacity: 1;
4657}
4658
a6757852 4659.chatbar-button:hover,
90a244b7 4660.chatbar-button[open="true"] {
e9c73590
RK
4661}
4662
e9c73590
RK
4663.chatbar-button > .toolbarbutton-text,
4664.chatbar-button > .toolbarbutton-menu-dropmarker {
4665 display: none;
4666}
4667
90a244b7 4668.chatbar-button[activity]:not([open="true"]) {
348c0499
RK
4669 background-color: #E7ADE7;
4670}
4671
4672.chatbar-button > menupopup > menuitem[activity] {
4673 font-weight: bold;
4674}
4675
e9c73590
RK
4676.chatbar-innerbox {
4677 background: transparent;
e9c73590
RK
4678 overflow: hidden;
4679}
4680
fcfb76ce
RK
4681chatbar {
4682 -moz-margin-end: 20px;
4683}
4684
e9c73590 4685chatbar > chatbox {
fcfb76ce
RK
4686 height: 285px;
4687 width: 260px;
4688 -moz-margin-start: 4px;
e9c73590
RK
4689 background-color: #000000;
4690 border: 1px solid #9C9CFF;
4691 border-bottom: none;
90a244b7
RK
4692 border-top-left-radius: 2.5px;
4693 border-top-right-radius: 2.5px;
e9c73590
RK
4694}
4695
fcfb76ce
RK
4696chatbox[minimized="true"] {
4697 width: 160px;
e9c73590 4698 height: 20px;
e9c73590 4699}
348c0499 4700
e2734cc7
RK
4701window > chatbox {
4702 -moz-margin-start: 0px;
4703 margin: 0px;
4704 border: none;
4705 padding: 0px;
4706}
4707
e7c8bab1
RK
4708/* === END chat.inc.css === */
4709
c0f6797e
RK
4710.chat-titlebar {
4711/* background-color: #c4cfde; */
4712}
4713
4714.chat-titlebar[selected] {
4715/* background-color: #dae3f0; */
4716}
4717
4718.chatbar-button {
4719 -moz-appearance: none;
4720/* background-color: #c4cfde; */
4721}
4722
4723.chatbar-button > .toolbarbutton-icon {
4724/* -moz-margin-end: 0; */
4725}
4726
4727.chatbar-button:hover,
4728.chatbar-button[open="true"] {
4729/* background-color: #dae3f0; */
4730}
4731
4732.chatbar-button[activity]:not([open="true"]) {
4733}
4734
4735chatbox {
4736/* border-top-left-radius: 2.5px;
4737 border-top-right-radius: 2.5px; */
4738}
4739
b27cc46e 4740/* === BEGIN plugin-doorhanger.inc.css === */
348c0499 4741
b27cc46e
RK
4742/**
4743 * Plugin Doorhanger Styles
4744 */
348c0499 4745
b27cc46e 4746#notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent {
1e32332f 4747 padding: 6px 1px 2px;
348c0499
RK
4748}
4749
348c0499 4750.click-to-play-plugins-notification-center-box {
348c0499
RK
4751}
4752
fe524e0c
RK
4753.plugin-popupnotification-centeritem:nth-child(odd) {
4754/* background-color: rgba(0,0,0,0.1);*/
348c0499
RK
4755}
4756
b27cc46e
RK
4757.center-item-label {
4758 margin-bottom: 0;
4759 text-overflow: ellipsis;
348c0499
RK
4760}
4761
b27cc46e
RK
4762.center-item-warning-icon {
4763 background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
348c0499 4764 background-repeat: no-repeat;
348c0499 4765 width: 16px;
b27cc46e
RK
4766 height: 15px;
4767 -moz-margin-start: 6px;
348c0499
RK
4768}
4769
b27cc46e 4770.click-to-play-plugins-notification-button-container {
348c0499
RK
4771}
4772
b27cc46e
RK
4773.click-to-play-popup-button {
4774 width: 50%;
348c0499
RK
4775}
4776
b27cc46e 4777.click-to-play-plugins-notification-description-box {
1e32332f
RK
4778 margin-left: 5px;
4779 margin-right: 5px;
4780 margin-top: 0;
4781 padding-bottom: 3px;
348c0499
RK
4782}
4783
b27cc46e 4784.click-to-play-plugins-outer-description {
1e32332f 4785 margin-top: 1px;
348c0499
RK
4786}
4787
b27cc46e
RK
4788.click-to-play-plugins-notification-link,
4789.center-item-link {
4790 margin: 0;
348c0499
RK
4791}
4792
2c225fcb
RK
4793.messageImage[value="plugin-hidden"] {
4794 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
4795}
4796
4797/* Keep any changes to this style in sync with pluginProblem.css */
4798notification.pluginVulnerable {
4799}
4800
4801notification.pluginVulnerable .messageImage {
4802 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
4803}
4804
b27cc46e 4805/* === END plugin-doorhanger.inc.css === */
0142a07b 4806
c066e743
RK
4807/* === BEGIN badcontent-doorhanger.inc.css === */
4808
4809.popup-notification-item-title[popupid="bad-content"] {
4810 font-weight: bold;
4811}
4812
4813.popup-notification-item-message[popupid="bad-content"] {
4814 width: 17em;
4815}
4816
8922acc9
RK
4817.popup-notification-item-message[popupid="bad-content"][mixedblockdisabled]:not(.popup-notification-item-message-critical),
4818.popup-notification-item-message[popupid="bad-content"][trackingblockdisabled]:not(.popup-notification-item-message-critical) {
4819 color: #8050B0;
4820}
4821
c066e743
RK
4822.popup-notification-item-message-critical[popupid="bad-content"] {
4823 color: #FF0000;
4824 font-style: italic;
4825}
4826
4827.popup-notification-footer[popupid="bad-content"] {
4828 padding-top: 1em;
4829}
4830
4831/* === END badcontent-doorhanger.inc.css === */
4832
d74db938
RK
4833/* === BEGIN login-doorhanger.inc.css === */
4834
2e389898
RK
4835#notification-popup[popupid="login-fill"] > .panel-arrowcontainer > .panel-arrowcontent {
4836 /* Since we display a sliding subview that extends to the border, we cannot
4837 * keep the default padding of arrow panels. We use the same padding in the
4838 * individual content views instead. Since we removed the padding, we also
4839 * have to ensure the contents are clipped to the border box. */
4840 padding: 0;
4841 overflow: hidden;
4842}
4843
4844#login-fill-mainview,
4845#login-fill-details {
4846 padding: var(--panel-arrowcontent-padding);
4847}
4848
4849#login-fill-doorhanger[inDetailView] > #login-fill-mainview {
4850 transform: translateX(-14px);
4851}
4852
4853#login-fill-mainview,
4854#login-fill-details {
4855 transition: transform 150ms;
4856}
4857
4858#login-fill-doorhanger:not([inDetailView]) > #login-fill-details {
4859 transform: translateX(105%);
4860}
4861
4862#login-fill-doorhanger:not([inDetailView]) > #login-fill-details:-moz-locale-dir(rtl) {
4863 transform: translateX(-105%);
4864}
4865
4866#login-fill-doorhanger[inDetailView] > #login-fill-clickcapturer {
4867 background-color: hsla(240,39%,100%,.1);
4868}
4869
d74db938
RK
4870#login-fill-testing {
4871 color: #FF0000;
4872 font-weight: bold;
4873}
4874
4875#login-fill-list {
4876 border: 1px solid #9C9CFF;
4877 max-height: 20em;
4878}
4879
7c0a01f2
RK
4880.login-fill-item[disabled] {
4881 color: #8050B0;
4882 background-color: #000000;
4883}
4884
4885.login-fill-item[disabled][selected] {
4886 background-color: #008484;
4887}
4888
d74db938
RK
4889.login-hostname {
4890 margin: 4px;
4891 font-weight: bold;
4892}
4893
7c0a01f2
RK
4894.login-fill-item.different-hostname > .login-hostname {
4895 color: #A09090;
4896 font-style: italic;
4897}
4898
d74db938
RK
4899.login-username {
4900 margin: 4px;
4901 color: #A09090;
4902}
4903
2e389898
RK
4904#login-fill-details {
4905 padding: 4px;
4906 background: var(--panel-arrowcontent-background);
4907 color: var(--panel-arrowcontent-color);
4908 background-clip: padding-box;
4909 border-left: 1px solid #9C9CFF;
4910 -moz-margin-start: 38px;
4911}
4912
d74db938
RK
4913/* === END login-doorhanger.inc.css === */
4914
43cc2806
RK
4915/* === BEGIN customizeMode.inc.css === */
4916
4917/* Customization mode */
e28f3f71 4918
5401f433
RK
4919#main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox {
4920 margin-bottom: 1em;
e28f3f71
RK
4921}
4922
5401f433
RK
4923#main-window:-moz-any([customize-entering],[customize-entered]) #content-deck,
4924#main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
e28f3f71
RK
4925#main-window:-moz-any([customize-entering],[customize-entered]) #navigator-toolbox {
4926 margin-left: 1em;
4927 margin-right: 1em;
43cc2806
RK
4928}
4929
e28f3f71
RK
4930#main-window:-moz-any([customize-entering],[customize-exiting]) #tab-view-deck {
4931 pointer-events: none;
4932}
4933
4934#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
43cc2806 4935#PanelUI-contents > .panel-customization-placeholder {
e28f3f71 4936 -moz-outline-radius: 2.5px;
43cc2806
RK
4937 outline: 1px dashed transparent;
4938}
4939
e28f3f71
RK
4940#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before {
4941 /* Prevent jumping of tabs when switching a window between inactive and active (bug 853415). */
4942 -moz-box-ordinal-group: 0;
4943 content: "";
4944 display: -moz-box;
4945 height: 100%;
4946 left: 0;
4947 outline-offset: -2px;
4948 pointer-events: none;
4949 position: absolute;
4950 top: 0;
4951 width: 100%;
4952}
4953
4954/* Shift the TabsToolbar outline up 2px since the #nav-bar is shifted up by 1px and the
4955 #TabsToolbar::after is a pixel higher to draw the bottom border of the tabstrip so this makes the
4956 offset from the bottom effectively the same as other targets (-2px). */
4957#main-window[customize-entered] #TabsToolbar.customization-target::before {
e20c83c3 4958/* top: -2px;*/
e28f3f71
RK
4959}
4960
4961/* The parents of the outline pseudo-elements need to be positioned so that the outline is positioned relative to it. */
4962#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover,
4963#main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)),
4964#main-window[customize-entered] #nav-bar-customization-target.customization-target {
4965 position: relative;
4966}
4967
4968/* Most target outlines are shown on hover and drag over but the panel menu uses
4969 placeholders instead. */
4970#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover::before,
4971#main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
4972/* nav-bar and panel outlines are always shown */
4973#nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
4974 outline-color: #A09090;
4975}
4976
4977#nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
4978 transition: outline-color 250ms linear;
4979}
4980
4981#PanelUI-contents[showoutline=true] > .panel-customization-placeholder {
4982 transition: outline-color 250ms linear;
43cc2806
RK
4983 outline-color: #9C9CFF;
4984}
4985
4986#PanelUI-contents > .panel-customization-placeholder {
4987 cursor: auto;
4988 outline-offset: -5px;
4989}
4990
e28f3f71 4991#main-window[customizing] .customization-target:not(#PanelUI-contents) {
43cc2806 4992 min-width: 100px;
e20c83c3
RK
4993/* padding-left: 10px;
4994 padding-right: 10px;*/
4995}
4996
4997#main-window:-moz-any([customize-entering],[customize-entered]) #tab-view-deck {
4998 padding: 0 2em 2em;
43cc2806
RK
4999}
5000
5001#customization-container {
5002 background-color: #000000;
93c91f62 5003 color: #FF9F00;
43cc2806
RK
5004}
5005
e28f3f71
RK
5006#customization-palette,
5007#customization-empty {
5008 padding: 0 15px 15px;
43cc2806
RK
5009}
5010
5011#customization-header {
cac2a998
RK
5012 font-size: 1.75em;
5013 line-height: 1.75em;
43cc2806 5014 color: #9C9CFF;
cac2a998
RK
5015 font-weight: 200;
5016 margin: 25px 25px 12px;
5017 padding-bottom: 12px;
5018 border-bottom: 1px solid #A09090;
43cc2806
RK
5019}
5020
5021#customization-panel-container {
e28f3f71
RK
5022 padding: 10px 10px 0px;
5023}
5024
5401f433 5025#main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
e28f3f71
RK
5026#customization-footer {
5027 /*background-color: rgb(236,236,236);*/
5401f433
RK
5028}
5029
5030#customization-footer {
e28f3f71 5031 border-top: 1px solid #9C9CFF;
93c91f62 5032 padding: 10px;
e28f3f71
RK
5033}
5034
5035.customizationmode-button {
93c91f62 5036 margin: 5px;
e28f3f71
RK
5037}
5038
5039.customizationmode-button:hover {
5040}
5041
e548e22e
RK
5042#customization-titlebar-visibility-button[checked],
5043#customization-devedition-theme-button[checked] {
5044 background-color: #008484;
5045}
5046
5047#customization-titlebar-visibility-button[checked]:hover,
5048#customization-devedition-theme-button[checked]:hover {
5049 background-color: #FFCF00;
5050}
5051
5052#customization-titlebar-visibility-button[checked]:hover:active,
5053#customization-devedition-theme-button[checked]:hover:active {
5054 background-color: #FF9F00;
5055}
5056
e28f3f71
RK
5057.customizationmode-button[disabled="true"] {
5058}
5059
93c91f62
RK
5060.customizationmode-button > .box-inherit > .box-inherit > .button-icon,
5061.customizationmode-button > .button-box > .button-icon {
5062/* height: 24px;*/
5063}
5064
e28f3f71
RK
5065#customization-titlebar-visibility-button {
5066 list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png");
b7f3670c 5067 -moz-image-region: rect(0, 16px, 16px, 0);
e28f3f71
RK
5068}
5069
b7f3670c
RK
5070#customization-titlebar-visibility-button:hover {
5071 -moz-image-region: rect(16px, 16px, 32px, 0);
5072}
5073
ae90b726
RK
5074#customization-lwtheme-button,
5075#customization-titlebar-visibility-button {
5076 padding: 0px 5px;
5077}
5078
b7f3670c
RK
5079#customization-titlebar-visibility-button > .button-box {
5080 padding-top: 0;
5081 padding-bottom: 1px;
5082}
5083
5084#customization-titlebar-visibility-button:hover:active > .button-box {
5085 padding-top: 1px;
5086 padding-bottom: 0;
5087}
5088
ae90b726 5089#customization-lwtheme-button > .box-inherit > .box-inherit > .button-text,
e28f3f71
RK
5090#customization-titlebar-visibility-button > .button-box > .button-text {
5091 /* Sadly, button.css thinks its margins are perfect for everyone. */
b7f3670c 5092 -moz-margin-start: 5px !important;
e28f3f71
RK
5093}
5094
05148fed
RK
5095#customization-lwtheme-button > .box-inherit > .box-inherit > .button-icon {
5096 width: 20px;
5097 height: 20px;
5098 border-radius: 2px;
5099 background-size: contain;
5100}
5101
93c91f62
RK
5102#customization-titlebar-visibility-button > .button-box > .button-icon {
5103 vertical-align: middle;
5104}
5105
e28f3f71 5106#customization-titlebar-visibility-button[checked] {
b7f3670c 5107 -moz-image-region: rect(0, 32px, 16px, 16px);
e28f3f71
RK
5108 background-color: #008484;
5109}
5110
b7f3670c
RK
5111#customization-titlebar-visibility-button[checked]:hover {
5112 -moz-image-region: rect(16px, 32px, 32px, 16px);
5113 background-color: #FFCF00;
5114}
5115
5116#customization-titlebar-visibility-button[checked]:hover:active {
5117 background-color: #FF9F00;
5118}
5119
2e389898
RK
5120@media (min-resolution: 1.1dppx) {
5121 #customization-titlebar-visibility-button {
5122 list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle@2x.png");
5123 -moz-image-region: rect(0, 48px, 48px, 0);
5124 }
5125
5126 #customization-titlebar-visibility-button:hover {
5127 -moz-image-region: rect(48px, 48px, 96px, 0);
5128 }
5129
5130 #customization-titlebar-visibility-button[checked] {
5131 -moz-image-region: rect(0, 96px, 48px, 48px);
5132 }
5133
5134 #customization-titlebar-visibility-button[checked]:hover {
5135 -moz-image-region: rect(48px, 96px, 96px, 48px);
5136 }
5137}
5138
e28f3f71 5139#main-window[customize-entered] #customization-panel-container {
43cc2806
RK
5140 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5141 background-position: left top;
5142 background-repeat: repeat;
5143 background-size: auto;
5144 background-attachment: fixed;
5145}
5146
e28f3f71
RK
5147toolbarpaletteitem[place="toolbar"] {
5148 transition: border-width 250ms ease-in-out;
43cc2806
RK
5149}
5150
5151toolbarpaletteitem[mousedown] {
5152 outline: 1px solid #008484;
5153 cursor: -moz-grabbing;
5154 opacity: 0.8;
5155}
5156
5157.panel-customization-placeholder,
5158toolbarpaletteitem[place="palette"],
5159toolbarpaletteitem[place="panel"] {
e28f3f71
RK
5160 transition: transform .3s ease-in-out;
5161}
5162
5163#customization-palette {
5164 transition: opacity .3s ease-in-out;
5165 opacity: 0;
43cc2806
RK
5166}
5167
e28f3f71
RK
5168#customization-palette[showing="true"] {
5169 opacity: 1;
5170}
5171
5172toolbarpaletteitem[notransition].panel-customization-placeholder,
5173toolbarpaletteitem[notransition][place="toolbar"],
43cc2806
RK
5174toolbarpaletteitem[notransition][place="palette"],
5175toolbarpaletteitem[notransition][place="panel"] {
e28f3f71 5176 transition: none;
43cc2806
RK
5177}
5178
e28f3f71 5179toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon,
d0e580f1 5180toolbarpaletteitem > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon,
e28f3f71
RK
5181toolbarpaletteitem > toolbaritem.panel-wide-item,
5182toolbarpaletteitem > toolbarbutton[type="menu-button"] {
5183 transition: transform .3s cubic-bezier(.6, 2, .75, 1.5) !important;
43cc2806
RK
5184}
5185
d0e580f1
RK
5186toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon,
5187toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon {
e28f3f71
RK
5188 transform: scale(1.3);
5189}
5190
5191toolbarpaletteitem[mousedown] > toolbaritem.panel-wide-item,
5192toolbarpaletteitem[mousedown] > toolbarbutton[type="menu-button"] {
43cc2806
RK
5193 transform: scale(1.1);
5194}
5195
5196/* Override the toolkit styling for items being dragged over. */
5197toolbarpaletteitem[place="toolbar"] {
5198 border-left-width: 0;
5199 border-right-width: 0;
5200 margin-right: 0;
5201 margin-left: 0;
5202}
5203
5204#customization-palette:not([hidden]) {
5205 margin-bottom: 25px;
5206}
5207
43cc2806
RK
5208#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
5209#wrapper-edit-controls[place="palette"] > #edit-controls > separator,
e28f3f71
RK
5210#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton,
5211#wrapper-zoom-controls[place="palette"] > #zoom-controls > separator {
5212 margin-top: 20px;
43cc2806
RK
5213}
5214
5215#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
c0f6797e 5216#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton {
43cc2806
RK
5217 margin-left: 0;
5218 margin-right: 0;
e28f3f71
RK
5219 max-width: 24px;
5220 min-width: 24px;
43cc2806 5221 max-height: 24px;
5401f433 5222 min-height: 24px;
e28f3f71 5223 padding: 4px;
43cc2806
RK
5224}
5225
e28f3f71
RK
5226#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon,
5227#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon {
5228 width: 16px;
43cc2806
RK
5229}
5230
e28f3f71
RK
5231#wrapper-edit-controls > #edit-controls > toolbarbutton > .toolbarbutton-icon {
5232 opacity: 1; /* To ensure these buttons always look enabled in customize mode */
5233}
5234
c0f6797e
RK
5235#wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button,
5236#wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button + separator {
e28f3f71
RK
5237 display: none;
5238}
5239
5240#wrapper-personal-bookmarks:not([place="toolbar"]) > #personal-bookmarks {
5241 -moz-box-pack: center;
5242 min-height: 48px;
43cc2806
RK
5243}
5244
20752032
RK
5245#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
5246 -moz-margin-end: 5px;
5247}
5248
43cc2806
RK
5249#customization-palette > toolbarpaletteitem > label {
5250 text-align: center;
5251 margin-left: 0;
5252 margin-right: 0;
5253}
5254
cac2a998
RK
5255#customization-lwtheme-menu > .panel-arrowcontainer > .panel-arrowcontent {
5256 -moz-box-orient: vertical;
5257 /* Make the panel padding uniform across all platforms due to the
5258 styling of the section headers and footer. */
5259 padding: 10px;
5260}
5261
5262.customization-lwtheme-menu-theme > .toolbarbutton-icon {
5263 width: 32px;
5264 height: 32px;
5265}
5266
5267.customization-lwtheme-menu-theme {
5268 -moz-appearance: none;
5269 margin: 0 -5px 5px;
5270 padding-top: 0;
5271 -moz-padding-end: 5px;
5272 padding-bottom: 0;
5273 -moz-padding-start: 0;
5274}
5275
8837ac2c
RK
5276.customization-lwtheme-menu-theme[defaulttheme] {
5277 list-style-image: url(chrome://browser/skin/Fxtheme-switcher-icon.png);
5278}
5279
cac2a998
RK
5280.customization-lwtheme-menu-theme[active="true"] {
5281 background-color: #008484;
5282}
5283
5284.customization-lwtheme-menu-theme > .toolbarbutton-icon {
5285 margin: 5px;
5286}
5287
5288.customization-lwtheme-menu-theme > .toolbarbutton-text {
5289 text-align: start;
5290}
5291
5292#customization-lwtheme-menu-header,
5293#customization-lwtheme-menu-recommended {
5294 padding: 10px;
5295 margin-bottom: 5px;
5296}
5297
5298#customization-lwtheme-menu-header,
5299#customization-lwtheme-menu-recommended,
5300#customization-lwtheme-menu-footer {
5301 background-color: #A09090;
5302 color: #000000;
5303 margin-right: -10px;
5304 margin-left: -10px;
5305}
5306
5307#customization-lwtheme-menu-header {
5308 margin-top: -10px;
5309 border-top-right-radius: 3px;
5310 border-top-left-radius: 3px;
5311}
5312
5313#customization-lwtheme-menu-recommended {
5314}
5315
5316#customization-lwtheme-menu-footer {
5317 margin-bottom: -10px;
5318 border-bottom-right-radius: 3px;
5319 border-bottom-left-radius: 3px;
5320}
5321
5322.customization-lwtheme-menu-footeritem {
5323 -moz-appearance: none;
5324 -moz-box-flex: 1;
5325 background-color: #C09070;
5326 color: #000000;
5327 border: 1px solid transparent;
5328 padding: 10px;
5329 margin-left: 0;
5330 margin-right: 0;
5331}
5332
5333.customization-lwtheme-menu-footeritem:hover {
5334 background-color: #FFCF00;
5335}
5336
8837ac2c 5337.customization-lwtheme-menu-footeritem:first-child {
cac2a998
RK
5338}
5339
43cc2806
RK
5340/* === END customizeMode.inc.css === */
5341
e28f3f71
RK
5342/* === BEGIN customizeTip.inc.css === */
5343
5344#customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent {
5345 padding: 0;
5346 margin: 0;
5347 min-width: 400px;
5348 max-width: 1000px;
5349 min-height: 200px;
5350 border-radius: 3px;
5351/* background-image: linear-gradient(90deg, #a0dfff 0%, #ceeeff 100%);*/
5352 border: 1px solid #9C9CFF;
d1e87ec1 5353 color: #FF9F00;
e28f3f71
RK
5354}
5355
5356#customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent:-moz-locale-dir(rtl) {
5357/* background-image: linear-gradient(90deg, #ceeeff 0%, #a0dfff 100%);*/
5358}
5359
5360.customization-tipPanel-infoBox {
5361 margin: 20px 25px 25px;
5362 width: 25px;
5363 background-image: url("chrome://browser/skin/customizableui/info-icon-customizeTip.png");
5364 background-repeat: no-repeat;
5365}
5366
5367.customization-tipPanel-content {
5368 margin: 25px 0;
5369 font-size: 12px;
5370 line-height: 18px;
5371}
5372
5373.customization-tipPanel-em {
5374 margin: 0;
5375 font-weight: bold;
5376}
5377
5378.customization-tipPanel-contentImage {
5379 margin-top: 25px;
5380 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration.png");
5381 min-width: 300px;
5382 max-width: 300px;
5383 min-height: 190px;
5384 max-height: 190px;
5385 display: -moz-box;
5386}
5387
5388.customization-tipPanel-contentImage:-moz-locale-dir(rtl) {
5389 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration-rtl.png");
5390}
5391
5392.customization-tipPanel-link {
5393 -moz-appearance: none;
5394 background: transparent;
5395 border: none;
5396 box-shadow: none;
5397 color: #3333FF;
5398 margin: 0;
5399 cursor: pointer;
5400}
5401
5402.customization-tipPanel-link > .button-box > .button-text {
5403 margin: 0 !important;
5404}
5405
5406.customization-tipPanel-closeBox > .close-icon {
5407 -moz-appearance: none;
5408 border: 0;
5409 -moz-margin-end: -25px;
5410}
5411
5412#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"],
5413#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
5414 list-style-image: url("chrome://browser/skin/customizableui/panelarrow-customizeTip.png");
5415}
5416
5417/* === END customizeTip.inc.css === */
5418
c0f6797e
RK
5419/**
5420 * This next rule is a hack to disable subpixel anti-aliasing on all
5421 * labels during the customize mode transition. Subpixel anti-aliasing
5422 * on Windows with Direct2D layers acceleration is particularly slow to
5423 * paint, so this hack is how we sidestep that performance bottleneck.
5424 */
5425#main-window:-moz-any([customize-entering],[customize-exiting]) label {
5426 transform: perspective(0.01px);
5427}
5428
93c91f62 5429#main-window[customize-entered] > #tab-view-deck {
43cc2806
RK
5430 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5431 background-attachment: fixed;
5432}
5433
93c91f62
RK
5434#main-window[customization-lwtheme] > #tab-view-deck:-moz-lwtheme {
5435 background-repeat: no-repeat;
5436 background-position: right top;
5437 background-attachment: fixed;
5438 /* The image will get set from CustomizeMode.jsm */
5439 background-image: none;
5440 background-color: transparent;
5441}
5442
5443#main-window[customization-lwtheme]:-moz-lwtheme {
5444 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5445 background-repeat: repeat;
5446 background-attachment: fixed;
5447 background-position: left top;
5448}
5449
5401f433
RK
5450#main-window[customize-entered] #browser-bottombox,
5451#main-window[customize-entered] #customization-container {
43cc2806
RK
5452 border-left: 1px solid #9C9CFF;
5453 border-right: 1px solid #9C9CFF;
5454 background-clip: padding-box;
5455}
5456
5401f433
RK
5457#main-window[customize-entered] #browser-bottombox {
5458 border-bottom: 1px solid #9C9CFF;
5459}
5460
e20c83c3
RK
5461#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"] {
5462 margin-right: -2px;
5463}
5464
5465#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
5466 margin-left: -2px;
5467}
5468
5469/* End customization mode */
5470
51994fad
RK
5471/* Private browsing indicators */
5472
5473/**
5474 * Currently, we have two places where we put private browsing indicators on
5475 * Windows. When tabsintitlebar is enabled, we draw the indicator in the titlebar.
5476 * When tabsintitlebar is disabled, we draw the indicator at the end of the
5477 * tabstrip. The titlebar indicator is the fiddliest of the bunch, since we
5478 * want the bottom border of the image to line up with the bottom of the window
5479 * caption buttons. That's why there's so much special-casing going on in here.
5480 */
5481.private-browsing-indicator {
5482 display: none;
5483 pointer-events: none;
e20c83c3
RK
5484}
5485
51994fad
RK
5486#private-browsing-indicator-titlebar {
5487 display: block;
5488 position: absolute;
e20c83c3
RK
5489}
5490
51994fad
RK
5491#main-window[privatebrowsingmode=temporary][tabsintitlebar] #private-browsing-indicator-titlebar > .private-browsing-indicator {
5492 display: block;
e20c83c3
RK
5493}
5494
51994fad
RK
5495#main-window[privatebrowsingmode=temporary]:-moz-any([inFullscreen],:not([tabsintitlebar])) #TabsToolbar > .private-browsing-indicator {
5496 display: -moz-box;
5497}
5498
5499#TabsToolbar > .private-browsing-indicator {
5500 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") no-repeat center -3px;
5501 -moz-margin-start: 4px;
5502 width: 48px;
5503}
5504
5505/* Bug 1008183: We're intentionally using the titlebar asset here for fullscreen
5506 * mode, since the tabstrip "mimics" the titlebar in that case with its own
5507 * min/max/close window buttons.
5508 */
5509#private-browsing-indicator-titlebar > .private-browsing-indicator,
5510#main-window[inFullscreen] #TabsToolbar > .private-browsing-indicator {
5511 background: url("chrome://browser/skin/privatebrowsing-mask-titlebar.png") no-repeat center 0px;
5512 -moz-margin-end: 4px;
43cc2806 5513 width: 40px;
51994fad
RK
5514 height: 20px;
5515 position: relative;
43cc2806
RK
5516}
5517
51994fad
RK
5518/* This one is for Linux */
5519#main-window[privatebrowsingmode=temporary] #private-browsing-indicator {
5520 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") center no-repeat;
5521 width: 48px;
5522}
5523
5524/* End private browsing indicators */
5525
43cc2806
RK
5526/* === BEGIN UITour.inc.css === */
5527
5528/* UI Tour */
5529
2a8b2b48
RK
5530#UITourHighlightContainer {
5531 -moz-appearance: none;
5532 border: none;
5533 background-color: transparent;
5534 /* This is a buffer to compensate for the movement in the "wobble" effect */
5535 padding: 4px;
5536}
5537
5538#UITourHighlight {
5539 background-image: radial-gradient(50% 100%, rgba(0,132,132,0.4) 50%, rgba(0,132,132,0.6) 100%);
5540 border-radius: 40px;
5541 border: 1px solid #9C9CFF;
5542 /* The box-shadow opacity needs to be < 0.5 so it doesn't appear at 100% opacity
5543 on Linux without an X compositor where opacity is either 0 or 1. */
5544 box-shadow: 0 0 3px 0 rgba(0,0,0,0.49);
43cc2806
RK
5545 min-height: 32px;
5546 min-width: 32px;
1bf116f8
RK
5547}
5548
2a8b2b48
RK
5549#UITourTooltipBody {
5550 -moz-margin-end: 14px;
5551}
5552
5553#UITourTooltipBody > vbox {
5554 padding-top: 4px;
43cc2806
RK
5555}
5556
2a8b2b48
RK
5557#UITourTooltipIconContainer {
5558 -moz-margin-start: -16px;
5559}
5560
5561#UITourTooltipIcon {
5562 width: 48px;
5563 height: 48px;
5564 -moz-margin-start: 28px;
5565 -moz-margin-end: 28px;
5566}
5567
5568#UITourTooltipTitle,
5569#UITourTooltipDescription {
5570 max-width: 20rem;
43cc2806
RK
5571}
5572
5573#UITourTooltipTitle {
2a8b2b48 5574 font-size: 1.45rem;
43cc2806 5575 font-weight: bold;
2a8b2b48
RK
5576 -moz-margin-start: 0;
5577 -moz-margin-end: 0;
5578 margin: 0 0 9px 0;
43cc2806
RK
5579}
5580
5581#UITourTooltipDescription {
2a8b2b48
RK
5582 -moz-margin-start: 0;
5583 -moz-margin-end: 0;
5584 font-size: 1.15rem;
5585 line-height: 1.8rem;
5586 margin-bottom: 0; /* Override global.css */
5587}
5588
5589#UITourTooltipClose {
5590 -moz-appearance: none;
5591 border: none;
5592 background-color: transparent;
5593 min-width: 0;
5594 -moz-margin-start: 4px;
5595 margin-top: -2px;
5596}
5597
5598#UITourTooltipClose > .toolbarbutton-text {
5599 display: none;
5600}
5601
5602#UITourTooltipButtons {
5603 -moz-box-pack: end;
5604 background-color: rgba(0,0,0,.2);
5605 border-top: 1px solid rgba(0,0,0,.4);
5606 margin: 24px -16px -16px;
5607 padding: 2em 15px;
5608}
5609
5610#UITourTooltipButtons > button {
5611 margin: 0 15px;
5612}
5613
5614#UITourTooltipButtons > button:first-child {
5615 -moz-margin-start: 0;
5616}
5617
5618#UITourTooltipButtons > button[image] > .button-box > .button-icon {
5619 width: 16px;
5620 height: 16px;
5621 -moz-margin-end: 5px;
5622}
5623
5624#UITourTooltipButtons > button .button-text {
5625 font-size: 1.15rem;
5626}
5627
5628#UITourTooltipButtons > button:not(.button-link) {
5629 -moz-appearance: none;
5630 background-color: #C09070;
5631 border-radius: 3000px;
5632 border: none;
5633 color: #000000;
5634 padding: 4px 30px;
5635 transition-property: background-color, color;
5636 transition-duration: 150ms;
5637}
5638
5639#UITourTooltipButtons > button:not(.button-link):not(:active):hover {
5640 background-color: #FFCF00;
5641 color: #000000;
5642}
5643
5644#UITourTooltipButtons > button.button-link {
5645 -moz-appearance: none;
5646 background: transparent;
5647 border: none;
5648 box-shadow: none;
5649 color: rgba(0,0,0,0.35);
5650 padding-left: 10px;
5651 padding-right: 10px;
5652}
5653
5654#UITourTooltipButtons > button.button-link:hover {
5655 color: black;
5656}
5657
5658/* The primary button gets the same color as the customize button. */
5659#UITourTooltipButtons > button.button-primary {
5660 background-color: #A06060; /* LCARS default button background color */
5661 color: #000000;
5662 padding-left: 30px;
5663 padding-right: 30px;
5664}
5665
5666#UITourTooltipButtons > button.button-primary:not(:active):hover {
5667 background-color: #FFCF00;
5668 color: #000000;
43cc2806
RK
5669}
5670
20752032
RK
5671/* Notification overrides for Heartbeat UI */
5672
5673notification.heartbeat {
5674 background-color: #A09090;
0ef54c72 5675/* height: 40px;*/
20752032
RK
5676}
5677
5678@keyframes pulse-onshow {
5679 0% {
5680 opacity: 0;
5681 transform: scale(1.0);
5682 }
5683 25% {
5684 opacity: 1;
5685 transform: scale(1.1);
5686 }
5687 50% {
5688 transform: scale(1.0);
5689 }
5690 75% {
5691 transform: scale(1.1);
5692 }
5693 100% {
5694 transform: scale(1.0);
5695 }
5696}
5697
5698@keyframes pulse-twice {
5699 0% {
5700 transform: scale(1.1);
5701 }
5702 50% {
5703 transform: scale(0.8);
5704 }
5705 100% {
5706 transform: scale(1);
5707 }
5708}
5709
5710.messageText.heartbeat {
5711 color: #000000;
0ef54c72
RK
5712/* text-shadow: none; */
5713 -moz-margin-start: 0px;
20752032
RK
5714}
5715
5716.messageImage.heartbeat {
0ef54c72
RK
5717 width: 24px;
5718 height: 24px;
5719 -moz-margin-start: 8px;
5720 -moz-margin-end: 8px;
20752032
RK
5721}
5722
5723.messageImage.heartbeat.pulse-onshow {
5724 animation-name: pulse-onshow;
5725 animation-duration: 1.5s;
5726 animation-iteration-count: 1;
5727 animation-timing-function: cubic-bezier(.7,1.8,.9,1.1);
5728}
5729
5730.messageImage.heartbeat.pulse-twice {
5731 animation-name: pulse-twice;
5732 animation-duration: 1s;
5733 animation-iteration-count: 2;
5734 animation-timing-function: linear;
5735}
5736
0ef54c72
RK
5737/* Learn More link styles */
5738.heartbeat > .text-link {
5739 color: #3333FF;
5740 -moz-margin-start: 0px;
5741}
5742
5743.heartbeat > .text-link:hover {
5744 color: #9C9CFF;
5745 text-decoration: none;
5746}
5747
5748.heartbeat > .text-link:hover:active {
5749 color: #FF9F00;
5750}
5751
20752032
RK
5752/* Heartbeat UI Rating Star Classes */
5753.heartbeat > #star-rating-container {
5754 display: -moz-box;
0ef54c72 5755/* margin-bottom: 4px;*/
20752032
RK
5756}
5757
5758.heartbeat > #star-rating-container > #star5 {
5759 -moz-box-ordinal-group: 5;
5760}
5761
5762.heartbeat > #star-rating-container > #star4 {
5763 -moz-box-ordinal-group: 4;
5764}
5765
5766.heartbeat > #star-rating-container > #star3 {
5767 -moz-box-ordinal-group: 3;
5768}
5769
5770.heartbeat > #star-rating-container > #star2 {
5771 -moz-box-ordinal-group: 2;
5772}
5773
5774.heartbeat > #star-rating-container > .star-x {
5775 background: url("chrome://browser/skin/heartbeat-star-off.svg");
5776 cursor: pointer;
0ef54c72
RK
5777 /* Overrides the -moz-margin-end for all platforms defined in the .plain class */
5778 -moz-margin-end: 4px !important;
5779 width: 16px;
5780 height: 16px;
20752032
RK
5781}
5782
5783.heartbeat > #star-rating-container > .star-x:hover,
5784.heartbeat > #star-rating-container > .star-x:hover ~ .star-x {
5785 background: url("chrome://browser/skin/heartbeat-star-lit.svg");
20752032
RK
5786}
5787
43cc2806 5788/* === END UITour.inc.css === */
c0f6797e
RK
5789
5790#UITourTooltipButtons {
5791 margin: 24px -4px -4px;
5792}
fff8097b
RK
5793
5794/* === BEGIN contextmenu.inc.css === */
5795
5796menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left {
5797}
5798
5799#context-navigation > .menuitem-iconic {
5800 -moz-box-flex: 1;
5801 -moz-box-pack: center;
5802 -moz-box-align: center;
5803}
5804
5805#context-navigation > .menuitem-iconic[disabled="true"] {
5806 background-color: transparent;
5807}
5808
5809#context-navigation > .menuitem-iconic > .menu-iconic-left {
5810 -moz-appearance: none;
5811}
5812
93c91f62
RK
5813#context-back > .menu-iconic-left {
5814 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back"); */
fff8097b
RK
5815 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5816 -moz-image-region: rect(0, 54px, 18px, 36px);
5817}
5818
93c91f62
RK
5819#context-back:not([disabled="true"]):hover > .menu-iconic-left {
5820 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-active"); */
fff8097b
RK
5821 -moz-image-region: rect(18px, 54px, 36px, 36px);
5822}
5823
93c91f62
RK
5824#context-back[disabled="true"] > .menu-iconic-left {
5825 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-disabled"); */
fff8097b
RK
5826 -moz-image-region: rect(36px, 54px, 54px, 36px);
5827}
5828
93c91f62
RK
5829#context-forward > .menu-iconic-left {
5830 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward"); */
fff8097b
RK
5831 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5832 -moz-image-region: rect(0, 72px, 18px, 54px);
5833}
5834
93c91f62
RK
5835#context-forward:not([disabled="true"]):hover > .menu-iconic-left {
5836 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-active"); */
fff8097b
RK
5837 -moz-image-region: rect(18px, 72px, 36px, 54px);
5838}
5839
93c91f62
RK
5840#context-forward[disabled="true"] > .menu-iconic-left {
5841 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-disabled"); */
fff8097b
RK
5842 -moz-image-region: rect(36px, 72px, 54px, 54px);
5843}
5844
93c91f62
RK
5845#context-reload > .menu-iconic-left {
5846 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload"); */
52d7b436 5847 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
fff8097b
RK
5848 -moz-image-region: rect(0, 14px, 14px, 0);
5849}
5850
93c91f62
RK
5851#context-reload:not([disabled="true"]):hover > .menu-iconic-left {
5852 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-active"); */
fff8097b
RK
5853 -moz-image-region: rect(14px, 14px, 28px, 0);
5854}
5855
93c91f62
RK
5856#context-reload[disabled="true"] > .menu-iconic-left {
5857 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-disabled"); */
fff8097b
RK
5858 -moz-image-region: rect(28px, 14px, 42px, 0);
5859}
5860
93c91f62
RK
5861#context-stop > .menu-iconic-left {
5862 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop"); */
52d7b436 5863 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
fff8097b
RK
5864 -moz-image-region: rect(0, 28px, 14px, 14px);
5865}
5866
93c91f62
RK
5867#context-stop:not([disabled="true"]):hover > .menu-iconic-left {
5868 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-active"); */
fff8097b
RK
5869 -moz-image-region: rect(14px, 28px, 28px, 14px);
5870}
5871
93c91f62
RK
5872#context-stop[disabled="true"] > .menu-iconic-left {
5873 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-disabled"); */
fff8097b
RK
5874 -moz-image-region: rect(28px, 28px, 42px, 14px);
5875}
5876
93c91f62
RK
5877#context-bookmarkpage > .menu-iconic-left {
5878 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark"); */
fff8097b
RK
5879 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5880 -moz-image-region: rect(0, 144px, 18px, 126px);
5881}
5882
93c91f62
RK
5883#context-bookmarkpage:not([disabled="true"]):hover > .menu-iconic-left {
5884 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-active"); */
fff8097b
RK
5885 -moz-image-region: rect(18px, 144px, 36px, 126px);
5886}
5887
93c91f62
RK
5888#context-bookmarkpage[disabled="true"] > .menu-iconic-left {
5889 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-disabled"); */
fff8097b
RK
5890 -moz-image-region: rect(36px, 144px, 54px, 126px);
5891}
5892
2e389898
RK
5893#context-bookmarkpage[starred=true] {
5894 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmarked"); */
5895 -moz-image-region: rect(0px, 162px, 18px, 144px);
5896}
5897
5898#context-bookmarkpage[starred=true][_moz-menuactive=true] {
5899 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmarked-active"); */
5900 -moz-image-region: rect(18px, 162px, 36px, 144px);
5901}
5902
5903#context-bookmarkpage[starred=true][disabled=true] {
5904 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmarked-disabled"); */
5905 -moz-image-region: rect(36px, 162px, 54px, 144px);
5906}
5907
fff8097b
RK
5908#context-back:-moz-locale-dir(rtl),
5909#context-forward:-moz-locale-dir(rtl),
5910#context-reload:-moz-locale-dir(rtl) {
5911 transform: scaleX(-1);
5912}
5913
5914#context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
93c91f62
RK
5915 width: 18px; /*16px;*/
5916 height: 18px; /*16px;*/
fff8097b
RK
5917 margin: 7px;
5918}
5919
5920#context-navigation > #context-reload > .menu-iconic-left > .menu-iconic-icon,
5921#context-navigation > #context-stop > .menu-iconic-left > .menu-iconic-icon {
5922 width: 14px;
5923 height: 14px;
5924 margin: 9px;
5925}
5926
20752032
RK
5927#context-media-eme-learnmore {
5928 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
5929}
5930
e184b661
RK
5931#context-media-eme-learnmore {
5932 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
5933}
5934
fff8097b 5935/* === END contextmenu.inc.css === */
3d64e0ce
RK
5936
5937#context-navigation {
5938}
5939
5940#context-sep-navigation {
5941/* margin-top: -4px; */
5942}