Labels are now positioned above the input field

git-svn-id: https://svn.libreccm.org/ccm/trunk@2707 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2014-06-17 09:48:04 +00:00
parent 130eff10ed
commit bacea5257f
2 changed files with 12 additions and 5 deletions

View File

@ -78,7 +78,7 @@ public class ArticlePropertyForm extends GenericArticlePropertyForm
protected void addWidgets() { protected void addWidgets() {
super.addWidgets(); super.addWidgets();
add(new Label(GlobalizationUtil.globalize("cms.contenttypes.ui.lead"))); //add(new Label(GlobalizationUtil.globalize("cms.contenttypes.ui.lead")));
ParameterModel leadParam = new StringParameter(LEAD); ParameterModel leadParam = new StringParameter(LEAD);
if (ContentSection.getConfig().mandatoryDescriptions()) { if (ContentSection.getConfig().mandatoryDescriptions()) {

View File

@ -553,7 +553,7 @@ table * table ,form table {
} }
table thead tr th { table thead tr th {
padding-lef t: 0.9em; padding-left: 0.9em;
color: #999999; color: #999999;
text-align: left; text-align: left;
background-color: #eeeeee; background-color: #eeeeee;
@ -633,7 +633,7 @@ input #draft_search{
textarea, select{ textarea, select{
vertical-align: baseline; vertical-align: baseline;
margin-left: 0.4em; /*margin-left: 0.4em;*/
background-color: #fbfbfb; background-color: #fbfbfb;
-moz-border-radius:3px; -moz-border-radius:3px;
-webkit-border-radius:3px; -webkit-border-radius:3px;
@ -646,7 +646,7 @@ textarea, select{
input{ input{
margin-left: 0.4em; /*margin-left: 0.4em;*/
border: none; border: none;
border-radius: 3px; border-radius: 3px;
-o-border-radius:3px; -o-border-radius:3px;
@ -1521,7 +1521,7 @@ input#file_upload{
10px rgba(0,0,0,0.3); 10px rgba(0,0,0,0.3);
} }
#content form label { /*#content form label {
clear: left; clear: left;
float: none; float: none;
width: 12em; width: 12em;
@ -1529,6 +1529,13 @@ input#file_upload{
color: #666666; color: #666666;
font-weight: bold; font-weight: bold;
padding-left: 5px; padding-left: 5px;
}*/
#content form label {
display :block;
font-weight: bold;
margin-top: 0.5em;
color: #666;
} }
a#preview_link:hover{ a#preview_link:hover{