fourth 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
d0e580f1
RK
893#loop-call-button > .toolbarbutton-badge-container {
894 list-style-image: url("chrome://browser/skin/loop/toolbarfx.png");
895 -moz-image-region: rect(0, 18px, 18px, 0);
896}
897
898#loop-call-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
899 -moz-image-region: rect(0, 90px, 18px, 72px);
900}
901
cac2a998 902#loop-call-button[state="disabled"] > .toolbarbutton-badge-container,
d0e580f1
RK
903#loop-call-button[disabled="true"] > .toolbarbutton-badge-container {
904 -moz-image-region: rect(0, 36px, 18px, 18px);
905}
906
907#loop-call-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
908 -moz-image-region: rect(0, 126px, 18px, 108px);
909}
910
911#loop-call-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
912 -moz-image-region: rect(0, 54px, 18px, 36px);
913}
914
915#loop-call-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
916 -moz-image-region: rect(0, 72px, 18px, 54px);
917}
918
919#loop-call-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
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
d0e580f1
RK
1244#loop-call-button[cui-areatype="menu-panel"] > .toolbarbutton-badge-container,
1245toolbarpaletteitem[place="palette"] > #loop-call-button > .toolbarbutton-badge-container {
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. */
1251toolbarpaletteitem[place="palette"] > #loop-call-button > .toolbarbutton-badge-container {
1252 -moz-image-region: rect(0, 32px, 32px, 0) !important;
1253}
1254
1255#loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1256 -moz-image-region: rect(0, 160px, 32px, 128px);
1257}
1258
cac2a998 1259#loop-call-button[cui-areatype="menu-panel"][state="disabled"] > .toolbarbutton-badge-container,
d0e580f1
RK
1260#loop-call-button[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container {
1261 -moz-image-region: rect(0, 64px, 32px, 32px);
1262}
1263
1264#loop-call-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1265 -moz-image-region: rect(0, 224px, 32px, 192px);
1266}
1267
1268#loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
1269 -moz-image-region: rect(0, 96px, 32px, 64px);
1270}
1271
1272#loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
1273 -moz-image-region: rect(0, 128px, 32px, 96px);
1274}
1275
1276#loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
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
3182}
3183
a40f6a79 3184#plugins-notification-icon {
b27cc46e
RK
3185 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
3186}
3187
f76c6aee 3188#plugins-notification-icon.plugin-hidden {
b27cc46e 3189 list-style-image: url("chrome://browser/skin/notification-pluginAlert.png");
a40f6a79
RK
3190}
3191
f76c6aee 3192#plugins-notification-icon.plugin-blocked {
b27cc46e 3193 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
990cba4b
RK
3194}
3195
f76c6aee 3196#plugins-notification-icon {
fe524e0c
RK
3197/* -moz-image-region: rect(0, 16px, 16px, 0);*/
3198}
3199
f76c6aee 3200#plugins-notification-icon:hover {
fe524e0c
RK
3201/* -moz-image-region: rect(0, 32px, 16px, 16px);*/
3202}
3203
a6757852
RK
3204#plugin-install-notification-icon {
3205 list-style-image: url("chrome://browser/skin/pluginInstall-16.png");
3206}
3207
6adbc9a6
RK
3208#notification-popup-box[hidden] {
3209 /* Override display:none to make the pluginBlockedNotification animation work
3210 when showing the notification repeatedly. */
3211 display: -moz-box;
3212 visibility: collapse;
3213}
3214
f76c6aee 3215#plugins-notification-icon.plugin-blocked[showing] {
990cba4b
RK
3216 animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
3217}
3218
3219@keyframes pluginBlockedNotification {
3220 from {
3221 opacity: 0;
3222 }
3223 to {
3224 opacity: 1;
3225 }
3226}
3227
c066e743
RK
3228.bad-content-blocked-notification-icon,
3229#bad-content-blocked-notification-icon {
3230 list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png");
3231}
3232
3233.bad-content-unblocked-notification-icon,
3234#bad-content-unblocked-notification-icon {
3235 list-style-image: url(chrome://browser/skin/bad-content-unblocked-16.png);
56ab361a
RK
3236}
3237
e2734cc7 3238.webRTC-shareDevices-notification-icon,
0142a07b 3239#webRTC-shareDevices-notification-icon {
7bc075b6
RK
3240 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
3241}
3242
e2734cc7 3243.webRTC-sharingDevices-notification-icon,
6adbc9a6
RK
3244#webRTC-sharingDevices-notification-icon {
3245 list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
3246}
3247
c1d2ce3e
RK
3248.webRTC-shareMicrophone-notification-icon,
3249#webRTC-shareMicrophone-notification-icon {
3250 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png");
3251}
3252
3253.webRTC-sharingMicrophone-notification-icon,
3254#webRTC-sharingMicrophone-notification-icon {
3255 list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png");
3256}
3257
9168a62c
RK
3258.webRTC-shareScreen-notification-icon,
3259#webRTC-shareScreen-notification-icon {
3260 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png);
3261}
3262
3263.webRTC-sharingScreen-notification-icon,
3264#webRTC-sharingScreen-notification-icon {
3265 list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16.png);
3266}
3267
e2734cc7 3268.web-notifications-notification-icon,
82b4252f
RK
3269#web-notifications-notification-icon {
3270 list-style-image: url("chrome://browser/skin/notification-16.png");
3271}
3272
3273#pointerLock-notification-icon {
3274 list-style-image: url("chrome://browser/skin/pointerLock-16.png");
3275}
3276#pointerLock-cancel {
3277 margin: 0px;
3278}
3279
ed88669c
RK
3280/* Translation infobar */
3281
3282/* === BEGIN infobar.inc.css === */
3283
3284notification[value="translation"] .messageImage {
93c91f62 3285 list-style-image: url("chrome://browser/skin/translation-16.png");
ed88669c
RK
3286 -moz-image-region: rect(0, 32px, 16px, 16px);
3287}
3288
3289@media (min-resolution: 1.25dppx) {
3290 notification[value="translation"] .messageImage {
93c91f62 3291 list-style-image: url("chrome://browser/skin/translation-16@2x.png");
ed88669c
RK
3292 -moz-image-region: rect(0, 64px, 32px, 32px);
3293 }
3294}
3295
93c91f62
RK
3296notification[value="translation"][state="translating"] .messageImage {
3297 list-style-image: url("chrome://browser/skin/translating-16.png");
3298 -moz-image-region: auto;
3299}
3300
3301@media (min-resolution: 1.25dppx) {
3302 notification[value="translation"][state="translating"] .messageImage {
3303 list-style-image: url("chrome://browser/skin/translating-16@2x.png");
3304 }
3305}
3306
ed88669c
RK
3307notification[value="translation"] button,
3308notification[value="translation"] menulist {
3309 min-width: 0;
ed88669c
RK
3310}
3311
3312notification[value="translation"] menulist > .menulist-dropmarker {
3313}
3314
93c91f62
RK
3315.translation-menupopup arrowscrollbox {
3316 padding-bottom: 0;
3317}
3318
3319.translation-attribution {
3320 cursor: pointer;
3321 -moz-box-align: end;
3322 font-size: small;
3323}
3324
3325.translation-attribution > label {
3326 margin-bottom: 0;
3327}
3328
3329.translation-attribution > image {
3330 width: 70px;
3331}
3332
8837ac2c
RK
3333.translation-welcome-panel {
3334 width: 305px;
3335}
3336
3337.translation-welcome-logo {
3338 height: 32px;
3339 width: 32px;
3340 list-style-image: url(chrome://browser/skin/translation-16@2x.png);
3341 -moz-image-region: rect(0, 64px, 32px, 32px);
3342}
3343
3344.translation-welcome-content {
3345 -moz-margin-start: 16px;
3346}
3347
3348.translation-welcome-headline {
3349 font-size: larger;
3350 font-weight: bold;
3351}
3352
3353.translation-welcome-body {
3354 padding: 1em 0;
3355 margin: 0 0;
3356}
3357
ed88669c
RK
3358/* === END infobar.inc.css === */
3359
0bcd5587
RK
3360notification[value="translation"] {
3361 min-height: 40px;
3362}
3363
ed88669c
RK
3364.translate-notification-icon,
3365#translate-notification-icon {
3366 list-style-image: url("chrome://browser/skin/translation-16.png");
3367 -moz-image-region: rect(0px, 16px, 16px, 0px);
3368}
3369
3370.translated-notification-icon,
3371#translated-notification-icon {
3372 list-style-image: url("chrome://browser/skin/translation-16.png");
3373 -moz-image-region: rect(0px, 32px, 16px, 16px);
3374}
3375
3376.translation-menupopup {
3377 -moz-appearance: none;
3378}
3379
319c6529 3380/* Bookmarks roots menu-items */
319c6529
RK
3381#subscribeToPageMenuitem:not([disabled]),
3382#subscribeToPageMenupopup,
3383#BMB_subscribeToPageMenuitem:not([disabled]),
3384#BMB_subscribeToPageMenupopup {
3385 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
613daf44 3386}
3387
319c6529 3388#bookmarksToolbarFolderMenu,
c0f6797e
RK
3389#BMB_bookmarksToolbar,
3390#panelMenu_bookmarksToolbar {
8da9da4e 3391 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
319c6529
RK
3392 -moz-image-region: auto;
3393}
acb0e9b8 3394
c0f6797e
RK
3395#BMB_unsortedBookmarks,
3396#panelMenu_unsortedBookmarks {
8da9da4e 3397 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
319c6529 3398 -moz-image-region: auto;
acb0e9b8 3399}
3400
319c6529 3401/* ::::: Keyboard UI Panel ::::: */
acb0e9b8 3402
319c6529
RK
3403.KUI-panel {
3404 color: #FF9F00;
3405 border-style: none;
3406 border-radius: 20px;
acb0e9b8 3407}
3408
319c6529
RK
3409.KUI-panel[level="top"] {
3410 /*background-color: rgba(27%,27%,27%,.65);*/
acb0e9b8 3411}
3412
319c6529
RK
3413/* Ctrl-Tab */
3414
3415#ctrlTab-panel {
3416 padding: 20px 10px 10px;
3417 font-weight: bold;
acb0e9b8 3418}
3419
319c6529
RK
3420.ctrlTab-favicon[src] {
3421 background-color: #000000;
3422 width: 20px;
3423 height: 20px;
3424 padding: 2px;
3425}
acb0e9b8 3426
319c6529 3427.ctrlTab-preview-inner > .tabPreview-canvas {
acb0e9b8 3428}
3429
319c6529
RK
3430.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
3431 margin-bottom: 2px;
acb0e9b8 3432}
3433
319c6529
RK
3434.ctrlTab-preview-inner {
3435 padding-bottom: 10px;
acb0e9b8 3436}
3437
319c6529
RK
3438#ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
3439 padding: 10px;
3440 background-color: #000000;
3441 border-radius: .5em;
acb0e9b8 3442}
3443
319c6529
RK
3444.ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
3445 color: white;
3446 background-color: #000000;
3447 text-shadow: none;
3448 padding: 8px;
3449 border: 2px solid #9C9CFF;
3450 border-radius: .5em;
acb0e9b8 3451}
3452
319c6529
RK
3453.ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
3454 margin: -10px -10px 0;
acb0e9b8 3455}
3456
319c6529
RK
3457#ctrlTab-showAll {
3458 margin-top: .5em;
acb0e9b8 3459}
3460
45dc7657
RK
3461/* Sync Panel */
3462
3463.sync-panel-icon {
cae267ab 3464 height:32px;
45dc7657
RK
3465 width: 32px;
3466 background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat;
3467}
3468
3469.sync-panel-inner {
3470 width: 0;
3471 padding-left: 10px;
3472}
3473
3474.sync-panel-button-box {
3475 margin-top: 1em;
3476}
3477
3478#sync-error-panel-title,
3479#sync-start-panel-title {
cae267ab 3480 font-size: 120%;
45dc7657 3481 font-weight: bold;
cae267ab 3482 margin-bottom: 5px;
45dc7657
RK
3483}
3484
3485#sync-start-panel-subtitle,
3486#sync-error-panel-subtitle {
3487 margin: 0;
3488}
3489
9abeb12c
RK
3490/* Status panel */
3491
3492.statuspanel-label {
3493 margin: 0;
3494 padding: 2px 4px;
38cfeb47 3495 background: #404000;
9abeb12c
RK
3496 border: 1px none #9C9CFF;
3497 border-top-style: solid;
3498 color: #FF9F00;
3499 text-shadow: none;
3500}
3501
3502.statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
3503.statuspanel-label:-moz-locale-dir(rtl)[mirror] {
3504 border-right-style: solid;
3505 border-top-right-radius: .3em;
3506 margin-right: 1em;
3507}
3508
3509.statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
3510.statuspanel-label:-moz-locale-dir(ltr)[mirror] {
3511 border-left-style: solid;
3512 border-top-left-radius: .3em;
3513 margin-left: 1em;
3514}
3e6e0e5c
RK
3515
3516/* HACK to abolish devily color on main content */
3517
3518#content {
3519 background-color: transparent !important;
3520}
dce90fef 3521
7600e0b1
RK
3522/* === BEGIN highlighter.inc.css === */
3523
cae267ab
RK
3524/* Box model highlighter */
3525svg|g.box-model-container {
3526 opacity: 0.4;
3527}
3528
3529svg|polygon.box-model-content {
3530 fill: #008484;
3531}
3532
3533svg|polygon.box-model-padding {
3534 fill: #9C9CFF;
3535}
3536
3537svg|polygon.box-model-border {
3538 fill: #FFCF00;
3539}
3540
3541svg|polygon.box-model-margin {
3542 fill: #A09090;
3543}
3544
3545svg|polygon.box-model-content,
3546svg|polygon.box-model-padding,
3547svg|polygon.box-model-border,
3548svg|polygon.box-model-margin {
3549 stroke: none;
3550}
dce90fef 3551
cae267ab
RK
3552svg|line.box-model-guide-top,
3553svg|line.box-model-guide-right,
3554svg|line.box-model-guide-bottom,
3555svg|line.box-model-guide-left {
3556 stroke: #E7ADE7;
3557 stroke-dasharray: 5 3;
9168a62c 3558 shape-rendering: crispEdges;
dce90fef
RK
3559}
3560
8ad8bf83
RK
3561/* Highlighter - Node Infobar */
3562
0142a07b 3563.highlighter-nodeinfobar {
a40f6a79 3564 color: #FF9F00;
a40f6a79
RK
3565 border-radius: 3px;
3566 background-color: #000000;
3567 background-clip: padding-box;
1bf116f8
RK
3568 border: 1px solid #008484;
3569 padding: 5px;
3570 /* Avoid cases where the infobar is smaller than the arrow, when the text is
3571 short */
3572 min-width: 75px;
a40f6a79
RK
3573}
3574
8ad8bf83
RK
3575/* Highlighter - Node Infobar - text */
3576
0142a07b 3577.highlighter-nodeinfobar-text {
45dc7657 3578 text-align: center;
a40f6a79 3579 /* 100% - size of the buttons and margins */
c29b709d 3580 max-width: calc(100% - 2 * (26px + 6px));
a40f6a79
RK
3581 padding-bottom: 1px;
3582}
3583
0142a07b 3584html|*.highlighter-nodeinfobar-tagname {
8ad8bf83
RK
3585 color: #FFCF00;
3586}
3587
0142a07b 3588html|*.highlighter-nodeinfobar-id {
8ad8bf83
RK
3589 color: #9C9CFF;
3590}
3591
0142a07b 3592html|*.highlighter-nodeinfobar-pseudo-classes {
eec397be 3593 color: #FF9F00;
8ad8bf83
RK
3594}
3595
93c91f62
RK
3596html|*.highlighter-nodeinfobar-dimensions {
3597 color: #A09090;
3598 -moz-border-start: 1px solid #9C9CFF;
3599 -moz-margin-start: 6px;
3600 -moz-padding-start: 6px;
3601}
3602
a40f6a79
RK
3603/* Highlighter - Node Infobar - box & arrow */
3604
8ad8bf83
RK
3605.highlighter-nodeinfobar-arrow {
3606 width: 14px;
3607 height: 14px;
c29b709d 3608 -moz-margin-start: calc(50% - 7px);
71a617ff 3609 transform: rotate(-45deg);
8ad8bf83
RK
3610 background-clip: padding-box;
3611 background-repeat: no-repeat;
3612}
3613
0142a07b 3614.highlighter-nodeinfobar-arrow-top {
8ad8bf83
RK
3615 margin-bottom: -8px;
3616 margin-top: 8px;
fcaeefc2 3617 background-image: linear-gradient(to bottom left, transparent 50%, rgb(0, 132, 132) 50%);
8ad8bf83
RK
3618}
3619
0142a07b 3620.highlighter-nodeinfobar-arrow-bottom {
8ad8bf83
RK
3621 margin-top: -8px;
3622 margin-bottom: 8px;
fcaeefc2 3623 background-image: linear-gradient(to top right, transparent 50%, rgb(0, 132, 132) 50%);
8ad8bf83
RK
3624}
3625
0142a07b 3626.highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar {
8ad8bf83
RK
3627 margin: 7px 0;
3628}
3629
2b5a5147
RK
3630/* Css transform highlighter */
3631
3632svg|polygon.css-transform-transformed {
3633 fill: #9C9CFF;
3634 opacity: 0.8;
3635}
3636
3637svg|polygon.css-transform-untransformed {
3638 fill: #A09090;
3639 opacity: 0.8;
3640}
3641
3642svg|polygon.css-transform-transformed,
3643svg|polygon.css-transform-untransformed,
3644svg|line.css-transform-line {
3645 stroke: #E7ADE7;
3646 stroke-dasharray: 5 3;
3647 stroke-width: 2;
3648}
3649
7600e0b1
RK
3650/* === END highlighter.inc.css === */
3651
8ad8bf83
RK
3652#full-screen-warning-message {
3653 background-color: #000000;
3654 color: #FF9F00;
8ad8bf83
RK
3655 border-radius: 8px;
3656 margin-top: 30px;
3657 padding: 30px 50px;
3658 box-shadow: 0 0 2px #9C9CFF;
3659}
3660
3661#full-screen-warning-container[obscure-browser] {
85cfb236
RK
3662 background-color: rgba(0,0,0,0.3);
3663}
3664
3665.full-screen-description {
3666 font-size: 150%;
3667}
3668
3669#full-screen-domain-text {
3670 font-size: 300%;
8ad8bf83
RK
3671}
3672
85cfb236
RK
3673.full-screen-approval-button,
3674#full-screen-remember-decision {
3675 font-size: 120%;
8ad8bf83
RK
3676}
3677
b27cc46e
RK
3678/* === BEGIN commandline.inc.css === */
3679
3680/* Developer toolbar */
3681
3682#developer-toolbar {
3683 border-top: 3px solid #000000;
3684 border-bottom: none;
3685}
3686
3687#developer-toolbar .toolbar-holder {
3688 background-color: #8050B0;
3689 color: #FFCF00;
3690}
3691
3692#developer-toolbar .toolbar-holder {
3693 background-color: #8050B0;
3694 color: #FFCF00;
3695}
3696
3697#developer-toolbar .toolbar-startcap,
3698#developer-toolbar .toolbar-endcap{
3699 background-color: #6000CF;
3700}
3701
3702#developer-toolbar {
3703/* padding: 0;
3704 min-height: 32px; */
3705}
3706
de57e474 3707#developer-toolbar > toolbarbutton {
b27cc46e
RK
3708/* margin: 0;
3709 padding: 0 10px;
3710 width: 32px; */
3711}
3712
3713.developer-toolbar-button > image {
3714/* margin: auto 10px; */
3715}
3716
fe524e0c
RK
3717#developer-toolbar-toolbox-button > label {
3718 display: none;
3719}
3720
0bcd5587
RK
3721.developer-toolbar-button > .toolbarbutton-icon,
3722#developer-toolbar-closebutton > .toolbarbutton-icon {
3723 width: 16px;
3724 height: 16px;
3725}
3726
b27cc46e
RK
3727#developer-toolbar-toolbox-button {
3728 list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png");
3729 -moz-image-region: rect(0px, 16px, 16px, 0px);
3730}
3731
3732#developer-toolbar-toolbox-button > label {
3733 display: none;
3734}
3735
3736#developer-toolbar-toolbox-button:hover,
3737#developer-toolbar-toolbox-button:hover:active,
3738#developer-toolbar-toolbox-button[checked=true] {
3739 -moz-image-region: rect(0px, 32px, 16px, 16px);
3740}
3741
0bcd5587
RK
3742@media (min-resolution: 2dppx) {
3743 #developer-toolbar-toolbox-button {
3744 list-style-image: url("chrome://browser/skin/devtools/toggle-tools@2x.png");
3745 -moz-image-region: rect(0px, 32px, 32px, 0px);
3746 }
3747
3748 #developer-toolbar-toolbox-button:hover,
3749 #developer-toolbar-toolbox-button:hover:active,
3750 #developer-toolbar-toolbox-button[checked=true] {
3751 -moz-image-region: rect(0px, 64px, 32px, 32px);
3752 }
3753}
3754
de57e474
RK
3755#developer-toolbar-closebutton {
3756 list-style-image: url("chrome://browser/skin/devtools/close.png");
3757 -moz-image-region: rect(0px, 16px, 16px, 0px);
3758 min-width: 16px;
3759 width: 16px;
3760}
3761
3762#developer-toolbar-closebutton > .toolbarbutton-icon {
3763}
3764
3765#developer-toolbar-closebutton > .toolbarbutton-text {
3766 display: none;
3767}
3768
3769#developer-toolbar-closebutton:hover,
3770#developer-toolbar-closebutton:hover:active {
3771 -moz-image-region: rect(0px, 32px, 16px, 16px);
3772}
3773
0bcd5587
RK
3774@media (min-resolution: 2dppx) {
3775 #developer-toolbar-closebutton {
3776 list-style-image: url("chrome://browser/skin/devtools/close@2x.png");
3777 -moz-image-region: rect(0px, 32px, 32px, 0px);
3778 }
3779
3780 #developer-toolbar-closebutton:hover,
3781 #developer-toolbar-closebutton:hover:active {
3782 -moz-image-region: rect(0px, 64px, 32px, 32px);
3783 }
3784}
3785
b27cc46e
RK
3786/* GCLI */
3787
37953ab4
RK
3788html|*#gcli-tooltip-frame,
3789html|*#gcli-output-frame {
85cfb236 3790 padding: 0;
37953ab4
RK
3791 border-width: 0;
3792 background-color: transparent;
3793}
3794
3795#gcli-output,
3796#gcli-tooltip {
3797 border-width: 0;
3798 background-color: transparent;
85cfb236
RK
3799}
3800
3801.gclitoolbar-input-node,
b27cc46e 3802.gclitoolbar-complete-node {
37953ab4
RK
3803 margin: 1px 3px;
3804 -moz-box-align: center;
3805 padding-top: 0;
3806 padding-bottom: 0;
b27cc46e 3807 padding-right: 8px;
37953ab4 3808 background-color: transparent;
85cfb236
RK
3809}
3810
3811.gclitoolbar-input-node {
b27cc46e
RK
3812/* line-height: 32px;
3813 outline-style: none; */
de57e474
RK
3814 background-repeat: no-repeat;
3815 background-color: rgba(0, 0, 0, .75);
b27cc46e
RK
3816}
3817
3818.gclitoolbar-input-node[focused="true"] {
de57e474 3819 background-color: #000000;
37953ab4
RK
3820}
3821
0bcd5587
RK
3822.gclitoolbar-input-node::before {
3823 content: "";
3824 display: inline-block;
3825 -moz-box-ordinal-group: 0;
3826 width: 16px;
3827 height: 16px;
3828 margin: 0 2px;
3829 background-image: url("chrome://browser/skin/devtools/commandline-icon.png");
3830 background-position: 0 center;
3831 background-size: 32px 16px;
3832}
3833
3834.gclitoolbar-input-node[focused="true"]::before {
3835 background-position: -16px center;
3836}
3837
3838@media (min-resolution: 2dppx) {
3839 .gclitoolbar-input-node::before {
3840 background-image: url("chrome://browser/skin/devtools/commandline-icon@2x.png");
3841 }
3842}
3843
37953ab4
RK
3844.gclitoolbar-input-node:not([focused="true"]) {
3845 border-color: transparent;
85cfb236
RK
3846}
3847
7bc075b6
RK
3848.gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
3849 background-color: #008484;
3850 color: #000000;
3851 text-shadow: none;
3852}
3853
85cfb236 3854.gclitoolbar-complete-node {
37953ab4 3855 padding-left: 21px;
85cfb236
RK
3856 background-color: transparent;
3857 color: transparent;
b27cc46e
RK
3858 z-index: 100;
3859 pointer-events: none;
85cfb236
RK
3860}
3861
85cfb236
RK
3862.gcli-in-incomplete,
3863.gcli-in-error,
3864.gcli-in-ontab,
3865.gcli-in-todo,
3866.gcli-in-closebrace,
3867.gcli-in-param,
3868.gcli-in-valid {
3869 margin: 0;
3870 padding: 0;
3871}
3872
3873.gcli-in-incomplete {
3874 border-bottom: 2px dotted #8050B0;
3875}
3876
3877.gcli-in-error {
3878 border-bottom: 2px dotted #FF0000;
3879}
3880
3881.gcli-in-ontab {
3882 color: #9C9CFF;
3883}
3884
3885.gcli-in-todo {
3886 color: #795900;
3887}
3888
3889.gcli-in-closebrace {
3890 color: #8050B0;
3891}
3892
b27cc46e
RK
3893/* === END commandline.inc.css === */
3894
fe524e0c
RK
3895/* === BEGIN responsivedesign.inc.css === */
3896
37953ab4 3897/* Responsive Mode */
85cfb236 3898
7bc075b6 3899.browserContainer[responsivemode] {
0bcd5587 3900 background-color: #221500;
37953ab4
RK
3901 padding: 0 20px 20px 20px;
3902}
3903
7bc075b6 3904.browserStack[responsivemode] {
37953ab4
RK
3905 box-shadow: 0 0 7px #9C9CFF;
3906}
3907
3908.devtools-responsiveui-toolbar {
3909 background: transparent;
d2ce251d
RK
3910 /* text color is textColor from dark theme, since no theme is applied to
3911 * the responsive toolbar.
3912 */
3913 color: #FF9F00;
37953ab4
RK
3914 margin: 10px 0;
3915 padding: 0;
3916 box-shadow: none;
3917 border-bottom-width: 0;
3918}
3919
de57e474
RK
3920.devtools-responsiveui-menulist,
3921.devtools-responsiveui-toolbarbutton {
3922 -moz-box-align: center;
3923 min-width: 32px;
3924/* min-height: 22px;*/
3925/* margin: 0 3px; */
3926}
3927
1988bb88
RK
3928.devtools-responsiveui-menulist .menulist-editable-box {
3929 background-color: transparent;
3930}
3931
3932.devtools-responsiveui-menulist html|*.menulist-editable-input {
3933 color: inherit;
3934 text-align: center;
3935}
3936
3937.devtools-responsiveui-menulist html|*.menulist-editable-input::-moz-selection {
3938/* background: hsla(212,7%,57%,.35);*/
3939}
3940
0bcd5587
RK
3941.devtools-responsiveui-toolbarbutton > .toolbarbutton-icon {
3942 width: 16px;
3943 height: 16px;
3944}
3945
de57e474
RK
3946.devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button {
3947 -moz-box-orient: horizontal;
3948}
3949
3950.devtools-responsiveui-menulist:-moz-focusring,
3951.devtools-responsiveui-toolbarbutton:-moz-focusring {
3952/* outline: 1px dotted hsla(210,30%,85%,0.7);
3953 outline-offset: -4px;*/
3954}
3955
3956.devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text {
3957 display: none;
3958}
3959
3960.devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active {
3961/* border-color: hsla(210,8%,5%,.6);
3962 background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3));
3963 box-shadow: 0 0 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); */
3964}
3965
3966.devtools-responsiveui-menulist[open=true],
3967.devtools-responsiveui-toolbarbutton[open=true],
3968.devtools-responsiveui-toolbarbutton[checked=true] {
3969/* border-color: hsla(210,8%,5%,.6) !important;
3970 background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4));
3971 box-shadow: 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); */
3972}
3973
3974.devtools-responsiveui-toolbarbutton[checked=true] {
3975/* color: hsl(208,100%,60%); */
3976}
3977
3978.devtools-responsiveui-toolbarbutton[checked=true]:hover {
3979/* background-color: transparent !important;*/
3980}
3981
3982.devtools-responsiveui-toolbarbutton[checked=true]:hover:active {
3983/* background-color: hsla(210,8%,5%,.2) !important;*/
3984}
3985
3986.devtools-responsiveui-menulist > .menulist-label-box {
3987 text-align: center;
3988}
3989
3990.devtools-responsiveui-menulist > .menulist-dropmarker {
3991/* display: -moz-box;
3992 background-color: transparent;
0bcd5587 3993 list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg");
de57e474
RK
3994 -moz-box-align: center;
3995 border-width: 0;
3996 min-width: 16px;*/
3997}
3998
3999.devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
4000/* color: inherit;
4001 border-width: 0;
4002 -moz-border-end: 1px solid hsla(210,8%,5%,.45);
4003 box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15);*/
4004}
4005
4006.devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button {
4007/* box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15);*/
4008}
4009
4010.devtools-responsiveui-toolbarbutton[type=menu-button] {
4011/* padding: 0 1px;*/
4012 -moz-box-align: stretch;
4013}
4014
4015.devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
4016.devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
0bcd5587 4017/* list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg");
de57e474
RK
4018 -moz-box-align: center;
4019 padding: 0 3px;*/
37953ab4
RK
4020}
4021
4022.devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
4023.devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child {
fe524e0c
RK
4024 margin-left: 3px;
4025}
4026
4027.devtools-responsiveui-close {
4028 list-style-image: url("chrome://browser/skin/devtools/close.png");
4029 -moz-image-region: rect(0px,16px,16px,0px);
4030}
4031
4032.devtools-responsiveui-close:hover {
4033 -moz-image-region: rect(0px,32px,16px,16px);
4034}
4035
4036.devtools-responsiveui-rotate {
4037 list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png");
4038 -moz-image-region: rect(0px,16px,16px,0px);
4039}
4040
4041.devtools-responsiveui-rotate:hover {
4042 -moz-image-region: rect(0px,32px,16px,16px);
4043}
4044
0bcd5587
RK
4045@media (min-resolution: 2dppx) {
4046 .devtools-responsiveui-close {
4047 list-style-image: url("chrome://browser/skin/devtools/close@2x.png");
4048 }
4049
4050 .devtools-responsiveui-close:hover {
4051 -moz-image-region: rect(0px,64px,32px,32px);
4052 }
4053
4054 .devtools-responsiveui-rotate {
4055 list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate@2x.png");
4056 }
4057
4058 .devtools-responsiveui-rotate:hover {
4059 -moz-image-region: rect(0px,64px,32px,32px);
4060 }
4061}
4062
fe524e0c
RK
4063.devtools-responsiveui-touch {
4064 list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png");
4065 -moz-image-region: rect(0px,16px,16px,0px);
4066}
4067
4068.devtools-responsiveui-touch:hover,
4069.devtools-responsiveui-touch[checked],
4070.devtools-responsiveui-touch[checked]:hover {
4071 -moz-image-region: rect(0px,32px,16px,16px);
4072}
4073
0bcd5587
RK
4074@media (min-resolution: 2dppx) {
4075 .devtools-responsiveui-touch {
4076 list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch@2x.png");
4077 -moz-image-region: rect(0px,32px,32px,0px);
4078 }
4079
4080 .devtools-responsiveui-touch:hover,
4081 .devtools-responsiveui-touch[checked],
4082 .devtools-responsiveui-touch[checked]:hover {
4083 -moz-image-region: rect(0px,64px,32px,32px);
4084 }
4085}
4086
fe524e0c
RK
4087.devtools-responsiveui-screenshot {
4088 list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png");
4089 -moz-image-region: rect(0px,16px,16px,0px);
4090}
4091
4092.devtools-responsiveui-screenshot:hover {
4093 -moz-image-region: rect(0px,32px,16px,16px);
37953ab4
RK
4094}
4095
0bcd5587
RK
4096@media (min-resolution: 2dppx) {
4097 .devtools-responsiveui-screenshot {
4098 list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot@2x.png");
4099 }
4100
4101 .devtools-responsiveui-screenshot:hover {
4102 -moz-image-region: rect(0px,64px,32px,32px);
4103 }
4104}
4105
fe524e0c 4106.devtools-responsiveui-resizebarV {
37953ab4
RK
4107 width: 7px;
4108 height: 24px;
4109 cursor: ew-resize;
71a617ff 4110 transform: translate(12px, -12px);
0bcd5587 4111 background-size: cover;
37953ab4
RK
4112 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png");
4113}
4114
fe524e0c
RK
4115.devtools-responsiveui-resizebarH {
4116 width: 24px;
4117 height: 7px;
4118 cursor: ns-resize;
4119 transform: translate(-12px, 12px);
0bcd5587 4120 background-size: cover;
fe524e0c
RK
4121 background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png");
4122}
4123
37953ab4
RK
4124.devtools-responsiveui-resizehandle {
4125 width: 16px;
4126 height: 16px;
4127 cursor: se-resize;
71a617ff 4128 transform: translate(12px, 12px);
0bcd5587 4129 background-size: cover;
37953ab4 4130 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png");
8d7ef0d9 4131}
889649fd 4132
a21f2959
RK
4133/* FxOS custom mode with additional buttons and phone look'n feel */
4134
4135/* Hide devtools manual resizer */
4136.browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizehandle,
4137.browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarH,
4138.browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarV {
4139 display: none;
4140}
4141
4142/* Gives responsive mode a phone look'n feel */
4143.browserStack[responsivemode].fxos-mode {
4144 padding: 60px 15px 0;
4145
4146 border-radius: 25px / 20px;
4147 border-bottom-left-radius: 0;
4148 border-bottom-right-radius: 0;
4149 border: 1px solid #FFFFFF;
4150 border-bottom-width: 0;
4151
4152 background-color: #353535;
4153
4154 box-shadow: 0 3px 0.7px 1px #777777, 0 5px rgba(0, 0, 0, 0.4) inset;
4155
4156 background-image: linear-gradient(to right, #111 11%, #333 56%);
4157 min-width: 320px;
4158}
4159
4160.devtools-responsiveui-hardware-buttons {
4161 -moz-appearance: none;
4162 padding: 20px;
4163
4164 border: 1px solid #FFFFFF;
4165 border-bottom-left-radius: 25px;
4166 border-bottom-right-radius: 25px;
4167 border-top-width: 0;
4168
4169 box-shadow: 0 3px 0.7px 1px #777777, 0 -7px rgba(0, 0, 0, 0.4) inset;
4170
4171 background-image: linear-gradient(to right, #111 11%, #333 56%);
4172}
4173
4174.devtools-responsiveui-home-button {
4175 width: 40px;
4176 height: 30px;
4177 list-style-image: url("chrome://browser/skin/devtools/responsiveui-home.png");
4178}
4179
4180.devtools-responsiveui-sleep-button {
4181 -moz-appearance: none;
4182 /* compensate browserStack top padding */
4183 margin-top: -67px;
4184 margin-right: 10px;
4185
4186 min-width: 10px;
4187 width: 50px;
4188 height: 5px;
4189
4190 border: 1px solid #444;
4191 border-top-right-radius: 12px;
4192 border-top-left-radius: 12px;
4193 border-bottom-color: transparent;
4194
4195 background-image: linear-gradient(to top, #111 11%, #333 56%);
4196}
4197
4198.devtools-responsiveui-sleep-button:hover:active {
4199 background-image: linear-gradient(to top, #aaa 11%, #ddd 56%);
4200}
4201
4202.devtools-responsiveui-volume-buttons {
4203 margin-left: -29px;
4204}
4205
4206.devtools-responsiveui-volume-up-button,
4207.devtools-responsiveui-volume-down-button {
4208 -moz-appearance: none;
4209 border: 1px solid red;
4210 min-width: 8px;
4211 height: 40px;
4212
4213 border: 1px solid #444;
4214 border-right-color: transparent;
4215
4216 background-image: linear-gradient(to right, #111 11%, #333 56%);
4217}
4218
4219.devtools-responsiveui-volume-up-button:hover:active,
4220.devtools-responsiveui-volume-down-button:hover:active {
4221 background-image: linear-gradient(to right, #aaa 11%, #ddd 56%);
4222}
4223
4224.devtools-responsiveui-volume-up-button {
4225 border-top-left-radius: 12px;
4226}
4227
4228.devtools-responsiveui-volume-down-button {
4229 border-bottom-left-radius: 12px;
4230}
4231
0bcd5587
RK
4232@media (min-resolution: 2dppx) {
4233 .devtools-responsiveui-resizebarV {
4234 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer@2x.png");
4235 }
4236
4237 .devtools-responsiveui-resizebarH {
4238 background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer@2x.png");
4239 }
4240
4241 .devtools-responsiveui-resizehandle {
4242 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer@2x.png");
4243 }
4244}
4245
fe524e0c 4246/* === END responsivedesign.inc.css === */
fcaeefc2
RK
4247
4248/* === including indicator.css is done at the start of the file === */
fe524e0c 4249
889649fd
RK
4250/* Error counter */
4251
0142a07b 4252#developer-toolbar-toolbox-button[error-count]:before {
889649fd
RK
4253 color: #000000;
4254 min-width: 16px;
4255 text-shadow: none;
4256 background-color: #FF0000;
4257 border-radius: 1px;
c29b709d 4258 -moz-margin-end: 5px;
c54ac991 4259}
e9c73590 4260
348c0499 4261/* Social toolbar item */
e9c73590 4262
0142a07b
RK
4263#social-provider-button {
4264 -moz-image-region: rect(0, 16px, 16px, 0);
a6757852 4265 list-style-image: url("chrome://browser/skin/social/services-16.png");
0142a07b
RK
4266}
4267
348c0499
RK
4268#social-provider-button > .toolbarbutton-menu-dropmarker {
4269 display: none;
e9c73590
RK
4270}
4271
82b4252f
RK
4272.toolbarbutton-badge-container {
4273 margin: 0;
4274 padding: 0;
4275 position: relative;
e9c73590
RK
4276}
4277
c0f6797e 4278#nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container {
ed1a91c6 4279 padding: 2px 2px;
82b4252f
RK
4280}
4281
4282.toolbarbutton-1 > .toolbarbutton-badge-container > .toolbar-icon {
4283 position: absolute;
4284 top: 2px;
4285 right: 2px;
4286}
4287
4288.toolbarbutton-badge-container > .toolbarbutton-icon[label]:not([label=""]) {
4289 -moz-margin-end: 0;
e9c73590
RK
4290}
4291
82b4252f
RK
4292.toolbarbutton-badge[badge=""] {
4293 display: none;
4294}
4295.toolbarbutton-badge[badge]:not([badge=""])::after {
6adbc9a6 4296 /* The |content| property is set in the content stylesheet. */
348c0499
RK
4297 font-size: 9px;
4298 font-weight: bold;
4299 padding: 0 1px;
4300 color: #FF9F00;
4301 background-color: #000000;
4302 border: 1px solid #9C9CFF;
4303 border-radius: 2px;
6adbc9a6 4304 position: absolute;
82b4252f
RK
4305 top: 0;
4306 right: 0;
4307}
4308
c0f6797e 4309#nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""])::after {
82b4252f
RK
4310 top: 1px;
4311 right: 1px;
e9c73590
RK
4312}
4313
82b4252f
RK
4314.toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
4315 left: 0;
4316 right: auto;
e9c73590
RK
4317}
4318
c0f6797e 4319#nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
82b4252f 4320 left: 1px;
6adbc9a6 4321 right: auto;
348c0499
RK
4322}
4323
4324#social-notification-icon-mentions {
e9c73590 4325 background-color: #000000;
348c0499
RK
4326 border-radius: 3px;
4327 -moz-margin-start: 2px;
e9c73590
RK
4328}
4329
348c0499
RK
4330#social-notification-icon-mentions:hover {
4331 background-color: #FFCF00;
4332}
4333
4334#social-notification-icon-mentions[open="true"] {
4335 background-color: #FF9F00;
e9c73590
RK
4336}
4337
4338#social-sidebar-splitter {
4339 border: 0;
4340}
4341
ed1a91c6
RK
4342.popup-notification-icon[popupid="servicesInstall"] {
4343 list-style-image: url("chrome://browser/skin/social/services-64.png");
4344}
4345#servicesInstall-notification-icon {
4346 list-style-image: url("chrome://browser/skin/social/services-16.png");
4347}
c1d2ce3e 4348#social-undoactivation-button {
ed1a91c6
RK
4349 -moz-margin-start: 0; /* override default label margin to match description margin */
4350}
4351
4352#socialActivatedNotification .popup-notification-button-container {
4353 margin-left: 6px;
4354}
4355
4356.social-activation-icon {
4357 width: auto;
4358 height: auto;
4359 max-height: 64px;
4360 max-width: 64px;
4361}
4362
4363#social-activation-message {
4364 max-width: 250px;
4365}
4366
4367#social-activation-message > label {
4368 margin: 0;
4369}
4370
e9c73590 4371/* social toolbar provider menu */
990cba4b 4372.social-statusarea-popup {
e9c73590
RK
4373 margin-top: 0;
4374 margin-left: -12px;
4375 margin-right: -12px;
4376}
4377
990cba4b 4378.social-statusarea-user {
e9c73590
RK
4379 border-bottom: 1px solid #9C9CFF;
4380 background-color: #000000;
4381 color: #FF9F00;
4382 position: relative;
348c0499 4383 cursor: pointer;
e9c73590
RK
4384}
4385
990cba4b 4386.social-statusarea-user-portrait {
e9c73590
RK
4387 width: 32px;
4388 height: 32px;
4389 border-radius: 2px;
4390 margin: 10px;
e9c73590
RK
4391}
4392
990cba4b 4393.social-statusarea-loggedInStatus {
e9c73590
RK
4394 background: transparent;
4395 border: none;
b8384c33 4396 color: #3333FF;
e9c73590
RK
4397 min-width: 0;
4398 margin: 0 6px;
348c0499 4399 list-style-image: none;
e9c73590 4400}
90a244b7 4401
990cba4b 4402#social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus {
e9c73590
RK
4403 text-decoration: underline;
4404}
4405
348c0499
RK
4406.social-panel > .panel-arrowcontainer > .panel-arrowcontent {
4407 padding: 0;
4408}
4409
348c0499
RK
4410.social-panel-frame {
4411 border-radius: inherit;
4412}
e9c73590 4413
e7c8bab1
RK
4414/* === BEGIN chat.inc.css === */
4415
dfa34f73
RK
4416#social-sidebar-header {
4417 padding: 3px;
4418}
4419
4420#social-sidebar-button {
4421 -moz-appearance: none;
4422 list-style-image: url("chrome://browser/skin/social/gear_default.png");
45dc7657 4423 border: none;
dfa34f73
RK
4424 padding: 0;
4425 margin: 2px;
4426}
45dc7657
RK
4427#social-sidebar-button > .toolbarbutton-icon {
4428 min-height: 16px;
4429 min-width: 16px;
4430}
dfa34f73
RK
4431#social-sidebar-button:hover,
4432#social-sidebar-button:hover:active {
4433 list-style-image: url("chrome://browser/skin/social/gear_clicked.png");
4434}
4435#social-sidebar-button > .toolbarbutton-menu-dropmarker {
4436 display: none;
4437}
4438
4439#social-sidebar-button[loading="true"] {
4440 list-style-image: url("chrome://global/skin/icons/loading.gif");
4441}
4442
4443#social-sidebar-favico {
4444 max-height: 16px;
4445 max-width: 16px;
4446 padding: 0;
4447 margin: 2px;
4448}
4449
e9c73590
RK
4450.chat-status-icon {
4451 max-height: 16px;
4452 max-width: 16px;
4453 padding: 0;
4454}
4455
4456.chat-toolbarbutton {
4457 -moz-appearance: none;
4458 border: none;
8837ac2c 4459 padding: 0 3px;
e9c73590
RK
4460 margin: 0;
4461 background: none;
8837ac2c
RK
4462}
4463
4464.chat-toolbarbutton:hover {
4465/* background-color: rgba(255,255,255,.35);*/
4466}
4467
4468.chat-toolbarbutton:hover:active {
4469/* background-color: rgba(255,255,255,.5);*/
e9c73590
RK
4470}
4471
4472.chat-toolbarbutton > .toolbarbutton-text {
4473 display: none;
4474}
4475
b27cc46e 4476.chat-toolbarbutton > .toolbarbutton-icon {
8837ac2c
RK
4477 width: 16px;
4478 height: 16px;
e7c8bab1
RK
4479}
4480
e9c73590 4481.chat-close-button {
8837ac2c 4482 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close");
e9c73590
RK
4483}
4484
8837ac2c
RK
4485.chat-close-button:-moz-any(:hover,:hover:active) {
4486 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close-active");
e9c73590
RK
4487}
4488
e2734cc7 4489.chat-minimize-button {
8837ac2c 4490 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize");
e2734cc7
RK
4491}
4492
8837ac2c
RK
4493.chat-minimize-button:-moz-any(:hover,:hover:active) {
4494 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize-active");
e2734cc7
RK
4495}
4496
4497.chat-swap-button {
8837ac2c
RK
4498 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand");
4499 transform: rotate(180deg);
e2734cc7
RK
4500}
4501
8837ac2c
RK
4502.chat-swap-button:-moz-any(:hover,:hover:active) {
4503 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand-active");
e2734cc7
RK
4504}
4505
4506chatbar > chatbox > .chat-titlebar > .chat-swap-button {
8837ac2c 4507 transform: none;
e2734cc7
RK
4508}
4509
e9c73590
RK
4510.chat-title {
4511 font-weight: bold;
4512 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
90a244b7 4513 text-shadow: none;
348c0499 4514 cursor: inherit;
e9c73590
RK
4515}
4516
4517.chat-titlebar {
4518 background-color: #9C9CFF;
4519 color: #000000;
8837ac2c
RK
4520 height: 30px;
4521 min-height: 30px;
e9c73590
RK
4522 width: 100%;
4523 margin: 0;
8837ac2c 4524 padding: 7px 6px;
e9c73590
RK
4525 border: none;
4526 border-bottom: 1px solid #008484;
348c0499 4527 cursor: pointer;
e9c73590
RK
4528}
4529
e2734cc7
RK
4530.chat-titlebar > .notification-anchor-icon {
4531 margin-left: 2px;
4532 margin-right: 2px;
4533}
4534
e9c73590
RK
4535.chat-titlebar[minimized="true"] {
4536 border-bottom: none;
4537}
4538
348c0499
RK
4539.chat-titlebar[selected] {
4540 background-color: #008484;
4541}
4542
4543.chat-titlebar[activity] {
4544 background-color: #E7ADE7;
4545}
4546
8837ac2c
RK
4547chatbox[dark=true] > .chat-titlebar,
4548chatbox[dark=true] > .chat-titlebar[selected] {
4549/* border-bottom: none;
4550 background-color: #000;
4551 background-image: none;*/
4552}
4553
4554chatbox[dark=true] > .chat-titlebar > hbox > .chat-title {
4555/* font-weight: normal;
4556 color: #c1c1c1;*/
4557}
4558
e9c73590
RK
4559.chat-frame {
4560 padding: 0;
4561 margin: 0;
4562 overflow: hidden;
4563}
4564
4565.chatbar-button {
ed1a91c6 4566 list-style-image: url("chrome://browser/skin/social/services-16.png");
e9c73590
RK
4567 background-color: #000000;
4568 border: none;
4569 margin: 0;
4570 padding: 2px;
4571 height: 21px;
4572 width: 21px;
4573 border-top: 1px solid #008484;
4574 -moz-border-end: 1px solid #008484;
4575}
4576
ed1a91c6
RK
4577@media (min-resolution: 2dppx) {
4578 .chatbar-button {
4579 list-style-image: url("chrome://browser/skin/social/services-16@2x.png");
4580 }
4581}
4582
fe524e0c
RK
4583.chatbar-button > .toolbarbutton-icon {
4584 width: 16px;
4585}
4586
d7cfd768
RK
4587.chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
4588 width: auto;
4589 height: auto;
e9c73590
RK
4590 max-height: 16px;
4591 max-width: 16px;
e9c73590
RK
4592}
4593
90a244b7
RK
4594.chatbar-button > .toolbarbutton-icon {
4595 opacity: .6;
4596 -moz-margin-end: 0;
4597}
4598.chatbar-button:hover > .toolbarbutton-icon,
4599.chatbar-button[open="true"] > .toolbarbutton-icon {
4600 opacity: 1;
4601}
4602
a6757852 4603.chatbar-button:hover,
90a244b7 4604.chatbar-button[open="true"] {
e9c73590
RK
4605}
4606
e9c73590
RK
4607.chatbar-button > .toolbarbutton-text,
4608.chatbar-button > .toolbarbutton-menu-dropmarker {
4609 display: none;
4610}
4611
90a244b7 4612.chatbar-button[activity]:not([open="true"]) {
348c0499
RK
4613 background-color: #E7ADE7;
4614}
4615
4616.chatbar-button > menupopup > menuitem[activity] {
4617 font-weight: bold;
4618}
4619
e9c73590
RK
4620.chatbar-innerbox {
4621 background: transparent;
90a244b7 4622 margin: -285px 0 0;
e9c73590
RK
4623 overflow: hidden;
4624}
4625
fcfb76ce
RK
4626chatbar {
4627 -moz-margin-end: 20px;
4628}
4629
e9c73590 4630chatbar > chatbox {
fcfb76ce
RK
4631 height: 285px;
4632 width: 260px;
4633 -moz-margin-start: 4px;
e9c73590
RK
4634 background-color: #000000;
4635 border: 1px solid #9C9CFF;
4636 border-bottom: none;
90a244b7
RK
4637 border-top-left-radius: 2.5px;
4638 border-top-right-radius: 2.5px;
e9c73590
RK
4639}
4640
fcfb76ce
RK
4641chatbox[minimized="true"] {
4642 width: 160px;
e9c73590 4643 height: 20px;
e9c73590 4644}
348c0499 4645
e2734cc7
RK
4646window > chatbox {
4647 -moz-margin-start: 0px;
4648 margin: 0px;
4649 border: none;
4650 padding: 0px;
4651}
4652
e7c8bab1
RK
4653/* === END chat.inc.css === */
4654
c0f6797e
RK
4655.chat-titlebar {
4656/* background-color: #c4cfde; */
4657}
4658
4659.chat-titlebar[selected] {
4660/* background-color: #dae3f0; */
4661}
4662
4663.chatbar-button {
4664 -moz-appearance: none;
4665/* background-color: #c4cfde; */
4666}
4667
4668.chatbar-button > .toolbarbutton-icon {
4669/* -moz-margin-end: 0; */
4670}
4671
4672.chatbar-button:hover,
4673.chatbar-button[open="true"] {
4674/* background-color: #dae3f0; */
4675}
4676
4677.chatbar-button[activity]:not([open="true"]) {
4678}
4679
4680chatbox {
4681/* border-top-left-radius: 2.5px;
4682 border-top-right-radius: 2.5px; */
4683}
4684
b27cc46e 4685/* === BEGIN plugin-doorhanger.inc.css === */
348c0499 4686
b27cc46e
RK
4687/**
4688 * Plugin Doorhanger Styles
4689 */
348c0499 4690
b27cc46e 4691#notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent {
1e32332f 4692 padding: 6px 1px 2px;
348c0499
RK
4693}
4694
348c0499 4695.click-to-play-plugins-notification-center-box {
348c0499
RK
4696}
4697
fe524e0c
RK
4698.plugin-popupnotification-centeritem:nth-child(odd) {
4699/* background-color: rgba(0,0,0,0.1);*/
348c0499
RK
4700}
4701
b27cc46e
RK
4702.center-item-label {
4703 margin-bottom: 0;
4704 text-overflow: ellipsis;
348c0499
RK
4705}
4706
b27cc46e
RK
4707.center-item-warning-icon {
4708 background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
348c0499 4709 background-repeat: no-repeat;
348c0499 4710 width: 16px;
b27cc46e
RK
4711 height: 15px;
4712 -moz-margin-start: 6px;
348c0499
RK
4713}
4714
b27cc46e 4715.click-to-play-plugins-notification-button-container {
348c0499
RK
4716}
4717
b27cc46e
RK
4718.click-to-play-popup-button {
4719 width: 50%;
348c0499
RK
4720}
4721
b27cc46e 4722.click-to-play-plugins-notification-description-box {
1e32332f
RK
4723 margin-left: 5px;
4724 margin-right: 5px;
4725 margin-top: 0;
4726 padding-bottom: 3px;
348c0499
RK
4727}
4728
b27cc46e 4729.click-to-play-plugins-outer-description {
1e32332f 4730 margin-top: 1px;
348c0499
RK
4731}
4732
b27cc46e
RK
4733.click-to-play-plugins-notification-link,
4734.center-item-link {
4735 margin: 0;
348c0499
RK
4736}
4737
2c225fcb
RK
4738.messageImage[value="plugin-hidden"] {
4739 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
4740}
4741
4742/* Keep any changes to this style in sync with pluginProblem.css */
4743notification.pluginVulnerable {
4744}
4745
4746notification.pluginVulnerable .messageImage {
4747 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
4748}
4749
b27cc46e 4750/* === END plugin-doorhanger.inc.css === */
0142a07b 4751
c066e743
RK
4752/* === BEGIN badcontent-doorhanger.inc.css === */
4753
4754.popup-notification-item-title[popupid="bad-content"] {
4755 font-weight: bold;
4756}
4757
4758.popup-notification-item-message[popupid="bad-content"] {
4759 width: 17em;
4760}
4761
4762.popup-notification-item-message-critical[popupid="bad-content"] {
4763 color: #FF0000;
4764 font-style: italic;
4765}
4766
4767.popup-notification-footer[popupid="bad-content"] {
4768 padding-top: 1em;
4769}
4770
4771/* === END badcontent-doorhanger.inc.css === */
4772
43cc2806
RK
4773/* === BEGIN customizeMode.inc.css === */
4774
4775/* Customization mode */
e28f3f71 4776
5401f433
RK
4777#main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox {
4778 margin-bottom: 1em;
e28f3f71
RK
4779}
4780
5401f433
RK
4781#main-window:-moz-any([customize-entering],[customize-entered]) #content-deck,
4782#main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
e28f3f71
RK
4783#main-window:-moz-any([customize-entering],[customize-entered]) #navigator-toolbox {
4784 margin-left: 1em;
4785 margin-right: 1em;
43cc2806
RK
4786}
4787
e28f3f71
RK
4788#main-window:-moz-any([customize-entering],[customize-exiting]) #tab-view-deck {
4789 pointer-events: none;
4790}
4791
4792#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
43cc2806 4793#PanelUI-contents > .panel-customization-placeholder {
e28f3f71 4794 -moz-outline-radius: 2.5px;
43cc2806
RK
4795 outline: 1px dashed transparent;
4796}
4797
e28f3f71
RK
4798#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before {
4799 /* Prevent jumping of tabs when switching a window between inactive and active (bug 853415). */
4800 -moz-box-ordinal-group: 0;
4801 content: "";
4802 display: -moz-box;
4803 height: 100%;
4804 left: 0;
4805 outline-offset: -2px;
4806 pointer-events: none;
4807 position: absolute;
4808 top: 0;
4809 width: 100%;
4810}
4811
4812/* Shift the TabsToolbar outline up 2px since the #nav-bar is shifted up by 1px and the
4813 #TabsToolbar::after is a pixel higher to draw the bottom border of the tabstrip so this makes the
4814 offset from the bottom effectively the same as other targets (-2px). */
4815#main-window[customize-entered] #TabsToolbar.customization-target::before {
e20c83c3 4816/* top: -2px;*/
e28f3f71
RK
4817}
4818
4819/* The parents of the outline pseudo-elements need to be positioned so that the outline is positioned relative to it. */
4820#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover,
4821#main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)),
4822#main-window[customize-entered] #nav-bar-customization-target.customization-target {
4823 position: relative;
4824}
4825
4826/* Most target outlines are shown on hover and drag over but the panel menu uses
4827 placeholders instead. */
4828#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover::before,
4829#main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
4830/* nav-bar and panel outlines are always shown */
4831#nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
4832 outline-color: #A09090;
4833}
4834
4835#nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
4836 transition: outline-color 250ms linear;
4837}
4838
4839#PanelUI-contents[showoutline=true] > .panel-customization-placeholder {
4840 transition: outline-color 250ms linear;
43cc2806
RK
4841 outline-color: #9C9CFF;
4842}
4843
4844#PanelUI-contents > .panel-customization-placeholder {
4845 cursor: auto;
4846 outline-offset: -5px;
4847}
4848
e28f3f71 4849#main-window[customizing] .customization-target:not(#PanelUI-contents) {
43cc2806 4850 min-width: 100px;
e20c83c3
RK
4851/* padding-left: 10px;
4852 padding-right: 10px;*/
4853}
4854
4855#main-window:-moz-any([customize-entering],[customize-entered]) #tab-view-deck {
4856 padding: 0 2em 2em;
43cc2806
RK
4857}
4858
4859#customization-container {
4860 background-color: #000000;
93c91f62 4861 color: #FF9F00;
43cc2806
RK
4862}
4863
e28f3f71
RK
4864#customization-palette,
4865#customization-empty {
4866 padding: 0 15px 15px;
43cc2806
RK
4867}
4868
4869#customization-header {
cac2a998
RK
4870 font-size: 1.75em;
4871 line-height: 1.75em;
43cc2806 4872 color: #9C9CFF;
cac2a998
RK
4873 font-weight: 200;
4874 margin: 25px 25px 12px;
4875 padding-bottom: 12px;
4876 border-bottom: 1px solid #A09090;
43cc2806
RK
4877}
4878
4879#customization-panel-container {
e28f3f71
RK
4880 padding: 10px 10px 0px;
4881}
4882
5401f433 4883#main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
e28f3f71
RK
4884#customization-footer {
4885 /*background-color: rgb(236,236,236);*/
5401f433
RK
4886}
4887
4888#customization-footer {
e28f3f71 4889 border-top: 1px solid #9C9CFF;
93c91f62 4890 padding: 10px;
e28f3f71
RK
4891}
4892
4893.customizationmode-button {
93c91f62 4894 margin: 5px;
e28f3f71
RK
4895}
4896
4897.customizationmode-button:hover {
4898}
4899
4900.customizationmode-button[disabled="true"] {
4901}
4902
93c91f62
RK
4903.customizationmode-button > .box-inherit > .box-inherit > .button-icon,
4904.customizationmode-button > .button-box > .button-icon {
4905/* height: 24px;*/
4906}
4907
e28f3f71
RK
4908#customization-titlebar-visibility-button {
4909 list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png");
b7f3670c
RK
4910 -moz-image-region: rect(0, 16px, 16px, 0);
4911 padding: 0px 5px;
e28f3f71
RK
4912}
4913
b7f3670c
RK
4914#customization-titlebar-visibility-button:hover {
4915 -moz-image-region: rect(16px, 16px, 32px, 0);
4916}
4917
4918#customization-titlebar-visibility-button > .button-box {
4919 padding-top: 0;
4920 padding-bottom: 1px;
4921}
4922
4923#customization-titlebar-visibility-button:hover:active > .button-box {
4924 padding-top: 1px;
4925 padding-bottom: 0;
4926}
4927
e28f3f71
RK
4928#customization-titlebar-visibility-button > .button-box > .button-text {
4929 /* Sadly, button.css thinks its margins are perfect for everyone. */
b7f3670c 4930 -moz-margin-start: 5px !important;
e28f3f71
RK
4931}
4932
93c91f62
RK
4933#customization-titlebar-visibility-button > .button-box > .button-icon {
4934 vertical-align: middle;
4935}
4936
e28f3f71 4937#customization-titlebar-visibility-button[checked] {
b7f3670c 4938 -moz-image-region: rect(0, 32px, 16px, 16px);
e28f3f71
RK
4939 background-color: #008484;
4940}
4941
b7f3670c
RK
4942#customization-titlebar-visibility-button[checked]:hover {
4943 -moz-image-region: rect(16px, 32px, 32px, 16px);
4944 background-color: #FFCF00;
4945}
4946
4947#customization-titlebar-visibility-button[checked]:hover:active {
4948 background-color: #FF9F00;
4949}
4950
e28f3f71 4951#main-window[customize-entered] #customization-panel-container {
43cc2806
RK
4952 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
4953 background-position: left top;
4954 background-repeat: repeat;
4955 background-size: auto;
4956 background-attachment: fixed;
4957}
4958
e28f3f71
RK
4959toolbarpaletteitem[place="toolbar"] {
4960 transition: border-width 250ms ease-in-out;
43cc2806
RK
4961}
4962
4963toolbarpaletteitem[mousedown] {
4964 outline: 1px solid #008484;
4965 cursor: -moz-grabbing;
4966 opacity: 0.8;
4967}
4968
4969.panel-customization-placeholder,
4970toolbarpaletteitem[place="palette"],
4971toolbarpaletteitem[place="panel"] {
e28f3f71
RK
4972 transition: transform .3s ease-in-out;
4973}
4974
4975#customization-palette {
4976 transition: opacity .3s ease-in-out;
4977 opacity: 0;
43cc2806
RK
4978}
4979
e28f3f71
RK
4980#customization-palette[showing="true"] {
4981 opacity: 1;
4982}
4983
4984toolbarpaletteitem[notransition].panel-customization-placeholder,
4985toolbarpaletteitem[notransition][place="toolbar"],
43cc2806
RK
4986toolbarpaletteitem[notransition][place="palette"],
4987toolbarpaletteitem[notransition][place="panel"] {
e28f3f71 4988 transition: none;
43cc2806
RK
4989}
4990
e28f3f71 4991toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon,
d0e580f1 4992toolbarpaletteitem > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon,
e28f3f71
RK
4993toolbarpaletteitem > toolbaritem.panel-wide-item,
4994toolbarpaletteitem > toolbarbutton[type="menu-button"] {
4995 transition: transform .3s cubic-bezier(.6, 2, .75, 1.5) !important;
43cc2806
RK
4996}
4997
d0e580f1
RK
4998toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon,
4999toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon {
e28f3f71
RK
5000 transform: scale(1.3);
5001}
5002
5003toolbarpaletteitem[mousedown] > toolbaritem.panel-wide-item,
5004toolbarpaletteitem[mousedown] > toolbarbutton[type="menu-button"] {
43cc2806
RK
5005 transform: scale(1.1);
5006}
5007
5008/* Override the toolkit styling for items being dragged over. */
5009toolbarpaletteitem[place="toolbar"] {
5010 border-left-width: 0;
5011 border-right-width: 0;
5012 margin-right: 0;
5013 margin-left: 0;
5014}
5015
5016#customization-palette:not([hidden]) {
5017 margin-bottom: 25px;
5018}
5019
43cc2806
RK
5020#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
5021#wrapper-edit-controls[place="palette"] > #edit-controls > separator,
e28f3f71
RK
5022#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton,
5023#wrapper-zoom-controls[place="palette"] > #zoom-controls > separator {
5024 margin-top: 20px;
43cc2806
RK
5025}
5026
5027#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
c0f6797e 5028#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton {
43cc2806
RK
5029 margin-left: 0;
5030 margin-right: 0;
e28f3f71
RK
5031 max-width: 24px;
5032 min-width: 24px;
43cc2806 5033 max-height: 24px;
5401f433 5034 min-height: 24px;
e28f3f71 5035 padding: 4px;
43cc2806
RK
5036}
5037
e28f3f71
RK
5038#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon,
5039#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon {
5040 width: 16px;
43cc2806
RK
5041}
5042
e28f3f71
RK
5043#wrapper-edit-controls > #edit-controls > toolbarbutton > .toolbarbutton-icon {
5044 opacity: 1; /* To ensure these buttons always look enabled in customize mode */
5045}
5046
c0f6797e
RK
5047#wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button,
5048#wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button + separator {
e28f3f71
RK
5049 display: none;
5050}
5051
5052#wrapper-personal-bookmarks:not([place="toolbar"]) > #personal-bookmarks {
5053 -moz-box-pack: center;
5054 min-height: 48px;
43cc2806
RK
5055}
5056
5057#customization-palette > toolbarpaletteitem > label {
5058 text-align: center;
5059 margin-left: 0;
5060 margin-right: 0;
5061}
5062
cac2a998
RK
5063#customization-lwtheme-menu > .panel-arrowcontainer > .panel-arrowcontent {
5064 -moz-box-orient: vertical;
5065 /* Make the panel padding uniform across all platforms due to the
5066 styling of the section headers and footer. */
5067 padding: 10px;
5068}
5069
5070.customization-lwtheme-menu-theme > .toolbarbutton-icon {
5071 width: 32px;
5072 height: 32px;
5073}
5074
5075.customization-lwtheme-menu-theme {
5076 -moz-appearance: none;
5077 margin: 0 -5px 5px;
5078 padding-top: 0;
5079 -moz-padding-end: 5px;
5080 padding-bottom: 0;
5081 -moz-padding-start: 0;
5082}
5083
8837ac2c
RK
5084.customization-lwtheme-menu-theme[defaulttheme] {
5085 list-style-image: url(chrome://browser/skin/Fxtheme-switcher-icon.png);
5086}
5087
cac2a998
RK
5088.customization-lwtheme-menu-theme[active="true"] {
5089 background-color: #008484;
5090}
5091
5092.customization-lwtheme-menu-theme > .toolbarbutton-icon {
5093 margin: 5px;
5094}
5095
5096.customization-lwtheme-menu-theme > .toolbarbutton-text {
5097 text-align: start;
5098}
5099
5100#customization-lwtheme-menu-header,
5101#customization-lwtheme-menu-recommended {
5102 padding: 10px;
5103 margin-bottom: 5px;
5104}
5105
5106#customization-lwtheme-menu-header,
5107#customization-lwtheme-menu-recommended,
5108#customization-lwtheme-menu-footer {
5109 background-color: #A09090;
5110 color: #000000;
5111 margin-right: -10px;
5112 margin-left: -10px;
5113}
5114
5115#customization-lwtheme-menu-header {
5116 margin-top: -10px;
5117 border-top-right-radius: 3px;
5118 border-top-left-radius: 3px;
5119}
5120
5121#customization-lwtheme-menu-recommended {
5122}
5123
5124#customization-lwtheme-menu-footer {
5125 margin-bottom: -10px;
5126 border-bottom-right-radius: 3px;
5127 border-bottom-left-radius: 3px;
5128}
5129
5130.customization-lwtheme-menu-footeritem {
5131 -moz-appearance: none;
5132 -moz-box-flex: 1;
5133 background-color: #C09070;
5134 color: #000000;
5135 border: 1px solid transparent;
5136 padding: 10px;
5137 margin-left: 0;
5138 margin-right: 0;
5139}
5140
5141.customization-lwtheme-menu-footeritem:hover {
5142 background-color: #FFCF00;
5143}
5144
8837ac2c 5145.customization-lwtheme-menu-footeritem:first-child {
cac2a998
RK
5146}
5147
43cc2806
RK
5148/* === END customizeMode.inc.css === */
5149
e28f3f71
RK
5150/* === BEGIN customizeTip.inc.css === */
5151
5152#customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent {
5153 padding: 0;
5154 margin: 0;
5155 min-width: 400px;
5156 max-width: 1000px;
5157 min-height: 200px;
5158 border-radius: 3px;
5159/* background-image: linear-gradient(90deg, #a0dfff 0%, #ceeeff 100%);*/
5160 border: 1px solid #9C9CFF;
5161}
5162
5163#customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent:-moz-locale-dir(rtl) {
5164/* background-image: linear-gradient(90deg, #ceeeff 0%, #a0dfff 100%);*/
5165}
5166
5167.customization-tipPanel-infoBox {
5168 margin: 20px 25px 25px;
5169 width: 25px;
5170 background-image: url("chrome://browser/skin/customizableui/info-icon-customizeTip.png");
5171 background-repeat: no-repeat;
5172}
5173
5174.customization-tipPanel-content {
5175 margin: 25px 0;
5176 font-size: 12px;
5177 line-height: 18px;
5178}
5179
5180.customization-tipPanel-em {
5181 margin: 0;
5182 font-weight: bold;
5183}
5184
5185.customization-tipPanel-contentImage {
5186 margin-top: 25px;
5187 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration.png");
5188 min-width: 300px;
5189 max-width: 300px;
5190 min-height: 190px;
5191 max-height: 190px;
5192 display: -moz-box;
5193}
5194
5195.customization-tipPanel-contentImage:-moz-locale-dir(rtl) {
5196 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration-rtl.png");
5197}
5198
5199.customization-tipPanel-link {
5200 -moz-appearance: none;
5201 background: transparent;
5202 border: none;
5203 box-shadow: none;
5204 color: #3333FF;
5205 margin: 0;
5206 cursor: pointer;
5207}
5208
5209.customization-tipPanel-link > .button-box > .button-text {
5210 margin: 0 !important;
5211}
5212
5213.customization-tipPanel-closeBox > .close-icon {
5214 -moz-appearance: none;
5215 border: 0;
5216 -moz-margin-end: -25px;
5217}
5218
5219#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"],
5220#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
5221 list-style-image: url("chrome://browser/skin/customizableui/panelarrow-customizeTip.png");
5222}
5223
5224/* === END customizeTip.inc.css === */
5225
c0f6797e
RK
5226/**
5227 * This next rule is a hack to disable subpixel anti-aliasing on all
5228 * labels during the customize mode transition. Subpixel anti-aliasing
5229 * on Windows with Direct2D layers acceleration is particularly slow to
5230 * paint, so this hack is how we sidestep that performance bottleneck.
5231 */
5232#main-window:-moz-any([customize-entering],[customize-exiting]) label {
5233 transform: perspective(0.01px);
5234}
5235
93c91f62 5236#main-window[customize-entered] > #tab-view-deck {
43cc2806
RK
5237 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5238 background-attachment: fixed;
5239}
5240
93c91f62
RK
5241#main-window[customization-lwtheme] > #tab-view-deck:-moz-lwtheme {
5242 background-repeat: no-repeat;
5243 background-position: right top;
5244 background-attachment: fixed;
5245 /* The image will get set from CustomizeMode.jsm */
5246 background-image: none;
5247 background-color: transparent;
5248}
5249
5250#main-window[customization-lwtheme]:-moz-lwtheme {
5251 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5252 background-repeat: repeat;
5253 background-attachment: fixed;
5254 background-position: left top;
5255}
5256
5401f433
RK
5257#main-window[customize-entered] #browser-bottombox,
5258#main-window[customize-entered] #customization-container {
43cc2806
RK
5259 border-left: 1px solid #9C9CFF;
5260 border-right: 1px solid #9C9CFF;
5261 background-clip: padding-box;
5262}
5263
5401f433
RK
5264#main-window[customize-entered] #browser-bottombox {
5265 border-bottom: 1px solid #9C9CFF;
5266}
5267
e20c83c3
RK
5268#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"] {
5269 margin-right: -2px;
5270}
5271
5272#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
5273 margin-left: -2px;
5274}
5275
5276/* End customization mode */
5277
51994fad
RK
5278/* Private browsing indicators */
5279
5280/**
5281 * Currently, we have two places where we put private browsing indicators on
5282 * Windows. When tabsintitlebar is enabled, we draw the indicator in the titlebar.
5283 * When tabsintitlebar is disabled, we draw the indicator at the end of the
5284 * tabstrip. The titlebar indicator is the fiddliest of the bunch, since we
5285 * want the bottom border of the image to line up with the bottom of the window
5286 * caption buttons. That's why there's so much special-casing going on in here.
5287 */
5288.private-browsing-indicator {
5289 display: none;
5290 pointer-events: none;
e20c83c3
RK
5291}
5292
51994fad
RK
5293#private-browsing-indicator-titlebar {
5294 display: block;
5295 position: absolute;
e20c83c3
RK
5296}
5297
51994fad
RK
5298#main-window[privatebrowsingmode=temporary][tabsintitlebar] #private-browsing-indicator-titlebar > .private-browsing-indicator {
5299 display: block;
e20c83c3
RK
5300}
5301
51994fad
RK
5302#main-window[privatebrowsingmode=temporary]:-moz-any([inFullscreen],:not([tabsintitlebar])) #TabsToolbar > .private-browsing-indicator {
5303 display: -moz-box;
5304}
5305
5306#TabsToolbar > .private-browsing-indicator {
5307 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") no-repeat center -3px;
5308 -moz-margin-start: 4px;
5309 width: 48px;
5310}
5311
5312/* Bug 1008183: We're intentionally using the titlebar asset here for fullscreen
5313 * mode, since the tabstrip "mimics" the titlebar in that case with its own
5314 * min/max/close window buttons.
5315 */
5316#private-browsing-indicator-titlebar > .private-browsing-indicator,
5317#main-window[inFullscreen] #TabsToolbar > .private-browsing-indicator {
5318 background: url("chrome://browser/skin/privatebrowsing-mask-titlebar.png") no-repeat center 0px;
5319 -moz-margin-end: 4px;
43cc2806 5320 width: 40px;
51994fad
RK
5321 height: 20px;
5322 position: relative;
43cc2806
RK
5323}
5324
51994fad
RK
5325/* This one is for Linux */
5326#main-window[privatebrowsingmode=temporary] #private-browsing-indicator {
5327 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") center no-repeat;
5328 width: 48px;
5329}
5330
5331/* End private browsing indicators */
5332
43cc2806
RK
5333/* === BEGIN UITour.inc.css === */
5334
5335/* UI Tour */
5336
2a8b2b48
RK
5337#UITourHighlightContainer {
5338 -moz-appearance: none;
5339 border: none;
5340 background-color: transparent;
5341 /* This is a buffer to compensate for the movement in the "wobble" effect */
5342 padding: 4px;
5343}
5344
5345#UITourHighlight {
5346 background-image: radial-gradient(50% 100%, rgba(0,132,132,0.4) 50%, rgba(0,132,132,0.6) 100%);
5347 border-radius: 40px;
5348 border: 1px solid #9C9CFF;
5349 /* The box-shadow opacity needs to be < 0.5 so it doesn't appear at 100% opacity
5350 on Linux without an X compositor where opacity is either 0 or 1. */
5351 box-shadow: 0 0 3px 0 rgba(0,0,0,0.49);
43cc2806
RK
5352 min-height: 32px;
5353 min-width: 32px;
1bf116f8
RK
5354}
5355
2a8b2b48
RK
5356#UITourTooltipBody {
5357 -moz-margin-end: 14px;
5358}
5359
5360#UITourTooltipBody > vbox {
5361 padding-top: 4px;
43cc2806
RK
5362}
5363
2a8b2b48
RK
5364#UITourTooltipIconContainer {
5365 -moz-margin-start: -16px;
5366}
5367
5368#UITourTooltipIcon {
5369 width: 48px;
5370 height: 48px;
5371 -moz-margin-start: 28px;
5372 -moz-margin-end: 28px;
5373}
5374
5375#UITourTooltipTitle,
5376#UITourTooltipDescription {
5377 max-width: 20rem;
43cc2806
RK
5378}
5379
5380#UITourTooltipTitle {
2a8b2b48 5381 font-size: 1.45rem;
43cc2806 5382 font-weight: bold;
2a8b2b48
RK
5383 -moz-margin-start: 0;
5384 -moz-margin-end: 0;
5385 margin: 0 0 9px 0;
43cc2806
RK
5386}
5387
5388#UITourTooltipDescription {
2a8b2b48
RK
5389 -moz-margin-start: 0;
5390 -moz-margin-end: 0;
5391 font-size: 1.15rem;
5392 line-height: 1.8rem;
5393 margin-bottom: 0; /* Override global.css */
5394}
5395
5396#UITourTooltipClose {
5397 -moz-appearance: none;
5398 border: none;
5399 background-color: transparent;
5400 min-width: 0;
5401 -moz-margin-start: 4px;
5402 margin-top: -2px;
5403}
5404
5405#UITourTooltipClose > .toolbarbutton-text {
5406 display: none;
5407}
5408
5409#UITourTooltipButtons {
5410 -moz-box-pack: end;
5411 background-color: rgba(0,0,0,.2);
5412 border-top: 1px solid rgba(0,0,0,.4);
5413 margin: 24px -16px -16px;
5414 padding: 2em 15px;
5415}
5416
5417#UITourTooltipButtons > button {
5418 margin: 0 15px;
5419}
5420
5421#UITourTooltipButtons > button:first-child {
5422 -moz-margin-start: 0;
5423}
5424
5425#UITourTooltipButtons > button[image] > .button-box > .button-icon {
5426 width: 16px;
5427 height: 16px;
5428 -moz-margin-end: 5px;
5429}
5430
5431#UITourTooltipButtons > button .button-text {
5432 font-size: 1.15rem;
5433}
5434
5435#UITourTooltipButtons > button:not(.button-link) {
5436 -moz-appearance: none;
5437 background-color: #C09070;
5438 border-radius: 3000px;
5439 border: none;
5440 color: #000000;
5441 padding: 4px 30px;
5442 transition-property: background-color, color;
5443 transition-duration: 150ms;
5444}
5445
5446#UITourTooltipButtons > button:not(.button-link):not(:active):hover {
5447 background-color: #FFCF00;
5448 color: #000000;
5449}
5450
5451#UITourTooltipButtons > button.button-link {
5452 -moz-appearance: none;
5453 background: transparent;
5454 border: none;
5455 box-shadow: none;
5456 color: rgba(0,0,0,0.35);
5457 padding-left: 10px;
5458 padding-right: 10px;
5459}
5460
5461#UITourTooltipButtons > button.button-link:hover {
5462 color: black;
5463}
5464
5465/* The primary button gets the same color as the customize button. */
5466#UITourTooltipButtons > button.button-primary {
5467 background-color: #A06060; /* LCARS default button background color */
5468 color: #000000;
5469 padding-left: 30px;
5470 padding-right: 30px;
5471}
5472
5473#UITourTooltipButtons > button.button-primary:not(:active):hover {
5474 background-color: #FFCF00;
5475 color: #000000;
43cc2806
RK
5476}
5477
5478/* === END UITour.inc.css === */
c0f6797e
RK
5479
5480#UITourTooltipButtons {
5481 margin: 24px -4px -4px;
5482}
fff8097b
RK
5483
5484/* === BEGIN contextmenu.inc.css === */
5485
5486menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left {
5487}
5488
5489#context-navigation > .menuitem-iconic {
5490 -moz-box-flex: 1;
5491 -moz-box-pack: center;
5492 -moz-box-align: center;
5493}
5494
5495#context-navigation > .menuitem-iconic[disabled="true"] {
5496 background-color: transparent;
5497}
5498
5499#context-navigation > .menuitem-iconic > .menu-iconic-left {
5500 -moz-appearance: none;
5501}
5502
93c91f62
RK
5503#context-back > .menu-iconic-left {
5504 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back"); */
fff8097b
RK
5505 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5506 -moz-image-region: rect(0, 54px, 18px, 36px);
5507}
5508
93c91f62
RK
5509#context-back:not([disabled="true"]):hover > .menu-iconic-left {
5510 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-active"); */
fff8097b
RK
5511 -moz-image-region: rect(18px, 54px, 36px, 36px);
5512}
5513
93c91f62
RK
5514#context-back[disabled="true"] > .menu-iconic-left {
5515 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-disabled"); */
fff8097b
RK
5516 -moz-image-region: rect(36px, 54px, 54px, 36px);
5517}
5518
93c91f62
RK
5519#context-forward > .menu-iconic-left {
5520 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward"); */
fff8097b
RK
5521 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5522 -moz-image-region: rect(0, 72px, 18px, 54px);
5523}
5524
93c91f62
RK
5525#context-forward:not([disabled="true"]):hover > .menu-iconic-left {
5526 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-active"); */
fff8097b
RK
5527 -moz-image-region: rect(18px, 72px, 36px, 54px);
5528}
5529
93c91f62
RK
5530#context-forward[disabled="true"] > .menu-iconic-left {
5531 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-disabled"); */
fff8097b
RK
5532 -moz-image-region: rect(36px, 72px, 54px, 54px);
5533}
5534
93c91f62
RK
5535#context-reload > .menu-iconic-left {
5536 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload"); */
fff8097b
RK
5537 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
5538 -moz-image-region: rect(0, 14px, 14px, 0);
5539}
5540
93c91f62
RK
5541#context-reload:not([disabled="true"]):hover > .menu-iconic-left {
5542 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-active"); */
fff8097b
RK
5543 -moz-image-region: rect(14px, 14px, 28px, 0);
5544}
5545
93c91f62
RK
5546#context-reload[disabled="true"] > .menu-iconic-left {
5547 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-disabled"); */
fff8097b
RK
5548 -moz-image-region: rect(28px, 14px, 42px, 0);
5549}
5550
93c91f62
RK
5551#context-stop > .menu-iconic-left {
5552 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop"); */
fff8097b
RK
5553 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
5554 -moz-image-region: rect(0, 28px, 14px, 14px);
5555}
5556
93c91f62
RK
5557#context-stop:not([disabled="true"]):hover > .menu-iconic-left {
5558 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-active"); */
fff8097b
RK
5559 -moz-image-region: rect(14px, 28px, 28px, 14px);
5560}
5561
93c91f62
RK
5562#context-stop[disabled="true"] > .menu-iconic-left {
5563 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-disabled"); */
fff8097b
RK
5564 -moz-image-region: rect(28px, 28px, 42px, 14px);
5565}
5566
93c91f62
RK
5567#context-bookmarkpage > .menu-iconic-left {
5568 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark"); */
fff8097b
RK
5569 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5570 -moz-image-region: rect(0, 144px, 18px, 126px);
5571}
5572
93c91f62
RK
5573#context-bookmarkpage:not([disabled="true"]):hover > .menu-iconic-left {
5574 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-active"); */
fff8097b
RK
5575 -moz-image-region: rect(18px, 144px, 36px, 126px);
5576}
5577
93c91f62
RK
5578#context-bookmarkpage[disabled="true"] > .menu-iconic-left {
5579 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-disabled"); */
fff8097b
RK
5580 -moz-image-region: rect(36px, 144px, 54px, 126px);
5581}
5582
5583#context-back:-moz-locale-dir(rtl),
5584#context-forward:-moz-locale-dir(rtl),
5585#context-reload:-moz-locale-dir(rtl) {
5586 transform: scaleX(-1);
5587}
5588
5589#context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
93c91f62
RK
5590 width: 18px; /*16px;*/
5591 height: 18px; /*16px;*/
fff8097b
RK
5592 margin: 7px;
5593}
5594
5595#context-navigation > #context-reload > .menu-iconic-left > .menu-iconic-icon,
5596#context-navigation > #context-stop > .menu-iconic-left > .menu-iconic-icon {
5597 width: 14px;
5598 height: 14px;
5599 margin: 9px;
5600}
5601
5602/* === END contextmenu.inc.css === */
3d64e0ce
RK
5603
5604#context-navigation {
5605}
5606
5607#context-sep-navigation {
5608/* margin-top: -4px; */
5609}