diff --git a/themes/classic/global/mac/button.css b/themes/classic/global/mac/button.css index 4ec3e9e30ed..a3ae6176540 100644 --- a/themes/classic/global/mac/button.css +++ b/themes/classic/global/mac/button.css @@ -26,7 +26,78 @@ padding : 0px; color : #000000; } + +/*** class=plain-extended ***/ +/****************************/ +/* This class has all the functionality of the plain class, but extends it so that it includes + * rollover styles, borders, paddings, and margins. Essentially, this class consists of the + * old, pre-Macified button styles, similar to the ones on Windows. You can use this class if + * you want to make standard square buttons that do not look like Mac Buttons with rounded corners, etc. + ****************************/ + + button.plain-extended + { + behavior : url("chrome://global/skin/buttonBindings.xml#buttonleft"); + border-left : 1px solid #DDDDDD; + border-top : 1px solid #DDDDDD; + border-right : 1px solid #000000; + border-bottom : 1px solid #000000; + margin : 1px 5px 2px 5px; + background-color : #DDDDDD; + min-width : 8em; + font : geneva 10px; + color : #000000; + -moz-border-radius : 3px 2px 2px 3px; + } + + button.plain-extended > .button-box-1 + { + border-left : 1px solid #FFFFFF; + border-top : 1px solid #FFFFFF; + border-right : 1px solid #9D9D9D; + border-bottom : 1px solid #9D9D9D; + } + + button.plain-extended > .button-box-1 > .button-box-2 + { + border : 1px solid #DDDDDD; + } + button.plain-extended:hover:active + { + border : 1px solid #000000; + } + + button.plain-extended:hover:active > .button-box-1 + { + border : 1px solid #9D9D9D; + } + + button.plain-extended:hover:active > .button-box-1 > .button-box-2 + { + border : 1px solid #DDDDDD; + } + + button.plain-extended:hover:active > .button-box-1 > .button-box-2 > .button-box-text + { + padding : 1px 2px 0px 3px; + color : #000000; + } + + button.plain-extended[disabled="true"], + button.plain-extended[disabled="true"]:hover:active + { + color : #999999; + } + + button.plain-extended > .button-box-1 > .button-box-2 > .button-box-text, + button.plain-extended > .button-box-1 > .button-box-2 > .button-box-text + { + padding : 0px 3px 1px 2px; + } + + + /** Mac Buttons **/ /** All .button-* styles also apply to dialog exit buttons (OK/Cancel) (as seen in XBL binding) **/ diff --git a/themes/classic/global/unix/button.css b/themes/classic/global/unix/button.css index b8ad1795a65..960661261c2 100644 --- a/themes/classic/global/unix/button.css +++ b/themes/classic/global/unix/button.css @@ -124,5 +124,17 @@ margin : 0px; padding : 0px; } + +/*** class = "plain-extended" ***/ +/********************************/ +/* This is a dummy class that is specified in the several XUL files for the sake of the + * Macintosh Classic Skin. This class has essentially the same behavior and styles as + * the above