From 444fe9e310598c1dd89755a80fae67674296d5b0 Mon Sep 17 00:00:00 2001 From: "gijskruitbosch%gmail.com" Date: Wed, 28 Feb 2007 16:37:57 +0000 Subject: [PATCH] Bug 371607 - XUL's minimal submit styles are missed p=surkov.alexander@gmail.com (Alexander Surkov) r=Olli.Pettay@gmail.com (Olli Pettay, Smaug) r=doronr@gmail.com (Doron Rosenberg) XForms CSS changes only. git-svn-id: svn://10.0.0.236/trunk@221074 18797224-902f-48f8-a5cc-f745e15eee43 --- .../xforms/resources/content/xforms.css | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/mozilla/extensions/xforms/resources/content/xforms.css b/mozilla/extensions/xforms/resources/content/xforms.css index d76e2618190..664a4b26f15 100755 --- a/mozilla/extensions/xforms/resources/content/xforms.css +++ b/mozilla/extensions/xforms/resources/content/xforms.css @@ -394,7 +394,8 @@ trigger[appearance="minimal"]:hover, submit[appearance="minimal"]:hover { } /* Most of the trigger[appearance="minimal"] specific CSS is copied from toolbarbutton.css */ -xul|*:root trigger[appearance="minimal"] { +xul|*:root trigger[appearance="minimal"], +xul|*:root submit[appearance="minimal"] { -moz-appearance: toolbarbutton; -moz-box-align: center; -moz-box-pack: center; @@ -405,15 +406,18 @@ xul|*:root trigger[appearance="minimal"] { color: -moz-DialogText; cursor: default; } -xul|*:root trigger[appearance="minimal"]:focus { +xul|*:root trigger[appearance="minimal"]:focus, +xul|*:root submit[appearance="minimal"]:focus { -moz-appearance: toolbarbutton; outline: 1px dotted -moz-DialogText; -moz-outline-offset: -2px; } -xul|*:root trigger[appearance="minimal"]:hover { +xul|*:root trigger[appearance="minimal"]:hover, +xul|*:root submit[appearance="minimal"]:hover { border-color: ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight; } -xul|*:root trigger[appearance="minimal"]:hover:active { +xul|*:root trigger[appearance="minimal"]:hover:active, +xul|*:root submit[appearance="minimal"]:hover:active { border-color: ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow; padding-top: 4px; padding-bottom: 2px; @@ -422,7 +426,10 @@ xul|*:root trigger[appearance="minimal"]:hover:active { } xul|*:root trigger[appearance="minimal"][disabled], xul|*:root trigger[appearance="minimal"][disabled]:hover, -xul|*:root trigger[appearance="minimal"][disabled]:hover:active { +xul|*:root trigger[appearance="minimal"][disabled]:hover:active, +xul|*:root submit[appearance="minimal"][disabled], +xul|*:root submit[appearance="minimal"][disabled]:hover, +xul|*:root submit[appearance="minimal"][disabled]:hover:active { border-color: transparent; padding: 3px; color: GrayText !important;