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