bug 361096 - sanitize [w|p]instripe help.css, first-r=mano second-r=Neil

This commit is contained in:
kairo%kairo.at 2006-12-29 16:09:47 +00:00
parent fed6e8613b
commit 74a3726e97
2 changed files with 13 additions and 20 deletions

View File

@ -37,23 +37,23 @@
@import url("chrome://global/skin/");
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
toolbar#HelpToolbar{
#HelpToolbar {
-moz-padding-start: 5px;
}
toolbar#HelpToolbar toolbarbutton {
#HelpToolbar toolbarbutton {
min-width: 0px;
list-style-image: url("chrome://help/skin/Toolbar.png");
-moz-box-orient: horizontal !important;
}
toolbar#HelpToolbar toolbarbutton[type="menu-button"] {
#HelpToolbar toolbarbutton[type="menu-button"] {
margin: 0px;
padding: 0px;
}
/* this element contains the icon and the label */
toolbar#HelpToolbar .toolbarbutton-menubutton-button {
#HelpToolbar .toolbarbutton-menubutton-button {
margin: 0px !important;
padding: 0px !important;
border: 0px !important;
@ -62,7 +62,7 @@ toolbar#HelpToolbar .toolbarbutton-menubutton-button {
/* Hide labels for the toolbar because we really don't need them what with the
tooltips */
toolbar#HelpToolbar .toolbarbutton-text{
#HelpToolbar .toolbarbutton-text {
display: none;
}
@ -72,32 +72,25 @@ toolbar#HelpToolbar .toolbarbutton-text{
#help-back-button { -moz-image-region: rect(0px 24px 24px 0px); }
#help-back-button:not([disabled="true"]):hover { -moz-image-region: rect(24px 24px 48px 0px); }
#help-back-button[disabled="true"] { -moz-image-region: rect(48px 24px 72px 0px); }
#help-back-button:not([disabled="true"]):active { -moz-image-region: rect(72px 24px 96px 0px); }
#help-back-button:not([disabled="true"]):hover:active { -moz-image-region: rect(72px 24px 96px 0px); }
#help-forward-button { -moz-image-region: rect(0px 48px 24px 24px); }
#help-forward-button:not([disabled="true"]):hover { -moz-image-region: rect(24px 48px 48px 24px); }
#help-forward-button[disabled="true"] { -moz-image-region: rect(48px 48px 72px 24px); }
#help-forward-button:not([disabled="true"]):active { -moz-image-region: rect(72px 48px 96px 24px); }
#help-forward-button:not([disabled="true"]):hover:active { -moz-image-region: rect(72px 48px 96px 24px); }
#help-home-button { -moz-image-region: rect(0px 72px 24px 48px); }
#help-home-button:not([disabled="true"]):hover { -moz-image-region: rect(24px 72px 48px 48px); }
#help-home-button[disabled="true"] { -moz-image-region: rect(48px 72px 72px 48px); }
#help-home-button:not([disabled="true"]):active { -moz-image-region: rect(72px 72px 96px 48px); }
#help-home-button:not([disabled="true"]):hover:active { -moz-image-region: rect(72px 72px 96px 48px); }
#help-print-button { -moz-image-region: rect(0px 96px 24px 72px); }
#help-print-button:not([disabled="true"]):hover { -moz-image-region: rect(24px 96px 48px 72px); }
#help-print-button[disabled="true"] { -moz-image-region: rect(48px 96px 72px 72px); }
#help-print-button:not([disabled="true"]):active { -moz-image-region: rect(72px 96px 96px 72px); }
#help-print-button:not([disabled="true"]):hover:active { -moz-image-region: rect(72px 96px 96px 72px); }
/* Style the back/forward dropmarks to connect them to the buttons */
/* affects where the dropmark will appear */
toolbar#HelpToolbar .toolbarbutton-menubutton-stack {
margin: 0px !important;
padding: 0px;
-moz-box-orient: horizontal;
}
/* Style the back dropmark */
#help-back-button .toolbarbutton-menubutton-dropmarker {

View File

@ -37,7 +37,7 @@
@import url("chrome://global/skin/");
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
toolbar toolbarbutton {
#HelpToolbar toolbarbutton {
-moz-box-orient: horizontal !important;
min-width: 0px;
list-style-image: url("chrome://help/skin/Toolbar.png");
@ -45,7 +45,7 @@ toolbar toolbarbutton {
padding: 4px 5px;
}
toolbar[chromedir="rtl"] toolbarbutton {
#HelpToolbar[chromedir="rtl"] toolbarbutton {
list-style-image: url("chrome://help/skin/Toolbar-rtl.png");
}
@ -100,7 +100,7 @@ toolbar[chromedir="rtl"] toolbarbutton {
-moz-image-region: rect(48px 48px 72px 24px);
}
#help-forward-button:not([disabled="true"]):active {
#help-forward-button:not([disabled="true"]):hover:active {
-moz-image-region: rect(72px 48px 96px 24px);
}
@ -143,5 +143,5 @@ toolbar[chromedir="rtl"] toolbarbutton {
/* ----- OTHER ----- */
#context-copy[disabled="true"] {
visibility: collapse;
display: none;
}