*
* ***** 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 {
scrollbarbutton {
}
-scrollbarbutton:hover:active {
+scrollbarbutton:hover:active,
+scrollbarbutton[active="true"] {
border-style: inset;
- padding: 2px 0px 0px 2px;
+ padding-top: 2px;
+ padding-bottom: 0px;
+ -moz-padding-start: 2px;
+ -moz-padding-end: 0px;
+}
+
+/* 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 ::::: */
-moz-binding: url("chrome://global/content/bindings/scrollbar.xml#scrollbar-base");
cursor: default;
background-color: #999999;
+ width: 13px;
}
/* ..... increment .... */
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 {
- background: -moz-Dialog no-repeat 0px 1px;
+ html|div scrollbarbutton,
+ html|div scrollbarbutton[active="true"] {
+ background: -moz-Dialog no-repeat 50% 50%;
min-width: 16px;
min-height: 16px;
}
-moz-border-right-colors: ThreeDShadow -moz-Dialog;
-moz-border-bottom-colors: ThreeDShadow -moz-Dialog;
-moz-border-left-colors: ThreeDShadow -moz-Dialog;
- background-position: 1px 2px;
+ background-position: 60% 60%;
}
/* ..... increment .... */