Shifting scrollbar rules around so that they are loaded always and not just

a part of the global skin.


git-svn-id: svn://10.0.0.236/trunk@55338 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
hyatt%netscape.com
1999-12-05 05:14:48 +00:00
parent e2ffa1474b
commit 7eefbb611d
2 changed files with 129 additions and 133 deletions

View File

@@ -1108,139 +1108,6 @@ tab[selected="true"] {
font-weight: bold;
}
/********* XP Scrollbar *********/
thumb {
background-color: #CCCCCC;
border: 1px outset white;
list-style-image: url("chrome://global/skin/scroll-thumb-horiz.gif")
}
/*
pinkerton - workaround. removed until bug 15722 can be fixed.
thumb:hover {
list-style-image: url(chrome://global/skin/scroll-thumb-horiz-hover.gif);
}
*/
thumb[disabled="true"] {
list-style-image: url("chrome://global/skin/scroll-thumb-horiz-disabled.gif");
}
slider[align="vertical"] thumb {
list-style-image: url("chrome://global/skin/scroll-thumb-vert.gif")
}
/*
pinkerton - workaround. removed until bug 15722 can be fixed.
slider[align="vertical"] thumb:hover {
list-style-image: url(chrome://global/skin/scroll-thumb-vert-hover.gif);
}
*/
slider[align="vertical"] thumb[disabled="true"] {
list-style-image: url("chrome://global/skin/scroll-thumb-vert-disabled.gif");
}
thumb:active {
background-color: #CCCCCC;
}
slider[align="vertical"] thumb:active {
background-color: #CCCCCC;
}
slider {
background-color: #999999;
}
scrollbarbutton {
vertical-align: bottom;
cursor: default;
border: 1px outset white;
background-color: #CCCCCC;
color:black;
padding: 1px;
}
scrollbarbutton:active {
border-style: inset;
padding-left: 2px;
padding-right: 0px;
padding-top: 2px;
padding-bottom: 0px;
}
scrollbarbutton[type="decrement"] {
list-style-image: url("chrome://global/skin/scroll-left.gif")
}
/*
pinkerton - workaround. removed until bug 15722 can be fixed.
scrollbarbutton[type="decrement"]:hover {
list-style-image: url(chrome://global/skin/scroll-left-hover.gif)
}
*/
scrollbarbutton[type="decrement"][disabled="true"] {
list-style-image: url("chrome://global/skin/scroll-left-disabled.gif")
}
scrollbarbutton[type="increment"] {
list-style-image: url("chrome://global/skin/scroll-right.gif")
}
/*
pinkerton - workaround. removed until bug 15722 can be fixed.
scrollbarbutton[type="increment"]:hover {
list-style-image: url(chrome://global/skin/scroll-right-hover.gif)
}
*/
scrollbarbutton[type="increment"][disabled="true"] {
list-style-image: url("chrome://global/skin/scroll-right-disabled.gif")
}
scrollbar[align="vertical"] scrollbarbutton[type="decrement"] {
list-style-image: url("chrome://global/skin/scroll-up.gif")
}
/*
pinkerton - workaround. removed until bug 15722 can be fixed.
scrollbar[align="vertical"] scrollbarbutton[type="decrement"]:hover {
list-style-image: url(chrome://global/skin/scroll-up-hover.gif)
}
*/
scrollbar[align="vertical"] scrollbarbutton[type="decrement"][disabled="true"] {
list-style-image: url("chrome://global/skin/scroll-up-disabled.gif")
}
scrollbar[align="vertical"] scrollbarbutton[type="increment"] {
list-style-image: url("chrome://global/skin/scroll-down.gif")
}
/*
pinkerton - workaround. removed until bug 15722 can be fixed.
scrollbar[align="vertical"] scrollbarbutton[type="increment"]:hover {
list-style-image: url(chrome://global/skin/scroll-down-hover.gif)
}
*/
scrollbar[align="vertical"] scrollbarbutton[type="increment"][disabled="true"] {
list-style-image: url("chrome://global/skin/scroll-down-disabled.gif")
}
/**********************************
* HTML components in the window tag
**********************************/

