wrap the fx71 selectors in @moz-document

This commit is contained in:
MrOtherGuy 2019-10-11 14:01:55 +03:00
parent 4b1a6db6d2
commit 43deb8c783

View file

@ -20,6 +20,7 @@
} }
/* Selectors for Firefox 71+ */ /* Selectors for Firefox 71+ */
/* These are not tabs toolbar specific but horizontal scrollbox isn't used elsewhere, except in bookmarks toolbar but there it doesn't have [part] attribute since it's not in shadow-root */ /* These are not tabs toolbar specific but horizontal scrollbox isn't used elsewhere, except in bookmarks toolbar but there it doesn't have [part] attribute since it's not in shadow-root */
@-moz-document url(chrome://browser/content/browser.xhtml){
.scrollbutton-up[orient="horizontal"][part]~spacer, .scrollbutton-up[orient="horizontal"][part]~spacer,
.scrollbutton-up[orient="horizontal"][part], .scrollbutton-up[orient="horizontal"][part],
.scrollbutton-down[orient="horizontal"][part]{ display: none } .scrollbutton-down[orient="horizontal"][part]{ display: none }
@ -32,6 +33,7 @@ scrollbox[part][orient="horizontal"]{
scrollbar-color: currentColor transparent; scrollbar-color: currentColor transparent;
scrollbar-width: thin; scrollbar-width: thin;
} }
}
/* Test for Firefox > 66 */ /* Test for Firefox > 66 */
@supports (inset-block:auto){ @supports (inset-block:auto){