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