View File

@@ -230,6 +230,135 @@ scrollbar[value="hidden"] {
visibility: hidden;
}
/********* XP Scrollbar *********/
thumb {
background-color: #CCCCCC;
border: 1px outset white;
list-style-image: url("chrome://global/skin/scroll-thumb-horiz.gif")
}
/*
pinkerton - workaround. removed until bug 15722 can be fixed.
thumb:hover {
list-style-image: url(chrome://global/skin/scroll-thumb-horiz-hover.gif);
}
*/
thumb[disabled="true"] {
list-style-image: url("chrome://global/skin/scroll-thumb-horiz-disabled.gif");
}
slider[align="vertical"] thumb {
list-style-image: url("chrome://global/skin/scroll-thumb-vert.gif")
}
/*
pinkerton - workaround. removed until bug 15722 can be fixed.
slider[align="vertical"] thumb:hover {
list-style-image: url(chrome://global/skin/scroll-thumb-vert-hover.gif);
}
*/
slider[align="vertical"] thumb[disabled="true"] {
list-style-image: url("chrome://global/skin/scroll-thumb-vert-disabled.gif");
}
thumb:active {
background-color: #CCCCCC;
}
slider[align="vertical"] thumb:active {
background-color: #CCCCCC;
}
slider {
background-color: #999999;
}
scrollbarbutton {
vertical-align: bottom;
cursor: default;
border: 1px outset white;
background-color: #CCCCCC;
color:black;
padding: 1px;
}
scrollbarbutton:active {
border-style: inset;
padding-left: 2px;
padding-right: 0px;
padding-top: 2px;
padding-bottom: 0px;
}
scrollbarbutton[type="decrement"] {
list-style-image: url("chrome://global/skin/scroll-left.gif")
}
/*
pinkerton - workaround. removed until bug 15722 can be fixed.
scrollbarbutton[type="decrement"]:hover {
list-style-image: url(chrome://global/skin/scroll-left-hover.gif)
}
*/
scrollbarbutton[type="decrement"][disabled="true"] {
list-style-image: url("chrome://global/skin/scroll-left-disabled.gif")
}
scrollbarbutton[type="increment"] {
list-style-image: url("chrome://global/skin/scroll-right.gif")
}
/*
pinkerton - workaround. removed until bug 15722 can be fixed.
scrollbarbutton[type="increment"]:hover {
list-style-image: url(chrome://global/skin/scroll-right-hover.gif)
}
*/
scrollbarbutton[type="increment"][disabled="true"] {
list-style-image: url("chrome://global/skin/scroll-right-disabled.gif")
}
scrollbar[align="vertical"] scrollbarbutton[type="decrement"] {
list-style-image: url("chrome://global/skin/scroll-up.gif")
}
/*
pinkerton - workaround. removed until bug 15722 can be fixed.
scrollbar[align="vertical"] scrollbarbutton[type="decrement"]:hover {
list-style-image: url(chrome://global/skin/scroll-up-hover.gif)
}
*/
scrollbar[align="vertical"] scrollbarbutton[type="decrement"][disabled="true"] {
list-style-image: url("chrome://global/skin/scroll-up-disabled.gif")
}
scrollbar[align="vertical"] scrollbarbutton[type="increment"] {
list-style-image: url("chrome://global/skin/scroll-down.gif")
}
/*
pinkerton - workaround. removed until bug 15722 can be fixed.
scrollbar[align="vertical"] scrollbarbutton[type="increment"]:hover {
list-style-image: url(chrome://global/skin/scroll-down-hover.gif)
}
*/
scrollbar[align="vertical"] scrollbarbutton[type="increment"][disabled="true"] {
list-style-image: url("chrome://global/skin/scroll-down-disabled.gif")
}
splitter {
display: block;
}