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