first (largest) part of sync for both themes with toolkit windows theme changes in...
[themes.git] / LCARStrek / global / scrollbars.css
index 14742e78baa80672e2f1bd54bce848214a0681de..bc13c34db8df8bdd2eb3e102f587ee961aa716ea 100644 (file)
@@ -16,6 +16,19 @@ scrollbar {
   cursor: default;
   background-color: #000000;
   border-radius: 50%;
+  pointer-events: auto;
+}
+
+@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;
+  }
 }
 
 /* ::::: slider ::::: */
@@ -106,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 ::::: */
 
@@ -121,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;
 }
 
@@ -136,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;
 }