From 7eefbb611dc9beb08597668fdea6bb3ddf7c02a5 Mon Sep 17 00:00:00 2001 From: "hyatt%netscape.com" Date: Sun, 5 Dec 1999 05:14:48 +0000 Subject: [PATCH] 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 --- mozilla/xpfe/global/resources/skin/global.css | 133 ------------------ mozilla/xpfe/global/resources/skin/xul.css | 129 +++++++++++++++++ 2 files changed, 129 insertions(+), 133 deletions(-) diff --git a/mozilla/xpfe/global/resources/skin/global.css b/mozilla/xpfe/global/resources/skin/global.css index 0c1c02727f7..c9d71a08ab4 100644 --- a/mozilla/xpfe/global/resources/skin/global.css +++ b/mozilla/xpfe/global/resources/skin/global.css @@ -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 **********************************/ diff --git a/mozilla/xpfe/global/resources/skin/xul.css b/mozilla/xpfe/global/resources/skin/xul.css index d0a92621fec..23496800a37 100644 --- a/mozilla/xpfe/global/resources/skin/xul.css +++ b/mozilla/xpfe/global/resources/skin/xul.css @@ -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; }