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