@@ -74,7 +74,7 module ProjectsHelper | |||||
74 | end |
|
74 | end | |
75 | classes = (ancestors.empty? ? 'root' : 'child') |
|
75 | classes = (ancestors.empty? ? 'root' : 'child') | |
76 | s << "<li class='#{classes}'><div class='#{classes}'>" + |
|
76 | s << "<li class='#{classes}'><div class='#{classes}'>" + | |
77 | link_to_project(project, {}, :class => "project #{User.current.member_of?(project) ? 'my-project' : nil}") |
|
77 | link_to_project(project, {}, :class => "#{project.css_classes} #{User.current.member_of?(project) ? 'my-project' : nil}") | |
78 | s << "<div class='wiki description'>#{textilizable(project.short_description, :project => project)}</div>" unless project.description.blank? |
|
78 | s << "<div class='wiki description'>#{textilizable(project.short_description, :project => project)}</div>" unless project.description.blank? | |
79 | s << "</div>\n" |
|
79 | s << "</div>\n" | |
80 | ancestors << project |
|
80 | ancestors << project |
@@ -108,6 +108,7 a:hover, a:active{ color: #c61a1a; text-decoration: underline;} | |||||
108 | a img{ border: 0; } |
|
108 | a img{ border: 0; } | |
109 |
|
109 | |||
110 | a.issue.closed, a.issue.closed:link, a.issue.closed:visited { color: #999; text-decoration: line-through; } |
|
110 | a.issue.closed, a.issue.closed:link, a.issue.closed:visited { color: #999; text-decoration: line-through; } | |
|
111 | a.project.closed, a.project.closed:link, a.project.closed:visited { color: #999; } | |||
111 |
|
112 | |||
112 | #sidebar a.selected {line-height:1.7em; padding:1px 3px 2px 2px; margin-left:-2px; background-color:#9DB9D5; color:#fff; border-radius:2px; -moz-border-radius:2px;} |
|
113 | #sidebar a.selected {line-height:1.7em; padding:1px 3px 2px 2px; margin-left:-2px; background-color:#9DB9D5; color:#fff; border-radius:2px; -moz-border-radius:2px;} | |
113 | #sidebar a.selected:hover {text-decoration:none;} |
|
114 | #sidebar a.selected:hover {text-decoration:none;} | |
@@ -130,6 +131,8 table.list td.buttons a { padding-right: 0.6em; } | |||||
130 | table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; } |
|
131 | table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; } | |
131 |
|
132 | |||
132 | tr.project td.name a { white-space:nowrap; } |
|
133 | tr.project td.name a { white-space:nowrap; } | |
|
134 | tr.project.closed, tr.project.archived { color: #aaa; } | |||
|
135 | tr.project.closed a, tr.project.archived a { color: #aaa; } | |||
133 |
|
136 | |||
134 | tr.project.idnt td.name span {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%; padding-left: 16px;} |
|
137 | tr.project.idnt td.name span {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%; padding-left: 16px;} | |
135 | tr.project.idnt-1 td.name {padding-left: 0.5em;} |
|
138 | tr.project.idnt-1 td.name {padding-left: 0.5em;} |
General Comments 0
You need to be logged in to leave comments.
Login now