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