diff --git a/toolkit/content/widgets/scrollbar.xml b/toolkit/content/widgets/scrollbar.xml index 51a02ca83475..8110389ce2bc 100644 --- a/toolkit/content/widgets/scrollbar.xml +++ b/toolkit/content/widgets/scrollbar.xml @@ -10,7 +10,7 @@ - + @@ -23,14 +23,14 @@ - - diff --git a/toolkit/themes/winstripe/global/scrollbars.css b/toolkit/themes/winstripe/global/scrollbars.css index 33ccd96789ee..ea19f936fea3 100644 --- a/toolkit/themes/winstripe/global/scrollbars.css +++ b/toolkit/themes/winstripe/global/scrollbars.css @@ -105,11 +105,19 @@ scrollbarbutton[type="increment"] { background-image: url("chrome://global/skin/arrow/arrow-rit.gif") } +scrollbarbutton[type="increment"][disabled="true"] { + background-image: url("chrome://global/skin/arrow/arrow-rit-dis.gif") +} + scrollbar[orient="vertical"] > scrollbarbutton[type="increment"] { -moz-appearance: scrollbarbutton-down; background-image: url("chrome://global/skin/arrow/arrow-dn.gif") } +scrollbar[orient="vertical"] > scrollbarbutton[type="increment"][disabled="true"] { + background-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif") +} + /* ..... decrement .... */ scrollbarbutton[type="decrement"] { @@ -117,11 +125,19 @@ scrollbarbutton[type="decrement"] { background-image: url("chrome://global/skin/arrow/arrow-lft.gif") } +scrollbarbutton[type="decrement"][disabled="true"] { + background-image: url("chrome://global/skin/arrow/arrow-lft-dis.gif") +} + scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] { -moz-appearance: scrollbarbutton-up; background-image: url("chrome://global/skin/arrow/arrow-up.gif") } +scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"][disabled="true"] { + background-image: url("chrome://global/skin/arrow/arrow-up-dis.gif") +} + /* :::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ /* ::::::::::::::::::::: MEDIA PRINT :::::::::::::::::::::: */ /* :::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ @@ -195,11 +211,19 @@ scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] { background-image: url("chrome://global/skin/arrow/arrow-rit.gif") } + html|div scrollbarbutton[type="increment"][disabled="true"] { + background-image: url("chrome://global/skin/arrow/arrow-rit-dis.gif") + } + html|div scrollbar[orient="vertical"] > scrollbarbutton[type="increment"] { -moz-appearance: scrollbarbutton-down; background-image: url("chrome://global/skin/arrow/arrow-dn.gif") } + html|div scrollbar[orient="vertical"] > scrollbarbutton[type="increment"][disabled="true"] { + background-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif") + } + /* ..... decrement .... */ html|div scrollbarbutton[type="decrement"] { @@ -207,9 +231,17 @@ scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] { background-image: url("chrome://global/skin/arrow/arrow-lft.gif") } + html|div scrollbarbutton[type="decrement"][disabled="true"] { + background-image: url("chrome://global/skin/arrow/arrow-lft-dis.gif") + } + html|div scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] { -moz-appearance: scrollbarbutton-up; background-image: url("chrome://global/skin/arrow/arrow-up.gif") } + html|div scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"][disabled="true"] { + background-image: url("chrome://global/skin/arrow/arrow-up-dis.gif") + } + }