CSS Style for select wrong in tomahawk theme
--------------------------------------------

                 Key: OFBIZ-3653
                 URL: https://issues.apache.org/jira/browse/OFBIZ-3653
             Project: OFBiz
          Issue Type: Bug
          Components: themes
    Affects Versions: SVN trunk
            Reporter: Blas Rodriguez Somoza
            Priority: Minor
             Fix For: SVN trunk


The css style of select in style.css

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;
}

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.

input[type="text"],input[type="password"] {
background-color: #fffcea;
border:0.1em solid #999999;
font-size: 1.1em;
margin: 0.2em;
padding:0.4em 0;
}

The proposed css style for select is (height and margin changed, padding added)

select {
background-color: #fffcea;
border: #999999 solid 0.1em;
font-size: 1.1em;
height: 2.1em; /* force ctrl to scale with text */
margin: 0.2em; 
padding: 0.1em;
}

Attached images of IE, FF and Chrome with the existing style and the proposed 
one.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to