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