From bacea5257f981cedd91af020921a33d37b2e069d Mon Sep 17 00:00:00 2001 From: jensp Date: Tue, 17 Jun 2014 09:48:04 +0000 Subject: [PATCH] Labels are now positioned above the input field git-svn-id: https://svn.libreccm.org/ccm/trunk@2707 8810af33-2d31-482b-a856-94f89814c4df --- .../cms/contenttypes/ui/ArticlePropertyForm.java | 2 +- .../web/themes/mandalay/css/screen/admin.css | 15 +++++++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/ccm-cms-types-article/src/com/arsdigita/cms/contenttypes/ui/ArticlePropertyForm.java b/ccm-cms-types-article/src/com/arsdigita/cms/contenttypes/ui/ArticlePropertyForm.java index cdb801433..bbf77dc3d 100755 --- a/ccm-cms-types-article/src/com/arsdigita/cms/contenttypes/ui/ArticlePropertyForm.java +++ b/ccm-cms-types-article/src/com/arsdigita/cms/contenttypes/ui/ArticlePropertyForm.java @@ -78,7 +78,7 @@ public class ArticlePropertyForm extends GenericArticlePropertyForm protected void 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); if (ContentSection.getConfig().mandatoryDescriptions()) { diff --git a/ccm-sci-bundle/web/themes/mandalay/css/screen/admin.css b/ccm-sci-bundle/web/themes/mandalay/css/screen/admin.css index 72c44bfbb..d62abbee1 100644 --- a/ccm-sci-bundle/web/themes/mandalay/css/screen/admin.css +++ b/ccm-sci-bundle/web/themes/mandalay/css/screen/admin.css @@ -553,7 +553,7 @@ table * table ,form table { } table thead tr th { - padding-lef t: 0.9em; + padding-left: 0.9em; color: #999999; text-align: left; background-color: #eeeeee; @@ -633,7 +633,7 @@ input #draft_search{ textarea, select{ vertical-align: baseline; - margin-left: 0.4em; + /*margin-left: 0.4em;*/ background-color: #fbfbfb; -moz-border-radius:3px; -webkit-border-radius:3px; @@ -646,7 +646,7 @@ textarea, select{ input{ - margin-left: 0.4em; + /*margin-left: 0.4em;*/ border: none; border-radius: 3px; -o-border-radius:3px; @@ -1521,7 +1521,7 @@ input#file_upload{ 10px rgba(0,0,0,0.3); } -#content form label { +/*#content form label { clear: left; float: none; width: 12em; @@ -1529,6 +1529,13 @@ input#file_upload{ color: #666666; font-weight: bold; padding-left: 5px; +}*/ + +#content form label { + display :block; + font-weight: bold; + margin-top: 0.5em; + color: #666; } a#preview_link:hover{