projects
/
themes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
number boxes with hidden spinboxes have no riught border
[themes.git]
/
EarlyBlue
/
global
/
scrollbars.css
diff --git
a/EarlyBlue/global/scrollbars.css
b/EarlyBlue/global/scrollbars.css
index de2528739f9c96fd5799752423ab962b0175c6e3..706410fb5aa8fc6cf622733933c9ab287c4f6a12 100644
(file)
--- a/
EarlyBlue/global/scrollbars.css
+++ b/
EarlyBlue/global/scrollbars.css
@@
-35,13
+35,13
@@
*
* ***** END LICENSE BLOCK ***** */
*
* ***** 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.
======================================================================= */
/* ===== 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 {
/* ::::: scrollbar ::::: */
scrollbar {
@@
-98,15
+98,25
@@
thumb[orient="horizontal"][disabled="true"] {
scrollbarbutton {
}
scrollbarbutton {
}
-scrollbarbutton:hover:active {
+scrollbarbutton:hover:active,
+scrollbarbutton[active="true"] {
border-style: inset;
padding: 2px 0px 0px 2px;
border-style: inset;
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 {
/* ::::: square at the corner of two scrollbars ::::: */
scrollcorner {
+ -moz-binding: url("chrome://global/content/bindings/scrollbar.xml#scrollbar-base");
+ cursor: default;
background-color: #999999;
background-color: #999999;
+ width: 13px;
}
/* ..... increment .... */
}
/* ..... increment .... */
@@
-117,7
+127,7
@@
scrollbarbutton[type="increment"] {
scrollbarbutton[type="increment"][disabled="true"] {
scrollbarbutton[type="increment"][disabled="true"] {
- background-image: url("chrome://global/skin/scrollbar/button-right-disabled.gif")
+ background-image: url("chrome://global/skin/scrollbar/button-right-disabled.gif")
}
scrollbar[orient="vertical"] > scrollbarbutton[type="increment"] {
}
scrollbar[orient="vertical"] > scrollbarbutton[type="increment"] {
@@
-135,7
+145,7
@@
scrollbarbutton[type="decrement"] {
}
scrollbarbutton[type="decrement"][disabled="true"] {
}
scrollbarbutton[type="decrement"][disabled="true"] {
- background-image: url("chrome://global/skin/scrollbar/button-left-disabled.gif")
+ background-image: url("chrome://global/skin/scrollbar/button-left-disabled.gif")
}
scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] {
}
scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] {
@@
-159,7
+169,7
@@
scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"][disabled="true"
background: url("chrome://global/skin/scrollbar/slider.gif") scrollbar;
}
background: url("chrome://global/skin/scrollbar/slider.gif") scrollbar;
}
- html|div scrollbar[orient="vertical"]
+ html|div scrollbar[orient="vertical"]
{
-moz-appearance: scrollbartrack-vertical;
}
{
-moz-appearance: scrollbartrack-vertical;
}
@@
-188,18
+198,11
@@
scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"][disabled="true"
min-width: 8px;
}
min-width: 8px;
}
- html|div thumb > gripper {
- -moz-appearance: scrollbargripper-vertical;
- }
-
- html|div thumb[orient="horizontal"] > gripper {
- -moz-appearance: scrollbargripper-horizontal;
- }
-
/* ::::: scrollbar button ::::: */
/* ::::: 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;
}
min-width: 16px;
min-height: 16px;
}
@@
-209,7
+212,7
@@
scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"][disabled="true"
-moz-border-right-colors: ThreeDShadow -moz-Dialog;
-moz-border-bottom-colors: ThreeDShadow -moz-Dialog;
-moz-border-left-colors: ThreeDShadow -moz-Dialog;
-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 .... */
}
/* ..... increment .... */