first part of syncing LCARStrek with Firefox 45-48 windows theme changes
[themes.git] / LCARStrek / browser / browser.css
CommitLineData
9099c61d
RK
1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
acb0e9b8 4
5@import url("chrome://global/skin/");
fcaeefc2 6@import url("downloads/indicator.css");
acb0e9b8 7
8@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
319c6529 9@namespace html url("http://www.w3.org/1999/xhtml");
cae267ab 10@namespace svg url("http://www.w3.org/2000/svg");
319c6529
RK
11
12toolbar {
13 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
14}
acb0e9b8 15
7d3f7f14 16toolbar[customizable="true"] {
43cc2806
RK
17 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-browsercustom");
18}
19
ee49f520
RK
20@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme), (-moz-mac-yosemite-theme) {
21 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
96b206fe
RK
22 toolbar[customizable="true"]:not([nowindowdrag="true"]) {
23 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
24 }
25}
26
41279e76
RK
27toolbar[type="menubar"][autohide="true"] {
28 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide");
29}
30
7d3f7f14 31#toolbar-menubar[autohide="true"] {
43cc2806
RK
32 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide-browsercustom");
33}
34
acb0e9b8 35menubar {
319c6529 36 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
acb0e9b8 37}
38
e548e22e 39:root {
b1dfcf32
RK
40 /*--backbutton-urlbar-overlap: 5px;*/
41
42 --identity-box-verified-background-color: #000000;
c9b0a396
RK
43
44 --panel-separator-color: #A09090;
45
c9b0a396 46 --urlbar-separator-color: #9C9CFF;
e548e22e
RK
47}
48
319c6529
RK
49#menubar-items {
50 -moz-box-orient: vertical; /* for flex hack */
acb0e9b8 51}
52
319c6529
RK
53#main-menubar {
54 -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
55}
56
63ada306
RK
57/* ::::: primary toolbar ::::: */
58
59.toolbar-primary > .toolbar-box > .toolbar-holder {
270cbf0c 60 background-color: #A09090;
63ada306
RK
61}
62
63.toolbar-primary > .toolbar-box > .toolbar-startcap,
64.toolbar-primary > .toolbar-box > .toolbar-endcap {
65 background-color: #9C9CFF;
66}
67
e20c83c3
RK
68/* Hides the titlebar-placeholder underneath the window caption buttons when we
69 are not autohiding the menubar. */
70#toolbar-menubar:not([autohide="true"]) + #TabsToolbar > .titlebar-placeholder[type="caption-buttons"] {
71 display: none;
72}
73
43cc2806
RK
74/* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the
75 toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care
76 of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */
c0f6797e
RK
77#toolbar-menubar:not([moz-collapsed=true]):not([autohide=true]) ~ #TabsToolbar,
78#toolbar-menubar:not([moz-collapsed=true])[autohide=true]:not([inactive]) ~ #TabsToolbar {
43cc2806
RK
79/* margin-top: 3px;*/
80}
81
43371c9b
RK
82#main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen])[chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar,
83#main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
19988d2d 84/* margin-top: var(--space-above-tabbar);*/
43cc2806
RK
85}
86
ee49f520
RK
87@media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
88 /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
8d154261
RK
89 #toolbar-menubar:not([autohide="true"]) {
90 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
91 }
58d9f24a
RK
92}
93
ee49f520
RK
94@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
95 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
4711fba5 96 #main-window[tabsintitlebar]:not([inFullscreen="true"]) #TabsToolbar {
54d92f05
RK
97 padding-left: 60px;
98 }
43cc2806
RK
99}
100
018d70fb
RK
101#main-window[tabsintitlebar] #toolbar-menubar .toolbar-endcap {
102 /* 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 */
103 display: none;
43cc2806 104}
63ada306 105
e20c83c3
RK
106#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[customizing-dragovertarget].customization-target::before,
107#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar[customizing-dragovertarget].customization-target::before,
108#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar.customization-target:hover::before,
109#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar.customization-target:hover::before {
110 outline-color: #A09090;
111}
112
319c6529
RK
113#navigator-toolbox {
114}
115
9abeb12c
RK
116#navigator-toolbox::after {
117 content: "";
118 display: -moz-box;
119 -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
120 height: 1px;
121}
9abeb12c 122
6f5a7408 123#navigator-toolbox > toolbar {
319c6529
RK
124}
125
3d64e0ce
RK
126#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(:-moz-lwtheme) {
127}
128
9168a62c
RK
129#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) {
130 overflow: -moz-hidden-unscrollable;
131 max-height: 4em;
132 transition: min-height 170ms ease-out, max-height 170ms ease-out;
133}
134
135#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar)[collapsed=true] {
136 min-height: 0.1px;
137 max-height: 0;
138 transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear;
139}
140
ee49f520
RK
141@media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
142 /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
143 /* Indent also due to non-applicable aero rule in original Windows theme. */
c0f6797e
RK
144 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme),
145 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) {
146 /* like menubar */
147 background-color: #6000CF;
148 color: #FF9F00;
319c6529
RK
149 }
150
c0f6797e
RK
151 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme):-moz-window-inactive,
152 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
153 background-color: #8050B0;
154 color: #FF9F00;
319c6529
RK
155 }
156
dccbbf95
RK
157 #main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme) {
158 /*color: inherit;*/
159 }
160
c0f6797e
RK
161 #main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
162 visibility: hidden;
163 }
319c6529 164
c0f6797e
RK
165 #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
166 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
167 visibility: visible;
168 }
8d154261
RK
169}
170
ee49f520
RK
171@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
172 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
8d154261
RK
173 #titlebar-buttonbox > .titlebar-button {
174 display: none;
175 }
8d154261 176}
319c6529 177
c0f6797e
RK
178#nav-bar {
179 /* Position the toolbar above the bottom of background tabs */
180 position: relative;
181 z-index: 1;
82b4252f
RK
182}
183
c0f6797e
RK
184#personal-bookmarks {
185/* min-height: 24px; */
319c6529
RK
186}
187
bc685759
RK
188#PersonalToolbar > #home-button {
189 -moz-box-orient: horizontal;
190}
191
192#PersonalToolbar > #home-button > .toolbarbutton-text {
193 display: block;
194}
195
c0f6797e
RK
196#print-preview-toolbar:not(:-moz-lwtheme) {
197 /* -moz-appearance: toolbox; */
82b4252f
RK
198}
199
c0f6797e 200#browser-bottombox:not(:-moz-lwtheme) {
319c6529
RK
201}
202
203/* ::::: titlebar ::::: */
204
5305ef8d
RK
205#titlebar {
206 /* like menubar */
207 background-color: #6000CF;
208 color: #FF9F00;
209}
210#titlebar:-moz-window-inactive {
211 background-color: #8050B0;
212 color: #FF9F00;
213}
214
319c6529 215#main-window[sizemode="normal"] > #titlebar {
5305ef8d
RK
216 margin-top: -3px;
217 margin-bottom: 3px;
319c6529
RK
218}
219
220#main-window[sizemode="maximized"] > #titlebar {
5305ef8d 221 margin-top: 4px;
319c6529
RK
222}
223
ee49f520
RK
224@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
225 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
58d9f24a
RK
226 #main-window[sizemode="normal"] > #titlebar,
227 #main-window[sizemode="maximized"] > #titlebar {
4711fba5
RK
228 margin-top: 19px;
229 /* There is a margin-bottom set to -23 by code. */
54d92f05
RK
230 }
231}
232
43cc2806
RK
233/* The button box must appear on top of the navigator-toolbox in order for
234 * click and hover mouse events to work properly for the button in the restored
235 * window state. Otherwise, elements in the navigator-toolbox, like the menubar,
236 * can swallow those events. It will also place the buttons above the fog on
237 * themes with Aero Glass.
238 */
83ac1f44
RK
239#titlebar-buttonbox,
240#main-window[sizemode="maximized"] #titlebar-buttonbox {
b7f3670c
RK
241 -moz-appearance: none;
242 margin-top: 6px;
243 margin-top: 4px;
5305ef8d 244 -moz-margin-end: 3px;
43cc2806 245 z-index: 1;
319c6529
RK
246}
247
319c6529
RK
248.titlebar-placeholder[type="appmenu-button"] {
249 margin-left: 4px;
250}
251
252.titlebar-placeholder[type="caption-buttons"] {
253 margin-left: 10px;
254}
255
256/* titlebar command buttons */
319c6529 257#titlebar-min {
19988d2d 258 list-style-image: url("chrome://browser/skin/caption-buttons.svg#minimize");
5305ef8d
RK
259}
260
261#titlebar-min:hover {
19988d2d 262 list-style-image: url("chrome://browser/skin/caption-buttons.svg#minimize-hover");
319c6529
RK
263}
264
265#titlebar-max {
19988d2d 266 list-style-image: url("chrome://browser/skin/caption-buttons.svg#maximize");
5305ef8d
RK
267}
268
269#titlebar-max:hover {
19988d2d 270 list-style-image: url("chrome://browser/skin/caption-buttons.svg#maximize-hover");
319c6529
RK
271}
272
273#main-window[sizemode="maximized"] #titlebar-max {
19988d2d 274 list-style-image: url("chrome://browser/skin/caption-buttons.svg#restore");
5305ef8d
RK
275}
276
277#main-window[sizemode="maximized"] #titlebar-max:hover {
19988d2d 278 list-style-image: url("chrome://browser/skin/caption-buttons.svg#restore-hover");
319c6529
RK
279}
280
281#titlebar-close {
19988d2d 282 list-style-image: url("chrome://browser/skin/caption-buttons.svg#close");
5305ef8d
RK
283}
284
285#titlebar-close:hover {
19988d2d 286 list-style-image: url("chrome://browser/skin/caption-buttons.svg#close-hover");
acb0e9b8 287}
288
ee49f520
RK
289@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
290 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
54d92f05
RK
291 #titlebar-fullscreen-button {
292 -moz-appearance: none;
293 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon.png");
294 -moz-image-region: rect(0px, 16px, 16px, 0px);
295 }
296
297 #titlebar-fullscreen-button:hover {
298 -moz-image-region: rect(0px, 32px, 16px, 16px);
299 }
300
301 @media (min-resolution: 2dppx) {
302 #titlebar-fullscreen-button {
303 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon@2x.png");
304 -moz-image-region: rect(0px, 32px, 32px, 0px);
305 }
306
307 #titlebar-fullscreen-button:hover {
308 -moz-image-region: rect(0px, 64px, 32px, 32px);
309 }
310 }
311}
312
313
acb0e9b8 314/* ::::: bookmark buttons ::::: */
315
c0f6797e
RK
316toolbarbutton.bookmark-item:not(.subviewbutton),
317#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
318/* margin: 0;
319 padding: 2px 3px;*/
320}
321
322toolbarbutton.bookmark-item:not([disabled="true"]):not(.subviewbutton):hover:active,
323toolbarbutton.bookmark-item[open="true"] {
324/* padding-top: 3px;
325 padding-bottom: 1px;
326 -moz-padding-start: 4px;
327 -moz-padding-end: 2px;*/
328}
329
26125509
RK
330.bookmark-item > .toolbarbutton-icon,
331#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
acb0e9b8 332 width: 16px;
333 height: 16px;
832af407
RK
334 -moz-margin-start: 1px;
335 -moz-margin-end: 2px;
bc685759
RK
336 margin-top: 1px;
337 margin-bottom: 1px;
acb0e9b8 338}
339
26125509
RK
340/* Force the display of the label for bookmarks */
341.bookmark-item > .toolbarbutton-text,
342#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text {
acb0e9b8 343 display: -moz-box !important;
344}
345
319c6529
RK
346.bookmark-item > .toolbarbutton-menu-dropmarker {
347 display: none;
348}
349
26125509 350#bookmarks-toolbar-placeholder {
8da9da4e 351 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
9e88a441 352 -moz-box-orient: horizontal;
319c6529
RK
353}
354
e20c83c3
RK
355toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
356#personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder {
357 list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important;
358}
359
360/* ----- BOOKMARK STAR ANIMATION ----- */
361
362@keyframes animation-bookmarkAdded {
363 from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; }
364 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; }
365 80% { opacity: 1; }
366 to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; }
367}
368
369@keyframes animation-bookmarkPulse {
370 from { transform: scale(1); }
371 50% { transform: scale(1.3); }
372 to { transform: scale(1); }
373}
374
375#bookmarked-notification-container {
376 min-height: 1px;
377 min-width: 1px;
378 height: 1px;
379 margin-bottom: -1px;
380 z-index: 5;
381 position: relative;
382}
383
384#bookmarked-notification {
385 background-size: 16px;
386 background-position: center;
387 background-repeat: no-repeat;
388 width: 16px;
389 height: 16px;
390 opacity: 0;
391}
392
c0f6797e
RK
393#bookmarked-notification-dropmarker-anchor {
394 z-index: -1;
395 position: relative;
396}
397
398#bookmarked-notification-dropmarker-icon {
399 width: 18px;
400 height: 18px;
401 visibility: hidden;
402}
403
e20c83c3
RK
404#bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
405 background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png");
406 animation: animation-bookmarkAdded 800ms;
407 animation-timing-function: ease, ease, ease;
408}
409
410#bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
c0f6797e
RK
411 list-style-image: none !important;
412}
413
414#bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon {
415 visibility: visible;
e20c83c3
RK
416 animation: animation-bookmarkPulse 300ms;
417 animation-delay: 600ms;
418 animation-timing-function: ease-out;
419}
420
319c6529
RK
421/* ::::: bookmark menus ::::: */
422
423menu.bookmark-item,
424menuitem.bookmark-item {
425 min-width: 0;
ab799a7a 426 max-width: 32em;
319c6529
RK
427}
428
e20c83c3 429.bookmark-item:not(.subviewbutton) > .menu-iconic-left {
319c6529
RK
430 margin-top: 0;
431 margin-bottom: 0;
432}
433
434.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
435 -moz-padding-start: 0px;
436}
437
438/* ::::: bookmark items ::::: */
439
440.bookmark-item {
dce90fef 441 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
8da9da4e 442 -moz-image-region: auto;
319c6529
RK
443}
444
445.bookmark-item[container] {
446 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
8da9da4e 447 -moz-image-region: auto;
319c6529
RK
448}
449
450.bookmark-item[container][open] {
451 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
8da9da4e 452 -moz-image-region: auto;
319c6529
RK
453}
454
8da9da4e
RK
455.bookmark-item[container][livemark] {
456 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
319c6529
RK
457 -moz-image-region: auto;
458}
459
460.bookmark-item[container][livemark] .bookmark-item {
8da9da4e 461 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
719b06bc 462 -moz-image-region: rect(0px, 16px, 16px, 0px);
319c6529
RK
463}
464
eec397be 465.bookmark-item[container][livemark] .bookmark-item[visited] {
719b06bc 466 -moz-image-region: rect(0px, 32px, 16px, 16px);
eec397be
RK
467}
468
319c6529 469.bookmark-item[container][query] {
8da9da4e 470 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
319c6529
RK
471 -moz-image-region: auto;
472}
473
474.bookmark-item[query][tagContainer] {
475 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
476 -moz-image-region: auto;
477}
478
479.bookmark-item[query][dayContainer] {
8da9da4e 480 list-style-image: url("chrome://communicator/skin/history/calendar.png");
319c6529
RK
481 -moz-image-region: auto;
482}
483
484.bookmark-item[query][hostContainer] {
485 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
8da9da4e 486 -moz-image-region: auto;
319c6529
RK
487}
488
489.bookmark-item[query][hostContainer][open] {
490 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
8da9da4e 491 -moz-image-region: auto;
319c6529
RK
492}
493
b1234db8
RK
494.bookmark-item[cutting] > .toolbarbutton-icon,
495.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
496 opacity: 0.5;
497}
498
499.bookmark-item[cutting] > .toolbarbutton-text,
500.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
501 opacity: 0.7;
502}
503
319c6529
RK
504/* ::::: primary toolbar buttons ::::: */
505
43cc2806
RK
506/* === BEGIN toolbarbuttons.inc.css === */
507
508/* Whole section of this included file: */
51994fad
RK
509:-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
510 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
d4d77dc0 511 #social-share-button, #open-file-button, #find-button, #developer-button,
a5cb6e53 512 #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
51994fad
RK
513 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
514 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
b4888bae 515 #copy-button, #paste-button, #e10s-button, #panic-button, #webide-button, #loop-button),
7d3f7f14 516#bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
43cc2806
RK
517 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
518}
519
7d3f7f14 520#back-button {
43cc2806
RK
521 -moz-image-region: rect(0, 36px, 18px, 18px);
522}
523
7d3f7f14 524#back-button:hover:not([disabled="true"]) {
43cc2806
RK
525 -moz-image-region: rect(18px, 36px, 36px, 18px);
526}
527
7d3f7f14 528#back-button[disabled="true"] {
43cc2806
RK
529 -moz-image-region: rect(36px, 36px, 54px, 18px);
530}
531
7d3f7f14 532#forward-button {
43cc2806
RK
533 -moz-image-region: rect(0, 72px, 18px, 54px);
534}
535
7d3f7f14 536#forward-button:hover:not([disabled="true"]) {
43cc2806
RK
537 -moz-image-region: rect(18px, 72px, 36px, 54px);
538}
539
7d3f7f14 540#forward-button[disabled="true"] {
43cc2806
RK
541 -moz-image-region: rect(36px, 72px, 54px, 54px);
542}
543
7d3f7f14
RK
544#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
545#forward-button:-moz-locale-dir(rtl) {
43cc2806
RK
546 transform: scaleX(-1);
547}
548
7d3f7f14 549#home-button[cui-areatype="toolbar"] {
43cc2806
RK
550 -moz-image-region: rect(0, 126px, 18px, 108px);
551}
552
7d3f7f14 553#home-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
554 -moz-image-region: rect(18px, 126px, 36px, 108px);
555}
556
7d3f7f14 557#bookmarks-menu-button[cui-areatype="toolbar"] {
43cc2806
RK
558 -moz-image-region: rect(0, 144px, 18px, 126px);
559}
560
7d3f7f14
RK
561#bookmarks-menu-button[cui-areatype="toolbar"]:hover,
562#bookmarks-menu-button[cui-areatype="toolbar"][open="true"] {
43cc2806
RK
563 -moz-image-region: rect(18px, 144px, 36px, 126px);
564}
565
43ee1307 566/* When "new tab" page shows up, the menubutton-button (star button) is disabled */
7d3f7f14 567#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] {
43ee1307
RK
568 -moz-image-region: rect(36px, 144px, 54px, 126px) !important;
569 background-color: transparent !important;
570}
571
7d3f7f14 572#bookmarks-menu-button[cui-areatype="toolbar"][starred] {
43cc2806
RK
573 -moz-image-region: rect(0, 162px, 18px, 144px);
574}
575
7d3f7f14 576#bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover,
83e3b5cf
RK
577#bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"],
578#bookmarks-menu-button[cui-areatype="toolbar"][starred] > .toolbarbutton-menubutton-button[open="true"] {
579 /* When starred and clicked (for edit/delete dialog),
580 * then only the menubutton-button itself is open, but not the whole menubutton. */
43cc2806
RK
581 -moz-image-region: rect(18px, 162px, 36px, 144px);
582}
583
7d3f7f14 584#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
43cc2806
RK
585 -moz-image-region: rect(0, 630px, 18px, 612px);
586}
587
7d3f7f14 588#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
43cc2806
RK
589 padding: 1px;
590 -moz-box-align: center;
591}
592
7d3f7f14
RK
593#bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
594#bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
43cc2806
RK
595 -moz-image-region: rect(18px, 630px, 36px, 612px);
596}
597
7d3f7f14
RK
598#bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker,
599#bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker {
43cc2806
RK
600 padding-top: 2px;
601 padding-bottom: 0px;
602 -moz-padding-start: 2px;
603 -moz-padding-end: 0px;
604}
605
7d3f7f14 606#history-panelmenu[cui-areatype="toolbar"] {
43cc2806
RK
607 -moz-image-region: rect(0, 180px, 18px, 162px);
608}
609
7d3f7f14
RK
610#history-panelmenu[cui-areatype="toolbar"]:hover,
611#history-panelmenu[cui-areatype="toolbar"][open="true"] {
43cc2806
RK
612 -moz-image-region: rect(18px, 180px, 36px, 162px);
613}
614
7d3f7f14 615#downloads-button[cui-areatype="toolbar"] {
43cc2806
RK
616 -moz-image-region: rect(0, 198px, 18px, 180px);
617}
618
7d3f7f14
RK
619#downloads-button[cui-areatype="toolbar"]:hover,
620#downloads-button[cui-areatype="toolbar"][open="true"] {
43cc2806
RK
621 -moz-image-region: rect(18px, 198px, 36px, 180px);
622}
623
7d3f7f14 624#add-ons-button[cui-areatype="toolbar"] {
43cc2806
RK
625 -moz-image-region: rect(0, 216px, 18px, 198px);
626}
627
7d3f7f14 628#add-ons-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
629 -moz-image-region: rect(18px, 216px, 36px, 198px);
630}
631
7d3f7f14 632#open-file-button[cui-areatype="toolbar"] {
43cc2806
RK
633 -moz-image-region: rect(0, 234px, 18px, 216px);
634}
635
7d3f7f14 636#open-file-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
637 -moz-image-region: rect(18px, 234px, 36px, 216px);
638}
639
7d3f7f14 640#save-page-button[cui-areatype="toolbar"] {
43cc2806
RK
641 -moz-image-region: rect(0, 252px, 18px, 234px);
642}
643
7d3f7f14 644#save-page-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
645 -moz-image-region: rect(18px, 252px, 36px, 234px);
646}
647
7d3f7f14 648#sync-button[cui-areatype="toolbar"] {
43cc2806
RK
649 -moz-image-region: rect(0, 270px, 18px, 252px);
650}
651
7d3f7f14 652#sync-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
653 -moz-image-region: rect(18px, 270px, 36px, 252px);
654}
655
5401f433
RK
656#sync-button[cui-areatype="toolbar"][status="active"],
657#sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) {
658 list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png");
659 -moz-image-region: rect(0, 18px, 18px, 0px);
660}
661
662/*
663#sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext,
664#sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext:hover:active:not([disabled="true"]) {
665 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
666}
667*/
668
7d3f7f14 669#feed-button[cui-areatype="toolbar"] {
43cc2806
RK
670 -moz-image-region: rect(0, 288px, 18px, 270px);
671}
672
05148fed 673#feed-button[cui-areatype="menu-panel"][panel-multiview-anchor=true],
7d3f7f14 674#feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
43cc2806
RK
675 -moz-image-region: rect(18px, 288px, 36px, 270px);
676}
677
7d3f7f14 678#feed-button[cui-areatype="toolbar"][disabled="true"] {
cc4b0b0d
RK
679 -moz-image-region: rect(36px, 288px, 54px, 270px);
680}
681
7d3f7f14 682#social-share-button[cui-areatype="toolbar"] {
43cc2806
RK
683 -moz-image-region: rect(0px, 306px, 18px, 288px);
684}
685
22180555
RK
686#social-share-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
687#social-share-button[cui-areatype="toolbar"][open="true"] {
43cc2806
RK
688 -moz-image-region: rect(18px, 306px, 36px, 288px);
689}
690
22180555
RK
691#social-share-button[cui-areatype="toolbar"][disabled="true"] {
692 -moz-image-region: rect(36px, 306px, 54px, 288px);
693}
694
7d3f7f14 695#characterencoding-button[cui-areatype="toolbar"] {
43cc2806
RK
696 -moz-image-region: rect(0, 324px, 18px, 306px);
697}
698
7d3f7f14
RK
699#characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
700#characterencoding-button[cui-areatype="toolbar"][open="true"] {
43cc2806
RK
701 -moz-image-region: rect(18px, 324px, 36px, 306px);
702}
703
7d3f7f14 704#characterencoding-button[cui-areatype="toolbar"][disabled="true"] {
cc4b0b0d
RK
705 -moz-image-region: rect(36px, 324px, 54px, 306px);
706}
707
7d3f7f14 708#new-window-button[cui-areatype="toolbar"] {
43cc2806
RK
709 -moz-image-region: rect(0, 342px, 18px, 324px);
710}
711
7d3f7f14 712#new-window-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
713 -moz-image-region: rect(18px, 342px, 36px, 324px);
714}
715
46e71434
RK
716#e10s-button[cui-areatype="toolbar"] {
717 -moz-image-region: rect(0, 342px, 18px, 324px);
718}
719
720#e10s-button[cui-areatype="toolbar"]:hover {
721 -moz-image-region: rect(18px, 342px, 36px, 324px);
722}
723
724#e10s-button > .toolbarbutton-icon {
725 transform: scaleY(-1);
726}
727
7d3f7f14 728#new-tab-button[cui-areatype="toolbar"] {
43cc2806
RK
729 -moz-image-region: rect(0, 360px, 18px, 342px);
730}
731
7d3f7f14 732#new-tab-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
733 -moz-image-region: rect(18px, 360px, 36px, 342px);
734}
735
7d3f7f14 736#privatebrowsing-button[cui-areatype="toolbar"] {
43cc2806
RK
737 -moz-image-region: rect(0, 378px, 18px, 360px);
738}
739
7d3f7f14 740#privatebrowsing-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
741 -moz-image-region: rect(18px, 378px, 36px, 360px);
742}
743
7d3f7f14 744#find-button[cui-areatype="toolbar"] {
43cc2806
RK
745 -moz-image-region: rect(0, 396px, 18px, 378px);
746}
747
7d3f7f14 748#find-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
749 -moz-image-region: rect(18px, 396px, 36px, 378px);
750}
751
7d3f7f14 752#print-button[cui-areatype="toolbar"] {
43cc2806
RK
753 -moz-image-region: rect(0, 414px, 18px, 396px);
754}
755
7d3f7f14 756#print-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
757 -moz-image-region: rect(18px, 414px, 36px, 396px);
758}
759
7d3f7f14 760#fullscreen-button[cui-areatype="toolbar"] {
43cc2806
RK
761 -moz-image-region: rect(0, 432px, 18px, 414px);
762}
763
7d3f7f14 764#fullscreen-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
765 -moz-image-region: rect(18px, 432px, 36px, 414px);
766}
767
7d3f7f14 768#developer-button[cui-areatype="toolbar"] {
43cc2806
RK
769 -moz-image-region: rect(0, 450px, 18px, 432px);
770}
771
7d3f7f14
RK
772#developer-button[cui-areatype="toolbar"]:hover,
773#developer-button[cui-areatype="toolbar"][open="true"] {
43cc2806
RK
774 -moz-image-region: rect(18px, 450px, 36px, 432px);
775}
776
7d3f7f14 777#preferences-button[cui-areatype="toolbar"] {
43cc2806
RK
778 -moz-image-region: rect(0, 468px, 18px, 450px);
779}
780
7d3f7f14 781#preferences-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
782 -moz-image-region: rect(18px, 468px, 36px, 450px);
783}
784
7d3f7f14 785#PanelUI-menu-button {
43cc2806
RK
786 -moz-image-region: rect(0, 486px, 18px, 468px);
787}
788
7d3f7f14
RK
789#PanelUI-menu-button:hover,
790#PanelUI-menu-button[open="true"] {
43cc2806
RK
791 -moz-image-region: rect(18px, 486px, 36px, 468px);
792}
793
51994fad 794#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button {
43cc2806
RK
795 -moz-image-region: rect(0, 504px, 18px, 486px);
796}
797
51994fad 798#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button:hover:not([disabled="true"]) {
43cc2806
RK
799 -moz-image-region: rect(18px, 504px, 36px, 486px);
800}
801
51994fad 802#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] {
cc4b0b0d
RK
803 -moz-image-region: rect(36px, 504px, 54px, 486px);
804}
805
51994fad 806#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button {
43cc2806
RK
807 -moz-image-region: rect(0, 522px, 18px, 504px);
808}
809
51994fad 810#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button:hover:not([disabled="true"]) {
43cc2806
RK
811 -moz-image-region: rect(18px, 522px, 36px, 504px);
812}
813
51994fad 814#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] {
cc4b0b0d
RK
815 -moz-image-region: rect(36px, 522px, 54px, 504px);
816}
817
51994fad 818#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button {
43cc2806
RK
819 -moz-image-region: rect(0, 540px, 18px, 522px);
820}
821
51994fad 822#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button:hover:not([disabled="true"]) {
43cc2806
RK
823 -moz-image-region: rect(18px, 540px, 36px, 522px);
824}
825
51994fad 826#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] {
cc4b0b0d
RK
827 -moz-image-region: rect(36px, 540px, 54px, 522px);
828}
829
51994fad 830#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button {
43cc2806
RK
831 -moz-image-region: rect(0, 558px, 18px, 540px);
832}
833
51994fad 834#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button:hover:not([disabled="true"]) {
43cc2806
RK
835 -moz-image-region: rect(18px, 558px, 36px, 540px);
836}
837
51994fad 838#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] {
cc4b0b0d
RK
839 -moz-image-region: rect(36px, 558px, 54px, 540px);
840}
841
51994fad 842#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button {
43cc2806
RK
843 -moz-image-region: rect(0, 576px, 18px, 558px);
844}
845
51994fad 846#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button:hover:not([disabled="true"]) {
43cc2806
RK
847 -moz-image-region: rect(18px, 576px, 36px, 558px);
848}
849
51994fad 850#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] {
cc4b0b0d
RK
851 -moz-image-region: rect(36px, 576px, 54px, 558px);
852}
853
7d3f7f14 854#nav-bar-overflow-button {
43cc2806
RK
855 -moz-image-region: rect(0, 612px, 18px, 594px);
856}
857
7d3f7f14
RK
858#nav-bar-overflow-button:hover,
859#nav-bar-overflow-button[open="true"] {
43cc2806
RK
860 -moz-image-region: rect(18px, 612px, 36px, 594px);
861}
862
46e71434
RK
863#nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
864 transform: scaleX(-1);
865}
866
c0f6797e
RK
867#tabview-button {
868 -moz-image-region: rect(0, 648px, 18px, 630px);
869}
870
871#tabview-button:hover {
872 -moz-image-region: rect(18px, 648px, 36px, 630px);
873}
874
875#email-link-button[cui-areatype="toolbar"] {
876 -moz-image-region: rect(0, 666px, 18px, 648px);
877}
878
22180555 879#email-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
c0f6797e
RK
880 -moz-image-region: rect(18px, 666px, 36px, 648px);
881}
882
22180555
RK
883#email-button[cui-areatype="toolbar"][disabled="true"] {
884 -moz-image-region: rect(36px, 666px, 54px, 648px);
885}
886
c0f6797e
RK
887#sidebar-button[cui-areatype="toolbar"] {
888 -moz-image-region: rect(0, 684px, 18px, 666px);
889}
890
891#sidebar-button[cui-areatype="toolbar"]:hover {
892 -moz-image-region: rect(18px, 684px, 36px, 666px);
893}
894
22180555
RK
895#panic-button[cui-areatype="toolbar"] {
896 -moz-image-region: rect(0, 702px, 18px, 684px);
897}
898
899#panic-button[cui-areatype="toolbar"]:hover,
900#panic-button[cui-areatype="toolbar"][open] {
901 -moz-image-region: rect(18px, 702px, 36px, 684px);
902}
903
904#panic-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
905 transform: scaleX(-1);
906}
907
58615cfe 908#loop-button,
19988d2d 909#loop-button > .toolbarbutton-badge-stack {
d0e580f1
RK
910 list-style-image: url("chrome://browser/skin/loop/toolbarfx.png");
911 -moz-image-region: rect(0, 18px, 18px, 0);
912}
913
58615cfe 914#loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]),
19988d2d 915#loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-stack {
d0e580f1
RK
916 -moz-image-region: rect(0, 90px, 18px, 72px);
917}
918
58615cfe
RK
919#loop-button[state="disabled"],
920#loop-button[disabled="true"],
19988d2d
RK
921#loop-button[state="disabled"] > .toolbarbutton-badge-stack,
922#loop-button[disabled="true"] > .toolbarbutton-badge-stack {
d0e580f1
RK
923 -moz-image-region: rect(0, 36px, 18px, 18px);
924}
925
58615cfe 926#loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]),
19988d2d 927#loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-stack {
d0e580f1
RK
928 -moz-image-region: rect(0, 126px, 18px, 108px);
929}
930
58615cfe 931#loop-button:not([disabled="true"])[state="error"],
19988d2d 932#loop-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-stack {
d0e580f1
RK
933 -moz-image-region: rect(0, 54px, 18px, 36px);
934}
935
58615cfe 936#loop-button:not([disabled="true"])[state="action"],
19988d2d 937#loop-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-stack {
d0e580f1
RK
938 -moz-image-region: rect(0, 72px, 18px, 54px);
939}
940
58615cfe 941#loop-button:not([disabled="true"])[state="active"],
19988d2d 942#loop-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-stack {
d0e580f1
RK
943 -moz-image-region: rect(0, 108px, 18px, 90px);
944}
945
e548e22e
RK
946#webide-button[cui-areatype="toolbar"] {
947 -moz-image-region: rect(0, 738px, 18px, 720px);
948}
949
950#webide-button[cui-areatype="toolbar"]:hover {
951 -moz-image-region: rect(18px, 738px, 36px, 720px);
952}
953
43cc2806
RK
954/* === END toolbarbuttons.inc.css === */
955
956/* === BEGIN menupanel.inc.css === */
957
958/* Menu panel and palette styles */
959
e548e22e
RK
960:root {
961 /* avoid aero overrides with changed filenames */
962 --menupanel-list-style-image: url(chrome://browser/skin/menuPanelFx.png);
963 --menupanel-small-list-style-image: url(chrome://browser/skin/menuPanelFx-small.png);
964}
965
51994fad 966toolbaritem[sdkstylewidget="true"] > toolbarbutton,
5401f433
RK
967:-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
968 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
1988bb88 969 #social-share-button, #open-file-button, #find-button, #developer-button,
a5cb6e53 970 #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
5401f433
RK
971 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
972 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
b4888bae 973 #copy-button, #paste-button, #e10s-button, #panic-button, #webide-button, #loop-button)[cui-areatype="menu-panel"],
5401f433
RK
974toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
975 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
1988bb88 976 #social-share-button, #open-file-button, #find-button, #developer-button,
a5cb6e53 977 #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
5401f433
RK
978 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
979 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
b4888bae 980 #copy-button, #paste-button, #e10s-button, #panic-button, #webide-button, #loop-button) {
e548e22e 981 list-style-image: var(--menupanel-list-style-image);
43cc2806
RK
982}
983
984#home-button[cui-areatype="menu-panel"],
7d3f7f14 985toolbarpaletteitem[place="palette"] > #home-button {
43cc2806
RK
986 -moz-image-region: rect(0px, 128px, 32px, 96px);
987}
988
cc4b0b0d 989#home-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 990toolbarpaletteitem[place="palette"] > #home-button:hover {
cc4b0b0d
RK
991 -moz-image-region: rect(32px, 128px, 64px, 96px);
992}
993
43cc2806 994#bookmarks-menu-button[cui-areatype="menu-panel"],
7d3f7f14 995toolbarpaletteitem[place="palette"] > #bookmarks-menu-button {
46e71434 996 -moz-image-region: rect(0px, 192px, 32px, 160px);
43cc2806
RK
997}
998
cc4b0b0d 999#bookmarks-menu-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1000toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover {
46e71434
RK
1001 -moz-image-region: rect(32px, 192px, 64px, 160px);
1002}
1003
1004#bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1005 -moz-image-region: rect(32px, 192px, 64px, 160px);
cc4b0b0d
RK
1006}
1007
43cc2806 1008#history-panelmenu[cui-areatype="menu-panel"],
7d3f7f14 1009toolbarpaletteitem[place="palette"] > #history-panelmenu {
43cc2806
RK
1010 -moz-image-region: rect(0px, 224px, 32px, 192px);
1011}
1012
cc4b0b0d 1013#history-panelmenu[cui-areatype="menu-panel"]:hover,
7d3f7f14 1014toolbarpaletteitem[place="palette"] > #history-panelmenu:hover {
cc4b0b0d
RK
1015 -moz-image-region: rect(32px, 224px, 64px, 192px);
1016}
1017
46e71434
RK
1018#history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1019 -moz-image-region: rect(32px, 224px, 64px, 192px);
1020}
1021
43cc2806 1022#downloads-button[cui-areatype="menu-panel"],
7d3f7f14 1023toolbarpaletteitem[place="palette"] > #downloads-button {
43cc2806
RK
1024 -moz-image-region: rect(0px, 256px, 32px, 224px);
1025}
1026
cc4b0b0d 1027#downloads-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1028toolbarpaletteitem[place="palette"] > #downloads-button:hover {
cc4b0b0d
RK
1029 -moz-image-region: rect(32px, 256px, 64px, 224px);
1030}
1031
43cc2806 1032#add-ons-button[cui-areatype="menu-panel"],
7d3f7f14 1033toolbarpaletteitem[place="palette"] > #add-ons-button {
43cc2806
RK
1034 -moz-image-region: rect(0px, 288px, 32px, 256px);
1035}
1036
cc4b0b0d 1037#add-ons-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1038toolbarpaletteitem[place="palette"] > #add-ons-button:hover {
cc4b0b0d
RK
1039 -moz-image-region: rect(32px, 288px, 64px, 256px);
1040}
1041
43cc2806 1042#open-file-button[cui-areatype="menu-panel"],
7d3f7f14 1043toolbarpaletteitem[place="palette"] > #open-file-button {
43cc2806
RK
1044 -moz-image-region: rect(0px, 320px, 32px, 288px);
1045}
1046
cc4b0b0d 1047#open-file-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1048toolbarpaletteitem[place="palette"] > #open-file-button:hover {
cc4b0b0d
RK
1049 -moz-image-region: rect(32px, 320px, 64px, 288px);
1050}
1051
43cc2806 1052#save-page-button[cui-areatype="menu-panel"],
7d3f7f14 1053toolbarpaletteitem[place="palette"] > #save-page-button {
43cc2806
RK
1054 -moz-image-region: rect(0px, 352px, 32px, 320px);
1055}
1056
cc4b0b0d 1057#save-page-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1058toolbarpaletteitem[place="palette"] > #save-page-button:hover {
cc4b0b0d
RK
1059 -moz-image-region: rect(32px, 352px, 64px, 320px);
1060}
1061
43cc2806 1062#sync-button[cui-areatype="menu-panel"],
7d3f7f14 1063toolbarpaletteitem[place="palette"] > #sync-button {
43cc2806
RK
1064 -moz-image-region: rect(0px, 384px, 32px, 352px);
1065}
1066
cc4b0b0d 1067#sync-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1068toolbarpaletteitem[place="palette"] > #sync-button:hover {
cc4b0b0d
RK
1069 -moz-image-region: rect(32px, 384px, 64px, 352px);
1070}
1071
5401f433
RK
1072#sync-button[cui-areatype="menu-panel"][status="active"] {
1073 list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png");
1074 -moz-image-region: rect(0px, 32px, 32px, 0px);
1075}
1076
43cc2806 1077#feed-button[cui-areatype="menu-panel"],
7d3f7f14 1078toolbarpaletteitem[place="palette"] > #feed-button {
43cc2806
RK
1079 -moz-image-region: rect(0px, 416px, 32px, 384px);
1080}
1081
cc4b0b0d 1082#feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
7d3f7f14 1083toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) {
cc4b0b0d
RK
1084 -moz-image-region: rect(32px, 416px, 64px, 384px);
1085}
1086
1087#feed-button[cui-areatype="menu-panel"][disabled="true"],
7d3f7f14 1088toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] {
cc4b0b0d
RK
1089 -moz-image-region: rect(64px, 416px, 96px, 384px);
1090}
1091
43cc2806 1092#social-share-button[cui-areatype="menu-panel"],
7d3f7f14 1093toolbarpaletteitem[place="palette"] > #social-share-button {
43cc2806
RK
1094 -moz-image-region: rect(0px, 448px, 32px, 416px);
1095}
1096
22180555
RK
1097#social-share-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1098toolbarpaletteitem[place="palette"] > #social-share-button:hover:not([disabled="true"]) {
cc4b0b0d
RK
1099 -moz-image-region: rect(32px, 448px, 64px, 416px);
1100}
1101
22180555
RK
1102#social-share-button[cui-areatype="menu-panel"][disabled="true"],
1103toolbarpaletteitem[place="palette"] > #social-share-button[disabled="true"] {
1104 -moz-image-region: rect(64px, 448px, 96px, 416px);
1105}
1106
43cc2806 1107#characterencoding-button[cui-areatype="menu-panel"],
7d3f7f14 1108toolbarpaletteitem[place="palette"] > #characterencoding-button {
43cc2806
RK
1109 -moz-image-region: rect(0px, 480px, 32px, 448px);
1110}
1111
cc4b0b0d 1112#characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
7d3f7f14 1113toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) {
cc4b0b0d
RK
1114 -moz-image-region: rect(32px, 480px, 64px, 448px);
1115}
1116
1117#characterencoding-button[cui-areatype="menu-panel"][disabled="true"],
7d3f7f14 1118toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] {
cc4b0b0d
RK
1119 -moz-image-region: rect(64px, 480px, 96px, 448px);
1120}
1121
46e71434
RK
1122#characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1123 -moz-image-region: rect(32px, 480px, 64px, 448px);
1124}
1125
43cc2806 1126#new-window-button[cui-areatype="menu-panel"],
7d3f7f14 1127toolbarpaletteitem[place="palette"] > #new-window-button {
43cc2806
RK
1128 -moz-image-region: rect(0px, 512px, 32px, 480px);
1129}
1130
cc4b0b0d 1131#new-window-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1132toolbarpaletteitem[place="palette"] > #new-window-button:hover {
cc4b0b0d
RK
1133 -moz-image-region: rect(32px, 512px, 64px, 480px);
1134}
1135
5401f433
RK
1136#e10s-button[cui-areatype="menu-panel"],
1137toolbarpaletteitem[place="palette"] > #e10s-button {
1138 -moz-image-region: rect(0px, 512px, 32px, 480px);
1139}
1140
1141#e10s-button[cui-areatype="menu-panel"]:hover,
1142toolbarpaletteitem[place="palette"] > #e10s-button:hover {
1143 -moz-image-region: rect(32px, 512px, 64px, 480px);
1144}
1145
43cc2806 1146#new-tab-button[cui-areatype="menu-panel"],
7d3f7f14 1147toolbarpaletteitem[place="palette"] > #new-tab-button {
43cc2806
RK
1148 -moz-image-region: rect(0px, 544px, 32px, 512px);
1149}
1150
cc4b0b0d 1151#new-tab-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1152toolbarpaletteitem[place="palette"] > #new-tab-button:hover {
cc4b0b0d
RK
1153 -moz-image-region: rect(32px, 544px, 64px, 512px);
1154}
1155
43cc2806 1156#privatebrowsing-button[cui-areatype="menu-panel"],
7d3f7f14 1157toolbarpaletteitem[place="palette"] > #privatebrowsing-button {
43cc2806
RK
1158 -moz-image-region: rect(0px, 576px, 32px, 544px);
1159}
1160
cc4b0b0d 1161#privatebrowsing-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1162toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover {
cc4b0b0d
RK
1163 -moz-image-region: rect(32px, 576px, 64px, 544px);
1164}
1165
46e71434
RK
1166#tabview-button[cui-areatype="menu-panel"],
1167toolbarpaletteitem[place="palette"] > #tabview-button {
1168 -moz-image-region: rect(0px, 608px, 32px, 576px);
1169}
1170
1171#tabview-button[cui-areatype="menu-panel"]:hover,
1172toolbarpaletteitem[place="palette"] > #tabview-button:hover {
1173 -moz-image-region: rect(32px, 608px, 64px, 576px);
1174}
1175
43cc2806 1176#find-button[cui-areatype="menu-panel"],
7d3f7f14 1177toolbarpaletteitem[place="palette"] > #find-button {
43cc2806
RK
1178 -moz-image-region: rect(0px, 640px, 32px, 608px);
1179}
1180
cc4b0b0d 1181#find-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1182toolbarpaletteitem[place="palette"] > #find-button:hover {
cc4b0b0d
RK
1183 -moz-image-region: rect(32px, 640px, 64px, 608px);
1184}
1185
43cc2806 1186#print-button[cui-areatype="menu-panel"],
7d3f7f14 1187toolbarpaletteitem[place="palette"] > #print-button {
43cc2806
RK
1188 -moz-image-region: rect(0px, 672px, 32px, 640px);
1189}
1190
cc4b0b0d 1191#print-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1192toolbarpaletteitem[place="palette"] > #print-button:hover {
cc4b0b0d
RK
1193 -moz-image-region: rect(32px, 672px, 64px, 640px);
1194}
1195
43cc2806 1196#fullscreen-button[cui-areatype="menu-panel"],
7d3f7f14 1197toolbarpaletteitem[place="palette"] > #fullscreen-button {
43cc2806
RK
1198 -moz-image-region: rect(0px, 704px, 32px, 672px);
1199}
1200
cc4b0b0d 1201#fullscreen-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1202toolbarpaletteitem[place="palette"] > #fullscreen-button:hover {
cc4b0b0d
RK
1203 -moz-image-region: rect(32px, 704px, 64px, 672px);
1204}
1205
43cc2806 1206#developer-button[cui-areatype="menu-panel"],
7d3f7f14 1207toolbarpaletteitem[place="palette"] > #developer-button {
43cc2806
RK
1208 -moz-image-region: rect(0px, 736px, 32px, 704px);
1209}
1210
cc4b0b0d 1211#developer-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1212toolbarpaletteitem[place="palette"] > #developer-button:hover {
cc4b0b0d
RK
1213 -moz-image-region: rect(32px, 736px, 64px, 704px);
1214}
1215
46e71434
RK
1216#developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1217 -moz-image-region: rect(32px, 736px, 64px, 704px);
1218}
1219
43cc2806 1220#preferences-button[cui-areatype="menu-panel"],
7d3f7f14 1221toolbarpaletteitem[place="palette"] > #preferences-button {
43cc2806
RK
1222 -moz-image-region: rect(0px, 768px, 32px, 736px);
1223}
1224
cc4b0b0d 1225#preferences-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1226toolbarpaletteitem[place="palette"] > #preferences-button:hover {
cc4b0b0d
RK
1227 -moz-image-region: rect(32px, 768px, 64px, 736px);
1228}
1229
46e71434
RK
1230#email-link-button[cui-areatype="menu-panel"],
1231toolbarpaletteitem[place="palette"] > #email-link-button {
1232 -moz-image-region: rect(0, 800px, 32px, 768px);
1233}
1234
22180555
RK
1235#email-link-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1236toolbarpaletteitem[place="palette"] > #email-link-button:hover:not([disabled="true"]) {
46e71434
RK
1237 -moz-image-region: rect(32px, 800px, 64px, 768px);
1238}
1239
22180555
RK
1240#email-link-button[cui-areatype="menu-panel"][disabled="true"],
1241toolbarpaletteitem[place="palette"] > #email-link-button[disabled="true"] {
1242 -moz-image-region: rect(64px, 800px, 96px, 768px);
1243}
1244
46e71434
RK
1245#sidebar-button[cui-areatype="menu-panel"],
1246toolbarpaletteitem[place="palette"] > #sidebar-button {
1247 -moz-image-region: rect(0, 864px, 32px, 832px);
1248}
1249
1250#sidebar-button[cui-areatype="menu-panel"]:hover,
22180555
RK
1251toolbarpaletteitem[place="palette"] > #sidebar-button:hover,
1252#sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
46e71434
RK
1253 -moz-image-region: rect(32px, 864px, 64px, 832px);
1254}
1255
22180555
RK
1256#panic-button[cui-areatype="menu-panel"],
1257toolbarpaletteitem[place="palette"] > #panic-button {
1258 -moz-image-region: rect(0, 896px, 32px, 864px);
1259}
1260
1261#panic-button[cui-areatype="menu-panel"]:hover,
1262toolbarpaletteitem[place="palette"] > #panic-button:hover,
1263#panic-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1264 -moz-image-region: rect(32px, 896px, 64px, 864px);
1265}
1266
e548e22e
RK
1267#webide-button[cui-areatype="menu-panel"],
1268toolbarpaletteitem[place="palette"] > #webide-button {
1269 -moz-image-region: rect(0px, 960px, 32px, 928px);
1270}
1271
1272#webide-button[cui-areatype="menu-panel"]:hover,
1273toolbarpaletteitem[place="palette"] > #webide-button:hover {
1274 -moz-image-region: rect(32px, 960px, 64px, 928px);
1275}
1276
46e71434
RK
1277toolbaritem[sdkstylewidget="true"] > toolbarbutton {
1278 -moz-image-region: rect(0, 832px, 32px, 800px);
1279}
1280
58615cfe 1281#loop-button[cui-areatype="menu-panel"],
19988d2d 1282toolbarpaletteitem[place="palette"] > #loop-button {
d0e580f1
RK
1283 list-style-image: url("chrome://browser/skin/loop/menuPanel.png");
1284 -moz-image-region: rect(0, 32px, 32px, 0);
1285}
1286
1287/* Make sure that the state icons are not shown in the customization palette. */
19988d2d 1288toolbarpaletteitem[place="palette"] > #loop-button {
d0e580f1
RK
1289 -moz-image-region: rect(0, 32px, 32px, 0) !important;
1290}
1291
19988d2d 1292#loop-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) {
d0e580f1
RK
1293 -moz-image-region: rect(0, 160px, 32px, 128px);
1294}
1295
58615cfe 1296#loop-button[cui-areatype="menu-panel"][state="disabled"],
19988d2d 1297#loop-button[cui-areatype="menu-panel"][disabled="true"] {
d0e580f1
RK
1298 -moz-image-region: rect(0, 64px, 32px, 32px);
1299}
1300
19988d2d 1301#loop-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) {
d0e580f1
RK
1302 -moz-image-region: rect(0, 224px, 32px, 192px);
1303}
1304
19988d2d 1305#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] {
d0e580f1
RK
1306 -moz-image-region: rect(0, 96px, 32px, 64px);
1307}
1308
19988d2d 1309#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] {
d0e580f1
RK
1310 -moz-image-region: rect(0, 128px, 32px, 96px);
1311}
1312
19988d2d 1313#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] {
d0e580f1
RK
1314 -moz-image-region: rect(0, 192px, 32px, 160px);
1315}
1316
43cc2806
RK
1317/* Wide panel control icons */
1318
51994fad
RK
1319#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1320#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
7d3f7f14
RK
1321toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton,
1322toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton {
e548e22e 1323 list-style-image: var(--menupanel-small-list-style-image);
43cc2806
RK
1324}
1325
51994fad 1326#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button,
7d3f7f14 1327toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button {
43cc2806
RK
1328 -moz-image-region: rect(0px, 32px, 16px, 16px);
1329}
1330
51994fad 1331#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button:hover:not([disabled="true"]),
7d3f7f14 1332toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) {
cc4b0b0d
RK
1333 -moz-image-region: rect(16px, 32px, 32px, 16px);
1334}
1335
51994fad 1336#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button[disabled="true"],
7d3f7f14 1337toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] {
cc4b0b0d
RK
1338 -moz-image-region: rect(32px, 32px, 48px, 16px);
1339}
1340
51994fad 1341#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button,
7d3f7f14 1342toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button {
43cc2806
RK
1343 -moz-image-region: rect(0px, 48px, 16px, 32px);
1344}
1345
51994fad 1346#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button:hover:not([disabled="true"]),
7d3f7f14 1347toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) {
cc4b0b0d
RK
1348 -moz-image-region: rect(16px, 48px, 32px, 32px);
1349}
1350
51994fad 1351#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button[disabled="true"],
7d3f7f14 1352toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] {
cc4b0b0d
RK
1353 -moz-image-region: rect(32px, 48px, 48px, 32px);
1354}
1355
51994fad 1356#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button,
7d3f7f14 1357toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button {
43cc2806
RK
1358 -moz-image-region: rect(0px, 64px, 16px, 48px);
1359}
1360
51994fad 1361#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button:hover:not([disabled="true"]),
7d3f7f14 1362toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) {
cc4b0b0d
RK
1363 -moz-image-region: rect(16px, 64px, 32px, 48px);
1364}
1365
51994fad 1366#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button[disabled="true"],
7d3f7f14 1367toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] {
cc4b0b0d
RK
1368 -moz-image-region: rect(32px, 64px, 48px, 48px);
1369}
1370
51994fad 1371#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button,
7d3f7f14 1372toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button {
43cc2806
RK
1373 -moz-image-region: rect(0px, 80px, 16px, 64px);
1374}
1375
51994fad 1376#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button:hover:not([disabled="true"]),
7d3f7f14 1377toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) {
cc4b0b0d
RK
1378 -moz-image-region: rect(16px, 80px, 32px, 64px);
1379}
1380
51994fad 1381#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button[disabled="true"],
7d3f7f14 1382toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] {
cc4b0b0d
RK
1383 -moz-image-region: rect(32px, 80px, 48px, 64px);
1384}
1385
51994fad 1386#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button,
7d3f7f14 1387toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button {
43cc2806
RK
1388 -moz-image-region: rect(0px, 96px, 16px, 80px);
1389}
1390
51994fad 1391#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button:hover:not([disabled="true"]),
7d3f7f14 1392toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) {
cc4b0b0d
RK
1393 -moz-image-region: rect(16px, 96px, 32px, 80px);
1394}
1395
51994fad 1396#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button[disabled="true"],
7d3f7f14 1397toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] {
cc4b0b0d
RK
1398 -moz-image-region: rect(32px, 96px, 48px, 80px);
1399}
1400
e548e22e
RK
1401#add-share-provider {
1402 list-style-image: var(--menupanel-small-list-style-image);
1403 -moz-image-region: rect(0px, 96px, 16px, 80px);
1404}
1405
43cc2806
RK
1406/* === END menupanel.inc.css === */
1407
63ada306
RK
1408.toolbarbutton-1:not([type="menu-button"]) {
1409 -moz-box-orient: vertical;
1410}
1411
319c6529
RK
1412.toolbarbutton-1,
1413.toolbarbutton-1 > .toolbarbutton-menubutton-button {
c0f6797e
RK
1414/* min-width: 36px;
1415 min-height: 36px;*/
319c6529
RK
1416}
1417
1418.toolbarbutton-1,
1419.toolbarbutton-1 > .toolbarbutton-menubutton-button,
1420.toolbarbutton-1[disabled="true"]:hover:active,
1421.toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
1422 padding: 1px 2px;
1423}
1424
1425.toolbarbutton-1:hover:active,
1426.toolbarbutton-1[open="true"],
1427.toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
1428 padding-top: 2px;
1429 padding-bottom: 0px;
1430 -moz-padding-start: 3px;
1431 -moz-padding-end: 1px;
1432}
1433
c0f6797e
RK
1434#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon,
1435#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker,
1436#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker,
1437#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1438#main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon {
e20c83c3
RK
1439}
1440
c0f6797e
RK
1441.toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
1442.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
e20c83c3
RK
1443}
1444
c0f6797e
RK
1445toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext,
1446toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext {
319c6529
RK
1447}
1448
c0f6797e
RK
1449.toolbarbutton-1 > .toolbarbutton-icon,
1450.toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
319c6529
RK
1451}
1452
20752032 1453.findbar-button,
c0f6797e
RK
1454#nav-bar .toolbarbutton-1,
1455#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
319c6529
RK
1456}
1457
c0f6797e
RK
1458#nav-bar .toolbarbutton-1:not([type=menu-button]),
1459#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1460#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
319c6529
RK
1461}
1462
c0f6797e
RK
1463#nav-bar #PanelUI-menu-button {
1464/* -moz-padding-start: 7px;
1465 -moz-padding-end: 5px;*/
319c6529
RK
1466}
1467
b1dfcf32 1468#nav-bar .toolbarbutton-1[type=panel],
8c5bee4f 1469#nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) {
c0f6797e
RK
1470/* padding-left: 5px;
1471 padding-right: 5px;*/
319c6529
RK
1472}
1473
c0f6797e
RK
1474#nav-bar .toolbarbutton-1 > menupopup {
1475/* margin-top: -3px;*/
319c6529
RK
1476}
1477
c0f6797e 1478#nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel {
c1d2ce3e 1479 margin-top: -4px;
319c6529
RK
1480}
1481
c0f6797e
RK
1482#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1483/* -moz-padding-end: 0;*/
319c6529
RK
1484}
1485
c0f6797e
RK
1486#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1487/* -moz-padding-start: 0;
1488 -moz-box-align: center;*/
319c6529
RK
1489}
1490
20752032 1491.findbar-button > .toolbarbutton-text,
c0f6797e
RK
1492#nav-bar .toolbarbutton-1 > .toolbarbutton-icon,
1493#nav-bar .toolbarbutton-1 > .toolbarbutton-text,
19988d2d 1494#nav-bar .toolbarbutton-1 > .toolbarbutton-badge-stack,
c0f6797e
RK
1495#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1496#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
2c62526c 1497window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
c0f6797e
RK
1498/* padding: 2px 6px;
1499 border: 1px solid;
1500 border-color: transparent;
1501 transition-property: background-color, border-color;
1502 transition-duration: 150ms;*/
d54f5b23 1503}
c0f6797e
RK
1504/*
1505#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
19988d2d 1506#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-stack,
c0f6797e
RK
1507#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1508 padding: 3px 7px;
d54f5b23 1509}
c0f6797e 1510*/
d54f5b23 1511
c0f6797e 1512/* Help SDK icons fit: */
a5cb6e53 1513toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-icon,
19988d2d 1514toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-badge-stack > .toolbarbutton-icon {
c0f6797e 1515 width: 16px;
26125509
RK
1516}
1517
a5cb6e53 1518#nav-bar toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
c0f6797e
RK
1519 /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */
1520 width: 32px;
26125509 1521}
26125509 1522
b1dfcf32
RK
1523#nav-bar .toolbarbutton-1[type=panel] > .toolbarbutton-icon,
1524#nav-bar .toolbarbutton-1[type=panel] > .toolbarbutton-badge-stack,
1525#nav-bar .toolbarbutton-1[type=menu]:not(#PanelUI-menu-button):not(#back-button):not(#forward-button) > .toolbarbutton-icon,
1526#nav-bar .toolbarbutton-1[type=menu]:not(#PanelUI-menu-button) > .toolbarbutton-badge-stack,
c0f6797e
RK
1527#nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
1528/* -moz-padding-end: 17px;*/
319c6529
RK
1529}
1530
fa703ff4
RK
1531#nav-bar .toolbarbutton-1[type=panel] > .toolbarbutton-icon,
1532#nav-bar .toolbarbutton-1[type=menu]:not(#PanelUI-menu-button):not(#back-button):not(#forward-button) > .toolbarbutton-icon {
1533 /* horizontal padding + border + icon width */
1534/* max-width: 43px;*/
1535}
1536
c0f6797e 1537#nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
319c6529
RK
1538}
1539
c0f6797e 1540#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
319c6529
RK
1541}
1542
c0f6797e 1543#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
38cfeb47
RK
1544}
1545
c0f6797e
RK
1546#nav-bar .toolbaritem-combined-buttons {
1547/* margin-left: 2px;
1548 margin-right: 2px;*/
38cfeb47
RK
1549}
1550
c0f6797e
RK
1551#nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 {
1552/* padding-left: 0;
1553 padding-right: 0;*/
319c6529
RK
1554}
1555
c0f6797e
RK
1556#nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before,
1557#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 {
1558/*
1559 content: "";
1560 display: -moz-box;
1561 width: 1px;
1562 height: 16px;
1563 -moz-margin-end: -1px;
1564*/
319c6529
RK
1565}
1566
2c62526c 1567window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
319c6529
RK
1568}
1569
20752032 1570.findbar-button:not(:-moz-any([checked="true"],[disabled="true"])):hover > .toolbarbutton-text,
43371c9b 1571#nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
c0f6797e
RK
1572#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1573#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1574#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon,
1575#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text,
19988d2d 1576#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-stack,
2c62526c 1577window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon,
46e71434 1578#nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon {
319c6529
RK
1579}
1580
20752032 1581.findbar-button:not([disabled=true]):-moz-any([checked="true"],:hover:active) > .toolbarbutton-text,
43371c9b 1582#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon,
c0f6797e
RK
1583#nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon,
1584#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon,
1585#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text,
19988d2d 1586#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-stack {
319c6529
RK
1587}
1588
c0f6797e
RK
1589#TabsToolbar .toolbarbutton-1,
1590#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1591.tabbrowser-arrowscrollbox > .scrollbutton-up,
1592.tabbrowser-arrowscrollbox > .scrollbutton-down {
e8519ae0
RK
1593}
1594
c0f6797e
RK
1595#TabsToolbar .toolbarbutton-1:not([disabled=true]):hover,
1596#TabsToolbar .toolbarbutton-1[open],
1597#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover,
1598.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled=true]):hover,
1599.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled=true]):hover {
e8519ae0
RK
1600}
1601
c0f6797e 1602/* unified back/forward button */
319c6529 1603
c0f6797e 1604#forward-button {
589b5528 1605 -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */
71bac478
RK
1606}
1607
c0f6797e
RK
1608#forward-button > menupopup {
1609 margin-top: 1px !important;
319c6529
RK
1610}
1611
c0f6797e
RK
1612#forward-button > .toolbarbutton-icon {
1613 background-clip: padding-box !important;
1614 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
5401f433 1615 /*clip-path: url(chrome://browser/content/browser.xul#keyhole-forward-clip-path) !important;*/
71bac478
RK
1616}
1617
c0f6797e 1618#forward-button {
aec5dfad 1619 -moz-margin-start: -4px !important;
9d1e25fa
RK
1620 padding-left: 5px;
1621 padding-right: 5px;
c0f6797e
RK
1622 margin-top: 3px;
1623 margin-bottom: 3px;
1624 border-radius: 0 10000px 10000px 0;
319c6529
RK
1625}
1626
c0f6797e
RK
1627#forward-button:-moz-locale-dir(rtl) {
1628 border-radius: 10000px 0 0 10000px;
8ad8bf83
RK
1629}
1630
2c62526c 1631window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button {
aec5dfad 1632 transition: margin-left 150ms ease-out;
2c62526c
RK
1633}
1634
1635window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] {
aec5dfad 1636 margin-left: -27px !important;
2c62526c
RK
1637}
1638
1639window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] {
1640 /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
1641 transition-delay: 100s;
1642}
1643
1644window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] {
1645 /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
aec5dfad 1646 margin-left: -27.01px !important;
2c62526c
RK
1647}
1648
c0f6797e
RK
1649#back-button {
1650/* padding-top: 3px !important;
1651 padding-bottom: 3px !important;
1652 -moz-padding-start: 5px !important;
1653 -moz-padding-end: 0 !important;*/
1654 position: relative;
1655 z-index: 1;
1656 border-radius: 10000px;
1657 width: 30px;
1658 height: 30px;
1659 margin-top: -2px;
1660 margin-bottom: -2px;
143c5409
RK
1661}
1662
c0f6797e 1663#back-button:-moz-locale-dir(rtl) {
319c6529
RK
1664}
1665
c0f6797e
RK
1666#back-button > menupopup {
1667 margin-top: -1px !important;
b36fc72e
RK
1668}
1669
c0f6797e
RK
1670#back-button > .toolbarbutton-icon {
1671 border-radius: 10000px !important;
1672 background-clip: padding-box !important;
1673/* background-color: hsla(210,25%,98%,.08) !important;
1674 padding: 6px !important;
589b5528
RK
1675 border-style: none !important;
1676 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1677 0 0 0 1px hsla(210,4%,10%,.25);*/
1678 transition-property: background-color, box-shadow !important;
c0f6797e 1679 transition-duration: 250ms !important;
143c5409
RK
1680}
1681
c0f6797e 1682#back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
589b5528 1683/* background-color: hsla(210,4%,10%,.08) !important;*/
143c5409
RK
1684}
1685
c0f6797e
RK
1686#back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
1687#back-button[open="true"] > .toolbarbutton-icon {
1688/* background-color: hsla(210,4%,10%,.12) !important;
589b5528
RK
1689 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1690 0 0 0 1px hsla(210,4%,10%,.25),
1691 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/
143c5409
RK
1692}
1693
2c62526c 1694#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
c0f6797e 1695 transform: scaleX(-1);
143c5409 1696}
c0f6797e
RK
1697/*
1698.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
1699.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
1700 list-style-image: url("chrome://browser/skin/menu-back.png") !important;
6adbc9a6
RK
1701}
1702
c0f6797e
RK
1703.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
1704.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
1705 list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
6adbc9a6
RK
1706}
1707
c0f6797e
RK
1708#home-button.bookmark-item {
1709 list-style-image: url("chrome://browser/skin/Toolbar.png");
6adbc9a6
RK
1710}
1711
c0f6797e
RK
1712#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),
1713#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),
1714#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1715#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1716#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1717#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1718#home-button.bookmark-item:-moz-lwtheme-brighttext {
1719 position: relative;
1720 z-index: 1;
1721 list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
6adbc9a6
RK
1722}
1723
c0f6797e
RK
1724#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1725#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) {
1726 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
6adbc9a6 1727}
c0f6797e 1728*/
6adbc9a6 1729
c0f6797e
RK
1730#downloads-button > .toolbarbutton-icon {
1731 margin: 0;
6adbc9a6
RK
1732}
1733
9168a62c 1734/* tabview menu item */
c0f6797e 1735
6adbc9a6 1736#menu_tabview {
832af407 1737 list-style-image: url("chrome://browser/skin/tabview/tabviewFx.png");
6adbc9a6
RK
1738 -moz-image-region: rect(1px, 89px, 17px, 73px);
1739}
1740
1741#menu_tabview[groups="0"] {
1742 -moz-image-region: rect(1px, 17px, 17px, 1px);
1743}
1744
1745#menu_tabview[groups="1"] {
1746 -moz-image-region: rect(1px, 35px, 17px, 19px);
1747}
1748
1749#menu_tabview[groups="2"] {
1750 -moz-image-region: rect(1px, 53px, 17px, 37px);
1751}
1752
1753#menu_tabview[groups="3"] {
1754 -moz-image-region: rect(1px, 71px, 17px, 55px);
1755}
1756
9168a62c
RK
1757/* undo close tab menu item */
1758#alltabs_undoCloseTab {
1759 list-style-image: url(chrome://browser/skin/undoCloseTab.png);
1760}
1761
2e389898 1762@media (min-resolution: 1.1dppx) {
9168a62c
RK
1763 #alltabs_undoCloseTab {
1764 list-style-image: url(chrome://browser/skin/undoCloseTab@2x.png);
1765 }
1766 #alltabs_undoCloseTab > .toolbarbutton-icon {
1767 width: 16px;
1768 }
1769}
1770
5401f433
RK
1771/* zoom control text (reset) button special case: */
1772
1773#nav-bar #zoom-reset-button > .toolbarbutton-text {
1774 /* To make this line up with the icons, it needs the same height (18px) +
1775 * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise
1776 * increase in text sizes would break things...
1777 */
1778 min-height: 20px;
1779}
1780
319c6529
RK
1781/* ::::: fullscreen window controls ::::: */
1782
8d7ef0d9 1783#window-controls {
ab799a7a
RK
1784 -moz-margin-start: 4px;
1785}
1786
319c6529
RK
1787#minimize-button,
1788#restore-button,
1789#close-button {
c0f6797e
RK
1790/* list-style-image: url("chrome://global/skin/icons/windowControls.png");
1791 padding: 0; */
319c6529
RK
1792}
1793
1794#minimize-button {
1795 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1796}
1797
1798#minimize-button:hover {
1799 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1800}
1801
1802#restore-button {
1803 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1804}
1805
1806#restore-button:hover {
1807 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1808}
1809
1810#close-button {
1811 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1812}
1813
1814#close-button:hover {
1815 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1816}
1817
1818/* ::::: Location Bar ::::: */
1819
319c6529
RK
1820#urlbar,
1821.searchbar-textbox {
1822 border-radius: 5px;
aec5dfad 1823 margin: 2px 0;
319c6529
RK
1824 -moz-margin-start: 3px;
1825}
1826
ffce2402 1827#urlbar {
f0071a71
RK
1828 /* make color as light as possible to deal with dark non-domain parts */
1829 color: #FFBFFF;
ffce2402
RK
1830}
1831
c9b0a396
RK
1832/* overlap the urlbar's border */
1833#PopupAutoCompleteRichResult {
1834 margin-top: -1px;
1835}
1836
319c6529
RK
1837#urlbar:-moz-lwtheme,
1838.searchbar-textbox:-moz-lwtheme {
1839 /* background-color: rgba(255,255,255,.8);
1840 @navbarTextboxCustomBorder@
1841 color: black; */
1842}
1843
c0f6797e
RK
1844#urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]),
1845.searchbar-textbox:-moz-lwtheme:hover:not([focused]) {
1846/* background-color: rgba(255,255,255,.9);*/
1847}
1848
1849#urlbar:-moz-lwtheme[focused]:not([readonly]),
1850.searchbar-textbox:-moz-lwtheme[focused] {
1851/* background-color: white;*/
1852}
1853
2c62526c 1854window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar {
2299146f
RK
1855/* -moz-border-start: none;
1856 margin-left: 0;*/
2c62526c
RK
1857}
1858
1859window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) {
1860/* border-top-left-radius: 0;
1861 border-bottom-left-radius: 0; */
1862}
1863
1864window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1865/* border-top-right-radius: 0;
1866 border-bottom-right-radius: 0; */
1867}
1868
1869window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
1870/* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/
b1dfcf32 1871/* margin-inline-start: calc(-1 * var(--backbutton-urlbar-overlap)); */
2c62526c
RK
1872}
1873
fff8097b
RK
1874window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl),
1875window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
2c62526c 1876 /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
71a617ff 1877 transform: scaleX(-1);
8ad8bf83
RK
1878}
1879
2c62526c
RK
1880window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) {
1881 -moz-box-direction: reverse;
1882}
1883
a7145e95
RK
1884html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1885.searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
319c6529
RK
1886 color: #E7ADE7;
1887}
1888
319c6529
RK
1889#urlbar-container {
1890 -moz-box-orient: horizontal;
1891 -moz-box-align: stretch;
1892}
1893
9abeb12c
RK
1894.urlbar-textbox-container {
1895 -moz-box-align: stretch;
1896}
1897
a40f6a79
RK
1898.urlbar-input-box {
1899 -moz-margin-start: 0;
1900}
1901
319c6529 1902#urlbar-icons {
319c6529
RK
1903 -moz-box-align: center;
1904}
1905
1906.urlbar-icon {
b8384c33 1907 padding: 0 2px;
fa703ff4
RK
1908 /* 16x16 icon with border-box sizing */
1909 width: 20px;
1910 height: 16px;
ffce2402
RK
1911}
1912
ffce2402 1913.search-go-container {
4b686546
RK
1914 padding: 2px;
1915}
1916
1917.search-go-container > .search-go-button {
1918 padding: 0;
319c6529
RK
1919}
1920
1437a48c
RK
1921#urlbar-search-footer {
1922 border-top: 1px solid #A09090;
1923}
1924
1925#urlbar-search-settings {
1926}
1927
1928#urlbar-search-settings:hover {
1929}
1930
1931#urlbar-search-settings:hover:active {
1932}
1933
319c6529
RK
1934#urlbar-search-splitter {
1935 min-width: 6px;
1936 -moz-margin-start: -3px;
1937 border: none;
1938 background: transparent;
1939}
1940
f0071a71 1941#urlbar-search-splitter + #urlbar-container > #urlbar,
319c6529
RK
1942#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1943 -moz-margin-start: 0;
1944}
1945
e20c83c3
RK
1946#urlbar-display-box {
1947}
1948
8922acc9 1949.urlbar-display {
319c6529
RK
1950 -moz-border-end: 1px solid #9C9CFF;
1951 -moz-margin-end: 3px;
ab799a7a
RK
1952 margin-top: 0;
1953 margin-bottom: 0;
a40f6a79 1954 -moz-margin-start: 0;
ab799a7a
RK
1955 color: #8050B0;
1956}
1957
b1dfcf32 1958/* === BEGIN urlbarSearchSuggestionsNotification.inc.css === */
e20c83c3 1959
b1dfcf32
RK
1960#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] {
1961 border-bottom: 1px solid #A09090;
1962 background-color: #000000;
1963 padding: 6px 0;
1964 -moz-padding-start: 44px;
1965 -moz-padding-end: 6px;
1966 background-image: url("chrome://browser/skin/info.svg");
1967 background-clip: padding-box;
1968 background-position: 20px center;
1969 background-repeat: no-repeat;
1970 background-size: 16px 16px;
8ad8bf83
RK
1971}
1972
b1dfcf32
RK
1973#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"]:-moz-locale-dir(rtl) {
1974 background-position: right 20px center;
8ad8bf83
RK
1975}
1976
b1dfcf32
RK
1977#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > description {
1978 margin: 0;
1979 padding: 0;
2c62526c
RK
1980}
1981
b1dfcf32
RK
1982#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > description > label.text-link {
1983 -moz-margin-start: 0;
8ad8bf83
RK
1984}
1985
b1dfcf32
RK
1986#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button {
1987 -moz-appearance: none;
b1dfcf32
RK
1988 min-width: 80px;
1989 border-radius: 3px;
1990 padding: 4px 16px;
1991 margin: 0;
1992 -moz-margin-start: 10px;
8ad8bf83
RK
1993}
1994
b1dfcf32 1995#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button[anonid="search-suggestions-notification-disable"] {
8ad8bf83
RK
1996}
1997
b1dfcf32 1998#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button[anonid="search-suggestions-notification-disable"]:hover {
8ad8bf83
RK
1999}
2000
b1dfcf32 2001#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button[anonid="search-suggestions-notification-enable"] {
8ad8bf83
RK
2002}
2003
b1dfcf32 2004#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button[anonid="search-suggestions-notification-enable"]:hover {
319c6529
RK
2005}
2006
b1dfcf32 2007/* === END urlbarSearchSuggestionsNotification.inc.css === */
319c6529 2008
b1dfcf32
RK
2009#search-container {
2010 min-width: calc(54px + 11ch);
319c6529
RK
2011}
2012
b1dfcf32 2013/* identity box */
1437a48c 2014
19988d2d 2015#identity-box.verifiedIdentity:not(:-moz-lwtheme):not(:hover):not([open=true]) {
f36031bd 2016 background-color: var(--identity-box-verified-background-color);
319c6529
RK
2017}
2018
2019#identity-box:-moz-focusring {
2020 outline: 1px dotted #008484;
f993773d 2021 outline-offset: -1px;
319c6529
RK
2022}
2023
2024#identity-box.verifiedDomain:-moz-focusring,
2025#identity-box.verifiedIdentity:-moz-focusring {
2026 outline-color: #000000;
2027}
2028
319c6529
RK
2029/* Location bar dropmarker */
2030
38cfeb47 2031.urlbar-history-dropmarker:not(:hover):not([open="true"]) {
319c6529 2032 background-color: transparent;
319c6529
RK
2033}
2034
00f971bc 2035#urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker,
c9b0a396
RK
2036#urlbar-wrapper > #urlbar > .urlbar-history-dropmarker,
2037#urlbar-wrapper > #urlbar > .urlbar-textbox-container > .urlbar-history-dropmarker {
38cfeb47
RK
2038 border: none;
2039 border-radius: 0px;
d7b7f7e1
RK
2040 transition: opacity 0.15s ease;
2041}
2042
2043#navigator-toolbox:not(:hover) .urlbar-history-dropmarker {
2044 opacity: 0;
319c6529
RK
2045}
2046
ffce2402
RK
2047.urlbar-history-dropmarker:hover {
2048}
2049
2050.urlbar-history-dropmarker:hover:active,
2051.urlbar-history-dropmarker[open="true"] {
2052}
2053
319c6529
RK
2054/* page proxy icon */
2055
e7c8bab1
RK
2056/* === BEGIN identity-block.inc.css === */
2057
b1dfcf32 2058#identity-box {
e0f773b9
RK
2059/* --identity-box-hover-background-color: #FFCF00;
2060 --identity-box-selected-background-color: #FF9F00; */
e548e22e 2061 --identity-box-verified-color: #008484;
e7c8bab1 2062 /* Default theme does different color per channel, we can't as they do it build-time. */
e548e22e 2063 --identity-box-chrome-color: #9C9CFF;
b1dfcf32 2064
f36031bd 2065 border-inline-end: 1px solid var(--urlbar-separator-color);
b1dfcf32
RK
2066 font-size: .9em;
2067 border-radius: 2px;
024a65e9
RK
2068 padding: 3px 5px;
2069 margin-inline-end: 4px;
b1dfcf32 2070 overflow: hidden;
024a65e9
RK
2071 /* The latter two properties have a transition to handle the delayed hiding of
2072 the forward button when hovered. */
2073 transition: background-color 150ms ease, padding-left, padding-right;
b1dfcf32
RK
2074}
2075
2076#identity-box:-moz-locale-dir(ltr) {
2077 border-top-right-radius: 0;
2078 border-bottom-right-radius: 0;
2079}
2080
2081#identity-box:-moz-locale-dir(rtl) {
2082 border-top-left-radius: 0;
2083 border-bottom-left-radius: 0;
e548e22e
RK
2084}
2085
2086#urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
2087 color: var(--identity-box-chrome-color);
2088 -moz-border-end: 1px solid var(--identity-box-chrome-color);
e7c8bab1
RK
2089}
2090
2091#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
e548e22e
RK
2092 color: var(--identity-box-verified-color);
2093 -moz-border-end: 1px solid var(--identity-box-verified-color);
e7c8bab1
RK
2094}
2095
b1dfcf32 2096#notification-popup-box:not([hidden]) + #identity-box {
f91d15f9 2097 padding-inline-start: 10px;
b1dfcf32
RK
2098 border-radius: 0;
2099}
2100
2101window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box {
dc9d5d64
RK
2102/* border-radius: 0;
2103 padding-inline-start: 2px; */
2104 padding-inline-end: 2px;
2105 margin-inline-end: 1px;
b1dfcf32
RK
2106}
2107
b1dfcf32
RK
2108window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
2109 #notification-popup-box[hidden] + #identity-box {
2110 padding-inline-start: 2px;
2111}
2112
2113window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar >
2114 #notification-popup-box[hidden] + #identity-box {
024a65e9
RK
2115 /* Forward button hiding is delayed when hovered, so we should use the same
2116 delay for the identity box. We handle both horizontal paddings (for LTR and
2117 RTL), the latter two delays here are for padding-left and padding-right. */
2118 transition-delay: 0s, 100s, 100s;
b1dfcf32
RK
2119}
2120
2121window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
2122 #notification-popup-box[hidden] + #identity-box {
2123 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2124 padding-inline-start: 2.01px;
e7c8bab1
RK
2125}
2126
c9b0a396
RK
2127/* MAIN IDENTITY ICON */
2128
2129#identity-icon {
2130 width: 16px;
2131 height: 16px;
2132 list-style-image: url(chrome://browser/skin/identity-icon.svg#normal);
2133}
2134
2135#identity-box:hover > #identity-icon,
2136#identity-box[open=true] > #identity-icon {
2137 list-style-image: url(chrome://browser/skin/identity-icon.svg#hover);
2138}
2139
2140#urlbar[pageproxystate="valid"] > #identity-box.chromeUI > #identity-icon {
2141 list-style-image: url(chrome://branding/content/identity-icons-brand.svg);
2142}
2143
2144#urlbar[pageproxystate="invalid"] > #identity-box > #identity-icon {
2145 opacity: 0.3;
2146}
2147
2148#urlbar[actiontype="searchengine"] > #identity-box > #identity-icon {
2149 -moz-image-region: inherit;
2150 list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg#search-icon);
2151 width: 16px;
2152 height: 16px;
2153 opacity: 1;
2154}
2155
2156/* TRACKING PROTECTION ICON */
2157
2158#tracking-protection-icon {
2159 width: 16px;
2160 height: 16px;
2161 margin-inline-start: 2px;
2162 margin-inline-end: 0;
2163 list-style-image: url(chrome://browser/skin/tracking-protection-16.svg);
2164 opacity: 1;
2165}
2166
2167#tracking-protection-icon[state="loaded-tracking-content"] {
2168 list-style-image: url(chrome://browser/skin/tracking-protection-disabled-16.svg);
2169}
2170
2171#tracking-protection-icon[animate] {
2172 transition: margin-left 200ms ease-out, margin-right 200ms ease-out;
2173}
2174
2175#tracking-protection-icon:not([state]) {
2176 margin-inline-end: -18px;
2177 pointer-events: none;
2178 opacity: 0;
2179 /* Only animate the shield in, when it disappears hide it immediately. */
2180 transition: none;
2181}
2182
2183#urlbar[pageproxystate="invalid"] > #identity-box > #tracking-protection-icon {
2184 visibility: collapse;
2185}
2186
2187/* CONNECTION ICON */
2188
2189#connection-icon {
2190 width: 16px;
2191 height: 16px;
2192 margin-inline-start: 2px;
2193 visibility: collapse;
2194}
2195
2196#urlbar[pageproxystate="valid"] > #identity-box.verifiedDomain > #connection-icon,
2197#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity > #connection-icon {
2198 list-style-image: url(chrome://browser/skin/identity-secure.svg);
2199 visibility: visible;
2200}
2201
2202#urlbar[pageproxystate="valid"] > #identity-box.insecureLoginForms > #connection-icon,
2203#urlbar[pageproxystate="valid"] > #identity-box.mixedActiveContent > #connection-icon {
2204 list-style-image: url(chrome://browser/skin/identity-mixed-active-loaded.svg);
2205 visibility: visible;
2206}
2207
2208#urlbar[pageproxystate="valid"] > #identity-box.weakCipher > #connection-icon,
2209#urlbar[pageproxystate="valid"] > #identity-box.mixedDisplayContent > #connection-icon,
2210#urlbar[pageproxystate="valid"] > #identity-box.mixedDisplayContentLoadedActiveBlocked > #connection-icon {
2211 list-style-image: url(chrome://browser/skin/identity-mixed-passive-loaded.svg);
2212 visibility: visible;
2213}
2214
2215#urlbar[pageproxystate="valid"] > #identity-box.mixedActiveBlocked > #connection-icon {
2216 list-style-image: url(chrome://browser/skin/identity-mixed-active-blocked.svg);
2217 visibility: visible;
2218}
2219
e7c8bab1
RK
2220/* === END identity-block.inc.css === */
2221
2222#page-proxy-favicon {
2223 -moz-image-region: rect(0, 16px, 16px, 0);
2224}
2225
3b1da406 2226window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon {
c0f6797e
RK
2227/* -moz-margin-end: 1px;*/
2228}
2229
2a5b7882 2230#identity-box:hover > #page-proxy-favicon {
a40f6a79
RK
2231 -moz-image-region: rect(0, 32px, 16px, 16px);
2232}
2233
2a5b7882
RK
2234#identity-box:hover:active > #page-proxy-favicon,
2235#identity-box[open=true] > #page-proxy-favicon {
a40f6a79 2236 -moz-image-region: rect(0, 48px, 16px, 32px);
acb0e9b8 2237}
2238
2a5b7882
RK
2239#identity-box:hover {
2240 background-color: #FFCF00;
7092015d 2241 color: #000000;
2a5b7882
RK
2242}
2243
2244#identity-box:hover:active,
2245#identity-box[open=true] {
2246 background-color: #FF9F00;
7092015d 2247 color: #000000;
2a5b7882
RK
2248}
2249
56859d76
RK
2250#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover,
2251#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active,
2252#urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] {
2253 background-color: #9C9CFF;
2254 color: #000000;
2255}
2256
387e6560
RK
2257#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
2258#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
2259#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
2a5b7882
RK
2260 background-color: #008484;
2261 color: #000000;
2262}
2263
319c6529
RK
2264/* autocomplete */
2265
319c6529
RK
2266#treecolAutoCompleteImage {
2267 max-width: 36px;
2268}
acb0e9b8 2269
319c6529
RK
2270.ac-result-type-bookmark,
2271.autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
71bac478 2272 list-style-image: url("chrome://browser/skin/places/bookmark.png");
319c6529 2273 -moz-image-region: rect(0px 16px 16px 0px);
c1f7cc84 2274 width: 16px;
319c6529 2275 height: 16px;
acb0e9b8 2276}
2277
c0f6797e
RK
2278richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark,
2279.autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) {
2280/* -moz-image-region: rect(0px 48px 16px 32px);*/
2281}
2282
319c6529 2283.ac-result-type-keyword,
8922acc9
RK
2284.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage),
2285richlistitem[type~="action"][actiontype="searchengine"] > .ac-title-box > .ac-site-icon {
2286 list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon");
acb0e9b8 2287 width: 16px;
2288 height: 16px;
2289}
2290
8922acc9
RK
2291 .ac-result-type-keyword[selected="true"],
2292 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage, selected),
2293 richlistitem[type~="action"][actiontype="searchengine"][selected="true"] > .ac-title-box > .ac-site-icon {
2294 list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon-inverted");
2295 }
2296
319c6529
RK
2297.ac-result-type-tag,
2298.autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
8da9da4e 2299 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
c1f7cc84 2300 width: 16px;
319c6529
RK
2301 height: 16px;
2302}
acb0e9b8 2303
b1dfcf32
RK
2304.ac-comment,
2305#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > description,
2306#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button {
2307 font-size: 1.05em;
acb0e9b8 2308}
319c6529 2309
b1dfcf32
RK
2310.ac-extra > .ac-comment,
2311.ac-url-text,
2312.ac-action-text {
c0f6797e 2313 font-size: 1em;
acb0e9b8 2314}
319c6529
RK
2315
2316.ac-url-text,
2317.ac-action-text {
2318 color: #9C9CFF;
acb0e9b8 2319}
319c6529 2320
e0f773b9 2321richlistitem[type~="action"][actiontype="tab"] > .ac-url-box > .ac-action-icon {
319c6529 2322 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
85cfb236
RK
2323 -moz-image-region: rect(0, 16px, 16px, 0);
2324 padding: 0 3px;
b1dfcf32
RK
2325 width: 22px;
2326 height: 16px;
2327}
2328
2329@media (min-resolution: 1.1dppx) {
e0f773b9 2330 richlistitem[type~="action"][actiontype="tab"] > .ac-url-box > .ac-action-icon {
b1dfcf32
RK
2331 list-style-image: url("chrome://browser/skin/actionicon-tab@2x.png");
2332 -moz-image-region: rect(0, 32px, 32px, 0);
2333 }
85cfb236
RK
2334}
2335
e0f773b9 2336richlistitem[type~="action"][actiontype="tab"][selected="true"] > .ac-url-box > .ac-action-icon {
85cfb236 2337 -moz-image-region: rect(16px, 16px, 32px, 0);
acb0e9b8 2338}
2339
319c6529
RK
2340.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
2341 color: #8050B0;
2342}
acb0e9b8 2343
319c6529
RK
2344.ac-comment[selected="true"],
2345.ac-url-text[selected="true"],
2346.ac-action-text[selected="true"] {
2347 color: inherit !important;
acb0e9b8 2348}
2349
c1f7cc84
RK
2350.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
2351.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
319c6529
RK
2352{
2353 color: #8050B0;
2354 font-size: smaller;
acb0e9b8 2355}
319c6529
RK
2356
2357.autocomplete-treebody::-moz-tree-cell(suggesthint) {
2358 border-top: 1px solid #9C9CFF;
acb0e9b8 2359}
2360
319c6529
RK
2361/* combined go/reload/stop button in location bar */
2362
c9b0a396
RK
2363#urlbar-go-button,
2364#urlbar-reload-button,
2365#urlbar-stop-button {
2366 border-style: none;
52d7b436 2367 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
c9b0a396 2368/* padding: 0 9px;*/
024a65e9 2369 margin-inline-start: 0px;
c9b0a396
RK
2370 border-inline-start: 1px solid var(--urlbar-separator-color);
2371 border-image: linear-gradient(transparent 15%,
2372 var(--urlbar-separator-color) 15%,
2373 var(--urlbar-separator-color) 85%,
2374 transparent 85%);
2375 border-image-slice: 1;
9abeb12c
RK
2376}
2377
2378#urlbar:-moz-locale-dir(ltr) > toolbarbutton {
38cfeb47
RK
2379 border-top-left-radius: 0px;
2380 border-bottom-left-radius: 0px;
acb0e9b8 2381}
acb0e9b8 2382
9abeb12c 2383#urlbar:-moz-locale-dir(rtl) > toolbarbutton {
38cfeb47
RK
2384 border-top-right-radius: 0px;
2385 border-bottom-right-radius: 0px;
9abeb12c
RK
2386}
2387
46e71434 2388#urlbar > toolbarbutton:not([disabled=true]):active:hover,
dce90fef
RK
2389#urlbar-reload-button:not(:hover) {
2390 -moz-border-start-style: none;
714b11f6 2391 -moz-padding-start: 3px;
dce90fef
RK
2392}
2393
c0f6797e
RK
2394#urlbar-reload-button {
2395 -moz-image-region: rect(0px, 14px, 14px, 0px);
acb0e9b8 2396}
2397
46e71434 2398#urlbar-reload-button[disabled=true] {
c0f6797e 2399 -moz-image-region: rect(28px, 14px, 42px, 0px);
acb0e9b8 2400}
2401
46e71434 2402#urlbar-reload-button:not([disabled=true]):hover {
c0f6797e 2403 -moz-image-region: rect(14px, 14px, 28px, 0px);
ffce2402
RK
2404}
2405
c0f6797e
RK
2406#urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2407 transform: scaleX(-1);
acb0e9b8 2408}
2409
c0f6797e
RK
2410#urlbar-go-button {
2411 -moz-image-region: rect(0, 42px, 14px, 28px);
38cfeb47
RK
2412}
2413
fff8097b 2414#urlbar-go-button:hover {
c0f6797e 2415 -moz-image-region: rect(14px, 42px, 28px, 28px);
acb0e9b8 2416}
2417
c0f6797e
RK
2418#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2419 transform: scaleX(-1);
acb0e9b8 2420}
319c6529
RK
2421
2422#urlbar-stop-button {
ffce2402 2423 -moz-image-region: rect(0px, 28px, 14px, 14px);
acb0e9b8 2424}
319c6529
RK
2425
2426#urlbar-stop-button:hover {
ffce2402 2427 -moz-image-region: rect(14px, 28px, 28px, 14px);
acb0e9b8 2428}
2429
2e389898 2430@media (min-resolution: 1.1dppx) {
c9b0a396
RK
2431 #urlbar-go-button,
2432 #urlbar-reload-button,
2433 #urlbar-stop-button {
2e389898
RK
2434 list-style-image: url("chrome://browser/skin/reload-stop-go@2x.png");
2435 }
2436
c9b0a396
RK
2437 #urlbar-go-button > .toolbarbutton-icon,
2438 #urlbar-reload-button > .toolbarbutton-icon,
2439 #urlbar-stop-button > .toolbarbutton-icon {
2440 width: 14px;
2441 }
2442
2e389898
RK
2443 #urlbar-go-button {
2444 -moz-image-region: rect(0, 84px, 28px, 56px);
2445 }
2446
2447 #urlbar-go-button:hover {
2448 -moz-image-region: rect(28px, 84px, 56px, 56px);
2449 }
2450
2451 #urlbar-go-button:hover:active {
2452 -moz-image-region: rect(56px, 84px, 84px, 56px);
2453 }
2454
2455 #urlbar-reload-button {
2456 -moz-image-region: rect(0, 28px, 28px, 0);
2457 }
2458
2459 #urlbar-reload-button:not([disabled]):hover {
2460 -moz-image-region: rect(28px, 28px, 56px, 0);
2461 }
2462
2463 #urlbar-reload-button:not([disabled]):hover:active {
2464 -moz-image-region: rect(56px, 28px, 84px, 0);
2465 }
2466
2467 #urlbar-stop-button {
2468 -moz-image-region: rect(0, 56px, 28px, 28px);
2469 }
2470
2471 #urlbar-stop-button:not([disabled]):hover {
2472 -moz-image-region: rect(28px, 56px, 56px, 28px);
2473 }
2474
2475 #urlbar-stop-button:hover:active {
2476 -moz-image-region: rect(56px, 56px, 84px, 28px);
2477 }
2e389898
RK
2478}
2479
319c6529
RK
2480/* popup blocker button */
2481
2482#page-report-button {
2483 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
2484 -moz-image-region: rect(0, 16px, 16px, 0);
acb0e9b8 2485}
319c6529 2486
71bac478 2487#page-report-button:hover ,
319c6529
RK
2488#page-report-button:hover:active,
2489#page-report-button[open="true"] {
71bac478 2490 -moz-image-region: rect(0, 32px, 16px, 16px);
acb0e9b8 2491}
2492
bcb9d005
RK
2493/* Reader mode button */
2494
2495#reader-mode-button {
2496 list-style-image: url("chrome://browser/skin/readerMode.svg");
2497 -moz-image-region: rect(0, 16px, 16px, 0);
2498}
2499
2500#reader-mode-button:hover,
2501#reader-mode-button[readeractive]:hover {
2502 -moz-image-region: rect(0, 32px, 16px, 16px);
2503}
2504
2505#reader-mode-button:hover:active,
2506#reader-mode-button[readeractive] {
2507 -moz-image-region: rect(0, 48px, 16px, 32px);
2508}
2509
c4460289
RK
2510/* social share panel */
2511
20752032
RK
2512.social-share-frame {
2513 min-width: 756px;
c4460289
RK
2514 height: 150px;
2515}
2516
20752032
RK
2517#share-container {
2518 min-width: 756px;
2519 background-color: white;
2520 background-repeat: no-repeat;
2521 background-position: center center;
c4460289 2522}
20752032
RK
2523#share-container[loading] {
2524 background-image: url(chrome://browser/skin/tabbrowser/pendingpaint.png);
2525}
2526#share-container > browser {
2527 transition: opacity 150ms ease-in-out;
2528 opacity: 1;
2529}
2530#share-container[loading] > browser {
2531 opacity: 0;
c4460289
RK
2532}
2533
20752032
RK
2534.social-share-toolbar {
2535 border-bottom: 1px solid #9C9CFF;
2536 padding: 2px;
c4460289
RK
2537}
2538
20752032
RK
2539#social-share-provider-buttons {
2540 padding: 0;
2541 margin: 0;
c4460289
RK
2542}
2543
20752032
RK
2544.share-provider-button {
2545 padding: 5px;
2546 margin: 2px;
c4460289
RK
2547}
2548
20752032 2549.share-provider-button > .toolbarbutton-text {
c4460289
RK
2550 display: none;
2551}
20752032 2552.share-provider-button > .toolbarbutton-icon {
c4460289
RK
2553 width: 16px;
2554 min-height: 16px;
2555 max-height: 16px;
2556}
2557
2558/* fixup corners for share panel */
2559.social-panel > .social-panel-frame {
2560 border-radius: inherit;
2561}
2562
2563#social-share-panel {
c4460289 2564 min-height: 100px;
20752032 2565 min-width: 766px;
c4460289
RK
2566}
2567
20752032 2568#share-container,
c4460289 2569.social-share-frame {
e2734cc7 2570 border-top-left-radius: 0;
c4460289 2571 border-bottom-left-radius: inherit;
e2734cc7 2572 border-top-right-radius: 0;
20752032 2573 border-bottom-right-radius: inherit;
c4460289
RK
2574}
2575
20752032 2576#social-share-panel > .social-share-toolbar {
e2734cc7 2577 border-top-left-radius: inherit;
e2734cc7 2578 border-top-right-radius: inherit;
e2734cc7
RK
2579}
2580
20752032 2581#social-share-provider-buttons {
c4460289 2582 border-top-left-radius: inherit;
e2734cc7 2583 border-top-right-radius: inherit;
e2734cc7
RK
2584}
2585
889649fd
RK
2586/* social recommending panel */
2587
a6757852 2588#social-mark-button {
d7cfd768 2589 -moz-image-region: rect(0, 16px, 16px, 0);
889649fd
RK
2590}
2591
c0f6797e 2592/* bookmarks menu-button */
319c6529 2593
c0f6797e
RK
2594#bookmarks-menu-button.bookmark-item {
2595 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2596 -moz-image-region: rect(0px 16px 16px 0px);
acb0e9b8 2597}
319c6529 2598
c0f6797e
RK
2599#bookmarks-menu-button.bookmark-item[starred] {
2600 -moz-image-region: rect(0px 32px 16px 16px);
acb0e9b8 2601}
319c6529 2602
e9fbfc3a 2603#nav-bar #bookmarks-menu-button[cui-areatype="toolbar"]:not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
c0f6797e
RK
2604 padding-top: 2px;
2605 padding-bottom: 2px;
71bac478
RK
2606}
2607
c0f6797e
RK
2608#BMB_bookmarksPopup[side="top"],
2609#BMB_bookmarksPopup[side="bottom"] {
2610 margin-left: -20px;
2611 margin-right: -20px;
71bac478
RK
2612}
2613
c0f6797e
RK
2614#BMB_bookmarksPopup[side="left"],
2615#BMB_bookmarksPopup[side="right"] {
2616 margin-top: -20px;
2617 margin-bottom: -20px;
acb0e9b8 2618}
319c6529
RK
2619
2620/* bookmarking panel */
c0f6797e 2621
319c6529
RK
2622#editBookmarkPanelStarIcon {
2623 list-style-image: url("chrome://browser/skin/places/starred48.png");
2624 width: 48px;
2625 height: 48px;
acb0e9b8 2626}
319c6529
RK
2627
2628#editBookmarkPanelStarIcon[unstarred] {
2629 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
acb0e9b8 2630}
2631
319c6529
RK
2632#editBookmarkPanelTitle {
2633 font-size: 130%;
acb0e9b8 2634}
319c6529
RK
2635
2636#editBookmarkPanelHeader,
2637#editBookmarkPanelContent {
2638 margin-bottom: .5em;
acb0e9b8 2639}
319c6529
RK
2640
2641/* Implements editBookmarkPanel resizing on folderTree un-collapse. */
2642#editBMPanel_folderTree {
2643 min-width: 27em;
acb0e9b8 2644}
2645
f993773d 2646.panel-promo-box {
46e71434
RK
2647 margin: 5px 0 -6px;
2648 padding: 5px 0;
889649fd 2649 border-top: 1px solid #9C9CFF;
f0eab82c
RK
2650 border-bottom-left-radius: 5px;
2651 border-bottom-right-radius: 5px;
f993773d
RK
2652}
2653
2654.panel-promo-icon {
2655 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
2656 -moz-margin-end: 10px;
2657 vertical-align: middle;
2658}
2659
2660.panel-promo-closebutton {
2661 list-style-image: url("chrome://global/skin/icons/close-button.gif");
f0eab82c
RK
2662 -moz-margin-end: -3px;
2663 margin-top: -3px;
f993773d
RK
2664}
2665
2666.panel-promo-closebutton:hover {
2667 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2668}
2669
2670.panel-promo-closebutton:hover:active {
2671 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2672}
2673
2674.panel-promo-closebutton > .toolbarbutton-text {
2675 padding: 0;
f993773d
RK
2676}
2677
319c6529
RK
2678/* ::::: content area ::::: */
2679
bcb9d005
RK
2680#sidebar-box {
2681 background-color: #9C9CFF;
2682 color: #000000;
2683}
2684
319c6529 2685#sidebar {
bcb9d005
RK
2686 background-color: #000000;
2687}
2688
2689#sidebar-splitter {
2690 -moz-margin-start: 0;
2691}
2692
2693#sidebar-header {
2694 color: #000000;
2695 padding: 2px;
acb0e9b8 2696}
319c6529
RK
2697
2698#sidebar-title {
2699 -moz-padding-start: 0px;
acb0e9b8 2700}
319c6529 2701
589b5528
RK
2702#sidebar-header > .close-icon {
2703/* padding: 4px 2px;
2704 margin: 0;
2705 border: none;*/
2706 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2707}
2708
2709#sidebar-header > .close-icon:hover,
2710#sidebar-header > .close-icon:hover:active {
2711 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2712}
2713
bcb9d005
RK
2714#sidebar-splitter:-moz-locale-dir(ltr),
2715#sidebar:-moz-locale-dir(ltr) {
2716 border-radius: 0 5px 0 0;
2717}
2718
2719#sidebar-splitter:-moz-locale-dir(rtl),
2720#sidebar:-moz-locale-dir(rtl) {
2721 border-radius: 5px 0 0 0;
2722}
2723
fe524e0c
RK
2724.browserContainer > findbar {
2725/*
2726 background-color: -moz-dialog;
2727 color: -moz-DialogText;
2728*/
2729}
2730
319c6529 2731/* Tabstrip */
b36fc72e 2732
c0f6797e 2733#TabsToolbar {
e20c83c3
RK
2734 min-height: 0;
2735 padding: 0;
2736 -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar");
2737}
2738
b36fc72e 2739#TabsToolbar .toolbar-holder {
c1f7cc84 2740 background-color: #000000; /* correct effect of being an actual toolbar */
acb0e9b8 2741}
2742
b36fc72e 2743#main-window[disablechrome] #TabsToolbar,
319c6529 2744#TabsToolbar[tabsontop="false"] {
8b5fc82e 2745 border-bottom: 1px solid #008484;
acb0e9b8 2746}
319c6529 2747
6dc70335
RK
2748/* === BEGIN tabs.inc.css === */
2749
368d0b7f
RK
2750:root {
2751 /* --tab-toolbar-navbar-overlap: 1px; */
024a65e9 2752 /* --navbar-tab-toolbar-highlight-overlap: 1px; */
368d0b7f 2753 /* --tab-min-height: 31px; */
024a65e9
RK
2754}
2755#TabsToolbar {
2756 /* --tab-stroke-background-size: auto 100%; */
368d0b7f
RK
2757}
2758
319c6529 2759.tabbrowser-tab,
43ee1307
RK
2760.tabs-newtab-button,
2761#TabsToolbar > #new-tab-button {
319c6529 2762 margin-top: 0px;
acb0e9b8 2763}
319c6529 2764
43ee1307 2765.tabbrowser-tab {
57fc408c
RK
2766 padding: 1px 4px 2px;
2767}
2768
2769.tabbrowser-tab:first-of-type {
2770 -moz-margin-start: 2px;
2771}
2772
43ee1307 2773.tabs-newtab-button,
e0f773b9
RK
2774#TabsToolbar > #new-tab-button,
2775#TabsToolbar > toolbarpaletteitem > #new-tab-button,
2776#TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
57fc408c
RK
2777 border-radius: 8px 8px 0px 0px;
2778 -moz-margin-start: 0;
2779}
2780
43ee1307 2781.tabs-newtab-button:not(:hover),
e0f773b9
RK
2782#TabsToolbar > #new-tab-button:not(:hover),
2783#TabsToolbar > toolbarpaletteitem > #new-tab-button,
2784#TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
57fc408c
RK
2785 background-color: #C09070;
2786}
2787
c0f6797e 2788/* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */
05148fed 2789.tabbrowser-tab[visuallyselected=true] {
c0f6797e
RK
2790/* position: relative;
2791 z-index: 2;*/
acb0e9b8 2792}
2793
c0f6797e 2794.tab-background-middle {
acb0e9b8 2795}
2796
c0f6797e 2797.tab-content {
acb0e9b8 2798}
319c6529 2799
d533ec21
RK
2800.tab-content[pinned] {
2801}
2802
2803.tab-throbber,
c0f6797e 2804.tab-icon-image,
b1dfcf32 2805.tab-icon-sound,
c0f6797e 2806.tab-close-button {
acb0e9b8 2807}
2808
319c6529
RK
2809.tab-throbber,
2810.tab-icon-image {
319c6529 2811 height: 16px;
c0f6797e 2812 width: 16px;
d533ec21 2813 -moz-margin-end: 3px;
c0f6797e
RK
2814}
2815
2816.tab-icon-image {
dce90fef 2817 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
613daf44 2818}
2819
d533ec21
RK
2820.tab-icon-overlay {
2821 width: 16px;
2822 height: 16px;
d7b7f7e1
RK
2823 margin-top: -8px;
2824 -moz-margin-start: -15px;
b1dfcf32 2825 position: relative;
d533ec21
RK
2826}
2827
2828.tab-icon-overlay[crashed] {
d533ec21
RK
2829 list-style-image: url("chrome://browser/skin/tabbrowser/crashed.svg");
2830}
2831
024a65e9
RK
2832.tab-icon-overlay[soundplaying],
2833.tab-icon-overlay[muted]:not([crashed]) {
d7b7f7e1 2834 border-radius: 10px;
b1dfcf32
RK
2835}
2836
024a65e9
RK
2837.tab-icon-overlay[soundplaying]:hover,
2838.tab-icon-overlay[muted]:hover {
b1dfcf32
RK
2839 background-color: #FFCF00;
2840}
2841
024a65e9 2842.tab-icon-overlay[soundplaying] {
b1dfcf32
RK
2843 display: -moz-box;
2844 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio");
2845}
2846
024a65e9 2847.tab-icon-overlay[muted]:not([crashed]) {
b1dfcf32
RK
2848 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-muted");
2849}
2850
024a65e9
RK
2851#TabsToolbar[brighttext] .tab-icon-overlay[soundplaying]:not(:hover) {
2852 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-white");
b1dfcf32
RK
2853}
2854
b1dfcf32 2855
024a65e9
RK
2856#TabsToolbar[brighttext] .tab-icon-overlay[muted]:not([crashed]):not(:hover) {
2857 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-white-muted");
b1dfcf32
RK
2858}
2859
3d64e0ce 2860.tab-throbber[busy] {
95f333af 2861 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
613daf44 2862}
319c6529
RK
2863
2864.tab-throbber[progress] {
95f333af 2865 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
613daf44 2866}
319c6529 2867
85b6b932
RK
2868@media (min-resolution: 1.1dppx) {
2869 .tab-throbber[busy] {
2870 list-style-image: url("chrome://communicator/skin/brand/throbber-anim-connect.png");
2871 }
2872
2873 .tab-throbber[progress] {
2874 list-style-image: url("chrome://communicator/skin/brand/throbber-anim.png");
2875 }
2876}
2877
319c6529
RK
2878.tab-throbber[pinned],
2879.tab-icon-image[pinned] {
2880 -moz-margin-start: 2px;
2881 -moz-margin-end: 2px;
613daf44 2882}
319c6529 2883
c0f6797e 2884.tab-label {
aec5dfad
RK
2885 /* this needs to add up to the 16px of the icon image */
2886 height: 12px;
2887 margin-top: 2px !important;
2888 margin-bottom: 2px !important;
c0f6797e
RK
2889}
2890
b1dfcf32
RK
2891.tab-icon-sound {
2892 -moz-margin-start: 4px;
2893 width: 16px;
2894 height: 16px;
2895 padding: 0;
2896}
2897
b1dfcf32
RK
2898.tab-icon-sound[muted] {
2899 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted");
2900}
2901
2902.tab-icon-sound[muted]:hover {
2903 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-hover");
2904}
2905
2906.tab-icon-sound[muted]:hover:active {
2907 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-pressed");
2908}
2909
2910.tab-icon-sound[soundplaying] {
024a65e9 2911 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-backgroundTab");
b1dfcf32
RK
2912}
2913
2914.tab-icon-sound[soundplaying]:hover {
024a65e9 2915 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-backgroundTab-hover");
b1dfcf32
RK
2916}
2917
2918.tab-icon-sound[soundplaying]:hover:active {
024a65e9
RK
2919 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-backgroundTab-pressed");
2920}
2921
2922.tab-icon-sound[muted] {
2923 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-backgroundTab-muted");
2924}
2925
2926.tab-icon-sound[muted]:hover {
2927 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-backgroundTab-muted-hover");
2928}
2929
2930.tab-icon-sound[muted]:hover:active {
2931 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-backgroundTab-muted-pressed");
2932}
2933
2934.tab-icon-sound[visuallyselected=true][soundplaying] {
2935 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio");
2936}
2937
2938.tab-icon-sound[visuallyselected=true][soundplaying]:hover {
2939 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-hover");
2940}
2941
2942.tab-icon-sound[visuallyselected=true][soundplaying]:hover:active {
b1dfcf32
RK
2943 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-pressed");
2944}
2945
024a65e9
RK
2946.tab-icon-sound[visuallyselected=true][muted] {
2947 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted");
2948}
2949
2950.tab-icon-sound[visuallyselected=true][muted]:hover {
2951 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-hover");
2952}
2953
2954.tab-icon-sound[visuallyselected=true][muted]:hover:active {
2955 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-pressed");
2956}
2957
b1dfcf32 2958#TabsToolbar[brighttext] .tab-icon-sound[soundplaying] {
024a65e9 2959 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-white");
b1dfcf32
RK
2960}
2961
2962#TabsToolbar[brighttext] .tab-icon-sound[soundplaying]:hover {
024a65e9 2963 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-white-hover");
b1dfcf32
RK
2964}
2965
2966#TabsToolbar[brighttext] .tab-icon-sound[soundplaying]:hover:active {
024a65e9 2967 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-white-pressed");
b1dfcf32
RK
2968}
2969
2970#TabsToolbar[brighttext] .tab-icon-sound[muted] {
024a65e9 2971 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-white");
b1dfcf32
RK
2972}
2973
2974#TabsToolbar[brighttext] .tab-icon-sound[muted]:hover {
024a65e9 2975 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-white-hover");
b1dfcf32
RK
2976}
2977
2978#TabsToolbar[brighttext] .tab-icon-sound[muted]:hover:active {
024a65e9 2979 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-white-pressed");
b1dfcf32
RK
2980}
2981
c0f6797e
RK
2982.tab-close-button {
2983 margin-top: 1px;
2984 padding: 0;
2985}
2986
2987.tab-background,
2988.tabs-newtab-button {
2989 /* overlap the tab curves */
2990}
2991
2992.tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
2993}
2994
93c91f62
RK
2995/* Tab Overflow */
2996.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]),
2997.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
2998}
2999
3000.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:-moz-locale-dir(rtl),
3001.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:-moz-locale-dir(ltr) {
3002}
3003
3004.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]) {
3005}
3006
3007.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
3008}
3009
3010.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator[collapsed],
3011.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator[collapsed] {
3012}
3013
3014.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator,
3015.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator {
3016}
3017
05148fed
RK
3018.tab-background-start[visuallyselected=true]::after,
3019.tab-background-start[visuallyselected=true]::before,
c0f6797e
RK
3020.tab-background-start,
3021.tab-background-end,
05148fed
RK
3022.tab-background-end[visuallyselected=true]::after,
3023.tab-background-end[visuallyselected=true]::before {
c0f6797e
RK
3024}
3025
05148fed 3026.tabbrowser-tab:not([visuallyselected=true]),
c0f6797e
RK
3027.tabbrowser-tab:-moz-lwtheme {
3028}
3029
319c6529 3030/* tabbrowser-tab focus ring */
c0f6797e 3031.tabbrowser-tab:focus {
319c6529 3032 outline: 1px dotted;
613daf44 3033}
319c6529 3034
c0f6797e
RK
3035/* Selected tab */
3036
05148fed 3037.tabbrowser-tab[visuallyselected="true"] {
c0f6797e
RK
3038}
3039
3040/* End selected tab */
3041
d7b7f7e1
RK
3042/* User Context UI - change tab decoration depending on userContextId.
3043 Defaults to gray for unknown usercontextids. */
3044.tabbrowser-tab[usercontextid] {
3045 background-image: linear-gradient(to right, transparent 20%, #A09090 30%, #A09090 70%, transparent 80%);
3046 background-size: auto 2px;
3047 background-repeat: no-repeat;
3048}
3049
3050/* Personal User Context */
3051.tabbrowser-tab[usercontextid="1"] {
3052 background-image: linear-gradient(to right, transparent 20%, #9C9CFF 30%, #9C9CFF 70%, transparent 80%);
3053}
3054/* Work User Context */
3055.tabbrowser-tab[usercontextid="2"] {
3056 background-image: linear-gradient(to right, transparent 20%, #FF9F00 30%, #FF9F00 70%, transparent 80%);
3057}
3058/* Banking User Context */
3059.tabbrowser-tab[usercontextid="3"] {
3060 background-image: linear-gradient(to right, transparent 20%, #008484 30%, #008484 70%, transparent 80%);
3061}
3062/* Shopping User Context */
3063.tabbrowser-tab[usercontextid="4"] {
3064 background-image: linear-gradient(to right, transparent 20%, #E7ADE7 30%, #E7ADE7 70%, transparent 80%);
3065}
3066
c0f6797e
RK
3067/* Tab pointer-events */
3068/*
3069.tabbrowser-tab {
3070 pointer-events: none;
3071}
3072
3073.tab-background-middle,
3074.tabs-newtab-button,
b1dfcf32
RK
3075.tab-icon-overlay[soundplaying],
3076.tab-icon-overlay[muted]:not([crashed]),
3077.tab-icon-sound,
c0f6797e
RK
3078.tab-close-button {
3079 pointer-events: auto;
3080}
3081*/
3082/* Pinned tabs */
3083
fa703ff4
RK
3084/*
3085.tabbrowser-tab:-moz-any([image], [pinned]) > .tab-stack > .tab-content[attention]:not([visuallyselected="true"]),
3086.tabbrowser-tab > .tab-stack > .tab-content[pinned][titlechanged]:not([visuallyselected="true"]) {
3087*/
3088.tabbrowser-tab:-moz-any([image], [pinned]):-moz-any([attention], [titlechanged]):not([visuallyselected="true"]) {
c0f6797e
RK
3089 background-color: #E7ADE7;
3090}
3091
fa703ff4
RK
3092.tab-label[attention]:not([visuallyselected="true"]) {
3093 font-weight: bold;
3094}
3095
3096.tabbrowser-tab[pinned][titlechanged]:not([visuallyselected="true"]):hover {
c0f6797e
RK
3097 background-color: #3333FF;
3098 color: #000000;
3099}
3100
024a65e9
RK
3101/* Tab separators */
3102/*
3103.tabbrowser-tab::after,
3104.tabbrowser-tab::before {
3105 width: 1px;
3106 -moz-margin-start: -1px;
3107 background-image: linear-gradient(transparent 5px,
3108 currentColor 5px,
3109 currentColor calc(100% - 4px),
3110 transparent calc(100% - 4px));
3111 opacity: 0.2;
3112}
3113
3114#TabsToolbar[brighttext] > #tabbrowser-tabs > .tabbrowser-tab::before,
3115#TabsToolbar[brighttext] > #tabbrowser-tabs > .tabbrowser-tab::after {
3116 opacity: 0.4;
3117}
3118*/
3119/* Also show separators beside the selected tab when dragging it. */
3120/*
3121#tabbrowser-tabs[movingtab] > .tabbrowser-tab[beforeselected]:not([last-visible-tab])::after,
3122.tabbrowser-tab:not([visuallyselected]):not([afterselected-visible]):not([afterhovered]):not([first-visible-tab]):not(:hover)::before,
3123#tabbrowser-tabs:not([overflow]) > .tabbrowser-tab[last-visible-tab]:not([visuallyselected]):not([beforehovered]):not(:hover)::after {
3124 content: "";
3125 display: -moz-box;
3126}
3127*/
c0f6797e
RK
3128/* New tab button */
3129
3130.tabs-newtab-button {
3131 width: 28px;
d533ec21 3132 /* width: calc(36px + var(--tab-curve-width)); */
c0f6797e
RK
3133}
3134
3135/* === END tabs.inc.css === */
3136
43371c9b
RK
3137/* Background tabs:
3138 *
3139 * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top
3140 * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by
3141 * the titlebar. We don't need this in fullscreen since window dragging is not an issue there.
3142 */
05148fed 3143#main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([visuallyselected=true]) {
43371c9b
RK
3144/* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/
3145}
3146
8ad8bf83 3147/* Tab DnD indicator */
319c6529
RK
3148.tab-drop-indicator {
3149 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
9abeb12c 3150 margin-bottom: -11px;
613daf44 3151}
3152
319c6529
RK
3153/* Tab close button */
3154.tab-close-button {
319c6529
RK
3155 list-style-image: url("chrome://global/skin/icons/close-button.gif");
3156}
acb0e9b8 3157
319c6529
RK
3158.tab-close-button:hover,
3159.tab-close-button:hover[selected="true"] {
3160 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 3161}
319c6529
RK
3162
3163.tab-close-button:hover:active,
3164.tab-close-button:hover:active[selected="true"] {
3165 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 3166}
319c6529 3167
319c6529
RK
3168/* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
3169
319c6529
RK
3170.tabbrowser-arrowscrollbox > .scrollbutton-up,
3171.tabbrowser-arrowscrollbox > .scrollbutton-down {
319c6529
RK
3172 margin: 0;
3173 padding-top: 0;
3174 padding-bottom: 0;
c0f6797e
RK
3175 background-origin: border-box;
3176}
3177
3178#main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3179#main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3180.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext,
3181.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext {
3182 }
b7f3670c 3183
c0f6797e
RK
3184.tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
3185.tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
3186 }
3187
3188.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
3189.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
3190/* transform: scaleX(-1);*/
3191}
3192
3193.tabbrowser-arrowscrollbox > .scrollbutton-down {
3194 transition: 1s background-color ease-out;
acb0e9b8 3195}
319c6529 3196
319c6529
RK
3197.tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
3198 background-color: #008484;
acb0e9b8 3199}
319c6529 3200
c0f6797e
RK
3201.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]),
3202.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
3203/* border-width: 0 2px 0 0;
3204 border-style: solid;
3205 border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;*/
3206}
3207
319c6529
RK
3208.tabs-newtab-button > .toolbarbutton-icon {
3209 margin-top: -1px;
3210 margin-bottom: -1px;
acb0e9b8 3211}
319c6529
RK
3212
3213.tabs-newtab-button,
3214#TabsToolbar > #new-tab-button,
e20c83c3
RK
3215#TabsToolbar > toolbarpaletteitem > #new-tab-button,
3216#TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
e0f773b9
RK
3217 list-style-image: url("chrome://browser/skin/tabbrowser/newtab.svg");
3218 -moz-image-region: auto;
acb0e9b8 3219}
3220
8b5fc82e 3221.tabs-newtab-button,
38cfeb47 3222.tabs-newtab-button:hover,
c0f6797e 3223#TabsToolbar > #new-tab-button,
38cfeb47 3224#TabsToolbar > #new-tab-button:hover {
acb0e9b8 3225}
319c6529 3226
c0f6797e
RK
3227#main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3228#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3229#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3230.tabs-newtab-button:-moz-lwtheme-brighttext,
3231#TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
3232#TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
acb0e9b8 3233}
3234
c0f6797e
RK
3235#TabsToolbar > #new-tab-button {
3236 width: 26px;
3237}
3238
3239#alltabs-button {
3240 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
acb0e9b8 3241}
319c6529 3242
f9fc08c7
RK
3243#alltabs-button:hover,
3244#alltabs-button:hover:active,
3245#alltabs-button[open="true"] {
8da9da4e 3246 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
acb0e9b8 3247}
319c6529 3248
c0f6797e
RK
3249#main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3250#alltabs-button:-moz-lwtheme-brighttext {
3251}
3252
3253#alltabs-button > .toolbarbutton-icon {
3254/* margin: 0 2px;*/
3255}
3256
3257#alltabs-button > .toolbarbutton-menu-dropmarker {
3258 display: none;
3259}
3260
319c6529
RK
3261/* All tabs menupopup */
3262.alltabs-item > .menu-iconic-left > .menu-iconic-icon {
dce90fef 3263 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
8da9da4e 3264 -moz-image-region: auto;
acb0e9b8 3265}
3266
319c6529
RK
3267.alltabs-item[selected="true"] {
3268 font-weight: bold;
acb0e9b8 3269}
319c6529
RK
3270
3271.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
3272 list-style-image: url("chrome://global/skin/icons/loading.gif");
acb0e9b8 3273}
319c6529 3274
85cfb236 3275.alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
b1234db8
RK
3276 background-color: #402800;
3277}
3278
d7b7f7e1
RK
3279.alltabs-endimage[muted] {
3280 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted");
3281}
3282
3283.alltabs-endimage[soundplaying] {
3284 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio");
3285}
3286
319c6529
RK
3287toolbarbutton.chevron {
3288 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
acb0e9b8 3289}
319c6529
RK
3290
3291toolbarbutton.chevron:hover {
3292 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
acb0e9b8 3293}
e548e22e
RK
3294/*
3295toolbar[brighttext] toolbarbutton.chevron {
3296 list-style-image: url("chrome://global/skin/toolbar/chevron-inverted.png") !important;
3297}
3298*/
319c6529
RK
3299toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
3300toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
71a617ff 3301 transform: scaleX(-1);
acb0e9b8 3302}
319c6529
RK
3303
3304toolbarbutton.chevron > .toolbarbutton-text,
3305toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
3306 display: none;
acb0e9b8 3307}
319c6529
RK
3308
3309toolbarbutton.chevron > .toolbarbutton-icon {
3310 margin: 0;
acb0e9b8 3311}
3312
319c6529
RK
3313#sidebar-throbber[loading="true"] {
3314 list-style-image: url("chrome://global/skin/icons/loading.gif");
3315 -moz-margin-end: 4px;
acb0e9b8 3316}
319c6529
RK
3317
3318/* Bookmarks toolbar */
3319#PlacesToolbarDropIndicator {
8da9da4e 3320 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
acb0e9b8 3321}
3322
319c6529
RK
3323toolbarbutton.bookmark-item[dragover="true"][open="true"] {
3324 background-color: #008484 !important;
3325 color: #FFCF00 !important;
613daf44 3326}
319c6529
RK
3327
3328/* rules for menupopup drop indicators */
3329.menupopup-drop-indicator-bar {
3330 position: relative;
3331 /* these two margins must together compensate the indicator's height */
3332 margin-top: -1px;
3333 margin-bottom: -1px;
613daf44 3334}
319c6529
RK
3335
3336.menupopup-drop-indicator {
3337 list-style-image: none;
3338 height: 2px;
3339 -moz-margin-end: -4em;
3340 background-color: #008484;
613daf44 3341}
3342
a5cb6e53
RK
3343/* === BEGIN notification-icons.inc.css === */
3344
319c6529
RK
3345.popup-notification-icon {
3346 width: 64px;
3347 height: 64px;
3348 -moz-margin-end: 10px;
3349}
acb0e9b8 3350
319c6529
RK
3351.popup-notification-icon[popupid="geolocation"] {
3352 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
acb0e9b8 3353}
3354
319c6529 3355.popup-notification-icon[popupid="xpinstall-disabled"],
c9b0a396
RK
3356.popup-notification-icon[popupid="addon-install-blocked"],
3357.popup-notification-icon[popupid="addon-install-origin-blocked"] {
7c0a01f2
RK
3358 list-style-image: url(chrome://browser/skin/addons/addon-install-blocked.svg);
3359}
3360
3361.popup-notification-icon[popupid="addon-progress"] {
3362 list-style-image: url(chrome://browser/skin/addons/addon-install-downloading.svg);
3363}
3364
3365.popup-notification-icon[popupid="addon-install-failed"] {
3366 list-style-image: url(chrome://browser/skin/addons/addon-install-error.svg);
3367}
3368
3369.popup-notification-icon[popupid="addon-install-confirmation"] {
3370 list-style-image: url(chrome://browser/skin/addons/addon-install-confirm.svg);
3371}
3372
3373#addon-install-confirmation-notification[warning] .popup-notification-icon[popupid="addon-install-confirmation"] {
3374 list-style-image: url(chrome://browser/skin/addons/addon-install-warning.svg);
3375}
3376
a40f6a79 3377.popup-notification-icon[popupid="addon-install-complete"] {
7c0a01f2
RK
3378 list-style-image: url(chrome://browser/skin/addons/addon-install-installed.svg);
3379}
3380
3381.popup-notification-icon[popupid="addon-install-restart"] {
3382 list-style-image: url(chrome://browser/skin/addons/addon-install-restart.svg);
acb0e9b8 3383}
319c6529 3384
a40f6a79 3385.popup-notification-icon[popupid="click-to-play-plugins"] {
fcfb76ce 3386 list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
a40f6a79
RK
3387}
3388
82b4252f 3389.popup-notification-icon[popupid="web-notifications"] {
d7b7f7e1 3390 list-style-image: url("chrome://browser/skin/web-notifications-icon.svg");
82b4252f
RK
3391}
3392
319c6529 3393.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
e2734cc7
RK
3394.popup-notification-icon[popupid*="offline-app-requested"],
3395.popup-notification-icon[popupid="offline-app-usage"] {
319c6529 3396 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
acb0e9b8 3397}
3398
05148fed 3399.popup-notification-icon[popupid="password"] {
319c6529 3400 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
acb0e9b8 3401}
3402
1b13529a 3403.popup-notification-icon[popupid="webapps-install-progress"],
8d7ef0d9 3404.popup-notification-icon[popupid="webapps-install"] {
87a1144f 3405 list-style-image: url("chrome://global/skin/icons/webapps-64.png");
8d7ef0d9
RK
3406}
3407
0142a07b 3408.popup-notification-icon[popupid="webRTC-sharingDevices"],
7bc075b6
RK
3409.popup-notification-icon[popupid="webRTC-shareDevices"] {
3410 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
3411}
3412
c1d2ce3e
RK
3413.popup-notification-icon[popupid="webRTC-sharingMicrophone"],
3414.popup-notification-icon[popupid="webRTC-shareMicrophone"] {
3415 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png");
3416}
3417
9168a62c
RK
3418.popup-notification-icon[popupid="webRTC-sharingScreen"],
3419.popup-notification-icon[popupid="webRTC-shareScreen"] {
3420 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64.png);
3421}
3422
82b4252f
RK
3423.popup-notification-icon[popupid="pointerLock"] {
3424 list-style-image: url("chrome://browser/skin/pointerLock-64.png");
3425}
3426
319c6529 3427/* Notification icon box */
cae267ab
RK
3428#notification-popup .panel-promo-box {
3429/* margin: 10px -10px -10px; */
3430}
3431
319c6529 3432#notification-popup-box {
f993773d
RK
3433 position: relative;
3434 background-color: #000000;
3435 background-clip: padding-box;
3436 padding-left: 3px;
5517da5a 3437 padding-right: 8px;
f0eab82c 3438 border-radius: 3px 0 0 3px;
82b4252f 3439 border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
f993773d 3440 -moz-margin-end: -8px;
5517da5a 3441 border-right-width: 8px;
f993773d
RK
3442}
3443
589b5528
RK
3444window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #notification-popup-box {
3445/* padding-left: 7px; */
f993773d
RK
3446}
3447
e9fbfc3a 3448/* This changes the direction of the main notification box on the url bar. */
f993773d 3449#notification-popup-box:-moz-locale-dir(rtl),
e9fbfc3a
RK
3450/* This adds a second flip for the notification anchors, as they don't switch direction
3451 for RTL mode. */
f993773d 3452.notification-anchor-icon:-moz-locale-dir(rtl) {
71a617ff 3453 transform: scaleX(-1);
319c6529 3454}
acb0e9b8 3455
e9fbfc3a
RK
3456/* For the anchor icons in the chat window, we don't have the notification popup box,
3457 so we need to cancel the RTL transform. */
3458.notification-anchor-icon.chat-toolbarbutton:-moz-locale-dir(rtl) {
3459 transform: none;
3460}
3461
319c6529 3462.notification-anchor-icon {
c9b0a396
RK
3463 list-style-image: url("chrome://global/skin/icons/information-16.png");
3464
acb0e9b8 3465 width: 16px;
3466 height: 16px;
85cfb236 3467 margin: 0 2px;
acb0e9b8 3468}
3469
319c6529 3470.notification-anchor-icon:-moz-focusring {
f0eab82c 3471 outline: 1px dotted #008484;
acb0e9b8 3472}
3473
e2734cc7 3474.identity-notification-icon,
9585a561
RK
3475#identity-notification-icon {
3476 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
3477}
3478
e2734cc7 3479.geo-notification-icon,
319c6529
RK
3480#geo-notification-icon {
3481 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
acb0e9b8 3482}
3483
319c6529 3484#addons-notification-icon {
7c0a01f2
RK
3485 list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#default);
3486}
3487
3488#addons-notification-icon:hover {
3489 list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#hover);
3490}
3491
3492#addons-notification-icon:hover:active {
3493 list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#active);
acb0e9b8 3494}
3495
e2734cc7 3496.indexedDB-notification-icon,
319c6529
RK
3497#indexedDB-notification-icon {
3498 list-style-image: url("chrome://global/skin/icons/question-16.png");
acb0e9b8 3499}
3500
319c6529
RK
3501#password-notification-icon {
3502 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
acb0e9b8 3503}
3504
7c0a01f2
RK
3505#login-fill-notification-icon {
3506 /* Temporary icon until the capture and fill doorhangers are unified. */
3507 list-style-image: url(chrome://mozapps/skin/passwordmgr/key-16.png);
3508 transform: scaleX(-1);
3509}
3510
8d7ef0d9 3511#webapps-notification-icon {
87a1144f 3512 list-style-image: url("chrome://gobal/skin/icons/webapps-16.png");
8d7ef0d9
RK
3513}
3514
a40f6a79 3515#plugins-notification-icon {
b27cc46e
RK
3516 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
3517}
3518
f76c6aee 3519#plugins-notification-icon.plugin-hidden {
b27cc46e 3520 list-style-image: url("chrome://browser/skin/notification-pluginAlert.png");
a40f6a79
RK
3521}
3522
f76c6aee 3523#plugins-notification-icon.plugin-blocked {
b27cc46e 3524 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
990cba4b
RK
3525}
3526
f76c6aee 3527#plugins-notification-icon {
fe524e0c
RK
3528/* -moz-image-region: rect(0, 16px, 16px, 0);*/
3529}
3530
f76c6aee 3531#plugins-notification-icon:hover {
fe524e0c
RK
3532/* -moz-image-region: rect(0, 32px, 16px, 16px);*/
3533}
3534
6adbc9a6
RK
3535#notification-popup-box[hidden] {
3536 /* Override display:none to make the pluginBlockedNotification animation work
3537 when showing the notification repeatedly. */
3538 display: -moz-box;
3539 visibility: collapse;
3540}
3541
f76c6aee 3542#plugins-notification-icon.plugin-blocked[showing] {
990cba4b
RK
3543 animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
3544}
3545
3546@keyframes pluginBlockedNotification {
3547 from {
3548 opacity: 0;
3549 }
3550 to {
3551 opacity: 1;
3552 }
3553}
3554
e2734cc7 3555.webRTC-shareDevices-notification-icon,
0142a07b 3556#webRTC-shareDevices-notification-icon {
7bc075b6
RK
3557 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
3558}
3559
e2734cc7 3560.webRTC-sharingDevices-notification-icon,
6adbc9a6
RK
3561#webRTC-sharingDevices-notification-icon {
3562 list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
3563}
3564
c1d2ce3e
RK
3565.webRTC-shareMicrophone-notification-icon,
3566#webRTC-shareMicrophone-notification-icon {
3567 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png");
3568}
3569
3570.webRTC-sharingMicrophone-notification-icon,
3571#webRTC-sharingMicrophone-notification-icon {
3572 list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png");
3573}
3574
9168a62c
RK
3575.webRTC-shareScreen-notification-icon,
3576#webRTC-shareScreen-notification-icon {
3577 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png);
3578}
3579
3580.webRTC-sharingScreen-notification-icon,
3581#webRTC-sharingScreen-notification-icon {
3582 list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16.png);
3583}
3584
e2734cc7 3585.web-notifications-notification-icon,
82b4252f 3586#web-notifications-notification-icon {
d7b7f7e1
RK
3587 list-style-image: url("chrome://browser/skin/web-notifications-tray.svg");
3588 -moz-image-region: rect(0, 16px, 16px, 0);
3589}
3590
3591.web-notifications-notification-icon:hover,
3592#web-notifications-notification-icon:hover {
3593 -moz-image-region: rect(0, 32px, 16px, 16px);
3594}
3595
3596.web-notifications-notification-icon:hover:active,
3597#web-notifications-notification-icon:hover:active {
3598 -moz-image-region: rect(0, 48px, 16px, 32px);
82b4252f
RK
3599}
3600
3601#pointerLock-notification-icon {
3602 list-style-image: url("chrome://browser/skin/pointerLock-16.png");
3603}
82b4252f 3604
a5cb6e53
RK
3605.translate-notification-icon,
3606#translate-notification-icon {
3607 list-style-image: url("chrome://browser/skin/translation-16.png");
3608 -moz-image-region: rect(0px, 16px, 16px, 0px);
3609}
3610
3611.translated-notification-icon,
3612#translated-notification-icon {
3613 list-style-image: url("chrome://browser/skin/translation-16.png");
3614 -moz-image-region: rect(0px, 32px, 16px, 16px);
3615}
3616
3617.popup-notification-icon[popupid="servicesInstall"] {
3618 list-style-image: url("chrome://browser/skin/social/services-64.png");
3619}
3620#servicesInstall-notification-icon {
3621 list-style-image: url("chrome://browser/skin/social/services-16.png");
3622}
3623
3624/* EME notifications */
3625
3626.popup-notification-icon[popupid="drmContentPlaying"],
3627#eme-notification-icon {
3628 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
3629}
3630
3631#eme-notification-icon:hover:active {
3632 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains-pressed");
3633}
3634
3635#eme-notification-icon[firstplay=true] {
3636 animation: emeTeachingMoment 0.2s linear 0s 5 normal;
3637}
3638
3639@keyframes emeTeachingMoment {
3640 0% {transform: translateX(0); }
3641 25% {transform: translateX(3px) }
3642 75% {transform: translateX(-3px) }
3643 100% { transform: translateX(0); }
3644}
3645
2e389898
RK
3646/* HiDPI notification icons */
3647@media (min-resolution: 1.1dppx) {
3648/* #notification-popup-box {
3649 border-image: url("chrome://browser/skin/urlbar-arrow@2x.png") 0 16 0 0 fill;
3650 }
3651*/
3652 .notification-anchor-icon {
3653 list-style-image: url(chrome://global/skin/icons/information-32.png);
3654 }
3655
3656 .webRTC-shareDevices-notification-icon,
3657 #webRTC-shareDevices-notification-icon {
3658 list-style-image: url(chrome://browser/skin/webRTC-shareDevice-16@2x.png);
3659 }
3660
3661 .webRTC-sharingDevices-notification-icon,
3662 #webRTC-sharingDevices-notification-icon {
3663 list-style-image: url(chrome://browser/skin/webRTC-sharingDevice-16@2x.png);
3664 }
3665
3666 .webRTC-shareMicrophone-notification-icon,
3667 #webRTC-shareMicrophone-notification-icon {
3668 list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-16@2x.png);
3669 }
3670
3671 .webRTC-sharingMicrophone-notification-icon,
3672 #webRTC-sharingMicrophone-notification-icon {
3673 list-style-image: url(chrome://browser/skin/webRTC-sharingMicrophone-16@2x.png);
3674 }
3675
3676 .webRTC-shareScreen-notification-icon,
3677 #webRTC-shareScreen-notification-icon {
3678 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16@2x.png);
3679 }
3680
3681 .webRTC-sharingScreen-notification-icon,
3682 #webRTC-sharingScreen-notification-icon {
3683 list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16@2x.png);
3684 }
3685
3686 .popup-notification-icon[popupid="webRTC-sharingDevices"],
3687 .popup-notification-icon[popupid="webRTC-shareDevices"] {
3688 list-style-image: url(chrome://browser/skin/webRTC-shareDevice-64@2x.png);
3689 }
3690
3691 .popup-notification-icon[popupid="webRTC-sharingMicrophone"],
3692 .popup-notification-icon[popupid="webRTC-shareMicrophone"] {
3693 list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-64@2x.png);
3694 }
3695
3696 .popup-notification-icon[popupid="webRTC-sharingScreen"],
3697 .popup-notification-icon[popupid="webRTC-shareScreen"] {
3698 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64@2x.png);
3699 }
3700}
3701
a5cb6e53
RK
3702/* === END notification-icons.inc.css === */
3703
936e60fe
RK
3704.popup-notification-body[popupid="addon-progress"],
3705.popup-notification-body[popupid="addon-install-confirmation"] {
3706 width: 28em;
3707 max-width: 28em;
3708}
3709
ed88669c
RK
3710/* Translation infobar */
3711
3712/* === BEGIN infobar.inc.css === */
3713
3714notification[value="translation"] .messageImage {
93c91f62 3715 list-style-image: url("chrome://browser/skin/translation-16.png");
ed88669c
RK
3716 -moz-image-region: rect(0, 32px, 16px, 16px);
3717}
3718
3719@media (min-resolution: 1.25dppx) {
3720 notification[value="translation"] .messageImage {
93c91f62 3721 list-style-image: url("chrome://browser/skin/translation-16@2x.png");
ed88669c
RK
3722 -moz-image-region: rect(0, 64px, 32px, 32px);
3723 }
3724}
3725
93c91f62
RK
3726notification[value="translation"][state="translating"] .messageImage {
3727 list-style-image: url("chrome://browser/skin/translating-16.png");
3728 -moz-image-region: auto;
3729}
3730
3731@media (min-resolution: 1.25dppx) {
3732 notification[value="translation"][state="translating"] .messageImage {
3733 list-style-image: url("chrome://browser/skin/translating-16@2x.png");
3734 }
3735}
3736
a5cb6e53
RK
3737notification[value="translation"] hbox[anonid="details"] {
3738 overflow: hidden;
3739}
3740
ed88669c
RK
3741notification[value="translation"] button,
3742notification[value="translation"] menulist {
3743 min-width: 0;
ed88669c
RK
3744}
3745
3746notification[value="translation"] menulist > .menulist-dropmarker {
3747}
3748
93c91f62
RK
3749.translation-menupopup arrowscrollbox {
3750 padding-bottom: 0;
3751}
3752
3753.translation-attribution {
3754 cursor: pointer;
3755 -moz-box-align: end;
3756 font-size: small;
3757}
3758
3759.translation-attribution > label {
3760 margin-bottom: 0;
3761}
3762
3763.translation-attribution > image {
3764 width: 70px;
3765}
3766
8837ac2c
RK
3767.translation-welcome-panel {
3768 width: 305px;
3769}
3770
3771.translation-welcome-logo {
3772 height: 32px;
3773 width: 32px;
3774 list-style-image: url(chrome://browser/skin/translation-16@2x.png);
3775 -moz-image-region: rect(0, 64px, 32px, 32px);
3776}
3777
3778.translation-welcome-content {
3779 -moz-margin-start: 16px;
3780}
3781
3782.translation-welcome-headline {
3783 font-size: larger;
3784 font-weight: bold;
3785}
3786
3787.translation-welcome-body {
3788 padding: 1em 0;
3789 margin: 0 0;
3790}
3791
ed88669c
RK
3792/* === END infobar.inc.css === */
3793
0bcd5587
RK
3794notification[value="translation"] {
3795 min-height: 40px;
3796}
3797
ed88669c
RK
3798.translation-menupopup {
3799 -moz-appearance: none;
3800}
3801
e184b661
RK
3802/* Loop/ Hello browser styles */
3803
3804notification[value="loop-sharing-notification"] .button-menubutton-button {
3805 min-width: 0;
3806 border: 0;
3807 margin: 0;
3808}
3809
3810notification[value="loop-sharing-notification"] .messageImage {
3811 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png);
3812}
3813
319c6529 3814/* Bookmarks roots menu-items */
319c6529
RK
3815#subscribeToPageMenuitem:not([disabled]),
3816#subscribeToPageMenupopup,
3817#BMB_subscribeToPageMenuitem:not([disabled]),
3818#BMB_subscribeToPageMenupopup {
3819 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
613daf44 3820}
3821
319c6529 3822#bookmarksToolbarFolderMenu,
c0f6797e
RK
3823#BMB_bookmarksToolbar,
3824#panelMenu_bookmarksToolbar {
8da9da4e 3825 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
319c6529
RK
3826 -moz-image-region: auto;
3827}
acb0e9b8 3828
c0f6797e
RK
3829#BMB_unsortedBookmarks,
3830#panelMenu_unsortedBookmarks {
8da9da4e 3831 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
319c6529 3832 -moz-image-region: auto;
acb0e9b8 3833}
3834
319c6529 3835/* ::::: Keyboard UI Panel ::::: */
acb0e9b8 3836
319c6529
RK
3837.KUI-panel {
3838 color: #FF9F00;
3839 border-style: none;
3840 border-radius: 20px;
acb0e9b8 3841}
3842
319c6529
RK
3843.KUI-panel[level="top"] {
3844 /*background-color: rgba(27%,27%,27%,.65);*/
acb0e9b8 3845}
3846
319c6529
RK
3847/* Ctrl-Tab */
3848
3849#ctrlTab-panel {
3850 padding: 20px 10px 10px;
3851 font-weight: bold;
acb0e9b8 3852}
3853
319c6529
RK
3854.ctrlTab-favicon[src] {
3855 background-color: #000000;
3856 width: 20px;
3857 height: 20px;
3858 padding: 2px;
3859}
acb0e9b8 3860
319c6529 3861.ctrlTab-preview-inner > .tabPreview-canvas {
acb0e9b8 3862}
3863
319c6529
RK
3864.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
3865 margin-bottom: 2px;
acb0e9b8 3866}
3867
319c6529
RK
3868.ctrlTab-preview-inner {
3869 padding-bottom: 10px;
acb0e9b8 3870}
3871
319c6529
RK
3872#ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
3873 padding: 10px;
3874 background-color: #000000;
3875 border-radius: .5em;
acb0e9b8 3876}
3877
319c6529
RK
3878.ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
3879 color: white;
3880 background-color: #000000;
3881 text-shadow: none;
3882 padding: 8px;
3883 border: 2px solid #9C9CFF;
3884 border-radius: .5em;
acb0e9b8 3885}
3886
319c6529
RK
3887.ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
3888 margin: -10px -10px 0;
acb0e9b8 3889}
3890
319c6529
RK
3891#ctrlTab-showAll {
3892 margin-top: .5em;
acb0e9b8 3893}
3894
45dc7657
RK
3895/* Sync Panel */
3896
3897.sync-panel-icon {
cae267ab 3898 height:32px;
45dc7657
RK
3899 width: 32px;
3900 background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat;
3901}
3902
3903.sync-panel-inner {
3904 width: 0;
3905 padding-left: 10px;
3906}
3907
3908.sync-panel-button-box {
3909 margin-top: 1em;
3910}
3911
45dc7657 3912#sync-start-panel-title {
cae267ab 3913 font-size: 120%;
45dc7657 3914 font-weight: bold;
cae267ab 3915 margin-bottom: 5px;
45dc7657
RK
3916}
3917
d7b7f7e1
RK
3918#sync-start-panel-subtitle {
3919 margin-bottom: 0;
45dc7657
RK
3920}
3921
9abeb12c
RK
3922/* Status panel */
3923
3924.statuspanel-label {
3925 margin: 0;
3926 padding: 2px 4px;
38cfeb47 3927 background: #404000;
9abeb12c
RK
3928 border: 1px none #9C9CFF;
3929 border-top-style: solid;
3930 color: #FF9F00;
3931 text-shadow: none;
3932}
3933
3934.statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
3935.statuspanel-label:-moz-locale-dir(rtl)[mirror] {
3936 border-right-style: solid;
3937 border-top-right-radius: .3em;
3938 margin-right: 1em;
3939}
3940
3941.statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
3942.statuspanel-label:-moz-locale-dir(ltr)[mirror] {
3943 border-left-style: solid;
3944 border-top-left-radius: .3em;
3945 margin-left: 1em;
3946}
3e6e0e5c
RK
3947
3948/* HACK to abolish devily color on main content */
3949
3950#content {
3951 background-color: transparent !important;
3952}
dce90fef 3953
024a65e9
RK
3954/* === BEGIN fullscreen/warning.inc.css === */
3955
d7b7f7e1 3956html|*#fullscreen-warning {
024a65e9
RK
3957 align-items: center;
3958 background: rgba(0, 0, 0, 0.9);
3959 border: 2px solid #A09090;
3960 box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.5);
8ad8bf83 3961 border-radius: 8px;
024a65e9
RK
3962 padding: 24px 16px;
3963 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
3964}
3965
d7b7f7e1 3966html|*#fullscreen-warning::before {
024a65e9
RK
3967 margin: 0;
3968 width: 24px; height: 24px;
3969}
3970
d7b7f7e1
RK
3971html|*#fullscreen-warning.verifiedIdentity::before,
3972html|*#fullscreen-warning.verifiedDomain::before {
024a65e9
RK
3973 content: url("chrome://browser/skin/fullscreen/secure.svg");
3974}
3975
d7b7f7e1 3976html|*#fullscreen-warning.unknownIdentity::before {
024a65e9
RK
3977 content: url("chrome://browser/skin/fullscreen/insecure.svg");
3978}
3979
d7b7f7e1
RK
3980html|*#fullscreen-domain-text,
3981html|*#fullscreen-generic-text {
024a65e9
RK
3982 font-size: 21px;
3983 font-weight: lighter;
3984 color: #A09090;
3985 margin: 0 16px;
8ad8bf83
RK
3986}
3987
d7b7f7e1 3988html|*#fullscreen-domain {
024a65e9
RK
3989 font-weight: bold;
3990 margin: 0;
85cfb236
RK
3991}
3992
d7b7f7e1
RK
3993html|*#fullscreen-exit-button {
3994 padding: 5px 30px;
f36031bd 3995 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
024a65e9
RK
3996 font-size: 14px;
3997 font-weight: lighter;
3998 margin: 0;
024a65e9
RK
3999 box-sizing: content-box;
4000
4001 border-radius: 300px;
4002 border: none;
4003 background-color: #C09070;
4004 color: #000000;
8ad8bf83
RK
4005}
4006
024a65e9
RK
4007/* === END fullscreen/warning.inc.css === */
4008
b27cc46e
RK
4009/* === BEGIN commandline.inc.css === */
4010
a5cb6e53
RK
4011/* NOTE: THESE NEED TO STAY IN SYNC WITH LIGHT-THEME.CSS AND DARK-THEME.CSS.
4012 We are copy/pasting variables from light-theme and dark-theme,
4013 since they aren't loaded in this context (within browser.css). */
4014:root #developer-toolbar {
4015 --gcli-background-color: #000000; /* --theme-toolbar-background */
4016 --gcli-input-background: rgba(0, 0, 0, .75); /* --theme-tab-toolbar-background */
4017 --gcli-input-focused-background: #000000; /* --theme-sidebar-background */
4018 --gcli-input-color: #FF9F00; /* --theme-body-color-alt */
4019 --gcli-border-color: #9C9CFF; /* --theme-splitter-color */
4020 --selection-background: #008484; /* --theme-selection-background */
4021 --selection-color: #000000; /* --theme-selection-color */
4022}
4023
b27cc46e
RK
4024/* Developer toolbar */
4025
4026#developer-toolbar {
a5cb6e53 4027 border-top: 3px solid var(--gcli-background-color);
b27cc46e
RK
4028 border-bottom: none;
4029}
4030
4031#developer-toolbar .toolbar-holder {
4032 background-color: #8050B0;
4033 color: #FFCF00;
4034}
4035
4036#developer-toolbar .toolbar-holder {
4037 background-color: #8050B0;
4038 color: #FFCF00;
4039}
4040
4041#developer-toolbar .toolbar-startcap,
4042#developer-toolbar .toolbar-endcap{
4043 background-color: #6000CF;
4044}
4045
4046#developer-toolbar {
4047/* padding: 0;
4048 min-height: 32px; */
4049}
4050
de57e474 4051#developer-toolbar > toolbarbutton {
b27cc46e
RK
4052/* margin: 0;
4053 padding: 0 10px;
4054 width: 32px; */
4055}
4056
4057.developer-toolbar-button > image {
4058/* margin: auto 10px; */
4059}
4060
fe524e0c
RK
4061#developer-toolbar-toolbox-button > label {
4062 display: none;
4063}
4064
0bcd5587
RK
4065.developer-toolbar-button > .toolbarbutton-icon,
4066#developer-toolbar-closebutton > .toolbarbutton-icon {
4067 width: 16px;
4068 height: 16px;
4069}
4070
b27cc46e 4071#developer-toolbar-toolbox-button {
dc9d5d64 4072 list-style-image: url("chrome://devtools/skin/toggle-tools.png");
b27cc46e
RK
4073 -moz-image-region: rect(0px, 16px, 16px, 0px);
4074}
4075
4076#developer-toolbar-toolbox-button > label {
4077 display: none;
4078}
4079
4080#developer-toolbar-toolbox-button:hover,
4081#developer-toolbar-toolbox-button:hover:active,
4082#developer-toolbar-toolbox-button[checked=true] {
4083 -moz-image-region: rect(0px, 32px, 16px, 16px);
4084}
4085
0bcd5587
RK
4086@media (min-resolution: 2dppx) {
4087 #developer-toolbar-toolbox-button {
dc9d5d64 4088 list-style-image: url("chrome://devtools/skin/toggle-tools@2x.png");
0bcd5587
RK
4089 -moz-image-region: rect(0px, 32px, 32px, 0px);
4090 }
4091
4092 #developer-toolbar-toolbox-button:hover,
4093 #developer-toolbar-toolbox-button:hover:active,
4094 #developer-toolbar-toolbox-button[checked=true] {
4095 -moz-image-region: rect(0px, 64px, 32px, 32px);
4096 }
4097}
4098
de57e474 4099#developer-toolbar-closebutton {
dc9d5d64 4100 list-style-image: url("chrome://devtools/skin/close.png");
de57e474
RK
4101 -moz-image-region: rect(0px, 16px, 16px, 0px);
4102 min-width: 16px;
4103 width: 16px;
4104}
4105
4106#developer-toolbar-closebutton > .toolbarbutton-icon {
4107}
4108
4109#developer-toolbar-closebutton > .toolbarbutton-text {
4110 display: none;
4111}
4112
4113#developer-toolbar-closebutton:hover,
4114#developer-toolbar-closebutton:hover:active {
4115 -moz-image-region: rect(0px, 32px, 16px, 16px);
4116}
4117
0bcd5587
RK
4118@media (min-resolution: 2dppx) {
4119 #developer-toolbar-closebutton {
dc9d5d64 4120 list-style-image: url("chrome://devtools/skin/close@2x.png");
0bcd5587
RK
4121 -moz-image-region: rect(0px, 32px, 32px, 0px);
4122 }
4123
4124 #developer-toolbar-closebutton:hover,
4125 #developer-toolbar-closebutton:hover:active {
4126 -moz-image-region: rect(0px, 64px, 32px, 32px);
4127 }
4128}
4129
b27cc46e
RK
4130/* GCLI */
4131
37953ab4
RK
4132html|*#gcli-tooltip-frame,
4133html|*#gcli-output-frame {
85cfb236 4134 padding: 0;
37953ab4
RK
4135 border-width: 0;
4136 background-color: transparent;
4137}
4138
4139#gcli-output,
4140#gcli-tooltip {
4141 border-width: 0;
4142 background-color: transparent;
85cfb236
RK
4143}
4144
4145.gclitoolbar-input-node,
b27cc46e 4146.gclitoolbar-complete-node {
37953ab4
RK
4147 margin: 1px 3px;
4148 -moz-box-align: center;
4149 padding-top: 0;
4150 padding-bottom: 0;
b27cc46e 4151 padding-right: 8px;
37953ab4 4152 background-color: transparent;
85cfb236
RK
4153}
4154
4155.gclitoolbar-input-node {
b27cc46e
RK
4156/* line-height: 32px;
4157 outline-style: none; */
de57e474 4158 background-repeat: no-repeat;
a5cb6e53 4159 background-color: var(--gcli-input-background);
b27cc46e
RK
4160}
4161
4162.gclitoolbar-input-node[focused="true"] {
a5cb6e53 4163 background-color: var(--gcli-input-focused-background);
37953ab4
RK
4164}
4165
0bcd5587
RK
4166.gclitoolbar-input-node::before {
4167 content: "";
4168 display: inline-block;
4169 -moz-box-ordinal-group: 0;
4170 width: 16px;
4171 height: 16px;
4172 margin: 0 2px;
dc9d5d64 4173 background-image: url("chrome://devtools/skin/commandline-icon.png");
0bcd5587
RK
4174 background-position: 0 center;
4175 background-size: 32px 16px;
4176}
4177
4178.gclitoolbar-input-node[focused="true"]::before {
4179 background-position: -16px center;
4180}
4181
4182@media (min-resolution: 2dppx) {
4183 .gclitoolbar-input-node::before {
dc9d5d64 4184 background-image: url("chrome://devtools/skin/commandline-icon@2x.png");
0bcd5587
RK
4185 }
4186}
4187
37953ab4
RK
4188.gclitoolbar-input-node:not([focused="true"]) {
4189 border-color: transparent;
85cfb236
RK
4190}
4191
7bc075b6 4192.gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
a5cb6e53
RK
4193 background-color: var(--selection-background);
4194 color: var(--selection-color);
7bc075b6
RK
4195}
4196
85cfb236 4197.gclitoolbar-complete-node {
37953ab4 4198 padding-left: 21px;
85cfb236
RK
4199 background-color: transparent;
4200 color: transparent;
b27cc46e
RK
4201 z-index: 100;
4202 pointer-events: none;
85cfb236
RK
4203}
4204
85cfb236
RK
4205.gcli-in-incomplete,
4206.gcli-in-error,
4207.gcli-in-ontab,
4208.gcli-in-todo,
4209.gcli-in-closebrace,
4210.gcli-in-param,
4211.gcli-in-valid {
4212 margin: 0;
4213 padding: 0;
4214}
4215
4216.gcli-in-incomplete {
4217 border-bottom: 2px dotted #8050B0;
4218}
4219
4220.gcli-in-error {
4221 border-bottom: 2px dotted #FF0000;
4222}
4223
4224.gcli-in-ontab {
4225 color: #9C9CFF;
4226}
4227
4228.gcli-in-todo {
4229 color: #795900;
4230}
4231
4232.gcli-in-closebrace {
4233 color: #8050B0;
4234}
4235
b27cc46e
RK
4236/* === END commandline.inc.css === */
4237
fe524e0c
RK
4238/* === BEGIN responsivedesign.inc.css === */
4239
37953ab4 4240/* Responsive Mode */
85cfb236 4241
7bc075b6 4242.browserContainer[responsivemode] {
0bcd5587 4243 background-color: #221500;
37953ab4
RK
4244 padding: 0 20px 20px 20px;
4245}
4246
7bc075b6 4247.browserStack[responsivemode] {
37953ab4
RK
4248 box-shadow: 0 0 7px #9C9CFF;
4249}
4250
4251.devtools-responsiveui-toolbar {
4252 background: transparent;
d2ce251d
RK
4253 /* text color is textColor from dark theme, since no theme is applied to
4254 * the responsive toolbar.
4255 */
4256 color: #FF9F00;
37953ab4
RK
4257 margin: 10px 0;
4258 padding: 0;
4259 box-shadow: none;
4260 border-bottom-width: 0;
4261}
4262
de57e474
RK
4263.devtools-responsiveui-menulist,
4264.devtools-responsiveui-toolbarbutton {
4265 -moz-box-align: center;
4266 min-width: 32px;
4267/* min-height: 22px;*/
4268/* margin: 0 3px; */
4269}
4270
1988bb88
RK
4271.devtools-responsiveui-menulist .menulist-editable-box {
4272 background-color: transparent;
4273}
4274
4275.devtools-responsiveui-menulist html|*.menulist-editable-input {
4276 color: inherit;
4277 text-align: center;
4278}
4279
4280.devtools-responsiveui-menulist html|*.menulist-editable-input::-moz-selection {
4281/* background: hsla(212,7%,57%,.35);*/
4282}
4283
0bcd5587
RK
4284.devtools-responsiveui-toolbarbutton > .toolbarbutton-icon {
4285 width: 16px;
4286 height: 16px;
4287}
4288
de57e474
RK
4289.devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button {
4290 -moz-box-orient: horizontal;
4291}
4292
4293.devtools-responsiveui-menulist:-moz-focusring,
4294.devtools-responsiveui-toolbarbutton:-moz-focusring {
4295/* outline: 1px dotted hsla(210,30%,85%,0.7);
4296 outline-offset: -4px;*/
4297}
4298
4299.devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text {
4300 display: none;
4301}
4302
4303.devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active {
4304/* border-color: hsla(210,8%,5%,.6);
4305 background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3));
4306 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); */
4307}
4308
4309.devtools-responsiveui-menulist[open=true],
4310.devtools-responsiveui-toolbarbutton[open=true],
4311.devtools-responsiveui-toolbarbutton[checked=true] {
4312/* border-color: hsla(210,8%,5%,.6) !important;
4313 background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4));
4314 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); */
4315}
4316
4317.devtools-responsiveui-toolbarbutton[checked=true] {
4318/* color: hsl(208,100%,60%); */
4319}
4320
4321.devtools-responsiveui-toolbarbutton[checked=true]:hover {
4322/* background-color: transparent !important;*/
4323}
4324
4325.devtools-responsiveui-toolbarbutton[checked=true]:hover:active {
4326/* background-color: hsla(210,8%,5%,.2) !important;*/
4327}
4328
4329.devtools-responsiveui-menulist > .menulist-label-box {
4330 text-align: center;
4331}
4332
4333.devtools-responsiveui-menulist > .menulist-dropmarker {
4334/* display: -moz-box;
4335 background-color: transparent;
dc9d5d64 4336 list-style-image: url("chrome://devtools/skin/dropmarker.svg");
de57e474
RK
4337 -moz-box-align: center;
4338 border-width: 0;
4339 min-width: 16px;*/
4340}
4341
4342.devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
4343/* color: inherit;
4344 border-width: 0;
4345 -moz-border-end: 1px solid hsla(210,8%,5%,.45);
4346 box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15);*/
4347}
4348
4349.devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button {
4350/* box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15);*/
4351}
4352
4353.devtools-responsiveui-toolbarbutton[type=menu-button] {
4354/* padding: 0 1px;*/
4355 -moz-box-align: stretch;
4356}
4357
4358.devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
4359.devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
dc9d5d64 4360/* list-style-image: url("chrome://devtools/skin/dropmarker.svg");
de57e474
RK
4361 -moz-box-align: center;
4362 padding: 0 3px;*/
37953ab4
RK
4363}
4364
4365.devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
4366.devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child {
fe524e0c
RK
4367 margin-left: 3px;
4368}
4369
4370.devtools-responsiveui-close {
dc9d5d64 4371 list-style-image: url("chrome://devtools/skin/close.png");
fe524e0c
RK
4372 -moz-image-region: rect(0px,16px,16px,0px);
4373}
4374
4375.devtools-responsiveui-close:hover {
4376 -moz-image-region: rect(0px,32px,16px,16px);
4377}
4378
4379.devtools-responsiveui-rotate {
dc9d5d64 4380 list-style-image: url("chrome://devtools/skin/responsiveui-rotate.png");
fe524e0c
RK
4381 -moz-image-region: rect(0px,16px,16px,0px);
4382}
4383
4384.devtools-responsiveui-rotate:hover {
4385 -moz-image-region: rect(0px,32px,16px,16px);
4386}
4387
0bcd5587
RK
4388@media (min-resolution: 2dppx) {
4389 .devtools-responsiveui-close {
dc9d5d64 4390 list-style-image: url("chrome://devtools/skin/close@2x.png");
0bcd5587
RK
4391 }
4392
4393 .devtools-responsiveui-close:hover {
4394 -moz-image-region: rect(0px,64px,32px,32px);
4395 }
4396
4397 .devtools-responsiveui-rotate {
dc9d5d64 4398 list-style-image: url("chrome://devtools/skin/responsiveui-rotate@2x.png");
0bcd5587
RK
4399 }
4400
4401 .devtools-responsiveui-rotate:hover {
4402 -moz-image-region: rect(0px,64px,32px,32px);
4403 }
4404}
4405
fe524e0c 4406.devtools-responsiveui-touch {
dc9d5d64 4407 list-style-image: url("chrome://devtools/skin/responsiveui-touch.png");
fe524e0c
RK
4408 -moz-image-region: rect(0px,16px,16px,0px);
4409}
4410
4411.devtools-responsiveui-touch:hover,
4412.devtools-responsiveui-touch[checked],
4413.devtools-responsiveui-touch[checked]:hover {
4414 -moz-image-region: rect(0px,32px,16px,16px);
4415}
4416
0bcd5587
RK
4417@media (min-resolution: 2dppx) {
4418 .devtools-responsiveui-touch {
dc9d5d64 4419 list-style-image: url("chrome://devtools/skin/responsiveui-touch@2x.png");
0bcd5587
RK
4420 -moz-image-region: rect(0px,32px,32px,0px);
4421 }
4422
4423 .devtools-responsiveui-touch:hover,
4424 .devtools-responsiveui-touch[checked],
4425 .devtools-responsiveui-touch[checked]:hover {
4426 -moz-image-region: rect(0px,64px,32px,32px);
4427 }
4428}
4429
fe524e0c 4430.devtools-responsiveui-screenshot {
dc9d5d64 4431 list-style-image: url("chrome://devtools/skin/responsiveui-screenshot.png");
fe524e0c
RK
4432 -moz-image-region: rect(0px,16px,16px,0px);
4433}
4434
4435.devtools-responsiveui-screenshot:hover {
4436 -moz-image-region: rect(0px,32px,16px,16px);
37953ab4
RK
4437}
4438
0bcd5587
RK
4439@media (min-resolution: 2dppx) {
4440 .devtools-responsiveui-screenshot {
dc9d5d64 4441 list-style-image: url("chrome://devtools/skin/responsiveui-screenshot@2x.png");
0bcd5587
RK
4442 }
4443
4444 .devtools-responsiveui-screenshot:hover {
4445 -moz-image-region: rect(0px,64px,32px,32px);
4446 }
4447}
4448
fe524e0c 4449.devtools-responsiveui-resizebarV {
37953ab4
RK
4450 width: 7px;
4451 height: 24px;
4452 cursor: ew-resize;
71a617ff 4453 transform: translate(12px, -12px);
0bcd5587 4454 background-size: cover;
dc9d5d64 4455 background-image: url("chrome://devtools/skin/responsive-vertical-resizer.png");
37953ab4
RK
4456}
4457
fe524e0c
RK
4458.devtools-responsiveui-resizebarH {
4459 width: 24px;
4460 height: 7px;
4461 cursor: ns-resize;
4462 transform: translate(-12px, 12px);
0bcd5587 4463 background-size: cover;
dc9d5d64 4464 background-image: url("chrome://devtools/skin/responsive-horizontal-resizer.png");
fe524e0c
RK
4465}
4466
37953ab4
RK
4467.devtools-responsiveui-resizehandle {
4468 width: 16px;
4469 height: 16px;
4470 cursor: se-resize;
71a617ff 4471 transform: translate(12px, 12px);
0bcd5587 4472 background-size: cover;
dc9d5d64 4473 background-image: url("chrome://devtools/skin/responsive-se-resizer.png");
8d7ef0d9 4474}
889649fd 4475
a21f2959
RK
4476/* FxOS custom mode with additional buttons and phone look'n feel */
4477
4478/* Hide devtools manual resizer */
4479.browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizehandle,
4480.browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarH,
4481.browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarV {
4482 display: none;
4483}
4484
4485/* Gives responsive mode a phone look'n feel */
4486.browserStack[responsivemode].fxos-mode {
4487 padding: 60px 15px 0;
4488
4489 border-radius: 25px / 20px;
4490 border-bottom-left-radius: 0;
4491 border-bottom-right-radius: 0;
4492 border: 1px solid #FFFFFF;
4493 border-bottom-width: 0;
4494
4495 background-color: #353535;
4496
4497 box-shadow: 0 3px 0.7px 1px #777777, 0 5px rgba(0, 0, 0, 0.4) inset;
4498
4499 background-image: linear-gradient(to right, #111 11%, #333 56%);
4500 min-width: 320px;
4501}
4502
4503.devtools-responsiveui-hardware-buttons {
4504 -moz-appearance: none;
4505 padding: 20px;
4506
4507 border: 1px solid #FFFFFF;
4508 border-bottom-left-radius: 25px;
4509 border-bottom-right-radius: 25px;
4510 border-top-width: 0;
4511
4512 box-shadow: 0 3px 0.7px 1px #777777, 0 -7px rgba(0, 0, 0, 0.4) inset;
4513
4514 background-image: linear-gradient(to right, #111 11%, #333 56%);
4515}
4516
4517.devtools-responsiveui-home-button {
024a65e9 4518 -moz-user-focus: ignore;
a21f2959
RK
4519 width: 40px;
4520 height: 30px;
dc9d5d64 4521 list-style-image: url("chrome://devtools/skin/responsiveui-home.png");
a21f2959
RK
4522}
4523
4524.devtools-responsiveui-sleep-button {
024a65e9 4525 -moz-user-focus: ignore;
a21f2959
RK
4526 -moz-appearance: none;
4527 /* compensate browserStack top padding */
4528 margin-top: -67px;
4529 margin-right: 10px;
4530
4531 min-width: 10px;
4532 width: 50px;
4533 height: 5px;
4534
4535 border: 1px solid #444;
4536 border-top-right-radius: 12px;
4537 border-top-left-radius: 12px;
4538 border-bottom-color: transparent;
4539
4540 background-image: linear-gradient(to top, #111 11%, #333 56%);
4541}
4542
4543.devtools-responsiveui-sleep-button:hover:active {
4544 background-image: linear-gradient(to top, #aaa 11%, #ddd 56%);
4545}
4546
4547.devtools-responsiveui-volume-buttons {
4548 margin-left: -29px;
4549}
4550
4551.devtools-responsiveui-volume-up-button,
4552.devtools-responsiveui-volume-down-button {
024a65e9 4553 -moz-user-focus: ignore;
a21f2959
RK
4554 -moz-appearance: none;
4555 border: 1px solid red;
4556 min-width: 8px;
4557 height: 40px;
4558
4559 border: 1px solid #444;
4560 border-right-color: transparent;
4561
4562 background-image: linear-gradient(to right, #111 11%, #333 56%);
4563}
4564
4565.devtools-responsiveui-volume-up-button:hover:active,
4566.devtools-responsiveui-volume-down-button:hover:active {
4567 background-image: linear-gradient(to right, #aaa 11%, #ddd 56%);
4568}
4569
4570.devtools-responsiveui-volume-up-button {
4571 border-top-left-radius: 12px;
4572}
4573
4574.devtools-responsiveui-volume-down-button {
4575 border-bottom-left-radius: 12px;
4576}
4577
0bcd5587
RK
4578@media (min-resolution: 2dppx) {
4579 .devtools-responsiveui-resizebarV {
dc9d5d64 4580 background-image: url("chrome://devtools/skin/responsive-vertical-resizer@2x.png");
0bcd5587
RK
4581 }
4582
4583 .devtools-responsiveui-resizebarH {
dc9d5d64 4584 background-image: url("chrome://devtools/skin/responsive-horizontal-resizer@2x.png");
0bcd5587
RK
4585 }
4586
4587 .devtools-responsiveui-resizehandle {
dc9d5d64 4588 background-image: url("chrome://devtools/skin/responsive-se-resizer@2x.png");
0bcd5587
RK
4589 }
4590}
4591
fe524e0c 4592/* === END responsivedesign.inc.css === */
fcaeefc2
RK
4593
4594/* === including indicator.css is done at the start of the file === */
fe524e0c 4595
889649fd
RK
4596/* Error counter */
4597
0142a07b 4598#developer-toolbar-toolbox-button[error-count]:before {
889649fd
RK
4599 color: #000000;
4600 min-width: 16px;
4601 text-shadow: none;
4602 background-color: #FF0000;
4603 border-radius: 1px;
c29b709d 4604 -moz-margin-end: 5px;
c54ac991 4605}
e9c73590 4606
348c0499 4607/* Social toolbar item */
e9c73590 4608
348c0499 4609#social-notification-icon-mentions {
e9c73590 4610 background-color: #000000;
348c0499
RK
4611 border-radius: 3px;
4612 -moz-margin-start: 2px;
e9c73590
RK
4613}
4614
348c0499
RK
4615#social-notification-icon-mentions:hover {
4616 background-color: #FFCF00;
4617}
4618
4619#social-notification-icon-mentions[open="true"] {
4620 background-color: #FF9F00;
e9c73590
RK
4621}
4622
4623#social-sidebar-splitter {
4624 border: 0;
4625}
4626
ed1a91c6
RK
4627#socialActivatedNotification .popup-notification-button-container {
4628 margin-left: 6px;
4629}
4630
4631.social-activation-icon {
4632 width: auto;
4633 height: auto;
4634 max-height: 64px;
4635 max-width: 64px;
4636}
4637
4638#social-activation-message {
4639 max-width: 250px;
4640}
4641
4642#social-activation-message > label {
4643 margin: 0;
4644}
4645
e9c73590 4646/* social toolbar provider menu */
990cba4b 4647.social-statusarea-popup {
e9c73590
RK
4648 margin-top: 0;
4649 margin-left: -12px;
4650 margin-right: -12px;
4651}
4652
990cba4b 4653.social-statusarea-user {
e9c73590
RK
4654 border-bottom: 1px solid #9C9CFF;
4655 background-color: #000000;
4656 color: #FF9F00;
4657 position: relative;
348c0499 4658 cursor: pointer;
e9c73590
RK
4659}
4660
990cba4b 4661.social-statusarea-user-portrait {
e9c73590
RK
4662 width: 32px;
4663 height: 32px;
4664 border-radius: 2px;
4665 margin: 10px;
e9c73590
RK
4666}
4667
990cba4b 4668.social-statusarea-loggedInStatus {
e9c73590
RK
4669 background: transparent;
4670 border: none;
b8384c33 4671 color: #3333FF;
e9c73590
RK
4672 min-width: 0;
4673 margin: 0 6px;
348c0499 4674 list-style-image: none;
e9c73590 4675}
90a244b7 4676
990cba4b 4677#social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus {
e9c73590
RK
4678 text-decoration: underline;
4679}
4680
348c0499
RK
4681.social-panel > .panel-arrowcontainer > .panel-arrowcontent {
4682 padding: 0;
4683}
4684
348c0499
RK
4685.social-panel-frame {
4686 border-radius: inherit;
4687}
e9c73590 4688
e7c8bab1
RK
4689/* === BEGIN chat.inc.css === */
4690
dfa34f73
RK
4691#social-sidebar-header {
4692 padding: 3px;
4693}
4694
20752032
RK
4695#manage-share-providers,
4696#social-sidebar-button {
4697 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
4698 -moz-image-region: rect(0, 468px, 18px, 450px);
4699}
4700
dfa34f73
RK
4701#social-sidebar-button {
4702 -moz-appearance: none;
45dc7657 4703 border: none;
dfa34f73
RK
4704 padding: 0;
4705 margin: 2px;
4706}
20752032 4707#manage-share-providers > .toolbarbutton-icon,
45dc7657 4708#social-sidebar-button > .toolbarbutton-icon {
20752032
RK
4709 min-height: 18px;
4710 min-width: 18px;
45dc7657 4711}
20752032
RK
4712#manage-share-providers:hover,
4713#manage-share-providers:hover:active,
dfa34f73
RK
4714#social-sidebar-button:hover,
4715#social-sidebar-button:hover:active {
20752032 4716 -moz-image-region: rect(18px, 468px, 36px, 450px);
dfa34f73
RK
4717}
4718#social-sidebar-button > .toolbarbutton-menu-dropmarker {
4719 display: none;
4720}
4721
4722#social-sidebar-button[loading="true"] {
4723 list-style-image: url("chrome://global/skin/icons/loading.gif");
4724}
4725
4726#social-sidebar-favico {
4727 max-height: 16px;
4728 max-width: 16px;
4729 padding: 0;
4730 margin: 2px;
4731}
4732
e9c73590
RK
4733.chat-status-icon {
4734 max-height: 16px;
4735 max-width: 16px;
4736 padding: 0;
4737}
4738
4739.chat-toolbarbutton {
4740 -moz-appearance: none;
4741 border: none;
8837ac2c 4742 padding: 0 3px;
e9c73590
RK
4743 margin: 0;
4744 background: none;
8837ac2c
RK
4745}
4746
e9c73590
RK
4747.chat-toolbarbutton > .toolbarbutton-text {
4748 display: none;
4749}
4750
b27cc46e 4751.chat-toolbarbutton > .toolbarbutton-icon {
8837ac2c
RK
4752 width: 16px;
4753 height: 16px;
e7c8bab1
RK
4754}
4755
e9c73590 4756.chat-close-button {
8837ac2c 4757 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close");
e9c73590
RK
4758}
4759
d7b7f7e1
RK
4760.chat-close-button:hover {
4761 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close-hover");
4762}
4763
4764.chat-close-button:hover:active {
8837ac2c 4765 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close-active");
e9c73590
RK
4766}
4767
e2734cc7 4768.chat-minimize-button {
8837ac2c 4769 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize");
e2734cc7
RK
4770}
4771
d7b7f7e1
RK
4772.chat-minimize-button:hover {
4773 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize-hover");
4774}
4775
4776.chat-minimize-button:hover:active {
8837ac2c 4777 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize-active");
e2734cc7
RK
4778}
4779
4780.chat-swap-button {
8837ac2c
RK
4781 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand");
4782 transform: rotate(180deg);
e2734cc7
RK
4783}
4784
d7b7f7e1
RK
4785.chat-swap-button:hover {
4786 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand-hover");
4787}
4788
4789.chat-swap-button:hover:active {
8837ac2c 4790 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand-active");
e2734cc7
RK
4791}
4792
4793chatbar > chatbox > .chat-titlebar > .chat-swap-button {
8837ac2c 4794 transform: none;
e2734cc7
RK
4795}
4796
fa703ff4
RK
4797chatbox[src^="about:loopconversation#"] .chat-minimize-button {
4798 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize-white");
4799}
4800
4801chatbox[src^="about:loopconversation#"] .chat-swap-button {
4802 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand-white");
4803}
4804
d7b7f7e1
RK
4805.chat-loop-hangup {
4806 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#exit-white");
4807 background-color: #FF0000;
4808 border: 1px solid #FFC000;
4809 border-top-right-radius: 4px;
4810 width: 32px;
4811 height: 26px;
4812 margin-top: -6px;
4813 margin-bottom: -5px;
4814 -moz-margin-start: 6px;
4815 -moz-margin-end: -5px;
4816}
4817
4818.chat-toolbarbutton.chat-loop-hangup:-moz-any(:hover,:hover:active) {
4819 background-color: #FFCF00;
4820 border-color: #FF0000;
4821}
4822
e9c73590 4823.chat-title {
d7b7f7e1 4824 color: #000000;
90a244b7 4825 text-shadow: none;
348c0499 4826 cursor: inherit;
e9c73590
RK
4827}
4828
fa703ff4
RK
4829chatbox[src^="about:loopconversation#"] .chat-title {
4830/* color: white;*/
4831}
4832
e9c73590
RK
4833.chat-titlebar {
4834 background-color: #9C9CFF;
4835 color: #000000;
d7b7f7e1
RK
4836 height: 26px;
4837 min-height: 26px;
e9c73590
RK
4838 width: 100%;
4839 margin: 0;
d7b7f7e1
RK
4840 padding: 5px 4px;
4841 border: 1px solid #008484;
4842 border-bottom: 0;
4843 border-top-left-radius: 4px;
4844 border-top-right-radius: 4px;
348c0499 4845 cursor: pointer;
d7b7f7e1
RK
4846 background-color: #A09090;
4847}
4848
4849.chat-titlebar[selected] {
4850 background-color: #008484;
e9c73590
RK
4851}
4852
fa703ff4
RK
4853chatbox[src^="about:loopconversation#"] > .chat-titlebar {
4854 background-color: #008484;
4855 border-color: #008484;
4856}
4857
e2734cc7
RK
4858.chat-titlebar > .notification-anchor-icon {
4859 margin-left: 2px;
4860 margin-right: 2px;
4861}
4862
e9c73590
RK
4863.chat-titlebar[minimized="true"] {
4864 border-bottom: none;
4865}
4866
348c0499
RK
4867.chat-titlebar[selected] {
4868 background-color: #008484;
4869}
4870
4871.chat-titlebar[activity] {
4872 background-color: #E7ADE7;
4873}
4874
e9c73590
RK
4875.chat-frame {
4876 padding: 0;
4877 margin: 0;
4878 overflow: hidden;
4879}
4880
4881.chatbar-button {
ed1a91c6 4882 list-style-image: url("chrome://browser/skin/social/services-16.png");
e9c73590
RK
4883 background-color: #000000;
4884 border: none;
4885 margin: 0;
4886 padding: 2px;
4887 height: 21px;
4888 width: 21px;
4889 border-top: 1px solid #008484;
4890 -moz-border-end: 1px solid #008484;
4891}
4892
ed1a91c6
RK
4893@media (min-resolution: 2dppx) {
4894 .chatbar-button {
4895 list-style-image: url("chrome://browser/skin/social/services-16@2x.png");
4896 }
4897}
4898
d7b7f7e1
RK
4899.chatbar-button:hover {
4900 background-color: #FFCF00;
4901}
4902.chatbar-button[open="true"] {
4903 background-color: #FF9F00;
4904}
4905
4906.chatbar-button[activity]:not([open]) {
4907 background-image: radial-gradient(circle farthest-corner at center 2px, rgb(160,144,144) 3%, rgba(160,144,144,0.9) 12%, rgba(156,156,255,0.6) 30%, rgba(156,156,255,0.2) 70%);
4908}
4909
fe524e0c
RK
4910.chatbar-button > .toolbarbutton-icon {
4911 width: 16px;
4912}
4913
d7cfd768
RK
4914.chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
4915 width: auto;
4916 height: auto;
e9c73590
RK
4917 max-height: 16px;
4918 max-width: 16px;
e9c73590
RK
4919}
4920
90a244b7
RK
4921.chatbar-button > .toolbarbutton-icon {
4922 opacity: .6;
4923 -moz-margin-end: 0;
4924}
4925.chatbar-button:hover > .toolbarbutton-icon,
4926.chatbar-button[open="true"] > .toolbarbutton-icon {
4927 opacity: 1;
4928}
4929
a6757852 4930.chatbar-button:hover,
90a244b7 4931.chatbar-button[open="true"] {
e9c73590
RK
4932}
4933
e9c73590
RK
4934.chatbar-button > .toolbarbutton-text,
4935.chatbar-button > .toolbarbutton-menu-dropmarker {
4936 display: none;
4937}
4938
90a244b7 4939.chatbar-button[activity]:not([open="true"]) {
348c0499
RK
4940 background-color: #E7ADE7;
4941}
4942
4943.chatbar-button > menupopup > menuitem[activity] {
4944 font-weight: bold;
4945}
4946
e9c73590
RK
4947.chatbar-innerbox {
4948 background: transparent;
e9c73590
RK
4949 overflow: hidden;
4950}
4951
fcfb76ce
RK
4952chatbar {
4953 -moz-margin-end: 20px;
4954}
4955
d7b7f7e1 4956chatbox {
fcfb76ce 4957 -moz-margin-start: 4px;
d7b7f7e1
RK
4958 background-color: transparent;
4959}
4960
4961chatbar > chatbox {
4962 /* Apply the same border-radius as the .chat-titlebar to make the box-shadow
4963 go round nicely. */
4964/* border-top-left-radius: 4px;
4965 border-top-right-radius: 4px;*/
4966 /* Offset the chatbox the same amount as the box-shadows' spread, to make it
4967 visible. */
4968/* -moz-margin-end: 5px;*/
e9c73590
RK
4969}
4970
fcfb76ce
RK
4971chatbox[minimized="true"] {
4972 width: 160px;
e9c73590 4973 height: 20px;
e9c73590 4974}
348c0499 4975
e2734cc7
RK
4976window > chatbox {
4977 -moz-margin-start: 0px;
4978 margin: 0px;
4979 border: none;
4980 padding: 0px;
4981}
4982
e7c8bab1
RK
4983/* === END chat.inc.css === */
4984
b27cc46e 4985/* === BEGIN plugin-doorhanger.inc.css === */
348c0499 4986
b27cc46e
RK
4987/**
4988 * Plugin Doorhanger Styles
4989 */
348c0499 4990
b27cc46e 4991#notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent {
1e32332f 4992 padding: 6px 1px 2px;
348c0499
RK
4993}
4994
348c0499 4995.click-to-play-plugins-notification-center-box {
348c0499
RK
4996}
4997
fe524e0c
RK
4998.plugin-popupnotification-centeritem:nth-child(odd) {
4999/* background-color: rgba(0,0,0,0.1);*/
348c0499
RK
5000}
5001
b27cc46e
RK
5002.center-item-label {
5003 margin-bottom: 0;
5004 text-overflow: ellipsis;
348c0499
RK
5005}
5006
b27cc46e
RK
5007.center-item-warning-icon {
5008 background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
348c0499 5009 background-repeat: no-repeat;
348c0499 5010 width: 16px;
b27cc46e
RK
5011 height: 15px;
5012 -moz-margin-start: 6px;
348c0499
RK
5013}
5014
b27cc46e 5015.click-to-play-plugins-notification-button-container {
348c0499
RK
5016}
5017
b27cc46e
RK
5018.click-to-play-popup-button {
5019 width: 50%;
348c0499
RK
5020}
5021
b27cc46e 5022.click-to-play-plugins-notification-description-box {
1e32332f
RK
5023 margin-left: 5px;
5024 margin-right: 5px;
5025 margin-top: 0;
5026 padding-bottom: 3px;
348c0499
RK
5027}
5028
b27cc46e 5029.click-to-play-plugins-outer-description {
1e32332f 5030 margin-top: 1px;
348c0499
RK
5031}
5032
b27cc46e
RK
5033.click-to-play-plugins-notification-link,
5034.center-item-link {
5035 margin: 0;
348c0499
RK
5036}
5037
2c225fcb
RK
5038.messageImage[value="plugin-hidden"] {
5039 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
5040}
5041
5042/* Keep any changes to this style in sync with pluginProblem.css */
5043notification.pluginVulnerable {
5044}
5045
5046notification.pluginVulnerable .messageImage {
5047 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
5048}
5049
b27cc46e 5050/* === END plugin-doorhanger.inc.css === */
0142a07b 5051
d74db938
RK
5052/* === BEGIN login-doorhanger.inc.css === */
5053
2e389898
RK
5054#notification-popup[popupid="login-fill"] > .panel-arrowcontainer > .panel-arrowcontent {
5055 /* Since we display a sliding subview that extends to the border, we cannot
5056 * keep the default padding of arrow panels. We use the same padding in the
5057 * individual content views instead. Since we removed the padding, we also
5058 * have to ensure the contents are clipped to the border box. */
5059 padding: 0;
5060 overflow: hidden;
5061}
5062
5063#login-fill-mainview,
5064#login-fill-details {
5065 padding: var(--panel-arrowcontent-padding);
5066}
5067
5068#login-fill-doorhanger[inDetailView] > #login-fill-mainview {
5069 transform: translateX(-14px);
5070}
5071
5072#login-fill-mainview,
5073#login-fill-details {
5074 transition: transform 150ms;
5075}
5076
5077#login-fill-doorhanger:not([inDetailView]) > #login-fill-details {
5078 transform: translateX(105%);
5079}
5080
5081#login-fill-doorhanger:not([inDetailView]) > #login-fill-details:-moz-locale-dir(rtl) {
5082 transform: translateX(-105%);
5083}
5084
5085#login-fill-doorhanger[inDetailView] > #login-fill-clickcapturer {
5086 background-color: hsla(240,39%,100%,.1);
5087}
5088
d74db938
RK
5089#login-fill-testing {
5090 color: #FF0000;
5091 font-weight: bold;
5092}
5093
5094#login-fill-list {
5095 border: 1px solid #9C9CFF;
5096 max-height: 20em;
5097}
5098
7c0a01f2
RK
5099.login-fill-item[disabled] {
5100 color: #8050B0;
5101 background-color: #000000;
5102}
5103
5104.login-fill-item[disabled][selected] {
5105 background-color: #008484;
5106}
5107
d74db938
RK
5108.login-hostname {
5109 margin: 4px;
5110 font-weight: bold;
5111}
5112
7c0a01f2
RK
5113.login-fill-item.different-hostname > .login-hostname {
5114 color: #A09090;
5115 font-style: italic;
5116}
5117
d74db938
RK
5118.login-username {
5119 margin: 4px;
5120 color: #A09090;
5121}
5122
2e389898
RK
5123#login-fill-details {
5124 padding: 4px;
5125 background: var(--panel-arrowcontent-background);
5126 color: var(--panel-arrowcontent-color);
5127 background-clip: padding-box;
5128 border-left: 1px solid #9C9CFF;
5129 -moz-margin-start: 38px;
5130}
5131
d74db938
RK
5132/* === END login-doorhanger.inc.css === */
5133
43cc2806
RK
5134/* === BEGIN customizeMode.inc.css === */
5135
5136/* Customization mode */
e28f3f71 5137
5401f433
RK
5138#main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox {
5139 margin-bottom: 1em;
e28f3f71
RK
5140}
5141
5401f433
RK
5142#main-window:-moz-any([customize-entering],[customize-entered]) #content-deck,
5143#main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
e28f3f71
RK
5144#main-window:-moz-any([customize-entering],[customize-entered]) #navigator-toolbox {
5145 margin-left: 1em;
5146 margin-right: 1em;
43cc2806
RK
5147}
5148
e28f3f71
RK
5149#main-window:-moz-any([customize-entering],[customize-exiting]) #tab-view-deck {
5150 pointer-events: none;
5151}
5152
5153#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
43cc2806 5154#PanelUI-contents > .panel-customization-placeholder {
e28f3f71 5155 -moz-outline-radius: 2.5px;
43cc2806
RK
5156 outline: 1px dashed transparent;
5157}
5158
e28f3f71
RK
5159#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before {
5160 /* Prevent jumping of tabs when switching a window between inactive and active (bug 853415). */
5161 -moz-box-ordinal-group: 0;
5162 content: "";
5163 display: -moz-box;
5164 height: 100%;
5165 left: 0;
5166 outline-offset: -2px;
5167 pointer-events: none;
5168 position: absolute;
5169 top: 0;
5170 width: 100%;
5171}
5172
5173/* Shift the TabsToolbar outline up 2px since the #nav-bar is shifted up by 1px and the
5174 #TabsToolbar::after is a pixel higher to draw the bottom border of the tabstrip so this makes the
5175 offset from the bottom effectively the same as other targets (-2px). */
5176#main-window[customize-entered] #TabsToolbar.customization-target::before {
e20c83c3 5177/* top: -2px;*/
e28f3f71
RK
5178}
5179
5180/* The parents of the outline pseudo-elements need to be positioned so that the outline is positioned relative to it. */
5181#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover,
5182#main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)),
5183#main-window[customize-entered] #nav-bar-customization-target.customization-target {
5184 position: relative;
5185}
5186
5187/* Most target outlines are shown on hover and drag over but the panel menu uses
5188 placeholders instead. */
5189#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover::before,
5190#main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
5191/* nav-bar and panel outlines are always shown */
5192#nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
5193 outline-color: #A09090;
5194}
5195
5196#nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
5197 transition: outline-color 250ms linear;
5198}
5199
5200#PanelUI-contents[showoutline=true] > .panel-customization-placeholder {
5201 transition: outline-color 250ms linear;
43cc2806
RK
5202 outline-color: #9C9CFF;
5203}
5204
5205#PanelUI-contents > .panel-customization-placeholder {
5206 cursor: auto;
5207 outline-offset: -5px;
5208}
5209
e28f3f71 5210#main-window[customizing] .customization-target:not(#PanelUI-contents) {
43cc2806 5211 min-width: 100px;
e20c83c3
RK
5212/* padding-left: 10px;
5213 padding-right: 10px;*/
5214}
5215
5216#main-window:-moz-any([customize-entering],[customize-entered]) #tab-view-deck {
5217 padding: 0 2em 2em;
43cc2806
RK
5218}
5219
5220#customization-container {
5221 background-color: #000000;
93c91f62 5222 color: #FF9F00;
43cc2806
RK
5223}
5224
e28f3f71
RK
5225#customization-palette,
5226#customization-empty {
5227 padding: 0 15px 15px;
43cc2806
RK
5228}
5229
5230#customization-header {
cac2a998
RK
5231 font-size: 1.75em;
5232 line-height: 1.75em;
43cc2806 5233 color: #9C9CFF;
cac2a998
RK
5234 font-weight: 200;
5235 margin: 25px 25px 12px;
5236 padding-bottom: 12px;
5237 border-bottom: 1px solid #A09090;
43cc2806
RK
5238}
5239
5240#customization-panel-container {
e28f3f71
RK
5241 padding: 10px 10px 0px;
5242}
5243
5401f433 5244#main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
e28f3f71
RK
5245#customization-footer {
5246 /*background-color: rgb(236,236,236);*/
5401f433
RK
5247}
5248
5249#customization-footer {
e28f3f71 5250 border-top: 1px solid #9C9CFF;
93c91f62 5251 padding: 10px;
e28f3f71
RK
5252}
5253
5254.customizationmode-button {
93c91f62 5255 margin: 5px;
e28f3f71
RK
5256}
5257
5258.customizationmode-button:hover {
5259}
5260
e548e22e
RK
5261#customization-titlebar-visibility-button[checked],
5262#customization-devedition-theme-button[checked] {
5263 background-color: #008484;
5264}
5265
5266#customization-titlebar-visibility-button[checked]:hover,
5267#customization-devedition-theme-button[checked]:hover {
5268 background-color: #FFCF00;
5269}
5270
5271#customization-titlebar-visibility-button[checked]:hover:active,
5272#customization-devedition-theme-button[checked]:hover:active {
5273 background-color: #FF9F00;
5274}
5275
e28f3f71
RK
5276.customizationmode-button[disabled="true"] {
5277}
5278
93c91f62
RK
5279.customizationmode-button > .box-inherit > .box-inherit > .button-icon,
5280.customizationmode-button > .button-box > .button-icon {
5281/* height: 24px;*/
5282}
5283
e28f3f71
RK
5284#customization-titlebar-visibility-button {
5285 list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png");
b7f3670c 5286 -moz-image-region: rect(0, 16px, 16px, 0);
e28f3f71
RK
5287}
5288
b7f3670c
RK
5289#customization-titlebar-visibility-button:hover {
5290 -moz-image-region: rect(16px, 16px, 32px, 0);
5291}
5292
ae90b726
RK
5293#customization-lwtheme-button,
5294#customization-titlebar-visibility-button {
5295 padding: 0px 5px;
5296}
5297
b7f3670c
RK
5298#customization-titlebar-visibility-button > .button-box {
5299 padding-top: 0;
5300 padding-bottom: 1px;
5301}
5302
5303#customization-titlebar-visibility-button:hover:active > .button-box {
5304 padding-top: 1px;
5305 padding-bottom: 0;
5306}
5307
ae90b726 5308#customization-lwtheme-button > .box-inherit > .box-inherit > .button-text,
e28f3f71
RK
5309#customization-titlebar-visibility-button > .button-box > .button-text {
5310 /* Sadly, button.css thinks its margins are perfect for everyone. */
b7f3670c 5311 -moz-margin-start: 5px !important;
e28f3f71
RK
5312}
5313
05148fed
RK
5314#customization-lwtheme-button > .box-inherit > .box-inherit > .button-icon {
5315 width: 20px;
5316 height: 20px;
5317 border-radius: 2px;
5318 background-size: contain;
5319}
5320
93c91f62
RK
5321#customization-titlebar-visibility-button > .button-box > .button-icon {
5322 vertical-align: middle;
5323}
5324
e28f3f71 5325#customization-titlebar-visibility-button[checked] {
b7f3670c 5326 -moz-image-region: rect(0, 32px, 16px, 16px);
e28f3f71
RK
5327 background-color: #008484;
5328}
5329
b7f3670c
RK
5330#customization-titlebar-visibility-button[checked]:hover {
5331 -moz-image-region: rect(16px, 32px, 32px, 16px);
5332 background-color: #FFCF00;
5333}
5334
5335#customization-titlebar-visibility-button[checked]:hover:active {
5336 background-color: #FF9F00;
5337}
5338
2e389898
RK
5339@media (min-resolution: 1.1dppx) {
5340 #customization-titlebar-visibility-button {
5341 list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle@2x.png");
5342 -moz-image-region: rect(0, 48px, 48px, 0);
5343 }
5344
5345 #customization-titlebar-visibility-button:hover {
5346 -moz-image-region: rect(48px, 48px, 96px, 0);
5347 }
5348
5349 #customization-titlebar-visibility-button[checked] {
5350 -moz-image-region: rect(0, 96px, 48px, 48px);
5351 }
5352
5353 #customization-titlebar-visibility-button[checked]:hover {
5354 -moz-image-region: rect(48px, 96px, 96px, 48px);
5355 }
5356}
5357
e28f3f71 5358#main-window[customize-entered] #customization-panel-container {
43cc2806
RK
5359 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5360 background-position: left top;
5361 background-repeat: repeat;
5362 background-size: auto;
5363 background-attachment: fixed;
5364}
5365
e28f3f71
RK
5366toolbarpaletteitem[place="toolbar"] {
5367 transition: border-width 250ms ease-in-out;
43cc2806
RK
5368}
5369
5370toolbarpaletteitem[mousedown] {
5371 outline: 1px solid #008484;
5372 cursor: -moz-grabbing;
5373 opacity: 0.8;
5374}
5375
5376.panel-customization-placeholder,
5377toolbarpaletteitem[place="palette"],
5378toolbarpaletteitem[place="panel"] {
e28f3f71
RK
5379 transition: transform .3s ease-in-out;
5380}
5381
5382#customization-palette {
5383 transition: opacity .3s ease-in-out;
5384 opacity: 0;
43cc2806
RK
5385}
5386
e28f3f71
RK
5387#customization-palette[showing="true"] {
5388 opacity: 1;
5389}
5390
5391toolbarpaletteitem[notransition].panel-customization-placeholder,
5392toolbarpaletteitem[notransition][place="toolbar"],
43cc2806
RK
5393toolbarpaletteitem[notransition][place="palette"],
5394toolbarpaletteitem[notransition][place="panel"] {
e28f3f71 5395 transition: none;
43cc2806
RK
5396}
5397
e28f3f71 5398toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon,
19988d2d 5399toolbarpaletteitem > toolbarbutton > .toolbarbutton-badge-stack > .toolbarbutton-icon,
e28f3f71
RK
5400toolbarpaletteitem > toolbaritem.panel-wide-item,
5401toolbarpaletteitem > toolbarbutton[type="menu-button"] {
5402 transition: transform .3s cubic-bezier(.6, 2, .75, 1.5) !important;
43cc2806
RK
5403}
5404
d0e580f1 5405toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon,
19988d2d 5406toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-badge-stack > .toolbarbutton-icon {
e28f3f71
RK
5407 transform: scale(1.3);
5408}
5409
5410toolbarpaletteitem[mousedown] > toolbaritem.panel-wide-item,
5411toolbarpaletteitem[mousedown] > toolbarbutton[type="menu-button"] {
43cc2806
RK
5412 transform: scale(1.1);
5413}
5414
5415/* Override the toolkit styling for items being dragged over. */
5416toolbarpaletteitem[place="toolbar"] {
5417 border-left-width: 0;
5418 border-right-width: 0;
5419 margin-right: 0;
5420 margin-left: 0;
5421}
5422
5423#customization-palette:not([hidden]) {
5424 margin-bottom: 25px;
5425}
5426
43cc2806
RK
5427#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
5428#wrapper-edit-controls[place="palette"] > #edit-controls > separator,
e28f3f71
RK
5429#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton,
5430#wrapper-zoom-controls[place="palette"] > #zoom-controls > separator {
5431 margin-top: 20px;
43cc2806
RK
5432}
5433
5434#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
c0f6797e 5435#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton {
43cc2806
RK
5436 margin-left: 0;
5437 margin-right: 0;
e28f3f71
RK
5438 max-width: 24px;
5439 min-width: 24px;
43cc2806 5440 max-height: 24px;
5401f433 5441 min-height: 24px;
e28f3f71 5442 padding: 4px;
43cc2806
RK
5443}
5444
e28f3f71
RK
5445#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon,
5446#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon {
5447 width: 16px;
43cc2806
RK
5448}
5449
e28f3f71
RK
5450#wrapper-edit-controls > #edit-controls > toolbarbutton > .toolbarbutton-icon {
5451 opacity: 1; /* To ensure these buttons always look enabled in customize mode */
5452}
5453
c0f6797e
RK
5454#wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button,
5455#wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button + separator {
e28f3f71
RK
5456 display: none;
5457}
5458
5459#wrapper-personal-bookmarks:not([place="toolbar"]) > #personal-bookmarks {
5460 -moz-box-pack: center;
5461 min-height: 48px;
43cc2806
RK
5462}
5463
20752032
RK
5464#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
5465 -moz-margin-end: 5px;
5466}
5467
43cc2806
RK
5468#customization-palette > toolbarpaletteitem > label {
5469 text-align: center;
5470 margin-left: 0;
5471 margin-right: 0;
5472}
5473
cac2a998
RK
5474#customization-lwtheme-menu > .panel-arrowcontainer > .panel-arrowcontent {
5475 -moz-box-orient: vertical;
5476 /* Make the panel padding uniform across all platforms due to the
5477 styling of the section headers and footer. */
5478 padding: 10px;
5479}
5480
5481.customization-lwtheme-menu-theme > .toolbarbutton-icon {
5482 width: 32px;
5483 height: 32px;
5484}
5485
5486.customization-lwtheme-menu-theme {
5487 -moz-appearance: none;
5488 margin: 0 -5px 5px;
5489 padding-top: 0;
5490 -moz-padding-end: 5px;
5491 padding-bottom: 0;
5492 -moz-padding-start: 0;
5493}
5494
8837ac2c
RK
5495.customization-lwtheme-menu-theme[defaulttheme] {
5496 list-style-image: url(chrome://browser/skin/Fxtheme-switcher-icon.png);
5497}
5498
cac2a998
RK
5499.customization-lwtheme-menu-theme[active="true"] {
5500 background-color: #008484;
5501}
5502
5503.customization-lwtheme-menu-theme > .toolbarbutton-icon {
5504 margin: 5px;
5505}
5506
5507.customization-lwtheme-menu-theme > .toolbarbutton-text {
5508 text-align: start;
5509}
5510
5511#customization-lwtheme-menu-header,
5512#customization-lwtheme-menu-recommended {
5513 padding: 10px;
5514 margin-bottom: 5px;
5515}
5516
5517#customization-lwtheme-menu-header,
5518#customization-lwtheme-menu-recommended,
5519#customization-lwtheme-menu-footer {
5520 background-color: #A09090;
5521 color: #000000;
5522 margin-right: -10px;
5523 margin-left: -10px;
5524}
5525
5526#customization-lwtheme-menu-header {
5527 margin-top: -10px;
5528 border-top-right-radius: 3px;
5529 border-top-left-radius: 3px;
5530}
5531
5532#customization-lwtheme-menu-recommended {
5533}
5534
5535#customization-lwtheme-menu-footer {
5536 margin-bottom: -10px;
5537 border-bottom-right-radius: 3px;
5538 border-bottom-left-radius: 3px;
5539}
5540
5541.customization-lwtheme-menu-footeritem {
5542 -moz-appearance: none;
5543 -moz-box-flex: 1;
5544 background-color: #C09070;
5545 color: #000000;
5546 border: 1px solid transparent;
5547 padding: 10px;
5548 margin-left: 0;
5549 margin-right: 0;
5550}
5551
5552.customization-lwtheme-menu-footeritem:hover {
5553 background-color: #FFCF00;
5554}
5555
8837ac2c 5556.customization-lwtheme-menu-footeritem:first-child {
cac2a998
RK
5557}
5558
43cc2806
RK
5559/* === END customizeMode.inc.css === */
5560
e28f3f71
RK
5561/* === BEGIN customizeTip.inc.css === */
5562
5563#customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent {
5564 padding: 0;
5565 margin: 0;
5566 min-width: 400px;
5567 max-width: 1000px;
5568 min-height: 200px;
5569 border-radius: 3px;
5570/* background-image: linear-gradient(90deg, #a0dfff 0%, #ceeeff 100%);*/
5571 border: 1px solid #9C9CFF;
d1e87ec1 5572 color: #FF9F00;
e28f3f71
RK
5573}
5574
5575#customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent:-moz-locale-dir(rtl) {
5576/* background-image: linear-gradient(90deg, #ceeeff 0%, #a0dfff 100%);*/
5577}
5578
5579.customization-tipPanel-infoBox {
5580 margin: 20px 25px 25px;
5581 width: 25px;
5582 background-image: url("chrome://browser/skin/customizableui/info-icon-customizeTip.png");
5583 background-repeat: no-repeat;
5584}
5585
5586.customization-tipPanel-content {
5587 margin: 25px 0;
5588 font-size: 12px;
5589 line-height: 18px;
5590}
5591
5592.customization-tipPanel-em {
5593 margin: 0;
5594 font-weight: bold;
5595}
5596
5597.customization-tipPanel-contentImage {
5598 margin-top: 25px;
5599 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration.png");
5600 min-width: 300px;
5601 max-width: 300px;
5602 min-height: 190px;
5603 max-height: 190px;
5604 display: -moz-box;
5605}
5606
5607.customization-tipPanel-contentImage:-moz-locale-dir(rtl) {
5608 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration-rtl.png");
5609}
5610
5611.customization-tipPanel-link {
5612 -moz-appearance: none;
5613 background: transparent;
5614 border: none;
5615 box-shadow: none;
5616 color: #3333FF;
5617 margin: 0;
5618 cursor: pointer;
5619}
5620
5621.customization-tipPanel-link > .button-box > .button-text {
5622 margin: 0 !important;
5623}
5624
5625.customization-tipPanel-closeBox > .close-icon {
5626 -moz-appearance: none;
5627 border: 0;
5628 -moz-margin-end: -25px;
5629}
5630
5631#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"],
5632#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
5633 list-style-image: url("chrome://browser/skin/customizableui/panelarrow-customizeTip.png");
5634}
5635
5636/* === END customizeTip.inc.css === */
5637
c0f6797e
RK
5638/**
5639 * This next rule is a hack to disable subpixel anti-aliasing on all
5640 * labels during the customize mode transition. Subpixel anti-aliasing
5641 * on Windows with Direct2D layers acceleration is particularly slow to
5642 * paint, so this hack is how we sidestep that performance bottleneck.
5643 */
5644#main-window:-moz-any([customize-entering],[customize-exiting]) label {
5645 transform: perspective(0.01px);
5646}
5647
93c91f62 5648#main-window[customize-entered] > #tab-view-deck {
43cc2806
RK
5649 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5650 background-attachment: fixed;
5651}
5652
93c91f62
RK
5653#main-window[customization-lwtheme] > #tab-view-deck:-moz-lwtheme {
5654 background-repeat: no-repeat;
5655 background-position: right top;
5656 background-attachment: fixed;
5657 /* The image will get set from CustomizeMode.jsm */
5658 background-image: none;
5659 background-color: transparent;
5660}
5661
5662#main-window[customization-lwtheme]:-moz-lwtheme {
5663 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5664 background-repeat: repeat;
5665 background-attachment: fixed;
5666 background-position: left top;
5667}
5668
5401f433
RK
5669#main-window[customize-entered] #browser-bottombox,
5670#main-window[customize-entered] #customization-container {
43cc2806
RK
5671 border-left: 1px solid #9C9CFF;
5672 border-right: 1px solid #9C9CFF;
5673 background-clip: padding-box;
5674}
5675
5401f433
RK
5676#main-window[customize-entered] #browser-bottombox {
5677 border-bottom: 1px solid #9C9CFF;
5678}
5679
e20c83c3
RK
5680#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"] {
5681 margin-right: -2px;
5682}
5683
5684#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
5685 margin-left: -2px;
5686}
5687
5688/* End customization mode */
5689
51994fad
RK
5690/* Private browsing indicators */
5691
5692/**
5693 * Currently, we have two places where we put private browsing indicators on
5694 * Windows. When tabsintitlebar is enabled, we draw the indicator in the titlebar.
5695 * When tabsintitlebar is disabled, we draw the indicator at the end of the
5696 * tabstrip. The titlebar indicator is the fiddliest of the bunch, since we
5697 * want the bottom border of the image to line up with the bottom of the window
5698 * caption buttons. That's why there's so much special-casing going on in here.
5699 */
5700.private-browsing-indicator {
5701 display: none;
5702 pointer-events: none;
e20c83c3
RK
5703}
5704
51994fad
RK
5705#private-browsing-indicator-titlebar {
5706 display: block;
5707 position: absolute;
e20c83c3
RK
5708}
5709
51994fad
RK
5710#main-window[privatebrowsingmode=temporary][tabsintitlebar] #private-browsing-indicator-titlebar > .private-browsing-indicator {
5711 display: block;
e20c83c3
RK
5712}
5713
51994fad
RK
5714#main-window[privatebrowsingmode=temporary]:-moz-any([inFullscreen],:not([tabsintitlebar])) #TabsToolbar > .private-browsing-indicator {
5715 display: -moz-box;
5716}
5717
5718#TabsToolbar > .private-browsing-indicator {
5719 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") no-repeat center -3px;
5720 -moz-margin-start: 4px;
5721 width: 48px;
5722}
5723
5724/* Bug 1008183: We're intentionally using the titlebar asset here for fullscreen
5725 * mode, since the tabstrip "mimics" the titlebar in that case with its own
5726 * min/max/close window buttons.
5727 */
5728#private-browsing-indicator-titlebar > .private-browsing-indicator,
5729#main-window[inFullscreen] #TabsToolbar > .private-browsing-indicator {
5730 background: url("chrome://browser/skin/privatebrowsing-mask-titlebar.png") no-repeat center 0px;
5731 -moz-margin-end: 4px;
43cc2806 5732 width: 40px;
51994fad
RK
5733 height: 20px;
5734 position: relative;
43cc2806
RK
5735}
5736
51994fad
RK
5737/* This one is for Linux */
5738#main-window[privatebrowsingmode=temporary] #private-browsing-indicator {
5739 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") center no-repeat;
5740 width: 48px;
5741}
5742
5743/* End private browsing indicators */
5744
43cc2806
RK
5745/* === BEGIN UITour.inc.css === */
5746
5747/* UI Tour */
5748
2a8b2b48
RK
5749#UITourHighlightContainer {
5750 -moz-appearance: none;
5751 border: none;
5752 background-color: transparent;
5753 /* This is a buffer to compensate for the movement in the "wobble" effect */
5754 padding: 4px;
5755}
5756
5757#UITourHighlight {
5758 background-image: radial-gradient(50% 100%, rgba(0,132,132,0.4) 50%, rgba(0,132,132,0.6) 100%);
5759 border-radius: 40px;
5760 border: 1px solid #9C9CFF;
5761 /* The box-shadow opacity needs to be < 0.5 so it doesn't appear at 100% opacity
5762 on Linux without an X compositor where opacity is either 0 or 1. */
5763 box-shadow: 0 0 3px 0 rgba(0,0,0,0.49);
43cc2806
RK
5764 min-height: 32px;
5765 min-width: 32px;
1bf116f8
RK
5766}
5767
2a8b2b48
RK
5768#UITourTooltipBody {
5769 -moz-margin-end: 14px;
5770}
5771
5772#UITourTooltipBody > vbox {
5773 padding-top: 4px;
43cc2806
RK
5774}
5775
2a8b2b48
RK
5776#UITourTooltipIconContainer {
5777 -moz-margin-start: -16px;
5778}
5779
5780#UITourTooltipIcon {
5781 width: 48px;
5782 height: 48px;
5783 -moz-margin-start: 28px;
5784 -moz-margin-end: 28px;
5785}
5786
5787#UITourTooltipTitle,
5788#UITourTooltipDescription {
5789 max-width: 20rem;
43cc2806
RK
5790}
5791
5792#UITourTooltipTitle {
2a8b2b48 5793 font-size: 1.45rem;
43cc2806 5794 font-weight: bold;
2a8b2b48
RK
5795 -moz-margin-start: 0;
5796 -moz-margin-end: 0;
5797 margin: 0 0 9px 0;
43cc2806
RK
5798}
5799
5800#UITourTooltipDescription {
2a8b2b48
RK
5801 -moz-margin-start: 0;
5802 -moz-margin-end: 0;
5803 font-size: 1.15rem;
5804 line-height: 1.8rem;
5805 margin-bottom: 0; /* Override global.css */
5806}
5807
5808#UITourTooltipClose {
5809 -moz-appearance: none;
5810 border: none;
5811 background-color: transparent;
5812 min-width: 0;
5813 -moz-margin-start: 4px;
5814 margin-top: -2px;
5815}
5816
5817#UITourTooltipClose > .toolbarbutton-text {
5818 display: none;
5819}
5820
5821#UITourTooltipButtons {
5822 -moz-box-pack: end;
5823 background-color: rgba(0,0,0,.2);
5824 border-top: 1px solid rgba(0,0,0,.4);
5825 margin: 24px -16px -16px;
5826 padding: 2em 15px;
5827}
5828
19988d2d 5829#UITourTooltipButtons > label,
2a8b2b48
RK
5830#UITourTooltipButtons > button {
5831 margin: 0 15px;
5832}
5833
19988d2d 5834#UITourTooltipButtons > label:first-child,
2a8b2b48
RK
5835#UITourTooltipButtons > button:first-child {
5836 -moz-margin-start: 0;
5837}
5838
5839#UITourTooltipButtons > button[image] > .button-box > .button-icon {
5840 width: 16px;
5841 height: 16px;
5842 -moz-margin-end: 5px;
5843}
5844
19988d2d 5845#UITourTooltipButtons > label,
2a8b2b48
RK
5846#UITourTooltipButtons > button .button-text {
5847 font-size: 1.15rem;
5848}
5849
5850#UITourTooltipButtons > button:not(.button-link) {
5851 -moz-appearance: none;
5852 background-color: #C09070;
5853 border-radius: 3000px;
5854 border: none;
5855 color: #000000;
5856 padding: 4px 30px;
5857 transition-property: background-color, color;
5858 transition-duration: 150ms;
5859}
5860
5861#UITourTooltipButtons > button:not(.button-link):not(:active):hover {
5862 background-color: #FFCF00;
5863 color: #000000;
5864}
5865
19988d2d 5866#UITourTooltipButtons > label,
2a8b2b48
RK
5867#UITourTooltipButtons > button.button-link {
5868 -moz-appearance: none;
5869 background: transparent;
5870 border: none;
5871 box-shadow: none;
5872 color: rgba(0,0,0,0.35);
5873 padding-left: 10px;
5874 padding-right: 10px;
5875}
5876
5877#UITourTooltipButtons > button.button-link:hover {
5878 color: black;
5879}
5880
5881/* The primary button gets the same color as the customize button. */
5882#UITourTooltipButtons > button.button-primary {
5883 background-color: #A06060; /* LCARS default button background color */
5884 color: #000000;
5885 padding-left: 30px;
5886 padding-right: 30px;
5887}
5888
5889#UITourTooltipButtons > button.button-primary:not(:active):hover {
5890 background-color: #FFCF00;
5891 color: #000000;
43cc2806
RK
5892}
5893
20752032
RK
5894/* Notification overrides for Heartbeat UI */
5895
5896notification.heartbeat {
5897 background-color: #A09090;
0ef54c72 5898/* height: 40px;*/
20752032
RK
5899}
5900
5901@keyframes pulse-onshow {
5902 0% {
5903 opacity: 0;
5904 transform: scale(1.0);
5905 }
5906 25% {
5907 opacity: 1;
5908 transform: scale(1.1);
5909 }
5910 50% {
5911 transform: scale(1.0);
5912 }
5913 75% {
5914 transform: scale(1.1);
5915 }
5916 100% {
5917 transform: scale(1.0);
5918 }
5919}
5920
5921@keyframes pulse-twice {
5922 0% {
5923 transform: scale(1.1);
5924 }
5925 50% {
5926 transform: scale(0.8);
5927 }
5928 100% {
5929 transform: scale(1);
5930 }
5931}
5932
5933.messageText.heartbeat {
5934 color: #000000;
0ef54c72
RK
5935/* text-shadow: none; */
5936 -moz-margin-start: 0px;
20752032
RK
5937}
5938
5939.messageImage.heartbeat {
0ef54c72
RK
5940 width: 24px;
5941 height: 24px;
5942 -moz-margin-start: 8px;
5943 -moz-margin-end: 8px;
20752032
RK
5944}
5945
5946.messageImage.heartbeat.pulse-onshow {
5947 animation-name: pulse-onshow;
5948 animation-duration: 1.5s;
5949 animation-iteration-count: 1;
5950 animation-timing-function: cubic-bezier(.7,1.8,.9,1.1);
5951}
5952
5953.messageImage.heartbeat.pulse-twice {
5954 animation-name: pulse-twice;
5955 animation-duration: 1s;
5956 animation-iteration-count: 2;
5957 animation-timing-function: linear;
5958}
5959
0ef54c72
RK
5960/* Learn More link styles */
5961.heartbeat > .text-link {
5962 color: #3333FF;
5963 -moz-margin-start: 0px;
5964}
5965
5966.heartbeat > .text-link:hover {
5967 color: #9C9CFF;
5968 text-decoration: none;
5969}
5970
5971.heartbeat > .text-link:hover:active {
5972 color: #FF9F00;
5973}
5974
20752032
RK
5975/* Heartbeat UI Rating Star Classes */
5976.heartbeat > #star-rating-container {
5977 display: -moz-box;
0ef54c72 5978/* margin-bottom: 4px;*/
20752032
RK
5979}
5980
5981.heartbeat > #star-rating-container > #star5 {
5982 -moz-box-ordinal-group: 5;
5983}
5984
5985.heartbeat > #star-rating-container > #star4 {
5986 -moz-box-ordinal-group: 4;
5987}
5988
5989.heartbeat > #star-rating-container > #star3 {
5990 -moz-box-ordinal-group: 3;
5991}
5992
5993.heartbeat > #star-rating-container > #star2 {
5994 -moz-box-ordinal-group: 2;
5995}
5996
5997.heartbeat > #star-rating-container > .star-x {
5998 background: url("chrome://browser/skin/heartbeat-star-off.svg");
5999 cursor: pointer;
0ef54c72
RK
6000 /* Overrides the -moz-margin-end for all platforms defined in the .plain class */
6001 -moz-margin-end: 4px !important;
6002 width: 16px;
6003 height: 16px;
20752032
RK
6004}
6005
6006.heartbeat > #star-rating-container > .star-x:hover,
6007.heartbeat > #star-rating-container > .star-x:hover ~ .star-x {
6008 background: url("chrome://browser/skin/heartbeat-star-lit.svg");
20752032
RK
6009}
6010
43cc2806 6011/* === END UITour.inc.css === */
c0f6797e
RK
6012
6013#UITourTooltipButtons {
19988d2d
RK
6014 /**
6015 * Override the --panel-arrowcontent-padding so the background extends
6016 * to the sides and bottom of the panel.
6017 */
6018 margin-left: -10px;
6019 margin-right: -10px;
6020 margin-bottom: -10px;
c0f6797e 6021}
fff8097b
RK
6022
6023/* === BEGIN contextmenu.inc.css === */
6024
6025menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left {
6026}
6027
6028#context-navigation > .menuitem-iconic {
6029 -moz-box-flex: 1;
6030 -moz-box-pack: center;
6031 -moz-box-align: center;
6032}
6033
6034#context-navigation > .menuitem-iconic[disabled="true"] {
6035 background-color: transparent;
6036}
6037
6038#context-navigation > .menuitem-iconic > .menu-iconic-left {
6039 -moz-appearance: none;
6040}
6041
93c91f62
RK
6042#context-back > .menu-iconic-left {
6043 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back"); */
fff8097b
RK
6044 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
6045 -moz-image-region: rect(0, 54px, 18px, 36px);
6046}
6047
93c91f62
RK
6048#context-back:not([disabled="true"]):hover > .menu-iconic-left {
6049 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-active"); */
fff8097b
RK
6050 -moz-image-region: rect(18px, 54px, 36px, 36px);
6051}
6052
93c91f62
RK
6053#context-back[disabled="true"] > .menu-iconic-left {
6054 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-disabled"); */
fff8097b
RK
6055 -moz-image-region: rect(36px, 54px, 54px, 36px);
6056}
6057
93c91f62
RK
6058#context-forward > .menu-iconic-left {
6059 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward"); */
fff8097b
RK
6060 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
6061 -moz-image-region: rect(0, 72px, 18px, 54px);
6062}
6063
93c91f62
RK
6064#context-forward:not([disabled="true"]):hover > .menu-iconic-left {
6065 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-active"); */
fff8097b
RK
6066 -moz-image-region: rect(18px, 72px, 36px, 54px);
6067}
6068
93c91f62
RK
6069#context-forward[disabled="true"] > .menu-iconic-left {
6070 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-disabled"); */
fff8097b
RK
6071 -moz-image-region: rect(36px, 72px, 54px, 54px);
6072}
6073
93c91f62
RK
6074#context-reload > .menu-iconic-left {
6075 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload"); */
52d7b436 6076 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
fff8097b
RK
6077 -moz-image-region: rect(0, 14px, 14px, 0);
6078}
6079
93c91f62
RK
6080#context-reload:not([disabled="true"]):hover > .menu-iconic-left {
6081 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-active"); */
fff8097b
RK
6082 -moz-image-region: rect(14px, 14px, 28px, 0);
6083}
6084
93c91f62
RK
6085#context-reload[disabled="true"] > .menu-iconic-left {
6086 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-disabled"); */
fff8097b
RK
6087 -moz-image-region: rect(28px, 14px, 42px, 0);
6088}
6089
93c91f62
RK
6090#context-stop > .menu-iconic-left {
6091 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop"); */
52d7b436 6092 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
fff8097b
RK
6093 -moz-image-region: rect(0, 28px, 14px, 14px);
6094}
6095
93c91f62
RK
6096#context-stop:not([disabled="true"]):hover > .menu-iconic-left {
6097 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-active"); */
fff8097b
RK
6098 -moz-image-region: rect(14px, 28px, 28px, 14px);
6099}
6100
93c91f62
RK
6101#context-stop[disabled="true"] > .menu-iconic-left {
6102 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-disabled"); */
fff8097b
RK
6103 -moz-image-region: rect(28px, 28px, 42px, 14px);
6104}
6105
93c91f62
RK
6106#context-bookmarkpage > .menu-iconic-left {
6107 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark"); */
fff8097b
RK
6108 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
6109 -moz-image-region: rect(0, 144px, 18px, 126px);
6110}
6111
93c91f62
RK
6112#context-bookmarkpage:not([disabled="true"]):hover > .menu-iconic-left {
6113 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-active"); */
fff8097b
RK
6114 -moz-image-region: rect(18px, 144px, 36px, 126px);
6115}
6116
93c91f62
RK
6117#context-bookmarkpage[disabled="true"] > .menu-iconic-left {
6118 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-disabled"); */
fff8097b
RK
6119 -moz-image-region: rect(36px, 144px, 54px, 126px);
6120}
6121
2e389898
RK
6122#context-bookmarkpage[starred=true] {
6123 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmarked"); */
6124 -moz-image-region: rect(0px, 162px, 18px, 144px);
6125}
6126
6127#context-bookmarkpage[starred=true][_moz-menuactive=true] {
6128 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmarked-active"); */
6129 -moz-image-region: rect(18px, 162px, 36px, 144px);
6130}
6131
6132#context-bookmarkpage[starred=true][disabled=true] {
6133 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmarked-disabled"); */
6134 -moz-image-region: rect(36px, 162px, 54px, 144px);
6135}
6136
fff8097b
RK
6137#context-back:-moz-locale-dir(rtl),
6138#context-forward:-moz-locale-dir(rtl),
6139#context-reload:-moz-locale-dir(rtl) {
6140 transform: scaleX(-1);
6141}
6142
6143#context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
93c91f62
RK
6144 width: 18px; /*16px;*/
6145 height: 18px; /*16px;*/
fff8097b
RK
6146 margin: 7px;
6147}
6148
6149#context-navigation > #context-reload > .menu-iconic-left > .menu-iconic-icon,
6150#context-navigation > #context-stop > .menu-iconic-left > .menu-iconic-icon {
6151 width: 14px;
6152 height: 14px;
6153 margin: 9px;
6154}
6155
20752032
RK
6156#context-media-eme-learnmore {
6157 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
6158}
6159
e184b661
RK
6160#context-media-eme-learnmore {
6161 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
6162}
6163
fff8097b 6164/* === END contextmenu.inc.css === */
3d64e0ce
RK
6165
6166#context-navigation {
6167}
6168
6169#context-sep-navigation {
6170/* margin-top: -4px; */
6171}
b1dfcf32 6172
fa703ff4 6173.browser-extension-panel > .panel-arrowcontainer > .panel-arrowcontent {
b1dfcf32 6174 padding: 0;
fa703ff4 6175 overflow: hidden;
b1dfcf32 6176}
d7b7f7e1
RK
6177
6178/* === BEGIN usercontext.inc.css === */
6179
6180/* User Context UI browser styles */
6181
6182#menu_newUserContextTabPersonal {
6183 list-style-image: url("chrome://browser/skin/usercontext/personal.svg");
6184}
6185
6186#menu_newUserContextTabWork {
6187 list-style-image: url("chrome://browser/skin/usercontext/work.svg");
6188}
6189
6190#menu_newUserContextTabBanking {
6191 list-style-image: url("chrome://browser/skin/usercontext/banking.svg");
6192}
6193
6194#menu_newUserContextTabShopping {
6195 list-style-image: url("chrome://browser/skin/usercontext/shopping.svg");
6196}
6197
6198/* URL Bar Decoration */
6199
6200#userContext-indicator {
6201 height: 16px;
6202 width: 16px;
6203}
6204
6205#userContext-label {
6206 margin-inline-end: 3px;
6207 color: #A09090;
6208}
6209
6210#userContext-icons:not([usercontextid]) {
6211 display: none;
6212}
6213
6214#userContext-icons {
6215 -moz-box-align: center;
6216}
6217
6218/* Personal User Context */
6219#userContext-icons[usercontextid="1"] > #userContext-label {
6220 color: #9C9CFF;
6221}
6222#userContext-icons[usercontextid="1"] > #userContext-indicator {
6223 list-style-image: url("chrome://browser/skin/usercontext/personal.svg");
6224}
6225
6226/* Work User Context */
6227#userContext-icons[usercontextid="2"] > #userContext-label {
6228 color: #FF9F00;
6229}
6230#userContext-icons[usercontextid="2"] > #userContext-indicator {
6231 list-style-image: url("chrome://browser/skin/usercontext/work.svg");
6232}
6233
6234/* Banking User Context */
6235#userContext-icons[usercontextid="3"] > #userContext-label {
6236 color: #008484;
6237}
6238#userContext-icons[usercontextid="3"] > #userContext-indicator {
6239 list-style-image: url("chrome://browser/skin/usercontext/banking.svg");
6240}
6241
6242/* Shopping User Context */
6243#userContext-icons[usercontextid="4"] > #userContext-label {
6244 color: #E7ADE7;
6245}
6246#userContext-icons[usercontextid="4"] > #userContext-indicator {
6247 list-style-image: url("chrome://browser/skin/usercontext/shopping.svg");
6248}
6249
6250/* === END usercontext.inc.css === */