extand compat to current nightlies
[themes.git] / EarlyBlue / global / scrollbars.css
index c645af5ee36710059c18aecb20be8de27ff655ec..369c8fc7fcd46d04b3056785272b2a635a133215 100644 (file)
@@ -18,12 +18,12 @@ scrollbar {
   pointer-events: auto;
 }
 
-scrollbar[root="true"] {
-  position: relative;
-  z-index: 2147483647; /* largest positive value of a signed 32-bit integer */
-}
-
 @media all and (-moz-overlay-scrollbars) {
+  scrollbar[root="true"] {
+    position: relative;
+    z-index: 2147483647; /* largest positive value of a signed 32-bit integer */
+  }
+
   scrollbar:not([active="true"]),
   scrollbar[disabled="true"] {
     visibility: hidden;
@@ -83,8 +83,8 @@ scrollbarbutton[active="true"] {
   border-style: inset;
   padding-top: 2px;
   padding-bottom: 0px;
-  -moz-padding-start: 2px;
-  -moz-padding-end: 0px;
+  padding-inline-start: 2px;
+  padding-inline-end: 0px;
 }
 
 /* XXX - scrollbar.xml always grabs the OS settings and we don't want that */
@@ -92,6 +92,10 @@ scrollbarbutton[sbattr="scrollbar-up-bottom"],
 scrollbarbutton[sbattr="scrollbar-down-top"] {
   display: none;
 }
+scrollbarbutton[sbattr="scrollbar-up-top"],
+scrollbarbutton[sbattr="scrollbar-down-bottom"] {
+  display: -moz-box !important;
+}
 
 /* ::::: square at the corner of two scrollbars ::::: */