зеркало из https://github.com/mozilla/pjs.git
bug 271974, disabled scrollbars should look disabled; toolkit port; r=mconnor
patch by Martijn Wargers <martijn.martijn@gmail.com>
This commit is contained in:
Родитель
d42dd7b727
Коммит
41c870f1a3
|
@ -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")
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче