Bug 257280 - Replace [buttondown] and [buttonover] rules with the appropriate combo of :hover/:active in Help Viewer CSS. Patch by gautheri@noos.fr, r=me

This commit is contained in:
jwalden%mit.edu 2005-01-28 16:27:51 +00:00
Родитель 80850f26c5
Коммит 11f326bc98
3 изменённых файлов: 9 добавлений и 9 удалений

Просмотреть файл

@ -78,11 +78,11 @@ menubutton:not([disabled="true"]):hover:active {
}
#help-back-button { -moz-image-region: rect(0px 32px 32px 0px); }
#help-back-button[buttondown="true"] { -moz-image-region: rect(32px 32px 64px 0px); }
#help-back-button:hover:active { -moz-image-region: rect(32px 32px 64px 0px); }
#help-back-button[disabled="true"] { -moz-image-region: rect(64px 32px 96px 0px); }
#help-forward-button { -moz-image-region: rect(0px 64px 32px 32px); }
#help-forward-button[buttondown="true"] { -moz-image-region: rect(32px 64px 64px 32px); }
#help-forward-button:hover:active { -moz-image-region: rect(32px 64px 64px 32px); }
#help-forward-button[disabled="true"] { -moz-image-region: rect(64px 64px 96px 32px); }
#help-home-button { -moz-image-region: rect(0px 160px 32px 128px); }
@ -107,7 +107,7 @@ menubutton:not([disabled="true"]):hover:active {
/** Toolbar Customization stuff **/
toolbar[mode="icons"] > toolbarbutton > .toolbarbutton-icon,
toolbar[mode="text"] > toolbarbutton > .toolbarbutton-text
toolbar[mode="text"] > toolbarbutton > .toolbarbutton-text,
toolbar[mode="icons"] > toolbarbutton[type="menu-button"] > .toolbarbutton-icon,
toolbar[mode="text"] > toolbarbutton[type="menu-button"] > .toolbarbutton-text {
display: -moz-box;

Просмотреть файл

@ -63,11 +63,11 @@ menubutton:not([disabled="true"]):hover:active {
# All toolbar button images are 30x30 for the Help Viewer.
#
#help-back-button { -moz-image-region: rect(0px 30px 30px 0px); }
#help-back-button[buttonover="true"] { -moz-image-region: rect(30px 30px 60px 0px); }
#help-back-button:hover { -moz-image-region: rect(30px 30px 60px 0px); }
#help-back-button[disabled="true"] { -moz-image-region: rect(60px 30px 90px 0px); }
#help-forward-button { -moz-image-region: rect(0px 60px 30px 30px); }
#help-forward-button[buttonover="true"] { -moz-image-region: rect(30px 60px 60px 30px); }
#help-forward-button:hover { -moz-image-region: rect(30px 60px 60px 30px); }
#help-forward-button[disabled="true"] { -moz-image-region: rect(60px 60px 90px 30px); }
#help-find-button { -moz-image-region: rect(0px 240px 30px 210px); }
@ -89,11 +89,11 @@ menubutton:not([disabled="true"]):hover:active {
#help-zoom-small-button:hover { -moz-image-region: rect(30px 60px 60px 30px); }
#help-sidebar-button { -moz-image-region: rect(0px 90px 60px 60px); }
#help-sidebar-button { -moz-image-region: rect(30px 90px 60px 60px); }
#help-sidebar-button:hover { -moz-image-region: rect(30px 90px 60px 60px); }
# ** Toolbar Customization stuff **
toolbar[mode="icons"] > toolbarbutton > .toolbarbutton-icon,
toolbar[mode="text"] > toolbarbutton > .toolbarbutton-text
toolbar[mode="text"] > toolbarbutton > .toolbarbutton-text,
toolbar[mode="icons"] > toolbarbutton[type="menu-button"] > .toolbarbutton-icon,
toolbar[mode="text"] > toolbarbutton[type="menu-button"] > .toolbarbutton-text {
display: -moz-box;

Просмотреть файл

@ -76,11 +76,11 @@ menubutton:not([disabled="true"]):hover:active {
#helpsidebar-box { width: 200px; }
#help-back-button { -moz-image-region: rect(0px 24px 24px 0px); }
#help-back-button[buttonover="true"] { -moz-image-region: rect(24px 24px 48px 0px); }
#help-back-button:hover { -moz-image-region: rect(24px 24px 48px 0px); }
#help-back-button[disabled="true"] { -moz-image-region: rect(48px 24px 72px 0px); }
#help-forward-button { -moz-image-region: rect(0px 48px 24px 24px); }
#help-forward-button[buttonover="true"] { -moz-image-region: rect(24px 48px 48px 24px); }
#help-forward-button:hover { -moz-image-region: rect(24px 48px 48px 24px); }
#help-forward-button[disabled="true"] { -moz-image-region: rect(48px 48px 72px 24px); }
#help-find-button { -moz-image-region: rect(0px 192px 24px 168px); }