Bug 970079 - Native theming for MacOS X help buttons, css part. r=dao.
authorstefanh@inbox.com
Thu, 27 Feb 2014 18:12:20 +0100
changeset 171338 c483fb963fe112b54c30230a69b9b1a89a7b55b1
parent 171337 bd328470b070bdf86ed4a8ad80ee3cfba4fa3dc4
child 171339 efa6f63f06b9a9c005db190d81d3b54f57608e85
child 171431 82508f3c208869844bf1bb0861d84fd0a1b8b198
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewersdao
bugs970079
milestone30.0a1
Bug 970079 - Native theming for MacOS X help buttons, css part. r=dao.
toolkit/themes/osx/global/button.css
toolkit/themes/osx/global/icons/question-mark.png
toolkit/themes/osx/global/jar.mn
toolkit/themes/osx/global/preferences.css
--- a/toolkit/themes/osx/global/button.css
+++ b/toolkit/themes/osx/global/button.css
@@ -59,41 +59,11 @@ button[type="menu-button"] {
 button.plain {
   margin: 0 !important;
   padding: 0 !important;
 }
 
 /* ::::: 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;
+  -moz-appearance: -moz-mac-help-button;
+  width: 20px;
 }
-
-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;
-}
deleted file mode 100644
index bd7689f534d25d9ca5bcf78ee6880fa698e9906a..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
--- a/toolkit/themes/osx/global/jar.mn
+++ b/toolkit/themes/osx/global/jar.mn
@@ -109,17 +109,16 @@ toolkit.jar:
   skin/classic/global/icons/information-64.png                       (icons/information-64.png)
   skin/classic/global/icons/information-large.png                    (icons/information-large.png)
   skin/classic/global/icons/loading_16.png                           (icons/loading_16.png)
   skin/classic/global/icons/menulist-dropmarker.png                  (icons/menulist-dropmarker.png)
   skin/classic/global/icons/notfound.png                             (icons/notfound.png)
   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)
   skin/classic/global/icons/resizer-rtl@2x.png                       (icons/resizer-rtl@2x.png)
   skin/classic/global/icons/search-textbox.png                       (icons/search-textbox.png)
   skin/classic/global/icons/searchfield-regular-cancel.png           (icons/searchfield-regular-cancel.png)
   skin/classic/global/icons/searchfield-small-cancel.png             (icons/searchfield-small-cancel.png)
   skin/classic/global/icons/tabprompts-bgtexture.png                 (icons/tabprompts-bgtexture.png)
--- a/toolkit/themes/osx/global/preferences.css
+++ b/toolkit/themes/osx/global/preferences.css
@@ -13,17 +13,17 @@ prefpane {
   padding: 12px 12px 0 12px;
 }
 
 prefwindow[type="child"] > prefpane {
   padding: 0;
 }
 
 .prefWindow-dlgbuttons {
-  margin: 0 12px 8px;
+  margin: 0 12px 12px;
   padding-top: 0 !important;
 }
 
 .paneSelector {
   font: message-box;
   padding: 1px 4px;
   -moz-appearance: toolbar;
   margin: 0;