svn commit: r931618 - /ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/style.css

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r931618 - /ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/style.css

buscob
Author: buscob
Date: Wed Apr  7 16:49:13 2010
New Revision: 931618

URL: http://svn.apache.org/viewvc?rev=931618&view=rev
Log:
A patch from Blas Rodriguez Somoza
OFBIZ-3653 - CSS Style for select wrong in tomahawk theme
The css style of select tag in style.css uses an height which is 1.6em when the height of text input is (1.1em + 0.4em * 2 + 0.1em * 2) = 2.1 em this gives a ugly look and in IE could cut the lower part of the text.

Modified:
    ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/style.css

Modified: ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/style.css
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/style.css?rev=931618&r1=931617&r2=931618&view=diff
==============================================================================
--- ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/style.css (original)
+++ ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/style.css Wed Apr  7 16:49:13 2010
@@ -140,11 +140,11 @@ height: 1.6em; /* force ctrl to scale wi
 
 select {
 background-color: #fffcea;
-
 border: #999999 solid 0.1em;
 font-size: 1.1em;
-height: 1.6em; /* force ctrl to scale with text */
-margin: 0.1em;
+height: 2.1em; /* force ctrl to scale with text */
+margin: 0.2em;
+padding: 0.1em;
 }
 
 select[multiple="multiple"] {