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