|
Author: jleroux
Date: Thu Dec 10 14:50:54 2009 New Revision: 889279 URL: http://svn.apache.org/viewvc?rev=889279&view=rev Log: A patch from Erwan de FERRIERES "Center labels when in front of more than 1 line control" (https://issues.apache.org/jira/browse/OFBIZ-3325) - OFBIZ-3325 When a label is in front of a more than 1 line control, like a multiple select, it is staying on the botton of the cell, so this will center the label, to make it more "in front" of the control. An example can be found at this page : https://localhost:8443/ap/control/CommissionRun Modified: ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/legacy.css ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/style.css ofbiz/trunk/themes/bluelight/webapp/bluelight/style.css ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/style.css ofbiz/trunk/themes/flatgrey/webapp/flatgrey/maincss.css Modified: ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/legacy.css URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/legacy.css?rev=889279&r1=889278&r2=889279&view=diff ============================================================================== --- ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/legacy.css (original) +++ ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/legacy.css Thu Dec 10 14:50:54 2009 @@ -706,6 +706,7 @@ white-space: nowrap; width: 1%; margin:0 4px 0 0px; + vertical-align:middle; } .basic-form { Modified: ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/style.css URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/style.css?rev=889279&r1=889278&r2=889279&view=diff ============================================================================== --- ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/style.css (original) +++ ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/style.css Thu Dec 10 14:50:54 2009 @@ -121,7 +121,7 @@ ***********************************************/ table {border-collapse: collapse; border-spacing: 0; margin: 0 0 1.5em;} caption {text-align: left;} -th, td {padding: .25em .5em; color:#555;} +th, td {padding: .25em .5em; color:#555; vertical-align:middle;} tbody td, tbody th {} tfoot {font-style: italic;} Modified: ofbiz/trunk/themes/bluelight/webapp/bluelight/style.css URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/style.css?rev=889279&r1=889278&r2=889279&view=diff ============================================================================== --- ofbiz/trunk/themes/bluelight/webapp/bluelight/style.css (original) +++ ofbiz/trunk/themes/bluelight/webapp/bluelight/style.css Thu Dec 10 14:50:54 2009 @@ -862,6 +862,7 @@ text-align: right; white-space: nowrap; width: 1%; + vertical-align: middle; } .required,input.required { @@ -1461,6 +1462,7 @@ .basic-table tr td { /* Style for all cells */ padding: 0.1em; + vertical-align: middle; } .basic-table tr .label,.basic-table tr .group-label { Modified: ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/style.css URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/style.css?rev=889279&r1=889278&r2=889279&view=diff ============================================================================== --- ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/style.css (original) +++ ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/style.css Thu Dec 10 14:50:54 2009 @@ -853,6 +853,7 @@ text-align: right; white-space: nowrap; width: 1%; +vertical-align: middle; } .required,input.required { @@ -1429,6 +1430,7 @@ .basic-table tr td { /* Style for all cells */ padding: 0.1em; +vertical-align: middle; } .basic-table tr .label,.basic-table tr .group-label { Modified: ofbiz/trunk/themes/flatgrey/webapp/flatgrey/maincss.css URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/flatgrey/webapp/flatgrey/maincss.css?rev=889279&r1=889278&r2=889279&view=diff ============================================================================== --- ofbiz/trunk/themes/flatgrey/webapp/flatgrey/maincss.css (original) +++ ofbiz/trunk/themes/flatgrey/webapp/flatgrey/maincss.css Thu Dec 10 14:50:54 2009 @@ -885,6 +885,7 @@ text-align: right; white-space: nowrap; width: 1%; +vertical-align: middle; } .required, input.required { @@ -1482,6 +1483,7 @@ .basic-table tr td { /* Style for all cells */ padding: 0.1em; +vertical-align: middle; } .basic-table tr .label, |
| Free forum by Nabble | Edit this page |
