sync both themes with toolkit windows theme changes in Mozilla 25 cycle
[themes.git] / EarlyBlue / global / scrollbars.css
index 0abbcb351310cf01e412e838c5502d70c6bb376c..c645af5ee36710059c18aecb20be8de27ff655ec 100644 (file)
@@ -15,6 +15,19 @@ scrollbar {
   -moz-binding: url("chrome://global/content/bindings/scrollbar.xml#scrollbar");
   cursor: default;
   background-color: #999999;
+  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:not([active="true"]),
+  scrollbar[disabled="true"] {
+    visibility: hidden;
+  }
 }
 
 /* ::::: slider ::::: */