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