first (largest) part of sync for both themes with toolkit windows theme changes in...
[themes.git] / LCARStrek / global / scrollbars.css
index f85dd362b4c649b92451ca192fe8f3d1fa6bf9de..bc13c34db8df8bdd2eb3e102f587ee961aa716ea 100644 (file)
@@ -19,12 +19,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;
@@ -119,6 +119,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 ::::: */
 
@@ -134,13 +138,13 @@ scrollcorner {
 scrollbarbutton[type="increment"] {
   background-image: url("chrome://global/skin/scrollbar/arrow-right.png");
   border-radius: 0 300px 300px 0;
-  -moz-border-start: 3px solid #000000;
+  border-inline-start: 3px solid #000000;
 }
 
 scrollbar[orient="vertical"] > scrollbarbutton[type="increment"] {
   background-image: url("chrome://global/skin/scrollbar/arrow-down.png");
   border-radius: 0 0 300px 300px;
-  -moz-border-start: none;
+  border-inline-start: none;
   border-top: 3px solid #000000;
 }
 
@@ -149,13 +153,13 @@ scrollbar[orient="vertical"] > scrollbarbutton[type="increment"] {
 scrollbarbutton[type="decrement"] {
   background-image: url("chrome://global/skin/scrollbar/arrow-left.png");
   border-radius: 300px 0 0 300px;
-  -moz-border-end: 3px solid #000000;
+  border-inline-end: 3px solid #000000;
 }
 
 scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] {
   background-image: url("chrome://global/skin/scrollbar/arrow-up.png");
   border-radius: 300px 300px 0 0;
-  -moz-border-end: none;
+  border-inline-end: none;
   border-bottom: 3px solid #000000;
 }