Bug 970079 - Native theming for MacOS X help buttons, css part. r=dao.

This commit is contained in:
stefanh@inbox.com 2014-02-27 18:12:20 +01:00
parent 0d496326a6
commit ac0256733a
4 changed files with 3 additions and 34 deletions

View File

@ -64,36 +64,6 @@ button.plain {
/* ::::: help button ::::: */
button[dlgtype="help"] {
min-width: 1px;
padding: 0;
-moz-appearance: none;
-moz-box-align: start;
height: 24px;
width: 24px;
margin: 3px 4px;
}
button[dlgtype="help"][disabled] {
opacity: 0.5;
}
button[dlgtype="help"]:-moz-focusring {
outline: 2px solid -moz-mac-focusring;
outline-offset: -2px;
-moz-outline-radius: 10000px;
}
button[dlgtype="help"] > .button-box > .button-icon {
list-style-image: url("chrome://global/skin/icons/question-mark.png");
-moz-image-region: rect(0 24px 24px 0);
padding: 0;
margin: 0;
}
button[dlgtype="help"]:active > .button-box > .button-icon {
-moz-image-region: rect(0 48px 24px 24px);
}
button[dlgtype="help"] > .button-box > .button-text {
display: none;
-moz-appearance: -moz-mac-help-button;
width: 20px;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -114,7 +114,6 @@ toolkit.jar:
skin/classic/global/icons/panebutton-active.png (icons/panebutton-active.png)
skin/classic/global/icons/panebutton-inactive.png (icons/panebutton-inactive.png)
skin/classic/global/icons/panel-dropmarker.png (icons/panel-dropmarker.png)
skin/classic/global/icons/question-mark.png (icons/question-mark.png)
skin/classic/global/icons/resizer.png (icons/resizer.png)
skin/classic/global/icons/resizer@2x.png (icons/resizer@2x.png)
skin/classic/global/icons/resizer-rtl.png (icons/resizer-rtl.png)

View File

@ -18,7 +18,7 @@ prefwindow[type="child"] > prefpane {
}
.prefWindow-dlgbuttons {
margin: 0 12px 8px;
margin: 0 12px 12px;
padding-top: 0 !important;
}