update LCARStrek to 2.0a1, step 2
[themes.git] / LCARStrek / global / scrollbars.css
index 01a564d55a481957e021c69b422575f9520cce3e..f7d8bd6df5ee63cfd1e3976648770eab6f04275c 100644 (file)
  *
  * ***** END LICENSE BLOCK ***** */
 
-@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
-
 /* ===== scrollbars.css =================================================
   == Styles used by XUL scrollbar-related elements.
   ======================================================================= */
 
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
+
 /* ::::: scrollbar ::::: */
 
 scrollbar {
@@ -105,9 +105,25 @@ thumb[orient="horizontal"][disabled="true"] {
 scrollbarbutton {
 }
 
-scrollbarbutton:hover:active {
+scrollbarbutton:hover:active,
+scrollbarbutton[active="true"] {
   padding: 2px 0px 0px 2px;
-}   
+}
+
+/* XXX - scrollbar.xml always grabs the OS settings and we don't want that */
+scrollbarbutton[sbattr="scrollbar-up-bottom"],
+scrollbarbutton[sbattr="scrollbar-down-top"] {
+  display: none;
+}
+
+/* ::::: square at the corner of two scrollbars ::::: */
+
+scrollcorner {
+  -moz-binding: url("chrome://global/content/bindings/scrollbar.xml#scrollbar-base");
+  cursor: default;
+  background-color: #000000;
+  width: 13px;
+}
 
 /* ..... increment .... */
 
@@ -178,7 +194,7 @@ scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"][disabled="true"
     background: url("chrome://global/skin/scrollbar/slider.gif") scrollbar;
   }
 
-  html|div scrollbar[orient="vertical"] 
+  html|div scrollbar[orient="vertical"]
   {
      -moz-appearance: scrollbartrack-vertical;
   }
@@ -207,14 +223,6 @@ scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"][disabled="true"
     min-width: 8px;
   }
 
-  html|div thumb > gripper {
-    -moz-appearance: scrollbargripper-vertical;
-  }
-
-  html|div thumb[orient="horizontal"] > gripper {
-    -moz-appearance: scrollbargripper-horizontal;
-  }
-
   /* ::::: scrollbar button ::::: */
 
   html|div scrollbarbutton {
@@ -223,7 +231,8 @@ scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"][disabled="true"
     min-height: 16px;
   }
 
-  html|div scrollbarbutton:hover:active {
+  html|div scrollbarbutton:hover:active,
+  html|div scrollbarbutton[active="true"] {
     -moz-border-top-colors: ThreeDShadow -moz-Dialog;
     -moz-border-right-colors: ThreeDShadow -moz-Dialog;
     -moz-border-bottom-colors: ThreeDShadow -moz-Dialog;
@@ -255,4 +264,4 @@ scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"][disabled="true"
      background-image: url("chrome://global/skin/arrow/arrow-up.gif")
   }
 
-}
\ No newline at end of file
+}