##// END OF EJS Templates
Visual hint for closed projects on project list (#3640)....
Jean-Philippe Lang -
r9702:7fb2ddefde16
parent child
Show More
@@ -1,110 +1,110
1 1 # encoding: utf-8
2 2 #
3 3 # Redmine - project management software
4 4 # Copyright (C) 2006-2012 Jean-Philippe Lang
5 5 #
6 6 # This program is free software; you can redistribute it and/or
7 7 # modify it under the terms of the GNU General Public License
8 8 # as published by the Free Software Foundation; either version 2
9 9 # of the License, or (at your option) any later version.
10 10 #
11 11 # This program is distributed in the hope that it will be useful,
12 12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 14 # GNU General Public License for more details.
15 15 #
16 16 # You should have received a copy of the GNU General Public License
17 17 # along with this program; if not, write to the Free Software
18 18 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 19
20 20 module ProjectsHelper
21 21 def link_to_version(version, options = {})
22 22 return '' unless version && version.is_a?(Version)
23 23 link_to_if version.visible?, format_version_name(version), { :controller => 'versions', :action => 'show', :id => version }, options
24 24 end
25 25
26 26 def project_settings_tabs
27 27 tabs = [{:name => 'info', :action => :edit_project, :partial => 'projects/edit', :label => :label_information_plural},
28 28 {:name => 'modules', :action => :select_project_modules, :partial => 'projects/settings/modules', :label => :label_module_plural},
29 29 {:name => 'members', :action => :manage_members, :partial => 'projects/settings/members', :label => :label_member_plural},
30 30 {:name => 'versions', :action => :manage_versions, :partial => 'projects/settings/versions', :label => :label_version_plural},
31 31 {:name => 'categories', :action => :manage_categories, :partial => 'projects/settings/issue_categories', :label => :label_issue_category_plural},
32 32 {:name => 'wiki', :action => :manage_wiki, :partial => 'projects/settings/wiki', :label => :label_wiki},
33 33 {:name => 'repositories', :action => :manage_repository, :partial => 'projects/settings/repositories', :label => :label_repository_plural},
34 34 {:name => 'boards', :action => :manage_boards, :partial => 'projects/settings/boards', :label => :label_board_plural},
35 35 {:name => 'activities', :action => :manage_project_activities, :partial => 'projects/settings/activities', :label => :enumeration_activities}
36 36 ]
37 37 tabs.select {|tab| User.current.allowed_to?(tab[:action], @project)}
38 38 end
39 39
40 40 def parent_project_select_tag(project)
41 41 selected = project.parent
42 42 # retrieve the requested parent project
43 43 parent_id = (params[:project] && params[:project][:parent_id]) || params[:parent_id]
44 44 if parent_id
45 45 selected = (parent_id.blank? ? nil : Project.find(parent_id))
46 46 end
47 47
48 48 options = ''
49 49 options << "<option value=''></option>" if project.allowed_parents.include?(nil)
50 50 options << project_tree_options_for_select(project.allowed_parents.compact, :selected => selected)
51 51 content_tag('select', options.html_safe, :name => 'project[parent_id]', :id => 'project_parent_id')
52 52 end
53 53
54 54 # Renders a tree of projects as a nested set of unordered lists
55 55 # The given collection may be a subset of the whole project tree
56 56 # (eg. some intermediate nodes are private and can not be seen)
57 57 def render_project_hierarchy(projects)
58 58 s = ''
59 59 if projects.any?
60 60 ancestors = []
61 61 original_project = @project
62 62 projects.each do |project|
63 63 # set the project environment to please macros.
64 64 @project = project
65 65 if (ancestors.empty? || project.is_descendant_of?(ancestors.last))
66 66 s << "<ul class='projects #{ ancestors.empty? ? 'root' : nil}'>\n"
67 67 else
68 68 ancestors.pop
69 69 s << "</li>"
70 70 while (ancestors.any? && !project.is_descendant_of?(ancestors.last))
71 71 ancestors.pop
72 72 s << "</ul></li>\n"
73 73 end
74 74 end
75 75 classes = (ancestors.empty? ? 'root' : 'child')
76 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 78 s << "<div class='wiki description'>#{textilizable(project.short_description, :project => project)}</div>" unless project.description.blank?
79 79 s << "</div>\n"
80 80 ancestors << project
81 81 end
82 82 s << ("</li></ul>\n" * ancestors.size)
83 83 @project = original_project
84 84 end
85 85 s.html_safe
86 86 end
87 87
88 88 # Returns a set of options for a select field, grouped by project.
89 89 def version_options_for_select(versions, selected=nil)
90 90 grouped = Hash.new {|h,k| h[k] = []}
91 91 versions.each do |version|
92 92 grouped[version.project.name] << [version.name, version.id]
93 93 end
94 94 # Add in the selected
95 95 if selected && !versions.include?(selected)
96 96 grouped[selected.project.name] << [selected.name, selected.id]
97 97 end
98 98
99 99 if grouped.keys.size > 1
100 100 grouped_options_for_select(grouped, selected && selected.id)
101 101 else
102 102 options_for_select((grouped.values.first || []), selected && selected.id)
103 103 end
104 104 end
105 105
106 106 def format_version_sharing(sharing)
107 107 sharing = 'none' unless Version::VERSION_SHARINGS.include?(sharing)
108 108 l("label_version_sharing_#{sharing}")
109 109 end
110 110 end
@@ -1,1084 +1,1087
1 1 html {overflow-y:scroll;}
2 2 body { font-family: Verdana, sans-serif; font-size: 12px; color:#484848; margin: 0; padding: 0; min-width: 900px; }
3 3
4 4 h1, h2, h3, h4 { font-family: "Trebuchet MS", Verdana, sans-serif;}
5 5 h1 {margin:0; padding:0; font-size: 24px;}
6 6 h2, .wiki h1 {font-size: 20px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;}
7 7 h3, .wiki h2 {font-size: 16px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;}
8 8 h4, .wiki h3 {font-size: 13px;padding: 2px 10px 1px 0px;margin-bottom: 5px; border-bottom: 1px dotted #bbbbbb; color: #444;}
9 9
10 10 /***** Layout *****/
11 11 #wrapper {background: white;}
12 12
13 13 #top-menu {background: #2C4056; color: #fff; height:1.8em; font-size: 0.8em; padding: 2px 2px 0px 6px;}
14 14 #top-menu ul {margin: 0; padding: 0;}
15 15 #top-menu li {
16 16 float:left;
17 17 list-style-type:none;
18 18 margin: 0px 0px 0px 0px;
19 19 padding: 0px 0px 0px 0px;
20 20 white-space:nowrap;
21 21 }
22 22 #top-menu a {color: #fff; margin-right: 8px; font-weight: bold;}
23 23 #top-menu #loggedas { float: right; margin-right: 0.5em; color: #fff; }
24 24
25 25 #account {float:right;}
26 26
27 27 #header {height:5.3em;margin:0;background-color:#507AAA;color:#f8f8f8; padding: 4px 8px 0px 6px; position:relative;}
28 28 #header a {color:#f8f8f8;}
29 29 #header h1 a.ancestor { font-size: 80%; }
30 30 #quick-search {float:right;}
31 31
32 32 #main-menu {position: absolute; bottom: 0px; left:6px; margin-right: -500px;}
33 33 #main-menu ul {margin: 0; padding: 0;}
34 34 #main-menu li {
35 35 float:left;
36 36 list-style-type:none;
37 37 margin: 0px 2px 0px 0px;
38 38 padding: 0px 0px 0px 0px;
39 39 white-space:nowrap;
40 40 }
41 41 #main-menu li a {
42 42 display: block;
43 43 color: #fff;
44 44 text-decoration: none;
45 45 font-weight: bold;
46 46 margin: 0;
47 47 padding: 4px 10px 4px 10px;
48 48 }
49 49 #main-menu li a:hover {background:#759FCF; color:#fff;}
50 50 #main-menu li a.selected, #main-menu li a.selected:hover {background:#fff; color:#555;}
51 51
52 52 #admin-menu ul {margin: 0; padding: 0;}
53 53 #admin-menu li {margin: 0; padding: 0 0 6px 0; list-style-type:none;}
54 54
55 55 #admin-menu a { background-position: 0% 40%; background-repeat: no-repeat; padding-left: 20px; padding-top: 2px; padding-bottom: 3px;}
56 56 #admin-menu a.projects { background-image: url(../images/projects.png); }
57 57 #admin-menu a.users { background-image: url(../images/user.png); }
58 58 #admin-menu a.groups { background-image: url(../images/group.png); }
59 59 #admin-menu a.roles { background-image: url(../images/database_key.png); }
60 60 #admin-menu a.trackers { background-image: url(../images/ticket.png); }
61 61 #admin-menu a.issue_statuses { background-image: url(../images/ticket_edit.png); }
62 62 #admin-menu a.workflows { background-image: url(../images/ticket_go.png); }
63 63 #admin-menu a.custom_fields { background-image: url(../images/textfield.png); }
64 64 #admin-menu a.enumerations { background-image: url(../images/text_list_bullets.png); }
65 65 #admin-menu a.settings { background-image: url(../images/changeset.png); }
66 66 #admin-menu a.plugins { background-image: url(../images/plugin.png); }
67 67 #admin-menu a.info { background-image: url(../images/help.png); }
68 68 #admin-menu a.server_authentication { background-image: url(../images/server_key.png); }
69 69
70 70 #main {background-color:#EEEEEE;}
71 71
72 72 #sidebar{ float: right; width: 22%; position: relative; z-index: 9; padding: 0; margin: 0;}
73 73 * html #sidebar{ width: 22%; }
74 74 #sidebar h3{ font-size: 14px; margin-top:14px; color: #666; }
75 75 #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; }
76 76 * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }
77 77 #sidebar .contextual { margin-right: 1em; }
78 78
79 79 #content { width: 75%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; }
80 80 * html #content{ width: 75%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}
81 81 html>body #content { min-height: 600px; }
82 82 * html body #content { height: 600px; } /* IE */
83 83
84 84 #main.nosidebar #sidebar{ display: none; }
85 85 #main.nosidebar #content{ width: auto; border-right: 0; }
86 86
87 87 #footer {clear: both; border-top: 1px solid #bbb; font-size: 0.9em; color: #aaa; padding: 5px; text-align:center; background:#fff;}
88 88
89 89 #login-form table {margin-top:5em; padding:1em; margin-left: auto; margin-right: auto; border: 2px solid #FDBF3B; background-color:#FFEBC1; }
90 90 #login-form table td {padding: 6px;}
91 91 #login-form label {font-weight: bold;}
92 92 #login-form input#username, #login-form input#password { width: 300px; }
93 93
94 94 #modalbg {position:absolute; top:0; left:0; width:100%; height:100%; background:#ccc; z-index:49; opacity:0.5;}
95 95 html>body #modalbg {position:fixed;}
96 96 div.modal { border-radius:5px; position:absolute; top:25%; background:#fff; border:2px solid #759FCF; z-index:50; padding:0px; padding:8px; box-shadow: 1px 1px 8px #888; }
97 97 div.modal h3.title {background:#759FCF; color:#fff; border:0; padding-left:8px; margin:-8px; margin-bottom: 1em; border-top-left-radius:2px;border-top-right-radius:2px;}
98 98 div.modal p.buttons {text-align:right; margin-bottom:0;}
99 99 html>body div.modal {position:fixed;}
100 100
101 101 input#openid_url { background: url(../images/openid-bg.gif) no-repeat; background-color: #fff; background-position: 0 50%; padding-left: 18px; }
102 102
103 103 .clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
104 104
105 105 /***** Links *****/
106 106 a, a:link, a:visited{ color: #2A5685; text-decoration: none; }
107 107 a:hover, a:active{ color: #c61a1a; text-decoration: underline;}
108 108 a img{ border: 0; }
109 109
110 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 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 114 #sidebar a.selected:hover {text-decoration:none;}
114 115 #admin-menu a {line-height:1.7em;}
115 116 #admin-menu a.selected {padding-left: 20px !important; background-position: 2px 40%;}
116 117
117 118 a.collapsible {padding-left: 12px; background: url(../images/arrow_expanded.png) no-repeat -3px 40%;}
118 119 a.collapsible.collapsed {background: url(../images/arrow_collapsed.png) no-repeat -5px 40%;}
119 120
120 121 a#toggle-completed-versions {color:#999;}
121 122 /***** Tables *****/
122 123 table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; }
123 124 table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; }
124 125 table.list td { vertical-align: top; }
125 126 table.list td.id { width: 2%; text-align: center;}
126 127 table.list td.checkbox { width: 15px; padding: 2px 0 0 0; }
127 128 table.list td.checkbox input {padding:0px;}
128 129 table.list td.buttons { width: 15%; white-space:nowrap; text-align: right; }
129 130 table.list td.buttons a { padding-right: 0.6em; }
130 131 table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; }
131 132
132 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 137 tr.project.idnt td.name span {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%; padding-left: 16px;}
135 138 tr.project.idnt-1 td.name {padding-left: 0.5em;}
136 139 tr.project.idnt-2 td.name {padding-left: 2em;}
137 140 tr.project.idnt-3 td.name {padding-left: 3.5em;}
138 141 tr.project.idnt-4 td.name {padding-left: 5em;}
139 142 tr.project.idnt-5 td.name {padding-left: 6.5em;}
140 143 tr.project.idnt-6 td.name {padding-left: 8em;}
141 144 tr.project.idnt-7 td.name {padding-left: 9.5em;}
142 145 tr.project.idnt-8 td.name {padding-left: 11em;}
143 146 tr.project.idnt-9 td.name {padding-left: 12.5em;}
144 147
145 148 tr.issue { text-align: center; white-space: nowrap; }
146 149 tr.issue td.subject, tr.issue td.category, td.assigned_to, tr.issue td.string, tr.issue td.text { white-space: normal; }
147 150 tr.issue td.subject { text-align: left; }
148 151 tr.issue td.done_ratio table.progress { margin-left:auto; margin-right: auto;}
149 152
150 153 tr.issue.idnt td.subject a {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%; padding-left: 16px;}
151 154 tr.issue.idnt-1 td.subject {padding-left: 0.5em;}
152 155 tr.issue.idnt-2 td.subject {padding-left: 2em;}
153 156 tr.issue.idnt-3 td.subject {padding-left: 3.5em;}
154 157 tr.issue.idnt-4 td.subject {padding-left: 5em;}
155 158 tr.issue.idnt-5 td.subject {padding-left: 6.5em;}
156 159 tr.issue.idnt-6 td.subject {padding-left: 8em;}
157 160 tr.issue.idnt-7 td.subject {padding-left: 9.5em;}
158 161 tr.issue.idnt-8 td.subject {padding-left: 11em;}
159 162 tr.issue.idnt-9 td.subject {padding-left: 12.5em;}
160 163
161 164 tr.entry { border: 1px solid #f8f8f8; }
162 165 tr.entry td { white-space: nowrap; }
163 166 tr.entry td.filename { width: 30%; }
164 167 tr.entry td.filename_no_report { width: 70%; }
165 168 tr.entry td.size { text-align: right; font-size: 90%; }
166 169 tr.entry td.revision, tr.entry td.author { text-align: center; }
167 170 tr.entry td.age { text-align: right; }
168 171 tr.entry.file td.filename a { margin-left: 16px; }
169 172 tr.entry.file td.filename_no_report a { margin-left: 16px; }
170 173
171 174 tr span.expander {background-image: url(../images/bullet_toggle_plus.png); padding-left: 8px; margin-left: 0; cursor: pointer;}
172 175 tr.open span.expander {background-image: url(../images/bullet_toggle_minus.png);}
173 176
174 177 tr.changeset { height: 20px }
175 178 tr.changeset ul, ol { margin-top: 0px; margin-bottom: 0px; }
176 179 tr.changeset td.revision_graph { width: 15%; background-color: #fffffb; }
177 180 tr.changeset td.author { text-align: center; width: 15%; white-space:nowrap;}
178 181 tr.changeset td.committed_on { text-align: center; width: 15%; white-space:nowrap;}
179 182
180 183 table.files tr.file td { text-align: center; }
181 184 table.files tr.file td.filename { text-align: left; padding-left: 24px; }
182 185 table.files tr.file td.digest { font-size: 80%; }
183 186
184 187 table.members td.roles, table.memberships td.roles { width: 45%; }
185 188
186 189 tr.message { height: 2.6em; }
187 190 tr.message td.subject { padding-left: 20px; }
188 191 tr.message td.created_on { white-space: nowrap; }
189 192 tr.message td.last_message { font-size: 80%; white-space: nowrap; }
190 193 tr.message.locked td.subject { background: url(../images/locked.png) no-repeat 0 1px; }
191 194 tr.message.sticky td.subject { background: url(../images/bullet_go.png) no-repeat 0 1px; font-weight: bold; }
192 195
193 196 tr.version.closed, tr.version.closed a { color: #999; }
194 197 tr.version td.name { padding-left: 20px; }
195 198 tr.version.shared td.name { background: url(../images/link.png) no-repeat 0% 70%; }
196 199 tr.version td.date, tr.version td.status, tr.version td.sharing { text-align: center; white-space:nowrap; }
197 200
198 201 tr.user td { width:13%; }
199 202 tr.user td.email { width:18%; }
200 203 tr.user td { white-space: nowrap; }
201 204 tr.user.locked, tr.user.registered { color: #aaa; }
202 205 tr.user.locked a, tr.user.registered a { color: #aaa; }
203 206
204 207 table.permissions td.role {color:#999;font-size:90%;font-weight:normal !important;text-align:center;vertical-align:bottom;}
205 208
206 209 tr.wiki-page-version td.updated_on, tr.wiki-page-version td.author {text-align:center;}
207 210
208 211 tr.time-entry { text-align: center; white-space: nowrap; }
209 212 tr.time-entry td.subject, tr.time-entry td.comments { text-align: left; white-space: normal; }
210 213 td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; }
211 214 td.hours .hours-dec { font-size: 0.9em; }
212 215
213 216 table.plugins td { vertical-align: middle; }
214 217 table.plugins td.configure { text-align: right; padding-right: 1em; }
215 218 table.plugins span.name { font-weight: bold; display: block; margin-bottom: 6px; }
216 219 table.plugins span.description { display: block; font-size: 0.9em; }
217 220 table.plugins span.url { display: block; font-size: 0.9em; }
218 221
219 222 table.list tbody tr.group td { padding: 0.8em 0 0.5em 0.3em; font-weight: bold; border-bottom: 1px solid #ccc; }
220 223 table.list tbody tr.group span.count { color: #aaa; font-size: 80%; }
221 224 tr.group a.toggle-all { color: #aaa; font-size: 80%; font-weight: normal; display:none;}
222 225 tr.group:hover a.toggle-all { display:inline;}
223 226 a.toggle-all:hover {text-decoration:none;}
224 227
225 228 table.list tbody tr:hover { background-color:#ffffdd; }
226 229 table.list tbody tr.group:hover { background-color:inherit; }
227 230 table td {padding:2px;}
228 231 table p {margin:0;}
229 232 .odd {background-color:#f6f7f8;}
230 233 .even {background-color: #fff;}
231 234
232 235 a.sort { padding-right: 16px; background-position: 100% 50%; background-repeat: no-repeat; }
233 236 a.sort.asc { background-image: url(../images/sort_asc.png); }
234 237 a.sort.desc { background-image: url(../images/sort_desc.png); }
235 238
236 239 table.attributes { width: 100% }
237 240 table.attributes th { vertical-align: top; text-align: left; }
238 241 table.attributes td { vertical-align: top; }
239 242
240 243 table.boards a.board, h3.comments { background: url(../images/comment.png) no-repeat 0% 50%; padding-left: 20px; }
241 244
242 245 table.query-columns {
243 246 border-collapse: collapse;
244 247 border: 0;
245 248 }
246 249
247 250 table.query-columns td.buttons {
248 251 vertical-align: middle;
249 252 text-align: center;
250 253 }
251 254
252 255 td.center {text-align:center;}
253 256
254 257 h3.version { background: url(../images/package.png) no-repeat 0% 50%; padding-left: 20px; }
255 258
256 259 div.issues h3 { background: url(../images/ticket.png) no-repeat 0% 50%; padding-left: 20px; }
257 260 div.members h3 { background: url(../images/group.png) no-repeat 0% 50%; padding-left: 20px; }
258 261 div.news h3 { background: url(../images/news.png) no-repeat 0% 50%; padding-left: 20px; }
259 262 div.projects h3 { background: url(../images/projects.png) no-repeat 0% 50%; padding-left: 20px; }
260 263
261 264 #watchers ul {margin: 0; padding: 0;}
262 265 #watchers li {list-style-type:none;margin: 0px 2px 0px 0px; padding: 0px 0px 0px 0px;}
263 266 #watchers select {width: 95%; display: block;}
264 267 #watchers a.delete {opacity: 0.4;}
265 268 #watchers a.delete:hover {opacity: 1;}
266 269 #watchers img.gravatar {margin: 0 4px 2px 0;}
267 270
268 271 span#watchers_inputs {overflow:auto; display:block;}
269 272 span.search_for_watchers {display:block;}
270 273 span.search_for_watchers, span.add_attachment {font-size:80%; line-height:2.5em;}
271 274 span.search_for_watchers a, span.add_attachment a {padding-left:16px; background: url(../images/bullet_add.png) no-repeat 0 50%; }
272 275
273 276
274 277 .highlight { background-color: #FCFD8D;}
275 278 .highlight.token-1 { background-color: #faa;}
276 279 .highlight.token-2 { background-color: #afa;}
277 280 .highlight.token-3 { background-color: #aaf;}
278 281
279 282 .box{
280 283 padding:6px;
281 284 margin-bottom: 10px;
282 285 background-color:#f6f6f6;
283 286 color:#505050;
284 287 line-height:1.5em;
285 288 border: 1px solid #e4e4e4;
286 289 }
287 290
288 291 div.square {
289 292 border: 1px solid #999;
290 293 float: left;
291 294 margin: .3em .4em 0 .4em;
292 295 overflow: hidden;
293 296 width: .6em; height: .6em;
294 297 }
295 298 .contextual {float:right; white-space: nowrap; line-height:1.4em;margin-top:5px; padding-left: 10px; font-size:0.9em;}
296 299 .contextual input, .contextual select {font-size:0.9em;}
297 300 .message .contextual { margin-top: 0; }
298 301
299 302 .splitcontent {overflow:auto;}
300 303 .splitcontentleft{float:left; width:49%;}
301 304 .splitcontentright{float:right; width:49%;}
302 305 form {display: inline;}
303 306 input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;}
304 307 fieldset {border: 1px solid #e4e4e4; margin:0;}
305 308 legend {color: #484848;}
306 309 hr { width: 100%; height: 1px; background: #ccc; border: 0;}
307 310 blockquote { font-style: italic; border-left: 3px solid #e0e0e0; padding-left: 0.6em; margin-left: 2.4em;}
308 311 blockquote blockquote { margin-left: 0;}
309 312 acronym { border-bottom: 1px dotted; cursor: help; }
310 313 textarea.wiki-edit { width: 99%; }
311 314 li p {margin-top: 0;}
312 315 div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;}
313 316 p.breadcrumb { font-size: 0.9em; margin: 4px 0 4px 0;}
314 317 p.subtitle { font-size: 0.9em; margin: -6px 0 12px 0; font-style: italic; }
315 318 p.footnote { font-size: 0.9em; margin-top: 0px; margin-bottom: 0px; }
316 319
317 320 div.issue div.subject div div { padding-left: 16px; }
318 321 div.issue div.subject p {margin: 0; margin-bottom: 0.1em; font-size: 90%; color: #999;}
319 322 div.issue div.subject>div>p { margin-top: 0.5em; }
320 323 div.issue div.subject h3 {margin: 0; margin-bottom: 0.1em;}
321 324 div.issue span.private { position:relative; bottom: 2px; text-transform: uppercase; background: #d22; color: #fff; font-weight:bold; padding: 0px 2px 0px 2px; font-size: 60%; margin-right: 2px; border-radius: 2px; -moz-border-radius: 2px;}
322 325 div.issue .next-prev-links {color:#999;}
323 326 div.issue table.attributes th {width:22%;}
324 327 div.issue table.attributes td {width:28%;}
325 328
326 329 #issue_tree table.issues, #relations table.issues { border: 0; }
327 330 #issue_tree td.checkbox, #relations td.checkbox {display:none;}
328 331 #relations td.buttons {padding:0;}
329 332
330 333 fieldset.collapsible { border-width: 1px 0 0 0; font-size: 0.9em; }
331 334 fieldset.collapsible legend { padding-left: 16px; background: url(../images/arrow_expanded.png) no-repeat 0% 40%; cursor:pointer; }
332 335 fieldset.collapsible.collapsed legend { background-image: url(../images/arrow_collapsed.png); }
333 336
334 337 fieldset#date-range p { margin: 2px 0 2px 0; }
335 338 fieldset#filters table { border-collapse: collapse; }
336 339 fieldset#filters table td { padding: 0; vertical-align: middle; }
337 340 fieldset#filters tr.filter { height: 2em; }
338 341 fieldset#filters td.field { width:200px; }
339 342 fieldset#filters td.operator { width:170px; }
340 343 fieldset#filters td.values { white-space:nowrap; }
341 344 fieldset#filters td.values select {min-width:130px;}
342 345 fieldset#filters td.values img { vertical-align: middle; margin-left:1px; }
343 346 fieldset#filters td.add-filter { text-align: right; vertical-align: top; }
344 347 .buttons { font-size: 0.9em; margin-bottom: 1.4em; margin-top: 1em; }
345 348
346 349 div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;}
347 350 div#issue-changesets div.changeset { padding: 4px;}
348 351 div#issue-changesets div.changeset { border-bottom: 1px solid #ddd; }
349 352 div#issue-changesets p { margin-top: 0; margin-bottom: 1em;}
350 353
351 354 .journal ul.details img {margin:0 0 -3px 4px;}
352 355
353 356 div#activity dl, #search-results { margin-left: 2em; }
354 357 div#activity dd, #search-results dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; }
355 358 div#activity dt, #search-results dt { margin-bottom: 0px; padding-left: 20px; line-height: 18px; background-position: 0 50%; background-repeat: no-repeat; }
356 359 div#activity dt.me .time { border-bottom: 1px solid #999; }
357 360 div#activity dt .time { color: #777; font-size: 80%; }
358 361 div#activity dd .description, #search-results dd .description { font-style: italic; }
359 362 div#activity span.project:after, #search-results span.project:after { content: " -"; }
360 363 div#activity dd span.description, #search-results dd span.description { display:block; color: #808080; }
361 364
362 365 #search-results dd { margin-bottom: 1em; padding-left: 20px; margin-left:0px; }
363 366
364 367 div#search-results-counts {float:right;}
365 368 div#search-results-counts ul { margin-top: 0.5em; }
366 369 div#search-results-counts li { list-style-type:none; float: left; margin-left: 1em; }
367 370
368 371 dt.issue { background-image: url(../images/ticket.png); }
369 372 dt.issue-edit { background-image: url(../images/ticket_edit.png); }
370 373 dt.issue-closed { background-image: url(../images/ticket_checked.png); }
371 374 dt.issue-note { background-image: url(../images/ticket_note.png); }
372 375 dt.changeset { background-image: url(../images/changeset.png); }
373 376 dt.news { background-image: url(../images/news.png); }
374 377 dt.message { background-image: url(../images/message.png); }
375 378 dt.reply { background-image: url(../images/comments.png); }
376 379 dt.wiki-page { background-image: url(../images/wiki_edit.png); }
377 380 dt.attachment { background-image: url(../images/attachment.png); }
378 381 dt.document { background-image: url(../images/document.png); }
379 382 dt.project { background-image: url(../images/projects.png); }
380 383 dt.time-entry { background-image: url(../images/time.png); }
381 384
382 385 #search-results dt.issue.closed { background-image: url(../images/ticket_checked.png); }
383 386
384 387 div#roadmap .related-issues { margin-bottom: 1em; }
385 388 div#roadmap .related-issues td.checkbox { display: none; }
386 389 div#roadmap .wiki h1:first-child { display: none; }
387 390 div#roadmap .wiki h1 { font-size: 120%; }
388 391 div#roadmap .wiki h2 { font-size: 110%; }
389 392 body.controller-versions.action-show div#roadmap .related-issues {width:70%;}
390 393
391 394 div#version-summary { float:right; width:28%; margin-left: 16px; margin-bottom: 16px; background-color: #fff; }
392 395 div#version-summary fieldset { margin-bottom: 1em; }
393 396 div#version-summary fieldset.time-tracking table { width:100%; }
394 397 div#version-summary th, div#version-summary td.total-hours { text-align: right; }
395 398
396 399 table#time-report td.hours, table#time-report th.period, table#time-report th.total { text-align: right; padding-right: 0.5em; }
397 400 table#time-report tbody tr.subtotal { font-style: italic; color:#777;}
398 401 table#time-report tbody tr.subtotal td.hours { color:#b0b0b0; }
399 402 table#time-report tbody tr.total { font-weight: bold; background-color:#EEEEEE; border-top:1px solid #e4e4e4;}
400 403 table#time-report .hours-dec { font-size: 0.9em; }
401 404
402 405 div.wiki-page .contextual a {opacity: 0.4}
403 406 div.wiki-page .contextual a:hover {opacity: 1}
404 407
405 408 form .attributes select { width: 60%; }
406 409 input#issue_subject { width: 99%; }
407 410 select#issue_done_ratio { width: 95px; }
408 411
409 412 ul.projects { margin: 0; padding-left: 1em; }
410 413 ul.projects.root { margin: 0; padding: 0; }
411 414 ul.projects ul.projects { border-left: 3px solid #e0e0e0; }
412 415 ul.projects li.root { list-style-type:none; margin-bottom: 1em; }
413 416 ul.projects li.child { list-style-type:none; margin-top: 1em;}
414 417 ul.projects div.root a.project { font-family: "Trebuchet MS", Verdana, sans-serif; font-weight: bold; font-size: 16px; margin: 0 0 10px 0; }
415 418 .my-project { padding-left: 18px; background: url(../images/fav.png) no-repeat 0 50%; }
416 419
417 420 #tracker_project_ids ul { margin: 0; padding-left: 1em; }
418 421 #tracker_project_ids li { list-style-type:none; }
419 422
420 423 #related-issues li img {vertical-align:middle;}
421 424
422 425 ul.properties {padding:0; font-size: 0.9em; color: #777;}
423 426 ul.properties li {list-style-type:none;}
424 427 ul.properties li span {font-style:italic;}
425 428
426 429 .total-hours { font-size: 110%; font-weight: bold; }
427 430 .total-hours span.hours-int { font-size: 120%; }
428 431
429 432 .autoscroll {overflow-x: auto; padding:1px; margin-bottom: 1.2em;}
430 433 #user_login, #user_firstname, #user_lastname, #user_mail, #my_account_form select, #user_form select, #user_identity_url { width: 90%; }
431 434
432 435 #workflow_copy_form select { width: 200px; }
433 436
434 437 textarea#custom_field_possible_values {width: 99%}
435 438 input#content_comments {width: 99%}
436 439
437 440 .pagination {font-size: 90%}
438 441 p.pagination {margin-top:8px;}
439 442
440 443 /***** Tabular forms ******/
441 444 .tabular p{
442 445 margin: 0;
443 446 padding: 3px 0 3px 0;
444 447 padding-left: 180px; /* width of left column containing the label elements */
445 448 min-height: 1.8em;
446 449 clear:left;
447 450 }
448 451
449 452 html>body .tabular p {overflow:hidden;}
450 453
451 454 .tabular label{
452 455 font-weight: bold;
453 456 float: left;
454 457 text-align: right;
455 458 /* width of left column */
456 459 margin-left: -180px;
457 460 /* width of labels. Should be smaller than left column to create some right margin */
458 461 width: 175px;
459 462 }
460 463
461 464 .tabular label.floating{
462 465 font-weight: normal;
463 466 margin-left: 0px;
464 467 text-align: left;
465 468 width: 270px;
466 469 }
467 470
468 471 .tabular label.block{
469 472 font-weight: normal;
470 473 margin-left: 0px !important;
471 474 text-align: left;
472 475 float: none;
473 476 display: block;
474 477 width: auto;
475 478 }
476 479
477 480 .tabular label.inline{
478 481 float:none;
479 482 margin-left: 5px !important;
480 483 width: auto;
481 484 }
482 485
483 486 label.no-css {
484 487 font-weight: inherit;
485 488 float:none;
486 489 text-align:left;
487 490 margin-left:0px;
488 491 width:auto;
489 492 }
490 493 input#time_entry_comments { width: 90%;}
491 494
492 495 #preview fieldset {margin-top: 1em; background: url(../images/draft.png)}
493 496
494 497 .tabular.settings p{ padding-left: 300px; }
495 498 .tabular.settings label{ margin-left: -300px; width: 295px; }
496 499 .tabular.settings textarea { width: 99%; }
497 500
498 501 .settings.enabled_scm table {width:100%}
499 502 .settings.enabled_scm td.scm_name{ font-weight: bold; }
500 503
501 504 fieldset.settings label { display: block; }
502 505 fieldset#notified_events .parent { padding-left: 20px; }
503 506
504 507 .required {color: #bb0000;}
505 508 .summary {font-style: italic;}
506 509
507 510 #attachments_fields input.description {margin-left: 8px; width:340px;}
508 511 #attachments_fields span {display:block; white-space:nowrap;}
509 512 #attachments_fields img {vertical-align: middle;}
510 513
511 514 div.attachments { margin-top: 12px; }
512 515 div.attachments p { margin:4px 0 2px 0; }
513 516 div.attachments img { vertical-align: middle; }
514 517 div.attachments span.author { font-size: 0.9em; color: #888; }
515 518
516 519 p.other-formats { text-align: right; font-size:0.9em; color: #666; }
517 520 .other-formats span + span:before { content: "| "; }
518 521
519 522 a.atom { background: url(../images/feed.png) no-repeat 1px 50%; padding: 2px 0px 3px 16px; }
520 523
521 524 em.info {font-style:normal;font-size:90%;color:#888;display:block;}
522 525 em.info.error {padding-left:20px; background:url(../images/exclamation.png) no-repeat 0 50%;}
523 526
524 527 textarea.text_cf {width:90%;}
525 528
526 529 /* Project members tab */
527 530 div#tab-content-members .splitcontentleft, div#tab-content-memberships .splitcontentleft, div#tab-content-users .splitcontentleft { width: 64% }
528 531 div#tab-content-members .splitcontentright, div#tab-content-memberships .splitcontentright, div#tab-content-users .splitcontentright { width: 34% }
529 532 div#tab-content-members fieldset, div#tab-content-memberships fieldset, div#tab-content-users fieldset { padding:1em; margin-bottom: 1em; }
530 533 div#tab-content-members fieldset legend, div#tab-content-memberships fieldset legend, div#tab-content-users fieldset legend { font-weight: bold; }
531 534 div#tab-content-members fieldset label, div#tab-content-memberships fieldset label, div#tab-content-users fieldset label { display: block; }
532 535 div#tab-content-members fieldset div, div#tab-content-users fieldset div { max-height: 400px; overflow:auto; }
533 536
534 537 #users_for_watcher {height: 200px; overflow:auto;}
535 538 #users_for_watcher label {display: block;}
536 539
537 540 table.members td.group { padding-left: 20px; background: url(../images/group.png) no-repeat 0% 50%; }
538 541
539 542 input#principal_search, input#user_search {width:100%}
540 543 input#principal_search, input#user_search {
541 544 background: url(../images/magnifier.png) no-repeat 2px 50%; padding-left:20px;
542 545 border:1px solid #9EB1C2; border-radius:3px; height:1.5em; width:95%;
543 546 }
544 547 input#principal_search.ajax-loading, input#user_search.ajax-loading {
545 548 background-image: url(../images/loading.gif);
546 549 }
547 550
548 551 * html div#tab-content-members fieldset div { height: 450px; }
549 552
550 553 /***** Flash & error messages ****/
551 554 #errorExplanation, div.flash, .nodata, .warning, .conflict {
552 555 padding: 4px 4px 4px 30px;
553 556 margin-bottom: 12px;
554 557 font-size: 1.1em;
555 558 border: 2px solid;
556 559 }
557 560
558 561 div.flash {margin-top: 8px;}
559 562
560 563 div.flash.error, #errorExplanation {
561 564 background: url(../images/exclamation.png) 8px 50% no-repeat;
562 565 background-color: #ffe3e3;
563 566 border-color: #dd0000;
564 567 color: #880000;
565 568 }
566 569
567 570 div.flash.notice {
568 571 background: url(../images/true.png) 8px 5px no-repeat;
569 572 background-color: #dfffdf;
570 573 border-color: #9fcf9f;
571 574 color: #005f00;
572 575 }
573 576
574 577 div.flash.warning, .conflict {
575 578 background: url(../images/warning.png) 8px 5px no-repeat;
576 579 background-color: #FFEBC1;
577 580 border-color: #FDBF3B;
578 581 color: #A6750C;
579 582 text-align: left;
580 583 }
581 584
582 585 .nodata, .warning {
583 586 text-align: center;
584 587 background-color: #FFEBC1;
585 588 border-color: #FDBF3B;
586 589 color: #A6750C;
587 590 }
588 591
589 592 #errorExplanation ul { font-size: 0.9em;}
590 593 #errorExplanation h2, #errorExplanation p { display: none; }
591 594
592 595 .conflict-details {font-size:80%;}
593 596
594 597 /***** Ajax indicator ******/
595 598 #ajax-indicator {
596 599 position: absolute; /* fixed not supported by IE */
597 600 background-color:#eee;
598 601 border: 1px solid #bbb;
599 602 top:35%;
600 603 left:40%;
601 604 width:20%;
602 605 font-weight:bold;
603 606 text-align:center;
604 607 padding:0.6em;
605 608 z-index:100;
606 609 opacity: 0.5;
607 610 }
608 611
609 612 html>body #ajax-indicator { position: fixed; }
610 613
611 614 #ajax-indicator span {
612 615 background-position: 0% 40%;
613 616 background-repeat: no-repeat;
614 617 background-image: url(../images/loading.gif);
615 618 padding-left: 26px;
616 619 vertical-align: bottom;
617 620 }
618 621
619 622 /***** Calendar *****/
620 623 table.cal {border-collapse: collapse; width: 100%; margin: 0px 0 6px 0;border: 1px solid #d7d7d7;}
621 624 table.cal thead th {width: 14%; background-color:#EEEEEE; padding: 4px; }
622 625 table.cal thead th.week-number {width: auto;}
623 626 table.cal tbody tr {height: 100px;}
624 627 table.cal td {border: 1px solid #d7d7d7; vertical-align: top; font-size: 0.9em;}
625 628 table.cal td.week-number { background-color:#EEEEEE; padding: 4px; border:none; font-size: 1em;}
626 629 table.cal td p.day-num {font-size: 1.1em; text-align:right;}
627 630 table.cal td.odd p.day-num {color: #bbb;}
628 631 table.cal td.today {background:#ffffdd;}
629 632 table.cal td.today p.day-num {font-weight: bold;}
630 633 table.cal .starting a, p.cal.legend .starting {background: url(../images/bullet_go.png) no-repeat -1px -2px; padding-left:16px;}
631 634 table.cal .ending a, p.cal.legend .ending {background: url(../images/bullet_end.png) no-repeat -1px -2px; padding-left:16px;}
632 635 table.cal .starting.ending a, p.cal.legend .starting.ending {background: url(../images/bullet_diamond.png) no-repeat -1px -2px; padding-left:16px;}
633 636 p.cal.legend span {display:block;}
634 637
635 638 /***** Tooltips ******/
636 639 .tooltip{position:relative;z-index:24;}
637 640 .tooltip:hover{z-index:25;color:#000;}
638 641 .tooltip span.tip{display: none; text-align:left;}
639 642
640 643 div.tooltip:hover span.tip{
641 644 display:block;
642 645 position:absolute;
643 646 top:12px; left:24px; width:270px;
644 647 border:1px solid #555;
645 648 background-color:#fff;
646 649 padding: 4px;
647 650 font-size: 0.8em;
648 651 color:#505050;
649 652 }
650 653
651 654 /***** Progress bar *****/
652 655 table.progress {
653 656 border-collapse: collapse;
654 657 border-spacing: 0pt;
655 658 empty-cells: show;
656 659 text-align: center;
657 660 float:left;
658 661 margin: 1px 6px 1px 0px;
659 662 }
660 663
661 664 table.progress td { height: 1em; }
662 665 table.progress td.closed { background: #BAE0BA none repeat scroll 0%; }
663 666 table.progress td.done { background: #D3EDD3 none repeat scroll 0%; }
664 667 table.progress td.todo { background: #eee none repeat scroll 0%; }
665 668 p.pourcent {font-size: 80%;}
666 669 p.progress-info {clear: left; font-size: 80%; margin-top:-4px; color:#777;}
667 670
668 671 #roadmap table.progress td { height: 1.2em; }
669 672 /***** Tabs *****/
670 673 #content .tabs {height: 2.6em; margin-bottom:1.2em; position:relative; overflow:hidden;}
671 674 #content .tabs ul {margin:0; position:absolute; bottom:0; padding-left:0.5em; width: 2000px; border-bottom: 1px solid #bbbbbb;}
672 675 #content .tabs ul li {
673 676 float:left;
674 677 list-style-type:none;
675 678 white-space:nowrap;
676 679 margin-right:4px;
677 680 background:#fff;
678 681 position:relative;
679 682 margin-bottom:-1px;
680 683 }
681 684 #content .tabs ul li a{
682 685 display:block;
683 686 font-size: 0.9em;
684 687 text-decoration:none;
685 688 line-height:1.3em;
686 689 padding:4px 6px 4px 6px;
687 690 border: 1px solid #ccc;
688 691 border-bottom: 1px solid #bbbbbb;
689 692 background-color: #f6f6f6;
690 693 color:#999;
691 694 font-weight:bold;
692 695 border-top-left-radius:3px;
693 696 border-top-right-radius:3px;
694 697 }
695 698
696 699 #content .tabs ul li a:hover {
697 700 background-color: #ffffdd;
698 701 text-decoration:none;
699 702 }
700 703
701 704 #content .tabs ul li a.selected {
702 705 background-color: #fff;
703 706 border: 1px solid #bbbbbb;
704 707 border-bottom: 1px solid #fff;
705 708 color:#444;
706 709 }
707 710
708 711 #content .tabs ul li a.selected:hover {
709 712 background-color: #fff;
710 713 }
711 714
712 715 div.tabs-buttons { position:absolute; right: 0; width: 48px; height: 24px; background: white; bottom: 0; border-bottom: 1px solid #bbbbbb; }
713 716
714 717 button.tab-left, button.tab-right {
715 718 font-size: 0.9em;
716 719 cursor: pointer;
717 720 height:24px;
718 721 border: 1px solid #ccc;
719 722 border-bottom: 1px solid #bbbbbb;
720 723 position:absolute;
721 724 padding:4px;
722 725 width: 20px;
723 726 bottom: -1px;
724 727 }
725 728
726 729 button.tab-left {
727 730 right: 20px;
728 731 background: #eeeeee url(../images/bullet_arrow_left.png) no-repeat 50% 50%;
729 732 border-top-left-radius:3px;
730 733 }
731 734
732 735 button.tab-right {
733 736 right: 0;
734 737 background: #eeeeee url(../images/bullet_arrow_right.png) no-repeat 50% 50%;
735 738 border-top-right-radius:3px;
736 739 }
737 740
738 741 /***** Auto-complete *****/
739 742 div.autocomplete {
740 743 position:absolute;
741 744 width:400px;
742 745 margin:0;
743 746 padding:0;
744 747 }
745 748 div.autocomplete ul {
746 749 list-style-type:none;
747 750 margin:0;
748 751 padding:0;
749 752 }
750 753 div.autocomplete ul li {
751 754 list-style-type:none;
752 755 display:block;
753 756 margin:-1px 0 0 0;
754 757 padding:2px;
755 758 cursor:pointer;
756 759 font-size: 90%;
757 760 border: 1px solid #ccc;
758 761 border-left: 1px solid #ccc;
759 762 border-right: 1px solid #ccc;
760 763 background-color:white;
761 764 }
762 765 div.autocomplete ul li.selected { background-color: #ffb;}
763 766 div.autocomplete ul li span.informal {
764 767 font-size: 80%;
765 768 color: #aaa;
766 769 }
767 770
768 771 #parent_issue_candidates ul li {width: 500px;}
769 772 #related_issue_candidates ul li {width: 500px;}
770 773
771 774 /***** Diff *****/
772 775 .diff_out { background: #fcc; }
773 776 .diff_out span { background: #faa; }
774 777 .diff_in { background: #cfc; }
775 778 .diff_in span { background: #afa; }
776 779
777 780 .text-diff {
778 781 padding: 1em;
779 782 background-color:#f6f6f6;
780 783 color:#505050;
781 784 border: 1px solid #e4e4e4;
782 785 }
783 786
784 787 /***** Wiki *****/
785 788 div.wiki table {
786 789 border-collapse: collapse;
787 790 margin-bottom: 1em;
788 791 }
789 792
790 793 div.wiki table, div.wiki td, div.wiki th {
791 794 border: 1px solid #bbb;
792 795 padding: 4px;
793 796 }
794 797
795 798 div.wiki .noborder, div.wiki .noborder td, div.wiki .noborder th {border:0;}
796 799
797 800 div.wiki .external {
798 801 background-position: 0% 60%;
799 802 background-repeat: no-repeat;
800 803 padding-left: 12px;
801 804 background-image: url(../images/external.png);
802 805 }
803 806
804 807 div.wiki a.new {
805 808 color: #b73535;
806 809 }
807 810
808 811 div.wiki ul, div.wiki ol {margin-bottom:1em;}
809 812
810 813 div.wiki pre {
811 814 margin: 1em 1em 1em 1.6em;
812 815 padding: 2px 2px 2px 0;
813 816 background-color: #fafafa;
814 817 border: 1px solid #dadada;
815 818 width:auto;
816 819 overflow-x: auto;
817 820 overflow-y: hidden;
818 821 }
819 822
820 823 div.wiki ul.toc {
821 824 background-color: #ffffdd;
822 825 border: 1px solid #e4e4e4;
823 826 padding: 4px;
824 827 line-height: 1.2em;
825 828 margin-bottom: 12px;
826 829 margin-right: 12px;
827 830 margin-left: 0;
828 831 display: table
829 832 }
830 833 * html div.wiki ul.toc { width: 50%; } /* IE6 doesn't autosize div */
831 834
832 835 div.wiki ul.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; }
833 836 div.wiki ul.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; }
834 837 div.wiki ul.toc ul { margin: 0; padding: 0; }
835 838 div.wiki ul.toc li { list-style-type:none; margin: 0;}
836 839 div.wiki ul.toc li li { margin-left: 1.5em; }
837 840 div.wiki ul.toc li li li { font-size: 0.8em; }
838 841
839 842 div.wiki ul.toc a {
840 843 font-size: 0.9em;
841 844 font-weight: normal;
842 845 text-decoration: none;
843 846 color: #606060;
844 847 }
845 848 div.wiki ul.toc a:hover { color: #c61a1a; text-decoration: underline;}
846 849
847 850 a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; }
848 851 a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; }
849 852 h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; }
850 853
851 854 div.wiki img { vertical-align: middle; }
852 855
853 856 /***** My page layout *****/
854 857 .block-receiver {
855 858 border:1px dashed #c0c0c0;
856 859 margin-bottom: 20px;
857 860 padding: 15px 0 15px 0;
858 861 }
859 862
860 863 .mypage-box {
861 864 margin:0 0 20px 0;
862 865 color:#505050;
863 866 line-height:1.5em;
864 867 }
865 868
866 869 .handle {
867 870 cursor: move;
868 871 }
869 872
870 873 a.close-icon {
871 874 display:block;
872 875 margin-top:3px;
873 876 overflow:hidden;
874 877 width:12px;
875 878 height:12px;
876 879 background-repeat: no-repeat;
877 880 cursor:pointer;
878 881 background-image:url('../images/close.png');
879 882 }
880 883
881 884 a.close-icon:hover {
882 885 background-image:url('../images/close_hl.png');
883 886 }
884 887
885 888 /***** Gantt chart *****/
886 889 .gantt_hdr {
887 890 position:absolute;
888 891 top:0;
889 892 height:16px;
890 893 border-top: 1px solid #c0c0c0;
891 894 border-bottom: 1px solid #c0c0c0;
892 895 border-right: 1px solid #c0c0c0;
893 896 text-align: center;
894 897 overflow: hidden;
895 898 }
896 899
897 900 .gantt_subjects { font-size: 0.8em; }
898 901 .gantt_subjects div { line-height:16px;height:16px;overflow:hidden;white-space:nowrap;text-overflow: ellipsis; }
899 902
900 903 .task {
901 904 position: absolute;
902 905 height:8px;
903 906 font-size:0.8em;
904 907 color:#888;
905 908 padding:0;
906 909 margin:0;
907 910 line-height:16px;
908 911 white-space:nowrap;
909 912 }
910 913
911 914 .task.label {width:100%;}
912 915 .task.label.project, .task.label.version { font-weight: bold; }
913 916
914 917 .task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; }
915 918 .task_done { background:#00c600 url(../images/task_done.png); border: 1px solid #00c600; }
916 919 .task_todo { background:#aaa url(../images/task_todo.png); border: 1px solid #aaa; }
917 920
918 921 .task_todo.parent { background: #888; border: 1px solid #888; height: 3px;}
919 922 .task_late.parent, .task_done.parent { height: 3px;}
920 923 .task.parent.marker.starting { position: absolute; background: url(../images/task_parent_end.png) no-repeat 0 0; width: 8px; height: 16px; margin-left: -4px; left: 0px; top: -1px;}
921 924 .task.parent.marker.ending { position: absolute; background: url(../images/task_parent_end.png) no-repeat 0 0; width: 8px; height: 16px; margin-left: -4px; right: 0px; top: -1px;}
922 925
923 926 .version.task_late { background:#f66 url(../images/milestone_late.png); border: 1px solid #f66; height: 2px; margin-top: 3px;}
924 927 .version.task_done { background:#00c600 url(../images/milestone_done.png); border: 1px solid #00c600; height: 2px; margin-top: 3px;}
925 928 .version.task_todo { background:#fff url(../images/milestone_todo.png); border: 1px solid #fff; height: 2px; margin-top: 3px;}
926 929 .version.marker { background-image:url(../images/version_marker.png); background-repeat: no-repeat; border: 0; margin-left: -4px; margin-top: 1px; }
927 930
928 931 .project.task_late { background:#f66 url(../images/milestone_late.png); border: 1px solid #f66; height: 2px; margin-top: 3px;}
929 932 .project.task_done { background:#00c600 url(../images/milestone_done.png); border: 1px solid #00c600; height: 2px; margin-top: 3px;}
930 933 .project.task_todo { background:#fff url(../images/milestone_todo.png); border: 1px solid #fff; height: 2px; margin-top: 3px;}
931 934 .project.marker { background-image:url(../images/project_marker.png); background-repeat: no-repeat; border: 0; margin-left: -4px; margin-top: 1px; }
932 935
933 936 .version-behind-schedule a, .issue-behind-schedule a {color: #f66914;}
934 937 .version-overdue a, .issue-overdue a, .project-overdue a {color: #f00;}
935 938
936 939 /***** Icons *****/
937 940 .icon {
938 941 background-position: 0% 50%;
939 942 background-repeat: no-repeat;
940 943 padding-left: 20px;
941 944 padding-top: 2px;
942 945 padding-bottom: 3px;
943 946 }
944 947
945 948 .icon-add { background-image: url(../images/add.png); }
946 949 .icon-edit { background-image: url(../images/edit.png); }
947 950 .icon-copy { background-image: url(../images/copy.png); }
948 951 .icon-duplicate { background-image: url(../images/duplicate.png); }
949 952 .icon-del { background-image: url(../images/delete.png); }
950 953 .icon-move { background-image: url(../images/move.png); }
951 954 .icon-save { background-image: url(../images/save.png); }
952 955 .icon-cancel { background-image: url(../images/cancel.png); }
953 956 .icon-multiple { background-image: url(../images/table_multiple.png); }
954 957 .icon-folder { background-image: url(../images/folder.png); }
955 958 .open .icon-folder { background-image: url(../images/folder_open.png); }
956 959 .icon-package { background-image: url(../images/package.png); }
957 960 .icon-user { background-image: url(../images/user.png); }
958 961 .icon-projects { background-image: url(../images/projects.png); }
959 962 .icon-help { background-image: url(../images/help.png); }
960 963 .icon-attachment { background-image: url(../images/attachment.png); }
961 964 .icon-history { background-image: url(../images/history.png); }
962 965 .icon-time { background-image: url(../images/time.png); }
963 966 .icon-time-add { background-image: url(../images/time_add.png); }
964 967 .icon-stats { background-image: url(../images/stats.png); }
965 968 .icon-warning { background-image: url(../images/warning.png); }
966 969 .icon-fav { background-image: url(../images/fav.png); }
967 970 .icon-fav-off { background-image: url(../images/fav_off.png); }
968 971 .icon-reload { background-image: url(../images/reload.png); }
969 972 .icon-lock { background-image: url(../images/locked.png); }
970 973 .icon-unlock { background-image: url(../images/unlock.png); }
971 974 .icon-checked { background-image: url(../images/true.png); }
972 975 .icon-details { background-image: url(../images/zoom_in.png); }
973 976 .icon-report { background-image: url(../images/report.png); }
974 977 .icon-comment { background-image: url(../images/comment.png); }
975 978 .icon-summary { background-image: url(../images/lightning.png); }
976 979 .icon-server-authentication { background-image: url(../images/server_key.png); }
977 980 .icon-issue { background-image: url(../images/ticket.png); }
978 981 .icon-zoom-in { background-image: url(../images/zoom_in.png); }
979 982 .icon-zoom-out { background-image: url(../images/zoom_out.png); }
980 983 .icon-passwd { background-image: url(../images/textfield_key.png); }
981 984 .icon-test { background-image: url(../images/bullet_go.png); }
982 985
983 986 .icon-file { background-image: url(../images/files/default.png); }
984 987 .icon-file.text-plain { background-image: url(../images/files/text.png); }
985 988 .icon-file.text-x-c { background-image: url(../images/files/c.png); }
986 989 .icon-file.text-x-csharp { background-image: url(../images/files/csharp.png); }
987 990 .icon-file.text-x-java { background-image: url(../images/files/java.png); }
988 991 .icon-file.text-x-javascript { background-image: url(../images/files/js.png); }
989 992 .icon-file.text-x-php { background-image: url(../images/files/php.png); }
990 993 .icon-file.text-x-ruby { background-image: url(../images/files/ruby.png); }
991 994 .icon-file.text-xml { background-image: url(../images/files/xml.png); }
992 995 .icon-file.text-css { background-image: url(../images/files/css.png); }
993 996 .icon-file.text-html { background-image: url(../images/files/html.png); }
994 997 .icon-file.image-gif { background-image: url(../images/files/image.png); }
995 998 .icon-file.image-jpeg { background-image: url(../images/files/image.png); }
996 999 .icon-file.image-png { background-image: url(../images/files/image.png); }
997 1000 .icon-file.image-tiff { background-image: url(../images/files/image.png); }
998 1001 .icon-file.application-pdf { background-image: url(../images/files/pdf.png); }
999 1002 .icon-file.application-zip { background-image: url(../images/files/zip.png); }
1000 1003 .icon-file.application-x-gzip { background-image: url(../images/files/zip.png); }
1001 1004
1002 1005 img.gravatar {
1003 1006 padding: 2px;
1004 1007 border: solid 1px #d5d5d5;
1005 1008 background: #fff;
1006 1009 vertical-align: middle;
1007 1010 }
1008 1011
1009 1012 div.issue img.gravatar {
1010 1013 float: left;
1011 1014 margin: 0 6px 0 0;
1012 1015 padding: 5px;
1013 1016 }
1014 1017
1015 1018 div.issue table img.gravatar {
1016 1019 height: 14px;
1017 1020 width: 14px;
1018 1021 padding: 2px;
1019 1022 float: left;
1020 1023 margin: 0 0.5em 0 0;
1021 1024 }
1022 1025
1023 1026 h2 img.gravatar {
1024 1027 margin: -2px 4px -4px 0;
1025 1028 }
1026 1029
1027 1030 h3 img.gravatar {
1028 1031 margin: -4px 4px -4px 0;
1029 1032 }
1030 1033
1031 1034 h4 img.gravatar {
1032 1035 margin: -6px 4px -4px 0;
1033 1036 }
1034 1037
1035 1038 td.username img.gravatar {
1036 1039 margin: 0 0.5em 0 0;
1037 1040 vertical-align: top;
1038 1041 }
1039 1042
1040 1043 #activity dt img.gravatar {
1041 1044 float: left;
1042 1045 margin: 0 1em 1em 0;
1043 1046 }
1044 1047
1045 1048 /* Used on 12px Gravatar img tags without the icon background */
1046 1049 .icon-gravatar {
1047 1050 float: left;
1048 1051 margin-right: 4px;
1049 1052 }
1050 1053
1051 1054 #activity dt,
1052 1055 .journal {
1053 1056 clear: left;
1054 1057 }
1055 1058
1056 1059 .journal-link {
1057 1060 float: right;
1058 1061 }
1059 1062
1060 1063 h2 img { vertical-align:middle; }
1061 1064
1062 1065 .hascontextmenu { cursor: context-menu; }
1063 1066
1064 1067 /***** Media print specific styles *****/
1065 1068 @media print {
1066 1069 #top-menu, #header, #main-menu, #sidebar, #footer, .contextual, .other-formats { display:none; }
1067 1070 #main { background: #fff; }
1068 1071 #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; overflow: visible !important;}
1069 1072 #wiki_add_attachment { display:none; }
1070 1073 .hide-when-print { display: none; }
1071 1074 .autoscroll {overflow-x: visible;}
1072 1075 table.list {margin-top:0.5em;}
1073 1076 table.list th, table.list td {border: 1px solid #aaa;}
1074 1077 }
1075 1078
1076 1079 /* Accessibility specific styles */
1077 1080 .hidden-for-sighted {
1078 1081 position:absolute;
1079 1082 left:-10000px;
1080 1083 top:auto;
1081 1084 width:1px;
1082 1085 height:1px;
1083 1086 overflow:hidden;
1084 1087 }
General Comments 0
You need to be logged in to leave comments. Login now