mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-03 15:58:50 +01:00
change style of project settings so that it grabs less attention
This commit is contained in:
parent
49e2ee69b8
commit
f63a657022
2 changed files with 7 additions and 10 deletions
|
|
@ -1,8 +1,5 @@
|
|||
<div id="<%= dom_id(project) %>" class="project">
|
||||
<% unless project.description.blank? -%>
|
||||
<div class="project_description"><%= sanitize(project.description) %></div>
|
||||
<% end -%>
|
||||
<p>This project
|
||||
<div class="project_settings">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();"
|
||||
) %>
|
||||
</p>
|
||||
</div>
|
||||
<% unless project.description.blank? -%>
|
||||
<div class="project_description"><%= sanitize(project.description) %></div>
|
||||
<% end -%>
|
||||
</div>
|
||||
<div id="<%= dom_id(project, 'edit') %>" class="edit-form" style="display:none;">
|
||||
</div>
|
||||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue