From 9b50352d876b184824aae3fb8dbb0c291626825c Mon Sep 17 00:00:00 2001 From: rjy7 Date: Fri, 21 May 2010 16:39:33 +0000 Subject: [PATCH] Tweaks to: adding stylesheets from freemarker templates; contact form styles. Add sender's name to sender address on contact form email notification. --- themes/vivo-basic/css/blueprint/forms.css | 5 +++++ themes/vivo-basic/ftl/page/default.ftl | 10 +++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/themes/vivo-basic/css/blueprint/forms.css b/themes/vivo-basic/css/blueprint/forms.css index 6861075c..3abc6078 100644 --- a/themes/vivo-basic/css/blueprint/forms.css +++ b/themes/vivo-basic/css/blueprint/forms.css @@ -64,3 +64,8 @@ input.button { margin: 1em 0; } form#contact_form .buttons { margin-top: 1em; } + +form#contact_form .buttons input { + margin-right: .75em; +} +} diff --git a/themes/vivo-basic/ftl/page/default.ftl b/themes/vivo-basic/ftl/page/default.ftl index db4e569d..b87c869c 100644 --- a/themes/vivo-basic/ftl/page/default.ftl +++ b/themes/vivo-basic/ftl/page/default.ftl @@ -37,9 +37,13 @@ -<#-- How to add a stylesheet: +<#-- Three ways to add a stylesheet: + +A. In theme directory: ${stylesheets.addFromTheme("/sample.css"); -${stylesheets.add("/themes/vivo-basic/css/sample.css"} -NOT (gets contextPath added twice): ${stylesheets.add(stylesheetDir + "/sample.css")} + +B. Any location +${stylesheets.add("/edit/forms/css/sample.css"} + --> \ No newline at end of file