support new nightly versions
[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 {
19988d2d 83/* margin-top: var(--space-above-tabbar);*/
43cc2806
RK
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 */
319c6529 256#titlebar-min {
19988d2d 257 list-style-image: url("chrome://browser/skin/caption-buttons.svg#minimize");
5305ef8d
RK
258}
259
260#titlebar-min:hover {
19988d2d 261 list-style-image: url("chrome://browser/skin/caption-buttons.svg#minimize-hover");
319c6529
RK
262}
263
264#titlebar-max {
19988d2d 265 list-style-image: url("chrome://browser/skin/caption-buttons.svg#maximize");
5305ef8d
RK
266}
267
268#titlebar-max:hover {
19988d2d 269 list-style-image: url("chrome://browser/skin/caption-buttons.svg#maximize-hover");
319c6529
RK
270}
271
272#main-window[sizemode="maximized"] #titlebar-max {
19988d2d 273 list-style-image: url("chrome://browser/skin/caption-buttons.svg#restore");
5305ef8d
RK
274}
275
276#main-window[sizemode="maximized"] #titlebar-max:hover {
19988d2d 277 list-style-image: url("chrome://browser/skin/caption-buttons.svg#restore-hover");
319c6529
RK
278}
279
280#titlebar-close {
19988d2d 281 list-style-image: url("chrome://browser/skin/caption-buttons.svg#close");
5305ef8d
RK
282}
283
284#titlebar-close:hover {
19988d2d 285 list-style-image: url("chrome://browser/skin/caption-buttons.svg#close-hover");
acb0e9b8 286}
287
ee49f520
RK
288@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
289 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
54d92f05
RK
290 #titlebar-fullscreen-button {
291 -moz-appearance: none;
292 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon.png");
293 -moz-image-region: rect(0px, 16px, 16px, 0px);
294 }
295
296 #titlebar-fullscreen-button:hover {
297 -moz-image-region: rect(0px, 32px, 16px, 16px);
298 }
299
300 @media (min-resolution: 2dppx) {
301 #titlebar-fullscreen-button {
302 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon@2x.png");
303 -moz-image-region: rect(0px, 32px, 32px, 0px);
304 }
305
306 #titlebar-fullscreen-button:hover {
307 -moz-image-region: rect(0px, 64px, 32px, 32px);
308 }
309 }
310}
311
312
acb0e9b8 313/* ::::: bookmark buttons ::::: */
314
c0f6797e
RK
315toolbarbutton.bookmark-item:not(.subviewbutton),
316#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
317/* margin: 0;
318 padding: 2px 3px;*/
319}
320
321toolbarbutton.bookmark-item:not([disabled="true"]):not(.subviewbutton):hover:active,
322toolbarbutton.bookmark-item[open="true"] {
323/* padding-top: 3px;
324 padding-bottom: 1px;
325 -moz-padding-start: 4px;
326 -moz-padding-end: 2px;*/
327}
328
26125509
RK
329.bookmark-item > .toolbarbutton-icon,
330#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
acb0e9b8 331 width: 16px;
332 height: 16px;
832af407
RK
333 -moz-margin-start: 1px;
334 -moz-margin-end: 2px;
bc685759
RK
335 margin-top: 1px;
336 margin-bottom: 1px;
acb0e9b8 337}
338
26125509
RK
339/* Force the display of the label for bookmarks */
340.bookmark-item > .toolbarbutton-text,
341#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text {
acb0e9b8 342 display: -moz-box !important;
343}
344
319c6529
RK
345.bookmark-item > .toolbarbutton-menu-dropmarker {
346 display: none;
347}
348
26125509 349#bookmarks-toolbar-placeholder {
8da9da4e 350 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
9e88a441 351 -moz-box-orient: horizontal;
319c6529
RK
352}
353
e20c83c3
RK
354toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
355#personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder {
356 list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important;
357}
358
359/* ----- BOOKMARK STAR ANIMATION ----- */
360
361@keyframes animation-bookmarkAdded {
362 from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; }
363 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; }
364 80% { opacity: 1; }
365 to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; }
366}
367
368@keyframes animation-bookmarkPulse {
369 from { transform: scale(1); }
370 50% { transform: scale(1.3); }
371 to { transform: scale(1); }
372}
373
374#bookmarked-notification-container {
375 min-height: 1px;
376 min-width: 1px;
377 height: 1px;
378 margin-bottom: -1px;
379 z-index: 5;
380 position: relative;
381}
382
383#bookmarked-notification {
384 background-size: 16px;
385 background-position: center;
386 background-repeat: no-repeat;
387 width: 16px;
388 height: 16px;
389 opacity: 0;
390}
391
c0f6797e
RK
392#bookmarked-notification-dropmarker-anchor {
393 z-index: -1;
394 position: relative;
395}
396
397#bookmarked-notification-dropmarker-icon {
398 width: 18px;
399 height: 18px;
400 visibility: hidden;
401}
402
e20c83c3
RK
403#bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
404 background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png");
405 animation: animation-bookmarkAdded 800ms;
406 animation-timing-function: ease, ease, ease;
407}
408
409#bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
c0f6797e
RK
410 list-style-image: none !important;
411}
412
413#bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon {
414 visibility: visible;
e20c83c3
RK
415 animation: animation-bookmarkPulse 300ms;
416 animation-delay: 600ms;
417 animation-timing-function: ease-out;
418}
419
319c6529
RK
420/* ::::: bookmark menus ::::: */
421
422menu.bookmark-item,
423menuitem.bookmark-item {
424 min-width: 0;
ab799a7a 425 max-width: 32em;
319c6529
RK
426}
427
e20c83c3 428.bookmark-item:not(.subviewbutton) > .menu-iconic-left {
319c6529
RK
429 margin-top: 0;
430 margin-bottom: 0;
431}
432
433.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
434 -moz-padding-start: 0px;
435}
436
437/* ::::: bookmark items ::::: */
438
439.bookmark-item {
dce90fef 440 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
8da9da4e 441 -moz-image-region: auto;
319c6529
RK
442}
443
444.bookmark-item[container] {
445 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
8da9da4e 446 -moz-image-region: auto;
319c6529
RK
447}
448
449.bookmark-item[container][open] {
450 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
8da9da4e 451 -moz-image-region: auto;
319c6529
RK
452}
453
8da9da4e
RK
454.bookmark-item[container][livemark] {
455 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
319c6529
RK
456 -moz-image-region: auto;
457}
458
459.bookmark-item[container][livemark] .bookmark-item {
8da9da4e 460 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
719b06bc 461 -moz-image-region: rect(0px, 16px, 16px, 0px);
319c6529
RK
462}
463
eec397be 464.bookmark-item[container][livemark] .bookmark-item[visited] {
719b06bc 465 -moz-image-region: rect(0px, 32px, 16px, 16px);
eec397be
RK
466}
467
319c6529 468.bookmark-item[container][query] {
8da9da4e 469 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
319c6529
RK
470 -moz-image-region: auto;
471}
472
473.bookmark-item[query][tagContainer] {
474 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
475 -moz-image-region: auto;
476}
477
478.bookmark-item[query][dayContainer] {
8da9da4e 479 list-style-image: url("chrome://communicator/skin/history/calendar.png");
319c6529
RK
480 -moz-image-region: auto;
481}
482
483.bookmark-item[query][hostContainer] {
484 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
8da9da4e 485 -moz-image-region: auto;
319c6529
RK
486}
487
488.bookmark-item[query][hostContainer][open] {
489 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
8da9da4e 490 -moz-image-region: auto;
319c6529
RK
491}
492
b1234db8
RK
493.bookmark-item[cutting] > .toolbarbutton-icon,
494.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
495 opacity: 0.5;
496}
497
498.bookmark-item[cutting] > .toolbarbutton-text,
499.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
500 opacity: 0.7;
501}
502
319c6529
RK
503/* ::::: primary toolbar buttons ::::: */
504
43cc2806
RK
505/* === BEGIN toolbarbuttons.inc.css === */
506
507/* Whole section of this included file: */
51994fad
RK
508:-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
509 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
d4d77dc0 510 #social-share-button, #open-file-button, #find-button, #developer-button,
a5cb6e53 511 #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
51994fad
RK
512 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
513 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
31bc2dc1
RK
514 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button,
515 #pocket-button),
7d3f7f14 516#bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
43cc2806
RK
517 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
518}
13875a54
RK
519toolbar[brighttext] #pocket-button,
520#pocket-button {
521 list-style-image: url("chrome://browser/skin/ToolbarFx.png") !important; /* override pocket.css */
522}
43cc2806 523
7d3f7f14 524#back-button {
43cc2806
RK
525 -moz-image-region: rect(0, 36px, 18px, 18px);
526}
527
7d3f7f14 528#back-button:hover:not([disabled="true"]) {
43cc2806
RK
529 -moz-image-region: rect(18px, 36px, 36px, 18px);
530}
531
7d3f7f14 532#back-button[disabled="true"] {
43cc2806
RK
533 -moz-image-region: rect(36px, 36px, 54px, 18px);
534}
535
7d3f7f14 536#forward-button {
43cc2806
RK
537 -moz-image-region: rect(0, 72px, 18px, 54px);
538}
539
7d3f7f14 540#forward-button:hover:not([disabled="true"]) {
43cc2806
RK
541 -moz-image-region: rect(18px, 72px, 36px, 54px);
542}
543
7d3f7f14 544#forward-button[disabled="true"] {
43cc2806
RK
545 -moz-image-region: rect(36px, 72px, 54px, 54px);
546}
547
7d3f7f14
RK
548#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
549#forward-button:-moz-locale-dir(rtl) {
43cc2806
RK
550 transform: scaleX(-1);
551}
552
7d3f7f14 553#home-button[cui-areatype="toolbar"] {
43cc2806
RK
554 -moz-image-region: rect(0, 126px, 18px, 108px);
555}
556
7d3f7f14 557#home-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
558 -moz-image-region: rect(18px, 126px, 36px, 108px);
559}
560
7d3f7f14 561#bookmarks-menu-button[cui-areatype="toolbar"] {
43cc2806
RK
562 -moz-image-region: rect(0, 144px, 18px, 126px);
563}
564
7d3f7f14
RK
565#bookmarks-menu-button[cui-areatype="toolbar"]:hover,
566#bookmarks-menu-button[cui-areatype="toolbar"][open="true"] {
43cc2806
RK
567 -moz-image-region: rect(18px, 144px, 36px, 126px);
568}
569
43ee1307 570/* When "new tab" page shows up, the menubutton-button (star button) is disabled */
7d3f7f14 571#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] {
43ee1307
RK
572 -moz-image-region: rect(36px, 144px, 54px, 126px) !important;
573 background-color: transparent !important;
574}
575
7d3f7f14 576#bookmarks-menu-button[cui-areatype="toolbar"][starred] {
43cc2806
RK
577 -moz-image-region: rect(0, 162px, 18px, 144px);
578}
579
7d3f7f14 580#bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover,
83e3b5cf
RK
581#bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"],
582#bookmarks-menu-button[cui-areatype="toolbar"][starred] > .toolbarbutton-menubutton-button[open="true"] {
583 /* When starred and clicked (for edit/delete dialog),
584 * then only the menubutton-button itself is open, but not the whole menubutton. */
43cc2806
RK
585 -moz-image-region: rect(18px, 162px, 36px, 144px);
586}
587
7d3f7f14 588#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
43cc2806
RK
589 -moz-image-region: rect(0, 630px, 18px, 612px);
590}
591
7d3f7f14 592#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
43cc2806
RK
593 padding: 1px;
594 -moz-box-align: center;
595}
596
7d3f7f14
RK
597#bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
598#bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
43cc2806
RK
599 -moz-image-region: rect(18px, 630px, 36px, 612px);
600}
601
7d3f7f14
RK
602#bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker,
603#bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker {
43cc2806
RK
604 padding-top: 2px;
605 padding-bottom: 0px;
606 -moz-padding-start: 2px;
607 -moz-padding-end: 0px;
608}
609
7d3f7f14 610#history-panelmenu[cui-areatype="toolbar"] {
43cc2806
RK
611 -moz-image-region: rect(0, 180px, 18px, 162px);
612}
613
7d3f7f14
RK
614#history-panelmenu[cui-areatype="toolbar"]:hover,
615#history-panelmenu[cui-areatype="toolbar"][open="true"] {
43cc2806
RK
616 -moz-image-region: rect(18px, 180px, 36px, 162px);
617}
618
7d3f7f14 619#downloads-button[cui-areatype="toolbar"] {
43cc2806
RK
620 -moz-image-region: rect(0, 198px, 18px, 180px);
621}
622
7d3f7f14
RK
623#downloads-button[cui-areatype="toolbar"]:hover,
624#downloads-button[cui-areatype="toolbar"][open="true"] {
43cc2806
RK
625 -moz-image-region: rect(18px, 198px, 36px, 180px);
626}
627
7d3f7f14 628#add-ons-button[cui-areatype="toolbar"] {
43cc2806
RK
629 -moz-image-region: rect(0, 216px, 18px, 198px);
630}
631
7d3f7f14 632#add-ons-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
633 -moz-image-region: rect(18px, 216px, 36px, 198px);
634}
635
7d3f7f14 636#open-file-button[cui-areatype="toolbar"] {
43cc2806
RK
637 -moz-image-region: rect(0, 234px, 18px, 216px);
638}
639
7d3f7f14 640#open-file-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
641 -moz-image-region: rect(18px, 234px, 36px, 216px);
642}
643
7d3f7f14 644#save-page-button[cui-areatype="toolbar"] {
43cc2806
RK
645 -moz-image-region: rect(0, 252px, 18px, 234px);
646}
647
7d3f7f14 648#save-page-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
649 -moz-image-region: rect(18px, 252px, 36px, 234px);
650}
651
7d3f7f14 652#sync-button[cui-areatype="toolbar"] {
43cc2806
RK
653 -moz-image-region: rect(0, 270px, 18px, 252px);
654}
655
7d3f7f14 656#sync-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
657 -moz-image-region: rect(18px, 270px, 36px, 252px);
658}
659
5401f433
RK
660#sync-button[cui-areatype="toolbar"][status="active"],
661#sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) {
662 list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png");
663 -moz-image-region: rect(0, 18px, 18px, 0px);
664}
665
666/*
667#sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext,
668#sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext:hover:active:not([disabled="true"]) {
669 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
670}
671*/
672
7d3f7f14 673#feed-button[cui-areatype="toolbar"] {
43cc2806
RK
674 -moz-image-region: rect(0, 288px, 18px, 270px);
675}
676
05148fed 677#feed-button[cui-areatype="menu-panel"][panel-multiview-anchor=true],
7d3f7f14 678#feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
43cc2806
RK
679 -moz-image-region: rect(18px, 288px, 36px, 270px);
680}
681
7d3f7f14 682#feed-button[cui-areatype="toolbar"][disabled="true"] {
cc4b0b0d
RK
683 -moz-image-region: rect(36px, 288px, 54px, 270px);
684}
685
7d3f7f14 686#social-share-button[cui-areatype="toolbar"] {
43cc2806
RK
687 -moz-image-region: rect(0px, 306px, 18px, 288px);
688}
689
22180555
RK
690#social-share-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
691#social-share-button[cui-areatype="toolbar"][open="true"] {
43cc2806
RK
692 -moz-image-region: rect(18px, 306px, 36px, 288px);
693}
694
22180555
RK
695#social-share-button[cui-areatype="toolbar"][disabled="true"] {
696 -moz-image-region: rect(36px, 306px, 54px, 288px);
697}
698
7d3f7f14 699#characterencoding-button[cui-areatype="toolbar"] {
43cc2806
RK
700 -moz-image-region: rect(0, 324px, 18px, 306px);
701}
702
7d3f7f14
RK
703#characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
704#characterencoding-button[cui-areatype="toolbar"][open="true"] {
43cc2806
RK
705 -moz-image-region: rect(18px, 324px, 36px, 306px);
706}
707
7d3f7f14 708#characterencoding-button[cui-areatype="toolbar"][disabled="true"] {
cc4b0b0d
RK
709 -moz-image-region: rect(36px, 324px, 54px, 306px);
710}
711
7d3f7f14 712#new-window-button[cui-areatype="toolbar"] {
43cc2806
RK
713 -moz-image-region: rect(0, 342px, 18px, 324px);
714}
715
7d3f7f14 716#new-window-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
717 -moz-image-region: rect(18px, 342px, 36px, 324px);
718}
719
46e71434
RK
720#e10s-button[cui-areatype="toolbar"] {
721 -moz-image-region: rect(0, 342px, 18px, 324px);
722}
723
724#e10s-button[cui-areatype="toolbar"]:hover {
725 -moz-image-region: rect(18px, 342px, 36px, 324px);
726}
727
728#e10s-button > .toolbarbutton-icon {
729 transform: scaleY(-1);
730}
731
7d3f7f14 732#new-tab-button[cui-areatype="toolbar"] {
43cc2806
RK
733 -moz-image-region: rect(0, 360px, 18px, 342px);
734}
735
7d3f7f14 736#new-tab-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
737 -moz-image-region: rect(18px, 360px, 36px, 342px);
738}
739
7d3f7f14 740#privatebrowsing-button[cui-areatype="toolbar"] {
43cc2806
RK
741 -moz-image-region: rect(0, 378px, 18px, 360px);
742}
743
7d3f7f14 744#privatebrowsing-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
745 -moz-image-region: rect(18px, 378px, 36px, 360px);
746}
747
7d3f7f14 748#find-button[cui-areatype="toolbar"] {
43cc2806
RK
749 -moz-image-region: rect(0, 396px, 18px, 378px);
750}
751
7d3f7f14 752#find-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
753 -moz-image-region: rect(18px, 396px, 36px, 378px);
754}
755
7d3f7f14 756#print-button[cui-areatype="toolbar"] {
43cc2806
RK
757 -moz-image-region: rect(0, 414px, 18px, 396px);
758}
759
7d3f7f14 760#print-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
761 -moz-image-region: rect(18px, 414px, 36px, 396px);
762}
763
7d3f7f14 764#fullscreen-button[cui-areatype="toolbar"] {
43cc2806
RK
765 -moz-image-region: rect(0, 432px, 18px, 414px);
766}
767
7d3f7f14 768#fullscreen-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
769 -moz-image-region: rect(18px, 432px, 36px, 414px);
770}
771
7d3f7f14 772#developer-button[cui-areatype="toolbar"] {
43cc2806
RK
773 -moz-image-region: rect(0, 450px, 18px, 432px);
774}
775
7d3f7f14
RK
776#developer-button[cui-areatype="toolbar"]:hover,
777#developer-button[cui-areatype="toolbar"][open="true"] {
43cc2806
RK
778 -moz-image-region: rect(18px, 450px, 36px, 432px);
779}
780
7d3f7f14 781#preferences-button[cui-areatype="toolbar"] {
43cc2806
RK
782 -moz-image-region: rect(0, 468px, 18px, 450px);
783}
784
7d3f7f14 785#preferences-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
786 -moz-image-region: rect(18px, 468px, 36px, 450px);
787}
788
7d3f7f14 789#PanelUI-menu-button {
43cc2806
RK
790 -moz-image-region: rect(0, 486px, 18px, 468px);
791}
792
7d3f7f14
RK
793#PanelUI-menu-button:hover,
794#PanelUI-menu-button[open="true"] {
43cc2806
RK
795 -moz-image-region: rect(18px, 486px, 36px, 468px);
796}
797
51994fad 798#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button {
43cc2806
RK
799 -moz-image-region: rect(0, 504px, 18px, 486px);
800}
801
51994fad 802#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button:hover:not([disabled="true"]) {
43cc2806
RK
803 -moz-image-region: rect(18px, 504px, 36px, 486px);
804}
805
51994fad 806#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] {
cc4b0b0d
RK
807 -moz-image-region: rect(36px, 504px, 54px, 486px);
808}
809
51994fad 810#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button {
43cc2806
RK
811 -moz-image-region: rect(0, 522px, 18px, 504px);
812}
813
51994fad 814#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button:hover:not([disabled="true"]) {
43cc2806
RK
815 -moz-image-region: rect(18px, 522px, 36px, 504px);
816}
817
51994fad 818#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] {
cc4b0b0d
RK
819 -moz-image-region: rect(36px, 522px, 54px, 504px);
820}
821
51994fad 822#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button {
43cc2806
RK
823 -moz-image-region: rect(0, 540px, 18px, 522px);
824}
825
51994fad 826#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button:hover:not([disabled="true"]) {
43cc2806
RK
827 -moz-image-region: rect(18px, 540px, 36px, 522px);
828}
829
51994fad 830#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] {
cc4b0b0d
RK
831 -moz-image-region: rect(36px, 540px, 54px, 522px);
832}
833
51994fad 834#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button {
43cc2806
RK
835 -moz-image-region: rect(0, 558px, 18px, 540px);
836}
837
51994fad 838#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button:hover:not([disabled="true"]) {
43cc2806
RK
839 -moz-image-region: rect(18px, 558px, 36px, 540px);
840}
841
51994fad 842#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] {
cc4b0b0d
RK
843 -moz-image-region: rect(36px, 558px, 54px, 540px);
844}
845
51994fad 846#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button {
43cc2806
RK
847 -moz-image-region: rect(0, 576px, 18px, 558px);
848}
849
51994fad 850#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button:hover:not([disabled="true"]) {
43cc2806
RK
851 -moz-image-region: rect(18px, 576px, 36px, 558px);
852}
853
51994fad 854#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] {
cc4b0b0d
RK
855 -moz-image-region: rect(36px, 576px, 54px, 558px);
856}
857
7d3f7f14 858#nav-bar-overflow-button {
43cc2806
RK
859 -moz-image-region: rect(0, 612px, 18px, 594px);
860}
861
7d3f7f14
RK
862#nav-bar-overflow-button:hover,
863#nav-bar-overflow-button[open="true"] {
43cc2806
RK
864 -moz-image-region: rect(18px, 612px, 36px, 594px);
865}
866
46e71434
RK
867#nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
868 transform: scaleX(-1);
869}
870
c0f6797e
RK
871#tabview-button {
872 -moz-image-region: rect(0, 648px, 18px, 630px);
873}
874
875#tabview-button:hover {
876 -moz-image-region: rect(18px, 648px, 36px, 630px);
877}
878
879#email-link-button[cui-areatype="toolbar"] {
880 -moz-image-region: rect(0, 666px, 18px, 648px);
881}
882
22180555 883#email-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
c0f6797e
RK
884 -moz-image-region: rect(18px, 666px, 36px, 648px);
885}
886
22180555
RK
887#email-button[cui-areatype="toolbar"][disabled="true"] {
888 -moz-image-region: rect(36px, 666px, 54px, 648px);
889}
890
c0f6797e
RK
891#sidebar-button[cui-areatype="toolbar"] {
892 -moz-image-region: rect(0, 684px, 18px, 666px);
893}
894
895#sidebar-button[cui-areatype="toolbar"]:hover {
896 -moz-image-region: rect(18px, 684px, 36px, 666px);
897}
898
22180555
RK
899#panic-button[cui-areatype="toolbar"] {
900 -moz-image-region: rect(0, 702px, 18px, 684px);
901}
902
903#panic-button[cui-areatype="toolbar"]:hover,
904#panic-button[cui-areatype="toolbar"][open] {
905 -moz-image-region: rect(18px, 702px, 36px, 684px);
906}
907
908#panic-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
909 transform: scaleX(-1);
910}
911
912#web-apps-button[cui-areatype="toolbar"] {
913 -moz-image-region: rect(0, 720px, 18px, 702px);
914}
915
916#web-apps-button[cui-areatype="toolbar"]:hover {
917 -moz-image-region: rect(18px, 720px, 36px, 702px);
918}
919
58615cfe 920#loop-button,
19988d2d 921#loop-button > .toolbarbutton-badge-stack {
d0e580f1
RK
922 list-style-image: url("chrome://browser/skin/loop/toolbarfx.png");
923 -moz-image-region: rect(0, 18px, 18px, 0);
924}
925
58615cfe 926#loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]),
19988d2d 927#loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-stack {
d0e580f1
RK
928 -moz-image-region: rect(0, 90px, 18px, 72px);
929}
930
58615cfe
RK
931#loop-button[state="disabled"],
932#loop-button[disabled="true"],
19988d2d
RK
933#loop-button[state="disabled"] > .toolbarbutton-badge-stack,
934#loop-button[disabled="true"] > .toolbarbutton-badge-stack {
d0e580f1
RK
935 -moz-image-region: rect(0, 36px, 18px, 18px);
936}
937
58615cfe 938#loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]),
19988d2d 939#loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-stack {
d0e580f1
RK
940 -moz-image-region: rect(0, 126px, 18px, 108px);
941}
942
58615cfe 943#loop-button:not([disabled="true"])[state="error"],
19988d2d 944#loop-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-stack {
d0e580f1
RK
945 -moz-image-region: rect(0, 54px, 18px, 36px);
946}
947
58615cfe 948#loop-button:not([disabled="true"])[state="action"],
19988d2d 949#loop-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-stack {
d0e580f1
RK
950 -moz-image-region: rect(0, 72px, 18px, 54px);
951}
952
58615cfe 953#loop-button:not([disabled="true"])[state="active"],
19988d2d 954#loop-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-stack {
d0e580f1
RK
955 -moz-image-region: rect(0, 108px, 18px, 90px);
956}
957
e548e22e
RK
958#webide-button[cui-areatype="toolbar"] {
959 -moz-image-region: rect(0, 738px, 18px, 720px);
960}
961
962#webide-button[cui-areatype="toolbar"]:hover {
963 -moz-image-region: rect(18px, 738px, 36px, 720px);
964}
965
31bc2dc1
RK
966#pocket-button[cui-areatype="toolbar"] {
967 -moz-image-region: rect(0, 774px, 18px, 756px);
968}
969
970#pocket-button[cui-areatype="toolbar"]:hover,
971#pocket-button[cui-areatype="toolbar"][open] {
972 -moz-image-region: rect(18px, 774px, 36px, 756px);
973}
974
43cc2806
RK
975/* === END toolbarbuttons.inc.css === */
976
977/* === BEGIN menupanel.inc.css === */
978
979/* Menu panel and palette styles */
980
e548e22e
RK
981:root {
982 /* avoid aero overrides with changed filenames */
983 --menupanel-list-style-image: url(chrome://browser/skin/menuPanelFx.png);
984 --menupanel-small-list-style-image: url(chrome://browser/skin/menuPanelFx-small.png);
985}
986
51994fad 987toolbaritem[sdkstylewidget="true"] > toolbarbutton,
5401f433
RK
988:-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
989 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
1988bb88 990 #social-share-button, #open-file-button, #find-button, #developer-button,
a5cb6e53 991 #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
5401f433
RK
992 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
993 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
31bc2dc1
RK
994 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button,
995 #pocket-button)[cui-areatype="menu-panel"],
5401f433
RK
996toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
997 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
1988bb88 998 #social-share-button, #open-file-button, #find-button, #developer-button,
a5cb6e53 999 #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
5401f433
RK
1000 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
1001 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
31bc2dc1
RK
1002 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button,
1003 #pocket-button) {
e548e22e 1004 list-style-image: var(--menupanel-list-style-image);
43cc2806
RK
1005}
1006
1007#home-button[cui-areatype="menu-panel"],
7d3f7f14 1008toolbarpaletteitem[place="palette"] > #home-button {
43cc2806
RK
1009 -moz-image-region: rect(0px, 128px, 32px, 96px);
1010}
1011
cc4b0b0d 1012#home-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1013toolbarpaletteitem[place="palette"] > #home-button:hover {
cc4b0b0d
RK
1014 -moz-image-region: rect(32px, 128px, 64px, 96px);
1015}
1016
43cc2806 1017#bookmarks-menu-button[cui-areatype="menu-panel"],
7d3f7f14 1018toolbarpaletteitem[place="palette"] > #bookmarks-menu-button {
46e71434 1019 -moz-image-region: rect(0px, 192px, 32px, 160px);
43cc2806
RK
1020}
1021
cc4b0b0d 1022#bookmarks-menu-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1023toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover {
46e71434
RK
1024 -moz-image-region: rect(32px, 192px, 64px, 160px);
1025}
1026
1027#bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1028 -moz-image-region: rect(32px, 192px, 64px, 160px);
cc4b0b0d
RK
1029}
1030
43cc2806 1031#history-panelmenu[cui-areatype="menu-panel"],
7d3f7f14 1032toolbarpaletteitem[place="palette"] > #history-panelmenu {
43cc2806
RK
1033 -moz-image-region: rect(0px, 224px, 32px, 192px);
1034}
1035
cc4b0b0d 1036#history-panelmenu[cui-areatype="menu-panel"]:hover,
7d3f7f14 1037toolbarpaletteitem[place="palette"] > #history-panelmenu:hover {
cc4b0b0d
RK
1038 -moz-image-region: rect(32px, 224px, 64px, 192px);
1039}
1040
46e71434
RK
1041#history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1042 -moz-image-region: rect(32px, 224px, 64px, 192px);
1043}
1044
43cc2806 1045#downloads-button[cui-areatype="menu-panel"],
7d3f7f14 1046toolbarpaletteitem[place="palette"] > #downloads-button {
43cc2806
RK
1047 -moz-image-region: rect(0px, 256px, 32px, 224px);
1048}
1049
cc4b0b0d 1050#downloads-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1051toolbarpaletteitem[place="palette"] > #downloads-button:hover {
cc4b0b0d
RK
1052 -moz-image-region: rect(32px, 256px, 64px, 224px);
1053}
1054
43cc2806 1055#add-ons-button[cui-areatype="menu-panel"],
7d3f7f14 1056toolbarpaletteitem[place="palette"] > #add-ons-button {
43cc2806
RK
1057 -moz-image-region: rect(0px, 288px, 32px, 256px);
1058}
1059
cc4b0b0d 1060#add-ons-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1061toolbarpaletteitem[place="palette"] > #add-ons-button:hover {
cc4b0b0d
RK
1062 -moz-image-region: rect(32px, 288px, 64px, 256px);
1063}
1064
43cc2806 1065#open-file-button[cui-areatype="menu-panel"],
7d3f7f14 1066toolbarpaletteitem[place="palette"] > #open-file-button {
43cc2806
RK
1067 -moz-image-region: rect(0px, 320px, 32px, 288px);
1068}
1069
cc4b0b0d 1070#open-file-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1071toolbarpaletteitem[place="palette"] > #open-file-button:hover {
cc4b0b0d
RK
1072 -moz-image-region: rect(32px, 320px, 64px, 288px);
1073}
1074
43cc2806 1075#save-page-button[cui-areatype="menu-panel"],
7d3f7f14 1076toolbarpaletteitem[place="palette"] > #save-page-button {
43cc2806
RK
1077 -moz-image-region: rect(0px, 352px, 32px, 320px);
1078}
1079
cc4b0b0d 1080#save-page-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1081toolbarpaletteitem[place="palette"] > #save-page-button:hover {
cc4b0b0d
RK
1082 -moz-image-region: rect(32px, 352px, 64px, 320px);
1083}
1084
43cc2806 1085#sync-button[cui-areatype="menu-panel"],
7d3f7f14 1086toolbarpaletteitem[place="palette"] > #sync-button {
43cc2806
RK
1087 -moz-image-region: rect(0px, 384px, 32px, 352px);
1088}
1089
cc4b0b0d 1090#sync-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1091toolbarpaletteitem[place="palette"] > #sync-button:hover {
cc4b0b0d
RK
1092 -moz-image-region: rect(32px, 384px, 64px, 352px);
1093}
1094
5401f433
RK
1095#sync-button[cui-areatype="menu-panel"][status="active"] {
1096 list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png");
1097 -moz-image-region: rect(0px, 32px, 32px, 0px);
1098}
1099
43cc2806 1100#feed-button[cui-areatype="menu-panel"],
7d3f7f14 1101toolbarpaletteitem[place="palette"] > #feed-button {
43cc2806
RK
1102 -moz-image-region: rect(0px, 416px, 32px, 384px);
1103}
1104
cc4b0b0d 1105#feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
7d3f7f14 1106toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) {
cc4b0b0d
RK
1107 -moz-image-region: rect(32px, 416px, 64px, 384px);
1108}
1109
1110#feed-button[cui-areatype="menu-panel"][disabled="true"],
7d3f7f14 1111toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] {
cc4b0b0d
RK
1112 -moz-image-region: rect(64px, 416px, 96px, 384px);
1113}
1114
43cc2806 1115#social-share-button[cui-areatype="menu-panel"],
7d3f7f14 1116toolbarpaletteitem[place="palette"] > #social-share-button {
43cc2806
RK
1117 -moz-image-region: rect(0px, 448px, 32px, 416px);
1118}
1119
22180555
RK
1120#social-share-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1121toolbarpaletteitem[place="palette"] > #social-share-button:hover:not([disabled="true"]) {
cc4b0b0d
RK
1122 -moz-image-region: rect(32px, 448px, 64px, 416px);
1123}
1124
22180555
RK
1125#social-share-button[cui-areatype="menu-panel"][disabled="true"],
1126toolbarpaletteitem[place="palette"] > #social-share-button[disabled="true"] {
1127 -moz-image-region: rect(64px, 448px, 96px, 416px);
1128}
1129
43cc2806 1130#characterencoding-button[cui-areatype="menu-panel"],
7d3f7f14 1131toolbarpaletteitem[place="palette"] > #characterencoding-button {
43cc2806
RK
1132 -moz-image-region: rect(0px, 480px, 32px, 448px);
1133}
1134
cc4b0b0d 1135#characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
7d3f7f14 1136toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) {
cc4b0b0d
RK
1137 -moz-image-region: rect(32px, 480px, 64px, 448px);
1138}
1139
1140#characterencoding-button[cui-areatype="menu-panel"][disabled="true"],
7d3f7f14 1141toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] {
cc4b0b0d
RK
1142 -moz-image-region: rect(64px, 480px, 96px, 448px);
1143}
1144
46e71434
RK
1145#characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1146 -moz-image-region: rect(32px, 480px, 64px, 448px);
1147}
1148
43cc2806 1149#new-window-button[cui-areatype="menu-panel"],
7d3f7f14 1150toolbarpaletteitem[place="palette"] > #new-window-button {
43cc2806
RK
1151 -moz-image-region: rect(0px, 512px, 32px, 480px);
1152}
1153
cc4b0b0d 1154#new-window-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1155toolbarpaletteitem[place="palette"] > #new-window-button:hover {
cc4b0b0d
RK
1156 -moz-image-region: rect(32px, 512px, 64px, 480px);
1157}
1158
5401f433
RK
1159#e10s-button[cui-areatype="menu-panel"],
1160toolbarpaletteitem[place="palette"] > #e10s-button {
1161 -moz-image-region: rect(0px, 512px, 32px, 480px);
1162}
1163
1164#e10s-button[cui-areatype="menu-panel"]:hover,
1165toolbarpaletteitem[place="palette"] > #e10s-button:hover {
1166 -moz-image-region: rect(32px, 512px, 64px, 480px);
1167}
1168
43cc2806 1169#new-tab-button[cui-areatype="menu-panel"],
7d3f7f14 1170toolbarpaletteitem[place="palette"] > #new-tab-button {
43cc2806
RK
1171 -moz-image-region: rect(0px, 544px, 32px, 512px);
1172}
1173
cc4b0b0d 1174#new-tab-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1175toolbarpaletteitem[place="palette"] > #new-tab-button:hover {
cc4b0b0d
RK
1176 -moz-image-region: rect(32px, 544px, 64px, 512px);
1177}
1178
43cc2806 1179#privatebrowsing-button[cui-areatype="menu-panel"],
7d3f7f14 1180toolbarpaletteitem[place="palette"] > #privatebrowsing-button {
43cc2806
RK
1181 -moz-image-region: rect(0px, 576px, 32px, 544px);
1182}
1183
cc4b0b0d 1184#privatebrowsing-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1185toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover {
cc4b0b0d
RK
1186 -moz-image-region: rect(32px, 576px, 64px, 544px);
1187}
1188
46e71434
RK
1189#tabview-button[cui-areatype="menu-panel"],
1190toolbarpaletteitem[place="palette"] > #tabview-button {
1191 -moz-image-region: rect(0px, 608px, 32px, 576px);
1192}
1193
1194#tabview-button[cui-areatype="menu-panel"]:hover,
1195toolbarpaletteitem[place="palette"] > #tabview-button:hover {
1196 -moz-image-region: rect(32px, 608px, 64px, 576px);
1197}
1198
43cc2806 1199#find-button[cui-areatype="menu-panel"],
7d3f7f14 1200toolbarpaletteitem[place="palette"] > #find-button {
43cc2806
RK
1201 -moz-image-region: rect(0px, 640px, 32px, 608px);
1202}
1203
cc4b0b0d 1204#find-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1205toolbarpaletteitem[place="palette"] > #find-button:hover {
cc4b0b0d
RK
1206 -moz-image-region: rect(32px, 640px, 64px, 608px);
1207}
1208
43cc2806 1209#print-button[cui-areatype="menu-panel"],
7d3f7f14 1210toolbarpaletteitem[place="palette"] > #print-button {
43cc2806
RK
1211 -moz-image-region: rect(0px, 672px, 32px, 640px);
1212}
1213
cc4b0b0d 1214#print-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1215toolbarpaletteitem[place="palette"] > #print-button:hover {
cc4b0b0d
RK
1216 -moz-image-region: rect(32px, 672px, 64px, 640px);
1217}
1218
43cc2806 1219#fullscreen-button[cui-areatype="menu-panel"],
7d3f7f14 1220toolbarpaletteitem[place="palette"] > #fullscreen-button {
43cc2806
RK
1221 -moz-image-region: rect(0px, 704px, 32px, 672px);
1222}
1223
cc4b0b0d 1224#fullscreen-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1225toolbarpaletteitem[place="palette"] > #fullscreen-button:hover {
cc4b0b0d
RK
1226 -moz-image-region: rect(32px, 704px, 64px, 672px);
1227}
1228
43cc2806 1229#developer-button[cui-areatype="menu-panel"],
7d3f7f14 1230toolbarpaletteitem[place="palette"] > #developer-button {
43cc2806
RK
1231 -moz-image-region: rect(0px, 736px, 32px, 704px);
1232}
1233
cc4b0b0d 1234#developer-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1235toolbarpaletteitem[place="palette"] > #developer-button:hover {
cc4b0b0d
RK
1236 -moz-image-region: rect(32px, 736px, 64px, 704px);
1237}
1238
46e71434
RK
1239#developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1240 -moz-image-region: rect(32px, 736px, 64px, 704px);
1241}
1242
43cc2806 1243#preferences-button[cui-areatype="menu-panel"],
7d3f7f14 1244toolbarpaletteitem[place="palette"] > #preferences-button {
43cc2806
RK
1245 -moz-image-region: rect(0px, 768px, 32px, 736px);
1246}
1247
cc4b0b0d 1248#preferences-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1249toolbarpaletteitem[place="palette"] > #preferences-button:hover {
cc4b0b0d
RK
1250 -moz-image-region: rect(32px, 768px, 64px, 736px);
1251}
1252
46e71434
RK
1253#email-link-button[cui-areatype="menu-panel"],
1254toolbarpaletteitem[place="palette"] > #email-link-button {
1255 -moz-image-region: rect(0, 800px, 32px, 768px);
1256}
1257
22180555
RK
1258#email-link-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1259toolbarpaletteitem[place="palette"] > #email-link-button:hover:not([disabled="true"]) {
46e71434
RK
1260 -moz-image-region: rect(32px, 800px, 64px, 768px);
1261}
1262
22180555
RK
1263#email-link-button[cui-areatype="menu-panel"][disabled="true"],
1264toolbarpaletteitem[place="palette"] > #email-link-button[disabled="true"] {
1265 -moz-image-region: rect(64px, 800px, 96px, 768px);
1266}
1267
46e71434
RK
1268#sidebar-button[cui-areatype="menu-panel"],
1269toolbarpaletteitem[place="palette"] > #sidebar-button {
1270 -moz-image-region: rect(0, 864px, 32px, 832px);
1271}
1272
1273#sidebar-button[cui-areatype="menu-panel"]:hover,
22180555
RK
1274toolbarpaletteitem[place="palette"] > #sidebar-button:hover,
1275#sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
46e71434
RK
1276 -moz-image-region: rect(32px, 864px, 64px, 832px);
1277}
1278
22180555
RK
1279#panic-button[cui-areatype="menu-panel"],
1280toolbarpaletteitem[place="palette"] > #panic-button {
1281 -moz-image-region: rect(0, 896px, 32px, 864px);
1282}
1283
1284#panic-button[cui-areatype="menu-panel"]:hover,
1285toolbarpaletteitem[place="palette"] > #panic-button:hover,
1286#panic-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1287 -moz-image-region: rect(32px, 896px, 64px, 864px);
1288}
1289
1290#web-apps-button[cui-areatype="menu-panel"],
1291toolbarpaletteitem[place="palette"] > #web-apps-button {
1292 -moz-image-region: rect(0, 928px, 32px, 896px);
1293}
1294
1295#web-apps-button[cui-areatype="menu-panel"]:hover,
1296toolbarpaletteitem[place="palette"] > #web-apps-button:hover {
1297 -moz-image-region: rect(32px, 928px, 64px, 896px);
46e71434
RK
1298}
1299
e548e22e
RK
1300#webide-button[cui-areatype="menu-panel"],
1301toolbarpaletteitem[place="palette"] > #webide-button {
1302 -moz-image-region: rect(0px, 960px, 32px, 928px);
1303}
1304
1305#webide-button[cui-areatype="menu-panel"]:hover,
1306toolbarpaletteitem[place="palette"] > #webide-button:hover {
1307 -moz-image-region: rect(32px, 960px, 64px, 928px);
1308}
1309
31bc2dc1
RK
1310#pocket-button[cui-areatype="menu-panel"],
1311toolbarpaletteitem[place="palette"] > #pocket-button {
1312 -moz-image-region: rect(0px, 992px, 32px, 960px);
1313}
1314
1315#pocket-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1316 -moz-image-region: rect(32px, 992px, 64px, 960px);
1317}
1318
46e71434
RK
1319toolbaritem[sdkstylewidget="true"] > toolbarbutton {
1320 -moz-image-region: rect(0, 832px, 32px, 800px);
1321}
1322
58615cfe 1323#loop-button[cui-areatype="menu-panel"],
19988d2d 1324toolbarpaletteitem[place="palette"] > #loop-button {
d0e580f1
RK
1325 list-style-image: url("chrome://browser/skin/loop/menuPanel.png");
1326 -moz-image-region: rect(0, 32px, 32px, 0);
1327}
1328
1329/* Make sure that the state icons are not shown in the customization palette. */
19988d2d 1330toolbarpaletteitem[place="palette"] > #loop-button {
d0e580f1
RK
1331 -moz-image-region: rect(0, 32px, 32px, 0) !important;
1332}
1333
19988d2d 1334#loop-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) {
d0e580f1
RK
1335 -moz-image-region: rect(0, 160px, 32px, 128px);
1336}
1337
58615cfe 1338#loop-button[cui-areatype="menu-panel"][state="disabled"],
19988d2d 1339#loop-button[cui-areatype="menu-panel"][disabled="true"] {
d0e580f1
RK
1340 -moz-image-region: rect(0, 64px, 32px, 32px);
1341}
1342
19988d2d 1343#loop-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) {
d0e580f1
RK
1344 -moz-image-region: rect(0, 224px, 32px, 192px);
1345}
1346
19988d2d 1347#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] {
d0e580f1
RK
1348 -moz-image-region: rect(0, 96px, 32px, 64px);
1349}
1350
19988d2d 1351#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] {
d0e580f1
RK
1352 -moz-image-region: rect(0, 128px, 32px, 96px);
1353}
1354
19988d2d 1355#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] {
d0e580f1
RK
1356 -moz-image-region: rect(0, 192px, 32px, 160px);
1357}
1358
43cc2806
RK
1359/* Wide panel control icons */
1360
51994fad
RK
1361#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1362#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
7d3f7f14
RK
1363toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton,
1364toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton {
e548e22e 1365 list-style-image: var(--menupanel-small-list-style-image);
43cc2806
RK
1366}
1367
51994fad 1368#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button,
7d3f7f14 1369toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button {
43cc2806
RK
1370 -moz-image-region: rect(0px, 32px, 16px, 16px);
1371}
1372
51994fad 1373#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button:hover:not([disabled="true"]),
7d3f7f14 1374toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) {
cc4b0b0d
RK
1375 -moz-image-region: rect(16px, 32px, 32px, 16px);
1376}
1377
51994fad 1378#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button[disabled="true"],
7d3f7f14 1379toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] {
cc4b0b0d
RK
1380 -moz-image-region: rect(32px, 32px, 48px, 16px);
1381}
1382
51994fad 1383#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button,
7d3f7f14 1384toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button {
43cc2806
RK
1385 -moz-image-region: rect(0px, 48px, 16px, 32px);
1386}
1387
51994fad 1388#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button:hover:not([disabled="true"]),
7d3f7f14 1389toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) {
cc4b0b0d
RK
1390 -moz-image-region: rect(16px, 48px, 32px, 32px);
1391}
1392
51994fad 1393#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button[disabled="true"],
7d3f7f14 1394toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] {
cc4b0b0d
RK
1395 -moz-image-region: rect(32px, 48px, 48px, 32px);
1396}
1397
51994fad 1398#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button,
7d3f7f14 1399toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button {
43cc2806
RK
1400 -moz-image-region: rect(0px, 64px, 16px, 48px);
1401}
1402
51994fad 1403#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button:hover:not([disabled="true"]),
7d3f7f14 1404toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) {
cc4b0b0d
RK
1405 -moz-image-region: rect(16px, 64px, 32px, 48px);
1406}
1407
51994fad 1408#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button[disabled="true"],
7d3f7f14 1409toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] {
cc4b0b0d
RK
1410 -moz-image-region: rect(32px, 64px, 48px, 48px);
1411}
1412
51994fad 1413#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button,
7d3f7f14 1414toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button {
43cc2806
RK
1415 -moz-image-region: rect(0px, 80px, 16px, 64px);
1416}
1417
51994fad 1418#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button:hover:not([disabled="true"]),
7d3f7f14 1419toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) {
cc4b0b0d
RK
1420 -moz-image-region: rect(16px, 80px, 32px, 64px);
1421}
1422
51994fad 1423#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button[disabled="true"],
7d3f7f14 1424toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] {
cc4b0b0d
RK
1425 -moz-image-region: rect(32px, 80px, 48px, 64px);
1426}
1427
51994fad 1428#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button,
7d3f7f14 1429toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button {
43cc2806
RK
1430 -moz-image-region: rect(0px, 96px, 16px, 80px);
1431}
1432
51994fad 1433#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button:hover:not([disabled="true"]),
7d3f7f14 1434toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) {
cc4b0b0d
RK
1435 -moz-image-region: rect(16px, 96px, 32px, 80px);
1436}
1437
51994fad 1438#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button[disabled="true"],
7d3f7f14 1439toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] {
cc4b0b0d
RK
1440 -moz-image-region: rect(32px, 96px, 48px, 80px);
1441}
1442
e548e22e
RK
1443#add-share-provider {
1444 list-style-image: var(--menupanel-small-list-style-image);
1445 -moz-image-region: rect(0px, 96px, 16px, 80px);
1446}
1447
43cc2806
RK
1448/* === END menupanel.inc.css === */
1449
63ada306
RK
1450.toolbarbutton-1:not([type="menu-button"]) {
1451 -moz-box-orient: vertical;
1452}
1453
319c6529
RK
1454.toolbarbutton-1,
1455.toolbarbutton-1 > .toolbarbutton-menubutton-button {
c0f6797e
RK
1456/* min-width: 36px;
1457 min-height: 36px;*/
319c6529
RK
1458}
1459
1460.toolbarbutton-1,
1461.toolbarbutton-1 > .toolbarbutton-menubutton-button,
1462.toolbarbutton-1[disabled="true"]:hover:active,
1463.toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
1464 padding: 1px 2px;
1465}
1466
1467.toolbarbutton-1:hover:active,
1468.toolbarbutton-1[open="true"],
1469.toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
1470 padding-top: 2px;
1471 padding-bottom: 0px;
1472 -moz-padding-start: 3px;
1473 -moz-padding-end: 1px;
1474}
1475
c0f6797e
RK
1476#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon,
1477#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker,
1478#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker,
1479#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1480#main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon {
e20c83c3
RK
1481}
1482
c0f6797e
RK
1483.toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
1484.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
e20c83c3
RK
1485}
1486
c0f6797e
RK
1487toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext,
1488toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext {
319c6529
RK
1489}
1490
c0f6797e
RK
1491.toolbarbutton-1 > .toolbarbutton-icon,
1492.toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
319c6529
RK
1493}
1494
20752032 1495.findbar-button,
c0f6797e
RK
1496#nav-bar .toolbarbutton-1,
1497#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
319c6529
RK
1498}
1499
c0f6797e
RK
1500#nav-bar .toolbarbutton-1:not([type=menu-button]),
1501#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1502#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
319c6529
RK
1503}
1504
c0f6797e
RK
1505#nav-bar #PanelUI-menu-button {
1506/* -moz-padding-start: 7px;
1507 -moz-padding-end: 5px;*/
319c6529
RK
1508}
1509
1437a48c 1510#nav-bar .toolbarbutton-1[type=panel]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button),
8c5bee4f 1511#nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) {
c0f6797e
RK
1512/* padding-left: 5px;
1513 padding-right: 5px;*/
319c6529
RK
1514}
1515
c0f6797e
RK
1516#nav-bar .toolbarbutton-1 > menupopup {
1517/* margin-top: -3px;*/
319c6529
RK
1518}
1519
c0f6797e 1520#nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel {
c1d2ce3e 1521 margin-top: -4px;
319c6529
RK
1522}
1523
c0f6797e
RK
1524#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1525/* -moz-padding-end: 0;*/
319c6529
RK
1526}
1527
c0f6797e
RK
1528#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1529/* -moz-padding-start: 0;
1530 -moz-box-align: center;*/
319c6529
RK
1531}
1532
20752032 1533.findbar-button > .toolbarbutton-text,
c0f6797e
RK
1534#nav-bar .toolbarbutton-1 > .toolbarbutton-icon,
1535#nav-bar .toolbarbutton-1 > .toolbarbutton-text,
19988d2d 1536#nav-bar .toolbarbutton-1 > .toolbarbutton-badge-stack,
c0f6797e
RK
1537#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1538#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
2c62526c 1539window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
c0f6797e
RK
1540/* padding: 2px 6px;
1541 border: 1px solid;
1542 border-color: transparent;
1543 transition-property: background-color, border-color;
1544 transition-duration: 150ms;*/
d54f5b23 1545}
c0f6797e
RK
1546/*
1547#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
19988d2d 1548#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-stack,
c0f6797e
RK
1549#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1550 padding: 3px 7px;
d54f5b23 1551}
c0f6797e 1552*/
d54f5b23 1553
c0f6797e 1554/* Help SDK icons fit: */
a5cb6e53 1555toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-icon,
19988d2d 1556toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-badge-stack > .toolbarbutton-icon {
c0f6797e 1557 width: 16px;
26125509
RK
1558}
1559
a5cb6e53 1560#nav-bar toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
c0f6797e
RK
1561 /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */
1562 width: 32px;
26125509 1563}
26125509 1564
1437a48c 1565#nav-bar .toolbarbutton-1[type=panel]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) > .toolbarbutton-icon,
19988d2d 1566#nav-bar .toolbarbutton-1[type=panel]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) > .toolbarbutton-badge-stack,
8c5bee4f 1567#nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) > .toolbarbutton-icon,
19988d2d 1568#nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) > .toolbarbutton-badge-stack,
c0f6797e
RK
1569#nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
1570/* -moz-padding-end: 17px;*/
319c6529
RK
1571}
1572
c0f6797e 1573#nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
319c6529
RK
1574}
1575
c0f6797e 1576#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
319c6529
RK
1577}
1578
c0f6797e 1579#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
38cfeb47
RK
1580}
1581
c0f6797e
RK
1582#nav-bar .toolbaritem-combined-buttons {
1583/* margin-left: 2px;
1584 margin-right: 2px;*/
38cfeb47
RK
1585}
1586
c0f6797e
RK
1587#nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 {
1588/* padding-left: 0;
1589 padding-right: 0;*/
319c6529
RK
1590}
1591
c0f6797e
RK
1592#nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before,
1593#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 {
1594/*
1595 content: "";
1596 display: -moz-box;
1597 width: 1px;
1598 height: 16px;
1599 -moz-margin-end: -1px;
1600*/
319c6529
RK
1601}
1602
2c62526c 1603window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
319c6529
RK
1604}
1605
20752032 1606.findbar-button:not(:-moz-any([checked="true"],[disabled="true"])):hover > .toolbarbutton-text,
43371c9b 1607#nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
c0f6797e
RK
1608#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1609#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1610#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon,
1611#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text,
19988d2d 1612#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-stack,
2c62526c 1613window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon,
46e71434 1614#nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon {
319c6529
RK
1615}
1616
20752032 1617.findbar-button:not([disabled=true]):-moz-any([checked="true"],:hover:active) > .toolbarbutton-text,
43371c9b 1618#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon,
c0f6797e
RK
1619#nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon,
1620#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon,
1621#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text,
19988d2d 1622#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-stack {
319c6529
RK
1623}
1624
c0f6797e
RK
1625#TabsToolbar .toolbarbutton-1,
1626#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1627.tabbrowser-arrowscrollbox > .scrollbutton-up,
1628.tabbrowser-arrowscrollbox > .scrollbutton-down {
e8519ae0
RK
1629}
1630
c0f6797e
RK
1631#TabsToolbar .toolbarbutton-1:not([disabled=true]):hover,
1632#TabsToolbar .toolbarbutton-1[open],
1633#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover,
1634.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled=true]):hover,
1635.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled=true]):hover {
e8519ae0
RK
1636}
1637
c0f6797e 1638/* unified back/forward button */
319c6529 1639
c0f6797e 1640#forward-button {
589b5528 1641 -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */
71bac478
RK
1642}
1643
c0f6797e
RK
1644#forward-button > menupopup {
1645 margin-top: 1px !important;
319c6529
RK
1646}
1647
c0f6797e
RK
1648#forward-button > .toolbarbutton-icon {
1649 background-clip: padding-box !important;
1650 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
5401f433 1651 /*clip-path: url(chrome://browser/content/browser.xul#keyhole-forward-clip-path) !important;*/
71bac478
RK
1652}
1653
c0f6797e 1654#forward-button {
aec5dfad 1655 -moz-margin-start: -4px !important;
9d1e25fa
RK
1656 padding-left: 5px;
1657 padding-right: 5px;
c0f6797e
RK
1658 margin-top: 3px;
1659 margin-bottom: 3px;
1660 border-radius: 0 10000px 10000px 0;
319c6529
RK
1661}
1662
c0f6797e
RK
1663#forward-button:-moz-locale-dir(rtl) {
1664 border-radius: 10000px 0 0 10000px;
8ad8bf83
RK
1665}
1666
2c62526c 1667window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button {
aec5dfad 1668 transition: margin-left 150ms ease-out;
2c62526c
RK
1669}
1670
1671window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] {
aec5dfad 1672 margin-left: -27px !important;
2c62526c
RK
1673}
1674
1675window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] {
1676 /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
1677 transition-delay: 100s;
1678}
1679
1680window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] {
1681 /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
aec5dfad 1682 margin-left: -27.01px !important;
2c62526c
RK
1683}
1684
c0f6797e
RK
1685#back-button {
1686/* padding-top: 3px !important;
1687 padding-bottom: 3px !important;
1688 -moz-padding-start: 5px !important;
1689 -moz-padding-end: 0 !important;*/
1690 position: relative;
1691 z-index: 1;
1692 border-radius: 10000px;
1693 width: 30px;
1694 height: 30px;
1695 margin-top: -2px;
1696 margin-bottom: -2px;
143c5409
RK
1697}
1698
c0f6797e 1699#back-button:-moz-locale-dir(rtl) {
319c6529
RK
1700}
1701
c0f6797e
RK
1702#back-button > menupopup {
1703 margin-top: -1px !important;
b36fc72e
RK
1704}
1705
c0f6797e
RK
1706#back-button > .toolbarbutton-icon {
1707 border-radius: 10000px !important;
1708 background-clip: padding-box !important;
1709/* background-color: hsla(210,25%,98%,.08) !important;
1710 padding: 6px !important;
589b5528
RK
1711 border-style: none !important;
1712 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1713 0 0 0 1px hsla(210,4%,10%,.25);*/
1714 transition-property: background-color, box-shadow !important;
c0f6797e 1715 transition-duration: 250ms !important;
143c5409
RK
1716}
1717
c0f6797e 1718#back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
589b5528 1719/* background-color: hsla(210,4%,10%,.08) !important;*/
143c5409
RK
1720}
1721
c0f6797e
RK
1722#back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
1723#back-button[open="true"] > .toolbarbutton-icon {
1724/* background-color: hsla(210,4%,10%,.12) !important;
589b5528
RK
1725 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1726 0 0 0 1px hsla(210,4%,10%,.25),
1727 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/
143c5409
RK
1728}
1729
2c62526c 1730#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
c0f6797e 1731 transform: scaleX(-1);
143c5409 1732}
c0f6797e
RK
1733/*
1734.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
1735.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
1736 list-style-image: url("chrome://browser/skin/menu-back.png") !important;
6adbc9a6
RK
1737}
1738
c0f6797e
RK
1739.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
1740.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
1741 list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
6adbc9a6
RK
1742}
1743
c0f6797e
RK
1744#home-button.bookmark-item {
1745 list-style-image: url("chrome://browser/skin/Toolbar.png");
6adbc9a6
RK
1746}
1747
c0f6797e
RK
1748#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),
1749#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),
1750#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1751#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1752#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1753#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1754#home-button.bookmark-item:-moz-lwtheme-brighttext {
1755 position: relative;
1756 z-index: 1;
1757 list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
6adbc9a6
RK
1758}
1759
c0f6797e
RK
1760#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1761#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) {
1762 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
6adbc9a6 1763}
c0f6797e 1764*/
6adbc9a6 1765
c0f6797e
RK
1766#downloads-button > .toolbarbutton-icon {
1767 margin: 0;
6adbc9a6
RK
1768}
1769
9168a62c 1770/* tabview menu item */
c0f6797e 1771
6adbc9a6 1772#menu_tabview {
832af407 1773 list-style-image: url("chrome://browser/skin/tabview/tabviewFx.png");
6adbc9a6
RK
1774 -moz-image-region: rect(1px, 89px, 17px, 73px);
1775}
1776
1777#menu_tabview[groups="0"] {
1778 -moz-image-region: rect(1px, 17px, 17px, 1px);
1779}
1780
1781#menu_tabview[groups="1"] {
1782 -moz-image-region: rect(1px, 35px, 17px, 19px);
1783}
1784
1785#menu_tabview[groups="2"] {
1786 -moz-image-region: rect(1px, 53px, 17px, 37px);
1787}
1788
1789#menu_tabview[groups="3"] {
1790 -moz-image-region: rect(1px, 71px, 17px, 55px);
1791}
1792
9168a62c
RK
1793/* undo close tab menu item */
1794#alltabs_undoCloseTab {
1795 list-style-image: url(chrome://browser/skin/undoCloseTab.png);
1796}
1797
2e389898 1798@media (min-resolution: 1.1dppx) {
9168a62c
RK
1799 #alltabs_undoCloseTab {
1800 list-style-image: url(chrome://browser/skin/undoCloseTab@2x.png);
1801 }
1802 #alltabs_undoCloseTab > .toolbarbutton-icon {
1803 width: 16px;
1804 }
1805}
1806
5401f433
RK
1807/* zoom control text (reset) button special case: */
1808
1809#nav-bar #zoom-reset-button > .toolbarbutton-text {
1810 /* To make this line up with the icons, it needs the same height (18px) +
1811 * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise
1812 * increase in text sizes would break things...
1813 */
1814 min-height: 20px;
1815}
1816
319c6529
RK
1817/* ::::: fullscreen window controls ::::: */
1818
8d7ef0d9 1819#window-controls {
ab799a7a
RK
1820 -moz-margin-start: 4px;
1821}
1822
319c6529
RK
1823#minimize-button,
1824#restore-button,
1825#close-button {
c0f6797e
RK
1826/* list-style-image: url("chrome://global/skin/icons/windowControls.png");
1827 padding: 0; */
319c6529
RK
1828}
1829
1830#minimize-button {
1831 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1832}
1833
1834#minimize-button:hover {
1835 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1836}
1837
1838#restore-button {
1839 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1840}
1841
1842#restore-button:hover {
1843 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1844}
1845
1846#close-button {
1847 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1848}
1849
1850#close-button:hover {
1851 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1852}
1853
1854/* ::::: Location Bar ::::: */
1855
319c6529
RK
1856#urlbar,
1857.searchbar-textbox {
1858 border-radius: 5px;
aec5dfad 1859 margin: 2px 0;
319c6529
RK
1860 -moz-margin-start: 3px;
1861}
1862
ffce2402 1863#urlbar {
f0071a71
RK
1864 /* make color as light as possible to deal with dark non-domain parts */
1865 color: #FFBFFF;
ffce2402
RK
1866}
1867
c9b0a396
RK
1868/* overlap the urlbar's border */
1869#PopupAutoCompleteRichResult {
1870 margin-top: -1px;
1871}
1872
319c6529
RK
1873#urlbar:-moz-lwtheme,
1874.searchbar-textbox:-moz-lwtheme {
1875 /* background-color: rgba(255,255,255,.8);
1876 @navbarTextboxCustomBorder@
1877 color: black; */
1878}
1879
c0f6797e
RK
1880#urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]),
1881.searchbar-textbox:-moz-lwtheme:hover:not([focused]) {
1882/* background-color: rgba(255,255,255,.9);*/
1883}
1884
1885#urlbar:-moz-lwtheme[focused]:not([readonly]),
1886.searchbar-textbox:-moz-lwtheme[focused] {
1887/* background-color: white;*/
1888}
1889
2c62526c 1890window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar {
2299146f
RK
1891/* -moz-border-start: none;
1892 margin-left: 0;*/
2c62526c
RK
1893}
1894
1895window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) {
1896/* border-top-left-radius: 0;
1897 border-bottom-left-radius: 0; */
1898}
1899
1900window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1901/* border-top-right-radius: 0;
1902 border-bottom-right-radius: 0; */
1903}
1904
1905window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
1906/* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/
aec5dfad 1907/* -moz-margin-start: -5px; */
2c62526c
RK
1908}
1909
fff8097b
RK
1910window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl),
1911window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
2c62526c 1912 /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
71a617ff 1913 transform: scaleX(-1);
8ad8bf83
RK
1914}
1915
2c62526c
RK
1916window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) {
1917 -moz-box-direction: reverse;
1918}
1919
a7145e95
RK
1920html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1921.searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
319c6529
RK
1922 color: #E7ADE7;
1923}
1924
319c6529
RK
1925#urlbar-container {
1926 -moz-box-orient: horizontal;
1927 -moz-box-align: stretch;
1928}
1929
9abeb12c
RK
1930.urlbar-textbox-container {
1931 -moz-box-align: stretch;
1932}
1933
a40f6a79
RK
1934.urlbar-input-box {
1935 -moz-margin-start: 0;
1936}
1937
319c6529 1938#urlbar-icons {
319c6529
RK
1939 -moz-box-align: center;
1940}
1941
1942.urlbar-icon {
b8384c33 1943 padding: 0 2px;
ffce2402
RK
1944}
1945
1946.searchbar-engine-button,
1947.search-go-container {
4b686546
RK
1948 padding: 2px;
1949}
1950
1951.search-go-container > .search-go-button {
1952 padding: 0;
319c6529
RK
1953}
1954
ffce2402
RK
1955.urlbar-icon:hover {
1956}
1957
1958.urlbar-icon[open="true"],
1959.urlbar-icon:hover:active {
1960}
1961
1437a48c
RK
1962#urlbar-search-footer {
1963 border-top: 1px solid #A09090;
1964}
1965
1966#urlbar-search-settings {
1967}
1968
1969#urlbar-search-settings:hover {
1970}
1971
1972#urlbar-search-settings:hover:active {
1973}
1974
319c6529
RK
1975#urlbar-search-splitter {
1976 min-width: 6px;
1977 -moz-margin-start: -3px;
1978 border: none;
1979 background: transparent;
1980}
1981
f0071a71 1982#urlbar-search-splitter + #urlbar-container > #urlbar,
319c6529
RK
1983#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1984 -moz-margin-start: 0;
1985}
1986
e20c83c3
RK
1987#urlbar-display-box {
1988}
1989
8922acc9 1990.urlbar-display {
319c6529
RK
1991 -moz-border-end: 1px solid #9C9CFF;
1992 -moz-margin-end: 3px;
ab799a7a
RK
1993 margin-top: 0;
1994 margin-bottom: 0;
a40f6a79 1995 -moz-margin-start: 0;
ab799a7a
RK
1996 color: #8050B0;
1997}
1998
19988d2d
RK
1999#PopupAutoCompleteRichResult > richlistbox {
2000 transition: height 100ms;
2001}
2002
26125509
RK
2003#search-container {
2004 min-width: calc(54px + 11ch);
2005}
2006
319c6529
RK
2007/* identity box */
2008
2009#identity-box {
319c6529 2010 border-radius: 2px;
85cfb236 2011 font-size: .9em;
319c6529
RK
2012}
2013
e20c83c3
RK
2014#identity-box:-moz-locale-dir(ltr) {
2015/* border-top-left-radius: 1.5px;
2016 border-bottom-left-radius: 1.5px;*/
2017}
2018
2019#identity-box:-moz-locale-dir(rtl) {
2020/* border-top-right-radius: 1.5px;
2021 border-bottom-right-radius: 1.5px;*/
2022}
2023
8ad8bf83 2024#notification-popup-box:not([hidden]) + #identity-box {
5517da5a 2025 -moz-padding-start: 10px !important;
8ad8bf83
RK
2026 border-radius: 0;
2027}
2028
fff8097b 2029window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box {
d15d08bf 2030/* border-radius: 0; */
2a5b7882
RK
2031 -moz-padding-start: 2px;
2032 -moz-padding-end: 2px;
2033 -moz-margin-end: 1px;
8ad8bf83
RK
2034}
2035
2c62526c
RK
2036window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box {
2037 transition: padding-left, padding-right;
2038}
2039
2c62526c 2040window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
26125509 2041 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
2a5b7882 2042 padding-left: 2px;
8ad8bf83
RK
2043}
2044
2c62526c 2045window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
26125509 2046 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
2a5b7882 2047 padding-right: 2px;
8ad8bf83
RK
2048}
2049
2c62526c 2050window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar >
26125509 2051 #notification-popup-box[hidden] + #identity-box {
8ad8bf83 2052 /* forward button hiding is delayed when hovered */
71a617ff 2053 transition-delay: 100s;
8ad8bf83
RK
2054}
2055
2c62526c 2056window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
26125509 2057 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
8ad8bf83 2058 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2a5b7882 2059 padding-left: 2.01px;
8ad8bf83
RK
2060}
2061
2c62526c 2062window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
26125509 2063 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
8ad8bf83 2064 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2a5b7882 2065 padding-right: 2.01px;
8ad8bf83
RK
2066}
2067
1437a48c 2068#identity-box {
a40f6a79 2069 -moz-margin-end: 3px;
319c6529
RK
2070}
2071
1437a48c 2072#identity-box:-moz-locale-dir(ltr) {
a40f6a79
RK
2073 border-top-right-radius: 0;
2074 border-bottom-right-radius: 0;
319c6529
RK
2075}
2076
1437a48c 2077#identity-box:-moz-locale-dir(rtl) {
a40f6a79
RK
2078 border-top-left-radius: 0;
2079 border-bottom-left-radius: 0;
319c6529
RK
2080}
2081
1437a48c
RK
2082#identity-box:hover,
2083#identity-box[open=true] {
2084}
2085
19988d2d 2086#identity-box.verifiedIdentity:not(:-moz-lwtheme):not(:hover):not([open=true]) {
e548e22e 2087 var(--verified-identity-box-backgroundcolor);
319c6529
RK
2088}
2089
2090#identity-box:-moz-focusring {
2091 outline: 1px dotted #008484;
f993773d 2092 outline-offset: -1px;
319c6529
RK
2093}
2094
2095#identity-box.verifiedDomain:-moz-focusring,
2096#identity-box.verifiedIdentity:-moz-focusring {
2097 outline-color: #000000;
2098}
2099
2100#identity-icon-labels {
2101 -moz-margin-start: 1px;
2102 -moz-margin-end: 3px;
319c6529
RK
2103}
2104
2105/* Location bar dropmarker */
2106
38cfeb47 2107.urlbar-history-dropmarker:not(:hover):not([open="true"]) {
319c6529 2108 background-color: transparent;
319c6529
RK
2109}
2110
00f971bc 2111#urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker,
c9b0a396
RK
2112#urlbar-wrapper > #urlbar > .urlbar-history-dropmarker,
2113#urlbar-wrapper > #urlbar > .urlbar-textbox-container > .urlbar-history-dropmarker {
38cfeb47
RK
2114 border: none;
2115 border-radius: 0px;
319c6529
RK
2116}
2117
ffce2402
RK
2118.urlbar-history-dropmarker:hover {
2119}
2120
2121.urlbar-history-dropmarker:hover:active,
2122.urlbar-history-dropmarker[open="true"] {
2123}
2124
319c6529
RK
2125/* page proxy icon */
2126
e7c8bab1
RK
2127/* === BEGIN identity-block.inc.css === */
2128
e548e22e
RK
2129:root {
2130 --identity-box-verified-color: #008484;
e7c8bab1 2131 /* Default theme does different color per channel, we can't as they do it build-time. */
e548e22e
RK
2132 --identity-box-chrome-color: #9C9CFF;
2133}
2134
2135#urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
2136 color: var(--identity-box-chrome-color);
2137 -moz-border-end: 1px solid var(--identity-box-chrome-color);
e7c8bab1
RK
2138}
2139
2140#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
e548e22e
RK
2141 color: var(--identity-box-verified-color);
2142 -moz-border-end: 1px solid var(--identity-box-verified-color);
e7c8bab1
RK
2143}
2144
1437a48c 2145#identity-box {
e7c8bab1
RK
2146 background-position: right;
2147 background-size: 1px;
2148 background-repeat: no-repeat;
2149}
2150
19988d2d
RK
2151/* TRACKING PROTECTION ICON */
2152
2153#tracking-protection-icon {
2154 width: 16px;
2155 height: 16px;
2156 list-style-image: url("chrome://browser/skin/tracking-protection-16.svg");
2157}
2158
2159#tracking-protection-icon[state="loaded-tracking-content"] {
2160 list-style-image: url("chrome://browser/skin/tracking-protection-disabled-16.svg");
2161}
2162
2163#tracking-protection-icon:not([state]) {
2164 display: none;
2165}
2166
2167/* MAIN IDENTITY ICON */
e7c8bab1 2168
4d58ff64 2169#page-proxy-favicon {
319c6529
RK
2170 width: 16px;
2171 height: 16px;
1437a48c 2172 list-style-image: url("chrome://browser/skin/identity-not-secure.svg");
00f971bc 2173 margin: 2px;
e7c8bab1
RK
2174}
2175
2176.chromeUI > #page-proxy-favicon[pageproxystate="valid"] {
1437a48c 2177 list-style-image: url("chrome://branding/content/identity-icons-brand.svg");
a40f6a79
RK
2178}
2179
1437a48c 2180.verifiedDomain > #page-proxy-favicon[pageproxystate="valid"],
2a5b7882 2181.verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
1437a48c 2182 list-style-image: url("chrome://browser/skin/identity-secure.svg");
a40f6a79
RK
2183}
2184
56ab361a 2185.mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
1437a48c 2186 list-style-image: url("chrome://browser/skin/identity-mixed-active-loaded.svg");
56ab361a
RK
2187}
2188
1437a48c
RK
2189.weakCipher > #page-proxy-favicon[pageproxystate="valid"],
2190.mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"],
2191.mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
2192 list-style-image: url("chrome://browser/skin/identity-mixed-passive-loaded.svg");
e7c8bab1
RK
2193}
2194
1437a48c
RK
2195.mixedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
2196 list-style-image: url("chrome://browser/skin/identity-mixed-active-blocked.svg");
e7c8bab1
RK
2197}
2198
2199#page-proxy-favicon[pageproxystate="invalid"] {
2200 opacity: 0.3;
2201}
2202
2203#identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
2204 list-style-image: url("chrome://branding/content/icon64.png");
2205}
2206
2207#identity-popup-brandName {
2208 font-weight: bold;
2209 font-size: 1.25em;
2210 margin-top: .5em;
2211 margin-bottom: .5em;
2212}
2213
2214#identity-popup-content-box {
2215 max-width: 50ch;
2216}
2217
b336389b
RK
2218#urlbar[actiontype="searchengine"] > #identity-box > #page-proxy-favicon {
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
c9b0a396
RK
2226/* MAIN IDENTITY ICON */
2227
2228#identity-icon {
2229 width: 16px;
2230 height: 16px;
2231 list-style-image: url(chrome://browser/skin/identity-icon.svg#normal);
2232}
2233
2234#identity-box:hover > #identity-icon,
2235#identity-box[open=true] > #identity-icon {
2236 list-style-image: url(chrome://browser/skin/identity-icon.svg#hover);
2237}
2238
2239#urlbar[pageproxystate="valid"] > #identity-box.chromeUI > #identity-icon {
2240 list-style-image: url(chrome://branding/content/identity-icons-brand.svg);
2241}
2242
2243#urlbar[pageproxystate="invalid"] > #identity-box > #identity-icon {
2244 opacity: 0.3;
2245}
2246
2247#urlbar[actiontype="searchengine"] > #identity-box > #identity-icon {
2248 -moz-image-region: inherit;
2249 list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg#search-icon);
2250 width: 16px;
2251 height: 16px;
2252 opacity: 1;
2253}
2254
2255/* TRACKING PROTECTION ICON */
2256
2257#tracking-protection-icon {
2258 width: 16px;
2259 height: 16px;
2260 margin-inline-start: 2px;
2261 margin-inline-end: 0;
2262 list-style-image: url(chrome://browser/skin/tracking-protection-16.svg);
2263 opacity: 1;
2264}
2265
2266#tracking-protection-icon[state="loaded-tracking-content"] {
2267 list-style-image: url(chrome://browser/skin/tracking-protection-disabled-16.svg);
2268}
2269
2270#tracking-protection-icon[animate] {
2271 transition: margin-left 200ms ease-out, margin-right 200ms ease-out;
2272}
2273
2274#tracking-protection-icon:not([state]) {
2275 margin-inline-end: -18px;
2276 pointer-events: none;
2277 opacity: 0;
2278 /* Only animate the shield in, when it disappears hide it immediately. */
2279 transition: none;
2280}
2281
2282#urlbar[pageproxystate="invalid"] > #identity-box > #tracking-protection-icon {
2283 visibility: collapse;
2284}
2285
2286/* CONNECTION ICON */
2287
2288#connection-icon {
2289 width: 16px;
2290 height: 16px;
2291 margin-inline-start: 2px;
2292 visibility: collapse;
2293}
2294
2295#urlbar[pageproxystate="valid"] > #identity-box.verifiedDomain > #connection-icon,
2296#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity > #connection-icon {
2297 list-style-image: url(chrome://browser/skin/identity-secure.svg);
2298 visibility: visible;
2299}
2300
2301#urlbar[pageproxystate="valid"] > #identity-box.insecureLoginForms > #connection-icon,
2302#urlbar[pageproxystate="valid"] > #identity-box.mixedActiveContent > #connection-icon {
2303 list-style-image: url(chrome://browser/skin/identity-mixed-active-loaded.svg);
2304 visibility: visible;
2305}
2306
2307#urlbar[pageproxystate="valid"] > #identity-box.weakCipher > #connection-icon,
2308#urlbar[pageproxystate="valid"] > #identity-box.mixedDisplayContent > #connection-icon,
2309#urlbar[pageproxystate="valid"] > #identity-box.mixedDisplayContentLoadedActiveBlocked > #connection-icon {
2310 list-style-image: url(chrome://browser/skin/identity-mixed-passive-loaded.svg);
2311 visibility: visible;
2312}
2313
2314#urlbar[pageproxystate="valid"] > #identity-box.mixedActiveBlocked > #connection-icon {
2315 list-style-image: url(chrome://browser/skin/identity-mixed-active-blocked.svg);
2316 visibility: visible;
2317}
2318
e7c8bab1
RK
2319/* === END identity-block.inc.css === */
2320
2321#page-proxy-favicon {
2322 -moz-image-region: rect(0, 16px, 16px, 0);
2323}
2324
3b1da406 2325window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon {
c0f6797e
RK
2326/* -moz-margin-end: 1px;*/
2327}
2328
2a5b7882 2329#identity-box:hover > #page-proxy-favicon {
a40f6a79
RK
2330 -moz-image-region: rect(0, 32px, 16px, 16px);
2331}
2332
2a5b7882
RK
2333#identity-box:hover:active > #page-proxy-favicon,
2334#identity-box[open=true] > #page-proxy-favicon {
a40f6a79 2335 -moz-image-region: rect(0, 48px, 16px, 32px);
acb0e9b8 2336}
2337
2a5b7882
RK
2338#identity-box:hover {
2339 background-color: #FFCF00;
7092015d 2340 color: #000000;
2a5b7882
RK
2341}
2342
2343#identity-box:hover:active,
2344#identity-box[open=true] {
2345 background-color: #FF9F00;
7092015d 2346 color: #000000;
2a5b7882
RK
2347}
2348
56859d76
RK
2349#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover,
2350#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active,
2351#urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] {
2352 background-color: #9C9CFF;
2353 color: #000000;
2354}
2355
387e6560
RK
2356#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
2357#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
2358#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
2a5b7882
RK
2359 background-color: #008484;
2360 color: #000000;
2361}
2362
319c6529
RK
2363/* autocomplete */
2364
319c6529
RK
2365#treecolAutoCompleteImage {
2366 max-width: 36px;
2367}
acb0e9b8 2368
319c6529
RK
2369.ac-result-type-bookmark,
2370.autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
71bac478 2371 list-style-image: url("chrome://browser/skin/places/bookmark.png");
319c6529 2372 -moz-image-region: rect(0px 16px 16px 0px);
c1f7cc84 2373 width: 16px;
319c6529 2374 height: 16px;
acb0e9b8 2375}
2376
c0f6797e
RK
2377richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark,
2378.autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) {
2379/* -moz-image-region: rect(0px 48px 16px 32px);*/
2380}
2381
319c6529 2382.ac-result-type-keyword,
8922acc9
RK
2383.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage),
2384richlistitem[type~="action"][actiontype="searchengine"] > .ac-title-box > .ac-site-icon {
2385 list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon");
acb0e9b8 2386 width: 16px;
2387 height: 16px;
2388}
2389
8922acc9
RK
2390 .ac-result-type-keyword[selected="true"],
2391 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage, selected),
2392 richlistitem[type~="action"][actiontype="searchengine"][selected="true"] > .ac-title-box > .ac-site-icon {
2393 list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon-inverted");
2394 }
2395
319c6529
RK
2396.ac-result-type-tag,
2397.autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
8da9da4e 2398 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
c1f7cc84 2399 width: 16px;
319c6529
RK
2400 height: 16px;
2401}
acb0e9b8 2402
319c6529 2403.ac-comment {
c0f6797e 2404 font-size: 1.06em;
acb0e9b8 2405}
319c6529
RK
2406
2407.ac-extra > .ac-comment {
c0f6797e 2408 font-size: 1em;
acb0e9b8 2409}
319c6529
RK
2410
2411.ac-url-text,
2412.ac-action-text {
c0f6797e 2413 font-size: 1em;
319c6529 2414 color: #9C9CFF;
acb0e9b8 2415}
319c6529
RK
2416
2417richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
2418 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
85cfb236
RK
2419 -moz-image-region: rect(0, 16px, 16px, 0);
2420 padding: 0 3px;
2421}
2422
2423richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
2424 -moz-image-region: rect(16px, 16px, 32px, 0);
acb0e9b8 2425}
2426
319c6529
RK
2427.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
2428 color: #8050B0;
2429}
acb0e9b8 2430
319c6529
RK
2431.ac-comment[selected="true"],
2432.ac-url-text[selected="true"],
2433.ac-action-text[selected="true"] {
2434 color: inherit !important;
acb0e9b8 2435}
2436
c1f7cc84
RK
2437.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
2438.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
319c6529
RK
2439{
2440 color: #8050B0;
2441 font-size: smaller;
acb0e9b8 2442}
319c6529
RK
2443
2444.autocomplete-treebody::-moz-tree-cell(suggesthint) {
2445 border-top: 1px solid #9C9CFF;
acb0e9b8 2446}
2447
319c6529
RK
2448/* combined go/reload/stop button in location bar */
2449
c9b0a396
RK
2450#urlbar-go-button,
2451#urlbar-reload-button,
2452#urlbar-stop-button {
2453 border-style: none;
52d7b436 2454 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
c9b0a396
RK
2455/* padding: 0 9px;*/
2456 margin-inline-start: 2px;
2457 border-inline-start: 1px solid var(--urlbar-separator-color);
2458 border-image: linear-gradient(transparent 15%,
2459 var(--urlbar-separator-color) 15%,
2460 var(--urlbar-separator-color) 85%,
2461 transparent 85%);
2462 border-image-slice: 1;
9abeb12c
RK
2463}
2464
2465#urlbar:-moz-locale-dir(ltr) > toolbarbutton {
38cfeb47
RK
2466 border-top-left-radius: 0px;
2467 border-bottom-left-radius: 0px;
acb0e9b8 2468}
acb0e9b8 2469
9abeb12c 2470#urlbar:-moz-locale-dir(rtl) > toolbarbutton {
38cfeb47
RK
2471 border-top-right-radius: 0px;
2472 border-bottom-right-radius: 0px;
9abeb12c
RK
2473}
2474
46e71434 2475#urlbar > toolbarbutton:not([disabled=true]):active:hover,
dce90fef
RK
2476#urlbar-reload-button:not(:hover) {
2477 -moz-border-start-style: none;
714b11f6 2478 -moz-padding-start: 3px;
dce90fef
RK
2479}
2480
c0f6797e
RK
2481#urlbar-reload-button {
2482 -moz-image-region: rect(0px, 14px, 14px, 0px);
acb0e9b8 2483}
2484
46e71434 2485#urlbar-reload-button[disabled=true] {
c0f6797e 2486 -moz-image-region: rect(28px, 14px, 42px, 0px);
acb0e9b8 2487}
2488
46e71434 2489#urlbar-reload-button:not([disabled=true]):hover {
c0f6797e 2490 -moz-image-region: rect(14px, 14px, 28px, 0px);
ffce2402
RK
2491}
2492
c0f6797e
RK
2493#urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2494 transform: scaleX(-1);
acb0e9b8 2495}
2496
c0f6797e
RK
2497#urlbar-go-button {
2498 -moz-image-region: rect(0, 42px, 14px, 28px);
38cfeb47
RK
2499}
2500
fff8097b 2501#urlbar-go-button:hover {
c0f6797e 2502 -moz-image-region: rect(14px, 42px, 28px, 28px);
acb0e9b8 2503}
2504
c0f6797e
RK
2505#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2506 transform: scaleX(-1);
acb0e9b8 2507}
319c6529
RK
2508
2509#urlbar-stop-button {
ffce2402 2510 -moz-image-region: rect(0px, 28px, 14px, 14px);
acb0e9b8 2511}
319c6529
RK
2512
2513#urlbar-stop-button:hover {
ffce2402 2514 -moz-image-region: rect(14px, 28px, 28px, 14px);
acb0e9b8 2515}
2516
2e389898 2517@media (min-resolution: 1.1dppx) {
c9b0a396
RK
2518 #urlbar-go-button,
2519 #urlbar-reload-button,
2520 #urlbar-stop-button {
2e389898
RK
2521 list-style-image: url("chrome://browser/skin/reload-stop-go@2x.png");
2522 }
2523
c9b0a396
RK
2524 #urlbar-go-button > .toolbarbutton-icon,
2525 #urlbar-reload-button > .toolbarbutton-icon,
2526 #urlbar-stop-button > .toolbarbutton-icon {
2527 width: 14px;
2528 }
2529
2e389898
RK
2530 #urlbar-go-button {
2531 -moz-image-region: rect(0, 84px, 28px, 56px);
2532 }
2533
2534 #urlbar-go-button:hover {
2535 -moz-image-region: rect(28px, 84px, 56px, 56px);
2536 }
2537
2538 #urlbar-go-button:hover:active {
2539 -moz-image-region: rect(56px, 84px, 84px, 56px);
2540 }
2541
2542 #urlbar-reload-button {
2543 -moz-image-region: rect(0, 28px, 28px, 0);
2544 }
2545
2546 #urlbar-reload-button:not([disabled]):hover {
2547 -moz-image-region: rect(28px, 28px, 56px, 0);
2548 }
2549
2550 #urlbar-reload-button:not([disabled]):hover:active {
2551 -moz-image-region: rect(56px, 28px, 84px, 0);
2552 }
2553
2554 #urlbar-stop-button {
2555 -moz-image-region: rect(0, 56px, 28px, 28px);
2556 }
2557
2558 #urlbar-stop-button:not([disabled]):hover {
2559 -moz-image-region: rect(28px, 56px, 56px, 28px);
2560 }
2561
2562 #urlbar-stop-button:hover:active {
2563 -moz-image-region: rect(56px, 56px, 84px, 28px);
2564 }
2e389898
RK
2565}
2566
319c6529
RK
2567/* popup blocker button */
2568
2569#page-report-button {
2570 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
2571 -moz-image-region: rect(0, 16px, 16px, 0);
acb0e9b8 2572}
319c6529 2573
71bac478 2574#page-report-button:hover ,
319c6529
RK
2575#page-report-button:hover:active,
2576#page-report-button[open="true"] {
71bac478 2577 -moz-image-region: rect(0, 32px, 16px, 16px);
acb0e9b8 2578}
2579
bcb9d005
RK
2580/* === BEGIN readinglist.inc.css === */
2581
2582/* Reading List button */
2583
2584#urlbar:not([focused]):not(:hover) #readinglist-addremove-button {
2585 opacity: 0;
2586 width: 0px;
2587}
2588
2589#readinglist-addremove-button {
2590 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage");
2591 -moz-image-region: rect(0, 14px, 14px, 0);
2592 transition: width 150ms ease-in-out, opacity 150ms ease-in-out 150ms;
2593 opacity: 1;
2594 width: 20px;
2595}
2596
2597#readinglist-addremove-button:hover {
2598 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage-hover");
2599}
2600
2601#readinglist-addremove-button:active {
2602 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage-active");
2603}
2604
2605#readinglist-addremove-button[already-added="true"] {
2606 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded");
2607}
2608
2609#readinglist-addremove-button[already-added="true"]:hover {
2610 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded-hover");
2611}
2612
2613#readinglist-addremove-button[already-added="true"]:active {
2614 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded-active");
2615}
2616
2617/* === END readinglist.inc.css === */
2618
2619/* Reader mode button */
2620
2621#reader-mode-button {
2622 list-style-image: url("chrome://browser/skin/readerMode.svg");
2623 -moz-image-region: rect(0, 16px, 16px, 0);
2624}
2625
2626#reader-mode-button:hover,
2627#reader-mode-button[readeractive]:hover {
2628 -moz-image-region: rect(0, 32px, 16px, 16px);
2629}
2630
2631#reader-mode-button:hover:active,
2632#reader-mode-button[readeractive] {
2633 -moz-image-region: rect(0, 48px, 16px, 32px);
2634}
2635
c4460289
RK
2636/* social share panel */
2637
20752032
RK
2638.social-share-frame {
2639 min-width: 756px;
c4460289
RK
2640 height: 150px;
2641}
2642
20752032
RK
2643#share-container {
2644 min-width: 756px;
2645 background-color: white;
2646 background-repeat: no-repeat;
2647 background-position: center center;
c4460289 2648}
20752032
RK
2649#share-container[loading] {
2650 background-image: url(chrome://browser/skin/tabbrowser/pendingpaint.png);
2651}
2652#share-container > browser {
2653 transition: opacity 150ms ease-in-out;
2654 opacity: 1;
2655}
2656#share-container[loading] > browser {
2657 opacity: 0;
c4460289
RK
2658}
2659
20752032
RK
2660.social-share-toolbar {
2661 border-bottom: 1px solid #9C9CFF;
2662 padding: 2px;
c4460289
RK
2663}
2664
20752032
RK
2665#social-share-provider-buttons {
2666 padding: 0;
2667 margin: 0;
c4460289
RK
2668}
2669
20752032
RK
2670.share-provider-button {
2671 padding: 5px;
2672 margin: 2px;
c4460289
RK
2673}
2674
20752032 2675.share-provider-button > .toolbarbutton-text {
c4460289
RK
2676 display: none;
2677}
20752032 2678.share-provider-button > .toolbarbutton-icon {
c4460289
RK
2679 width: 16px;
2680 min-height: 16px;
2681 max-height: 16px;
2682}
2683
2684/* fixup corners for share panel */
2685.social-panel > .social-panel-frame {
2686 border-radius: inherit;
2687}
2688
2689#social-share-panel {
c4460289 2690 min-height: 100px;
20752032 2691 min-width: 766px;
c4460289
RK
2692}
2693
20752032 2694#share-container,
c4460289 2695.social-share-frame {
e2734cc7 2696 border-top-left-radius: 0;
c4460289 2697 border-bottom-left-radius: inherit;
e2734cc7 2698 border-top-right-radius: 0;
20752032 2699 border-bottom-right-radius: inherit;
c4460289
RK
2700}
2701
20752032 2702#social-share-panel > .social-share-toolbar {
e2734cc7 2703 border-top-left-radius: inherit;
e2734cc7 2704 border-top-right-radius: inherit;
e2734cc7
RK
2705}
2706
20752032 2707#social-share-provider-buttons {
c4460289 2708 border-top-left-radius: inherit;
e2734cc7 2709 border-top-right-radius: inherit;
e2734cc7
RK
2710}
2711
889649fd
RK
2712/* social recommending panel */
2713
a6757852 2714#social-mark-button {
d7cfd768 2715 -moz-image-region: rect(0, 16px, 16px, 0);
889649fd
RK
2716}
2717
c0f6797e 2718/* bookmarks menu-button */
319c6529 2719
c0f6797e
RK
2720#bookmarks-menu-button.bookmark-item {
2721 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2722 -moz-image-region: rect(0px 16px 16px 0px);
acb0e9b8 2723}
319c6529 2724
c0f6797e
RK
2725#bookmarks-menu-button.bookmark-item[starred] {
2726 -moz-image-region: rect(0px 32px 16px 16px);
acb0e9b8 2727}
319c6529 2728
c0f6797e
RK
2729#bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
2730 -moz-margin-start: 5px;
acb0e9b8 2731}
2732
c0f6797e
RK
2733#bookmarks-menu-button[cui-areatype="toolbar"]:not(.bookmark-item):not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
2734 padding-top: 2px;
2735 padding-bottom: 2px;
71bac478
RK
2736}
2737
c0f6797e
RK
2738#BMB_bookmarksPopup[side="top"],
2739#BMB_bookmarksPopup[side="bottom"] {
2740 margin-left: -20px;
2741 margin-right: -20px;
71bac478
RK
2742}
2743
c0f6797e
RK
2744#BMB_bookmarksPopup[side="left"],
2745#BMB_bookmarksPopup[side="right"] {
2746 margin-top: -20px;
2747 margin-bottom: -20px;
acb0e9b8 2748}
319c6529
RK
2749
2750/* bookmarking panel */
c0f6797e 2751
319c6529
RK
2752#editBookmarkPanelStarIcon {
2753 list-style-image: url("chrome://browser/skin/places/starred48.png");
2754 width: 48px;
2755 height: 48px;
acb0e9b8 2756}
319c6529
RK
2757
2758#editBookmarkPanelStarIcon[unstarred] {
2759 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
acb0e9b8 2760}
2761
319c6529
RK
2762#editBookmarkPanelTitle {
2763 font-size: 130%;
acb0e9b8 2764}
319c6529
RK
2765
2766#editBookmarkPanelHeader,
2767#editBookmarkPanelContent {
2768 margin-bottom: .5em;
acb0e9b8 2769}
319c6529
RK
2770
2771/* Implements editBookmarkPanel resizing on folderTree un-collapse. */
2772#editBMPanel_folderTree {
2773 min-width: 27em;
acb0e9b8 2774}
2775
f993773d 2776.panel-promo-box {
46e71434
RK
2777 margin: 5px 0 -6px;
2778 padding: 5px 0;
889649fd 2779 border-top: 1px solid #9C9CFF;
f0eab82c
RK
2780 border-bottom-left-radius: 5px;
2781 border-bottom-right-radius: 5px;
f993773d
RK
2782}
2783
2784.panel-promo-icon {
2785 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
2786 -moz-margin-end: 10px;
2787 vertical-align: middle;
2788}
2789
2790.panel-promo-closebutton {
2791 list-style-image: url("chrome://global/skin/icons/close-button.gif");
f0eab82c
RK
2792 -moz-margin-end: -3px;
2793 margin-top: -3px;
f993773d
RK
2794}
2795
2796.panel-promo-closebutton:hover {
2797 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2798}
2799
2800.panel-promo-closebutton:hover:active {
2801 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2802}
2803
2804.panel-promo-closebutton > .toolbarbutton-text {
2805 padding: 0;
f993773d
RK
2806}
2807
319c6529
RK
2808/* ::::: content area ::::: */
2809
bcb9d005
RK
2810#sidebar-box {
2811 background-color: #9C9CFF;
2812 color: #000000;
2813}
2814
319c6529 2815#sidebar {
bcb9d005
RK
2816 background-color: #000000;
2817}
2818
2819#sidebar-splitter {
2820 -moz-margin-start: 0;
2821}
2822
2823#sidebar-header {
2824 color: #000000;
2825 padding: 2px;
acb0e9b8 2826}
319c6529
RK
2827
2828#sidebar-title {
2829 -moz-padding-start: 0px;
acb0e9b8 2830}
319c6529 2831
589b5528
RK
2832#sidebar-header > .close-icon {
2833/* padding: 4px 2px;
2834 margin: 0;
2835 border: none;*/
2836 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2837}
2838
2839#sidebar-header > .close-icon:hover,
2840#sidebar-header > .close-icon:hover:active {
2841 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2842}
2843
bcb9d005
RK
2844#sidebar-splitter:-moz-locale-dir(ltr),
2845#sidebar:-moz-locale-dir(ltr) {
2846 border-radius: 0 5px 0 0;
2847}
2848
2849#sidebar-splitter:-moz-locale-dir(rtl),
2850#sidebar:-moz-locale-dir(rtl) {
2851 border-radius: 5px 0 0 0;
2852}
2853
fe524e0c
RK
2854.browserContainer > findbar {
2855/*
2856 background-color: -moz-dialog;
2857 color: -moz-DialogText;
2858*/
2859}
2860
319c6529 2861/* Tabstrip */
b36fc72e 2862
c0f6797e 2863#TabsToolbar {
e20c83c3
RK
2864 min-height: 0;
2865 padding: 0;
2866 -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar");
2867}
2868
b36fc72e 2869#TabsToolbar .toolbar-holder {
c1f7cc84 2870 background-color: #000000; /* correct effect of being an actual toolbar */
acb0e9b8 2871}
2872
b36fc72e 2873#main-window[disablechrome] #TabsToolbar,
319c6529 2874#TabsToolbar[tabsontop="false"] {
8b5fc82e 2875 border-bottom: 1px solid #008484;
acb0e9b8 2876}
319c6529 2877
6dc70335
RK
2878/* === BEGIN tabs.inc.css === */
2879
368d0b7f
RK
2880:root {
2881 /* --tab-toolbar-navbar-overlap: 1px; */
2882 /* --tab-min-height: 31px; */
d533ec21
RK
2883 /* --tab-curve-width: 30px; */
2884 /* --tab-curve-half-width: 15px; */
368d0b7f
RK
2885}
2886
319c6529 2887.tabbrowser-tab,
43ee1307
RK
2888.tabs-newtab-button,
2889#TabsToolbar > #new-tab-button {
319c6529 2890 margin-top: 0px;
acb0e9b8 2891}
319c6529 2892
43ee1307 2893.tabbrowser-tab {
57fc408c
RK
2894 padding: 1px 4px 2px;
2895}
2896
2897.tabbrowser-tab:first-of-type {
2898 -moz-margin-start: 2px;
2899}
2900
43ee1307
RK
2901.tabs-newtab-button,
2902#TabsToolbar > #new-tab-button {
57fc408c
RK
2903 border-radius: 8px 8px 0px 0px;
2904 -moz-margin-start: 0;
2905}
2906
43ee1307
RK
2907.tabs-newtab-button:not(:hover),
2908#TabsToolbar > #new-tab-button:not(:hover) {
57fc408c
RK
2909 background-color: #C09070;
2910}
2911
c0f6797e 2912/* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */
05148fed 2913.tabbrowser-tab[visuallyselected=true] {
c0f6797e
RK
2914/* position: relative;
2915 z-index: 2;*/
acb0e9b8 2916}
2917
c0f6797e 2918.tab-background-middle {
acb0e9b8 2919}
2920
c0f6797e 2921.tab-content {
acb0e9b8 2922}
319c6529 2923
d533ec21
RK
2924.tab-content[pinned] {
2925}
2926
2927.tab-throbber,
c0f6797e
RK
2928.tab-icon-image,
2929.tab-close-button {
acb0e9b8 2930}
2931
319c6529
RK
2932.tab-throbber,
2933.tab-icon-image {
319c6529 2934 height: 16px;
c0f6797e 2935 width: 16px;
d533ec21 2936 -moz-margin-end: 3px;
c0f6797e
RK
2937}
2938
2939.tab-icon-image {
dce90fef 2940 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
613daf44 2941}
2942
d533ec21
RK
2943.tab-icon-overlay {
2944 width: 16px;
2945 height: 16px;
2946 /* margin-top: 10px; */
2947 -moz-margin-start: -16px;
2948 display: none;
2949}
2950
2951.tab-icon-overlay[crashed] {
2952 display: -moz-box;
2953 list-style-image: url("chrome://browser/skin/tabbrowser/crashed.svg");
2954}
2955
3d64e0ce 2956.tab-throbber[busy] {
95f333af 2957 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
613daf44 2958}
319c6529
RK
2959
2960.tab-throbber[progress] {
95f333af 2961 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
613daf44 2962}
319c6529 2963
319c6529
RK
2964.tab-throbber[pinned],
2965.tab-icon-image[pinned] {
2966 -moz-margin-start: 2px;
2967 -moz-margin-end: 2px;
613daf44 2968}
319c6529 2969
c0f6797e 2970.tab-label {
aec5dfad
RK
2971 /* this needs to add up to the 16px of the icon image */
2972 height: 12px;
2973 margin-top: 2px !important;
2974 margin-bottom: 2px !important;
c0f6797e
RK
2975}
2976
2977.tab-close-button {
2978 margin-top: 1px;
2979 padding: 0;
2980}
2981
2982.tab-background,
2983.tabs-newtab-button {
2984 /* overlap the tab curves */
2985}
2986
2987.tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
2988}
2989
93c91f62
RK
2990/* Tab Overflow */
2991.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]),
2992.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
2993}
2994
2995.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:-moz-locale-dir(rtl),
2996.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:-moz-locale-dir(ltr) {
2997}
2998
2999.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]) {
3000}
3001
3002.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
3003}
3004
3005.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator[collapsed],
3006.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator[collapsed] {
3007}
3008
3009.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator,
3010.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator {
3011}
3012
05148fed
RK
3013.tab-background-start[visuallyselected=true]::after,
3014.tab-background-start[visuallyselected=true]::before,
c0f6797e
RK
3015.tab-background-start,
3016.tab-background-end,
05148fed
RK
3017.tab-background-end[visuallyselected=true]::after,
3018.tab-background-end[visuallyselected=true]::before {
c0f6797e
RK
3019}
3020
05148fed 3021.tabbrowser-tab:not([visuallyselected=true]),
c0f6797e
RK
3022.tabbrowser-tab:-moz-lwtheme {
3023}
3024
319c6529 3025/* tabbrowser-tab focus ring */
c0f6797e 3026.tabbrowser-tab:focus {
319c6529 3027 outline: 1px dotted;
613daf44 3028}
319c6529 3029
c0f6797e
RK
3030/* Selected tab */
3031
05148fed 3032.tabbrowser-tab[visuallyselected="true"] {
c0f6797e
RK
3033}
3034
3035/* End selected tab */
3036
c0f6797e
RK
3037/* Tab pointer-events */
3038/*
3039.tabbrowser-tab {
3040 pointer-events: none;
3041}
3042
3043.tab-background-middle,
3044.tabs-newtab-button,
3045.tab-close-button {
3046 pointer-events: auto;
3047}
3048*/
3049/* Pinned tabs */
3050
3051.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
3052 background-color: #E7ADE7;
3053}
3054
3055.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
3056 background-color: #3333FF;
3057 color: #000000;
3058}
3059
3060/* New tab button */
3061
3062.tabs-newtab-button {
3063 width: 28px;
d533ec21 3064 /* width: calc(36px + var(--tab-curve-width)); */
c0f6797e
RK
3065}
3066
3067/* === END tabs.inc.css === */
3068
43371c9b
RK
3069/* Background tabs:
3070 *
3071 * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top
3072 * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by
3073 * the titlebar. We don't need this in fullscreen since window dragging is not an issue there.
3074 */
05148fed 3075#main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([visuallyselected=true]) {
43371c9b
RK
3076/* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/
3077}
3078
8ad8bf83 3079/* Tab DnD indicator */
319c6529
RK
3080.tab-drop-indicator {
3081 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
9abeb12c 3082 margin-bottom: -11px;
613daf44 3083}
3084
319c6529
RK
3085/* Tab close button */
3086.tab-close-button {
319c6529
RK
3087 list-style-image: url("chrome://global/skin/icons/close-button.gif");
3088}
acb0e9b8 3089
319c6529
RK
3090.tab-close-button:hover,
3091.tab-close-button:hover[selected="true"] {
3092 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 3093}
319c6529
RK
3094
3095.tab-close-button:hover:active,
3096.tab-close-button:hover:active[selected="true"] {
3097 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 3098}
319c6529 3099
319c6529
RK
3100/* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
3101
319c6529
RK
3102.tabbrowser-arrowscrollbox > .scrollbutton-up,
3103.tabbrowser-arrowscrollbox > .scrollbutton-down {
319c6529
RK
3104 margin: 0;
3105 padding-top: 0;
3106 padding-bottom: 0;
c0f6797e
RK
3107 background-origin: border-box;
3108}
3109
3110#main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3111#main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3112.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext,
3113.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext {
3114 }
b7f3670c 3115
c0f6797e
RK
3116.tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
3117.tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
3118 }
3119
3120.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
3121.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
3122/* transform: scaleX(-1);*/
3123}
3124
3125.tabbrowser-arrowscrollbox > .scrollbutton-down {
3126 transition: 1s background-color ease-out;
acb0e9b8 3127}
319c6529 3128
319c6529
RK
3129.tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
3130 background-color: #008484;
acb0e9b8 3131}
319c6529 3132
c0f6797e
RK
3133.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]),
3134.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
3135/* border-width: 0 2px 0 0;
3136 border-style: solid;
3137 border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;*/
3138}
3139
319c6529
RK
3140.tabs-newtab-button > .toolbarbutton-icon {
3141 margin-top: -1px;
3142 margin-bottom: -1px;
acb0e9b8 3143}
319c6529
RK
3144
3145.tabs-newtab-button,
3146#TabsToolbar > #new-tab-button,
e20c83c3
RK
3147#TabsToolbar > toolbarpaletteitem > #new-tab-button,
3148#TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
832af407 3149 list-style-image: url("chrome://browser/skin/tabbrowser/newtabFx.png");
319c6529 3150 -moz-image-region: rect(0, 16px, 18px, 0);
acb0e9b8 3151}
3152
8b5fc82e 3153.tabs-newtab-button,
38cfeb47 3154.tabs-newtab-button:hover,
c0f6797e 3155#TabsToolbar > #new-tab-button,
38cfeb47 3156#TabsToolbar > #new-tab-button:hover {
319c6529 3157 -moz-image-region: rect(0, 32px, 18px, 16px);
acb0e9b8 3158}
319c6529 3159
c0f6797e
RK
3160#main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3161#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3162#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3163.tabs-newtab-button:-moz-lwtheme-brighttext,
3164#TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
3165#TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
acb0e9b8 3166}
3167
c0f6797e
RK
3168#TabsToolbar > #new-tab-button {
3169 width: 26px;
3170}
3171
3172#alltabs-button {
3173 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
acb0e9b8 3174}
319c6529 3175
f9fc08c7
RK
3176#alltabs-button:hover,
3177#alltabs-button:hover:active,
3178#alltabs-button[open="true"] {
8da9da4e 3179 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
acb0e9b8 3180}
319c6529 3181
c0f6797e
RK
3182#main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3183#alltabs-button:-moz-lwtheme-brighttext {
3184}
3185
3186#alltabs-button > .toolbarbutton-icon {
3187/* margin: 0 2px;*/
3188}
3189
3190