From f63a6570229f9a0a36a276684884ca3112fc688d Mon Sep 17 00:00:00 2001 From: Reinier Balt Date: Fri, 26 Jun 2009 15:35:31 +0200 Subject: [PATCH] change style of project settings so that it grabs less attention --- app/views/projects/_project_settings.rhtml | 10 +++++----- public/stylesheets/standard.css | 7 ++----- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/app/views/projects/_project_settings.rhtml b/app/views/projects/_project_settings.rhtml index fe7103af..6b1e5b10 100644 --- a/app/views/projects/_project_settings.rhtml +++ b/app/views/projects/_project_settings.rhtml @@ -1,8 +1,5 @@
- <% unless project.description.blank? -%> -
<%= sanitize(project.description) %>
- <% end -%> -

This project +

This project <% if project.completed? -%>has been marked as completed <% elsif project.hidden? -%>has been marked as hidden <% else -%>is active @@ -25,7 +22,10 @@ :before => "$('#{dom_id(project)}').startWaiting();", :complete => "$('#{dom_id(project)}').stopWaiting();" ) %> -

+
+ <% unless project.description.blank? -%> +
<%= sanitize(project.description) %>
+ <% end -%>
\ No newline at end of file diff --git a/public/stylesheets/standard.css b/public/stylesheets/standard.css index 4e4cd667..60e9b496 100644 --- a/public/stylesheets/standard.css +++ b/public/stylesheets/standard.css @@ -749,7 +749,7 @@ div.alpha_sort, div.tasks_sort,span.sort_separator { border: none; } -div.project_description { +div.project_settings { background: #eee; padding: 5px; margin-top: 0px; @@ -757,11 +757,8 @@ div.project_description { margin-right: -5px; color: #666; font-style: italic; - font-size: 12px; + font-size: 10px; font-weight: normal; - /* Uncomment line below if you want the description to have - shadowed text */ - /* text-shadow: rgba(0,0,0,.4) 0px 2px 5px; */ } #project-next-prev { text-align:right;