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