Author: jacopoc Date: Wed Jan 3 13:05:36 2007 New Revision: 492304 URL: http://svn.apache.org/viewvc?view=rev&rev=492304 Log: Better organized the smallSubmit selector.
Modified: ofbiz/trunk/framework/images/webapp/images/maincss.css Modified: ofbiz/trunk/framework/images/webapp/images/maincss.css URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/maincss.css?view=diff&rev=492304&r1=492303&r2=492304 ============================================================================== --- ofbiz/trunk/framework/images/webapp/images/maincss.css (original) +++ ofbiz/trunk/framework/images/webapp/images/maincss.css Wed Jan 3 13:05:36 2007 @@ -42,7 +42,8 @@ margin: 2px; } -INPUT[type="submit"] { +/* The "smallSubmit" class can be used to decorate links (A elements) and make them similar to form's buttons. */ +INPUT[type="submit"], .smallSubmit { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; font-weight: bold; @@ -53,7 +54,7 @@ margin: 2px; } -INPUT[type="submit"]:hover { +INPUT[type="submit"]:hover, .smallSubmit:hover { color: red; text-decoration: underline; } @@ -936,21 +937,6 @@ font-size: 8pt; } -/* - * This style can be used to decorate links (A elements) to make them similar to form's buttons. - * For this reason its style attributes should be the same as the ones of the SUBMIT selector. - */ -.smallSubmit { -font-family: Verdana, Arial, Helvetica, sans-serif; -font-size: 8pt; -font-weight: bold; -text-decoration: none; -color: #000099; -background: white; -border: #999999 solid 1px; -margin: 2px; -} - .mediumSubmit,.largeSubmit,.loginButton { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; @@ -962,7 +948,7 @@ margin: 2px; } -.smallSubmit:hover,.mediumSubmit:hover,.largeSubmit:hover,.loginButton:hover { +.mediumSubmit:hover,.largeSubmit:hover,.loginButton:hover { color: red; text-decoration: underline; }